Skip to content

Commit

Permalink
fix: Run bundle in Linux container to ensure dist is the same locally…
Browse files Browse the repository at this point in the history
… and on github
  • Loading branch information
dhilgarth committed May 24, 2024
1 parent 6a26371 commit eb002ab
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified dist/build/Release/cpufeatures.node
Binary file not shown.
Binary file modified dist/lib/protocol/crypto/build/Release/sshcrypto.node
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"scripts": {
"bundle": "npm run package",
"package": "linefix src && npx ncc build src/index.ts -o dist --source-map --license licenses.txt && linefix dist",
"package": "docker run --rm -v \".:/src\" -w /src --entrypoint sh node:lts -c \"cd /src && export PATH=/src/node_modules/.bin:$PATH && linefix src && npx ncc build src/index.ts -o dist --source-map --license licenses.txt && linefix dist\"",
"package:watch": "npm run package -- --watch"
},
"license": "MIT",
Expand Down

0 comments on commit eb002ab

Please sign in to comment.