Skip to content

Commit

Permalink
fix(repo,ur,cu,mu,scheduler-utils,connect): remove engine to force us…
Browse files Browse the repository at this point in the history
…e of npm

This apparently causes error when using yarn to install the package from npm
which was not the desired effect. For now, i've added `only-allow` to the root
package. Eventually, we'll need another way to enforce use of npm for development
  • Loading branch information
TillaTheHun0 committed Aug 6, 2024
1 parent e4c79f7 commit fbe7de5
Show file tree
Hide file tree
Showing 12 changed files with 51 additions and 23 deletions.
3 changes: 1 addition & 2 deletions connect/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"typescript": "^5.5.4"
},
"engines": {
"node": ">=18",
"yarn": "please-use-npm"
"node": ">=18"
}
}
39 changes: 39 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"workspaces": [],
"scripts": {
"fmt": "standard --fix",
"preinstall": "npx only-allow npm",
"prepare": "husky",
"staged": "lint-staged"
},
Expand All @@ -13,12 +14,10 @@
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
"markdown-toc-gen": "^1.0.1",
"only-allow": "^1.2.1",
"sort-package-json": "^2.10.0",
"standard": "^17.1.0"
},
"engines": {
"yarn": "please-use-npm"
},
"standard": {
"ignore": [
"dist",
Expand Down
3 changes: 1 addition & 2 deletions scheduler-utils/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions scheduler-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"typescript": "^5.4.5"
},
"engines": {
"node": ">=18",
"yarn": "please-use-npm"
"node": ">=18"
}
}
3 changes: 1 addition & 2 deletions servers/cu/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions servers/cu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"nodemon": "^3.1.4"
},
"engines": {
"node": ">=18",
"yarn": "please-use-npm"
"node": ">=18"
}
}
3 changes: 1 addition & 2 deletions servers/mu/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions servers/mu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"nodemon": "^3.0.1"
},
"engines": {
"node": "22",
"yarn": "please-use-npm"
"node": "22"
}
}
3 changes: 1 addition & 2 deletions servers/ur/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions servers/ur/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"nodemon": "^3.1.4"
},
"engines": {
"node": ">=18",
"yarn": "please-use-npm"
"node": ">=18"
}
}

0 comments on commit fbe7de5

Please sign in to comment.