Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm committed Sep 21, 2024
1 parent 4449211 commit 8381008
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/node-version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
run: |
npm run "bump:${{ inputs.increment }}"
for PACKAGE in packages/chdman-*; do
# shellcheck disable=SC2005
echo "$(jq '. + (input|{description,keywords,homepage,bugs,license,author,funding,repository,publishConfig})' "${PACKAGE}/package.json" packages/chdman/package.json)" > "${PACKAGE}/package.json"
done
git add --all
Expand Down
3 changes: 2 additions & 1 deletion packages/chdman/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
],
"main": "dist/index.js",
"bin": {
"chdman": "./dist/src/bin.js"
"chdman": "dist/src/bin.js"
},
"repository": {
"type": "git",
Expand All @@ -37,6 +37,7 @@
"provenance": true
},
"scripts": {
"postinstall": "node --eval \"if(require('fs').existsSync('dist')===false){process.exit(1);}\" || npm run build",
"start": "node --loader ts-node/esm src/bin.ts",
"build": "tsc --build --verbose && node --eval \"if(process.platform!=='win32'){process.exit(1);}\" || chmod +x dist/index.js",
"lint": "eslint .",
Expand Down

0 comments on commit 8381008

Please sign in to comment.