Skip to content

Commit

Permalink
Add validate bin entrypoint to fix pnpm/pnpm#1801
Browse files Browse the repository at this point in the history
  • Loading branch information
TV-T committed Jan 12, 2024
1 parent 2934f3d commit 16435ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"pg-validate-migrations": "./dist/bin/validate.js"
"pg-validate-migrations": "validate-bin-entry.js"
},
"author": "Thom Wright",
"keywords": [
Expand Down
2 changes: 2 additions & 0 deletions validate-bin-entry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
require('./dist/bin/validate.js');

0 comments on commit 16435ff

Please sign in to comment.