File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 4141 registry-url : ' https://registry.npmjs.org'
4242 node-version : lts/*
4343
44- - name : 📦 Pack package
45- run : nix develop --command pnpm pack
46-
4744 - name : 🚀 Publish package
48- shell : bash
49- run : |
50- PACKAGE_TGZ=$(ls *.tgz | head -n 1)
51- echo "Publishing package: $PACKAGE_TGZ"
52- npm publish "$PACKAGE_TGZ" --access public
45+ run : nix develop --command pnpm publish --provenance --no-git-checks --access public
Original file line number Diff line number Diff line change 1515 devShells . default = pkgs . mkShell {
1616 buildInputs = with pkgs ; [
1717 pnpm_10
18- nodejs_24
1918 ] ;
2019
2120 shellHook = ''
Original file line number Diff line number Diff line change 2929 "lint:oxfmt" : " oxfmt --no-error-on-unmatched-pattern --check ." ,
3030 "lint:oxlint" : " oxlint --max-warnings=0 --type-aware --type-check" ,
3131 "lint:knip" : " knip" ,
32+ "preinstall" : " npx only-allow pnpm" ,
3233 "prepack" : " npm pkg delete scripts.preinstall && pnpm run build" ,
3334 "test" : " vitest" ,
3435 "coverage" : " vitest run --coverage"
You can’t perform that action at this time.
0 commit comments