Skip to content

Commit 5e1e8f3

Browse files
Fix publish and build script (#11)
* Use patches-api.socket.dev for public patch data Switch from firewall-api.socket.dev/patch proxy to the dedicated patches-api.socket.dev domain for fetching public patch data. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> * fix npm publish --------- Co-authored-by: Claude <[email protected]>
1 parent 8034f13 commit 5e1e8f3

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.npmignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Source files (dist is published instead)
2+
src/
3+
4+
# GitHub workflows and configs
5+
.github/
6+
7+
# Linting and formatting configs
8+
.oxlintrc.json
9+
biome.json
10+
11+
# TypeScript config
12+
tsconfig.json
13+
14+
# Lock files
15+
pnpm-lock.yaml
16+
17+
# Git files
18+
.gitignore
19+
20+
# Documentation (except README and LICENSE which npm includes by default)
21+
EDGE_CASES.md
22+
23+
# Build artifacts
24+
*.tsbuildinfo
25+
26+
# Environment files
27+
.env*
28+
!.env.example
29+
30+
# Test files
31+
*.test.ts
32+
*.test.js
33+
__tests__/

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"lint": "oxlint -c ./.oxlintrc.json --tsconfig ./tsconfig.json --deny-warnings",
5858
"lint:fix": "pnpm run lint --fix && pnpm run lint:fix:fast",
5959
"lint:fix:fast": "biome format --write",
60+
"prepublishOnly": "tsc",
6061
"publish:ci": "npm publish --provenance --access public"
6162
},
6263
"publishConfig": {

0 commit comments

Comments
 (0)