Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): Add JS extension to binaries #3398

Merged
merged 2 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "lib/index.js",
"type": "module",
"bin": {
"feathers": "./bin/feathers"
"feathers": "./bin/feathers.js"
},
"keywords": [
"feathers",
Expand Down Expand Up @@ -47,7 +47,7 @@
"prepublish": "npm run compile",
"compile": "shx rm -rf lib/ && tsc",
"mocha": "mocha --timeout 60000 --config ../../.mocharc.json --require tsx --recursive test/**.test.ts test/**/*.test.ts",
"test": "npm run compile && npm run mocha"
"test": "npm run compile && npm run mocha && bin/feathers.js --help"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/create-feathers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "5.0.18",
"homepage": "https://feathersjs.com",
"bin": {
"create-feathers": "./bin/create-feathers"
"create-feathers": "./bin/create-feathers.js"
},
"type": "module",
"keywords": [
Expand Down Expand Up @@ -42,7 +42,7 @@
"*.js"
],
"scripts": {
"test": "bin/create-feathers --help"
"test": "bin/create-feathers.js --help"
},
"publishConfig": {
"access": "public"
Expand Down
Loading