File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
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 --no-git-checks
46+
4447 - name : 🚀 Publish package
45- run : nix develop --command pnpm publish --provenance --no-git-checks --access public
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
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
1819 ] ;
1920
2021 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" ,
3332 "prepack" : " npm pkg delete scripts.preinstall && pnpm run build" ,
3433 "test" : " vitest" ,
3534 "coverage" : " vitest run --coverage"
You can’t perform that action at this time.
0 commit comments