Skip to content

Commit

Permalink
add cs-version to build script b/c github action builds before it rel…
Browse files Browse the repository at this point in the history
…eases (currently version file is only generated in release step
  • Loading branch information
pkarl committed Sep 9, 2024
1 parent d0dcc83 commit 12e1e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"build-esm": "tsc",
"build-cjs": "tsc -p tsconfig-cjs.json",
"fix-dist": "echo '{\"type\": \"module\"}' > dist/esm/package.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"build": "run-s -l build-esm build-cjs fix-dist",
"build": "run-s -l cs-version build-esm build-cjs fix-dist",
"cs-version": "changeset version && pnpm version --json > versions.json",
"cs-publish": "changeset publish",
"release": "run-s -l clean cs-version build cs-publish",
Expand Down

0 comments on commit 12e1e55

Please sign in to comment.