Skip to content

Commit afbd2cb

Browse files
authored
☕ chore: modify only-allow to use npx
1 parent ae3d04c commit afbd2cb

File tree

2 files changed

+1502
-7
lines changed

2 files changed

+1502
-7
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"contributors": [
99
"Waren Gonzaga <[email protected]> (https://warengonzaga.com)"
1010
],
11-
"funding": [
11+
"funding": [
1212
{
1313
"type": "github",
1414
"url": "https://github.com/sponsors/wgtechlabs"
@@ -20,7 +20,7 @@
2020
],
2121
"main": "dist/app.js",
2222
"scripts": {
23-
"preinstall": "only-allow yarn",
23+
"preinstall": "npx only-allow yarn",
2424
"build": "tsc",
2525
"start": "node dist/app.js",
2626
"dev": "nodemon --exec ts-node src/app.ts",
@@ -32,6 +32,8 @@
3232
"dotenv": "^16.4.0",
3333
"express": "^4.21.0",
3434
"express-validator": "^7.2.0",
35+
"global": "4.4.0",
36+
"npm": "11.4.2",
3537
"redis": "^4.7.0"
3638
},
3739
"devDependencies": {

0 commit comments

Comments
 (0)