Skip to content

Commit

Permalink
Adjust all node versions everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
stanlemon committed Dec 1, 2024
1 parent f8cecbd commit 3eba3c9
Show file tree
Hide file tree
Showing 14 changed files with 50 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20
20
3 changes: 3 additions & 0 deletions apps/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"lint:fix": "eslint --fix .",
"test": "jest"
},
"engines": {
"node": "^20.0.0"
},
"dependencies": {
"@stanlemon/webdev": "*",
"react": "^18.3.1",
Expand Down
3 changes: 3 additions & 0 deletions apps/react-pouchdb-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"lint": "eslint .",
"lint:fix": "eslint --fix ."
},
"engines": {
"node": "^20.0.0"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
Expand Down
3 changes: 3 additions & 0 deletions apps/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"lint": "eslint .",
"lint:fix": "eslint --fix ."
},
"engines": {
"node": "^20.0.0"
},
"dependencies": {
"@stanlemon/server-with-auth": "*",
"@stanlemon/webdev": "*",
Expand Down
32 changes: 25 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"engines": {
"node": "20.x"
"node": "^20.0.0"
},
"workspaces": [
"packages/*",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Stan Lemon <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=20.0"
"node": "^20.0.0"
},
"type": "module",
"main": "./index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"author": "Stan Lemon <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=20.0"
"node": "^20.0.0"
},
"type": "module",
"exports": {
Expand Down
3 changes: 3 additions & 0 deletions packages/react-couchdb-authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
"url": "https://github.com/stanlemon/javascript/tree/main/packages/react-couchdb-authentication"
},
"license": "MIT",
"engines": {
"node": "^20.0.0"
},
"peerDependencies": {
"pouchdb": ">=8.0.0",
"react": ">=17.0.0"
Expand Down
3 changes: 3 additions & 0 deletions packages/react-pouchdb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
"tsc": "tsc",
"example": "WEBDEV_ENTRY=./example/Example.tsx webpack serve"
},
"engines": {
"node": "^20.0.0"
},
"peerDependencies": {
"pouchdb": ">=8.0.0",
"react": ">=17.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/server-with-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Stan Lemon <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=20.0"
"node": "^20.0.0"
},
"type": "module",
"main": "./src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Stan Lemon <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=20.0"
"node": "^20.0.0"
},
"type": "module",
"main": "./src/index.js",
Expand Down
3 changes: 3 additions & 0 deletions packages/types-pouchdb-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
"repository": {
"type": "git",
"url": "https://github.com/stanlemon/javascript/tree/main/packages/types-pouchdb-core"
},
"engines": {
"node": "^20.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/webdev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Stan Lemon <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=20.0"
"node": "^20.0.0"
},
"type": "module",
"scripts": {
Expand Down

0 comments on commit 3eba3c9

Please sign in to comment.