Skip to content

Commit 4221fcb

Browse files
authored
chore: fix release script and ignore .claude (#40)
- `release` script was `npm build & npm publish`: `npm build` is not a built-in npm command (should be `npm run build`), and the single `&` ran the two commands in parallel, so `npm publish` could fire before the build completed (or even when it failed). Replaced with `npm run build && npm publish` so publish is gated on build success. - Added `.claude` to `.gitignore` so local Claude Code context files (CLAUDE.md, etc.) stay out of the repo.
1 parent 427cd47 commit 4221fcb

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ node_modules
44
dist
55

66
.vscode
7+
.claude
78
package-lock.json
89
testing.ts
910
coverage

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"test:unit": "jest tests/unit",
3333
"test:e2e": "jest tests/e2e",
3434
"test:coverage": "jest --coverage",
35-
"release": "npm build & npm publish"
35+
"release": "npm run build && npm publish"
3636
},
3737
"_moduleAliases": {
3838
"@": "dist"

0 commit comments

Comments
 (0)