Skip to content

Commit

Permalink
chore(*): Make engines, @types/node and README refs to include node p…
Browse files Browse the repository at this point in the history
…atch version
  • Loading branch information
dimkl committed Nov 6, 2023
1 parent 3135740 commit ab4c08b
Show file tree
Hide file tree
Showing 31 changed files with 81 additions and 61 deletions.
4 changes: 2 additions & 2 deletions integration/templates/next-app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "next start"
},
"dependencies": {
"@types/node": "^18.18",
"@types/node": "^18.18.0",
"@types/react": "18.2.14",
"@types/react-dom": "18.2.6",
"next": "13.5.4",
Expand All @@ -18,6 +18,6 @@
"typescript": "5.1.6"
},
"engines": {
"node": ">=18"
"node": ">=18.18.0"
}
}
4 changes: 2 additions & 2 deletions integration/templates/react-cra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@types/node": "^18.18",
"@types/node": "^18.18.0",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6"
},
"engines": {
"node": ">=18"
"node": ">=18.18.0"
}
}
3 changes: 2 additions & 1 deletion integration/templates/react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"react-router-dom": "^6.14.1"
},
"devDependencies": {
"@types/node": "^18.18.0",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.0",
Expand All @@ -27,6 +28,6 @@
"vite": "^4.3.9"
},
"engines": {
"node": ">=18"
"node": ">=18.18.0"
}
}
3 changes: 2 additions & 1 deletion integration/templates/remix-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
"@remix-run/dev": "^1.19.3",
"@remix-run/eslint-config": "^1.18.1",
"@remix-run/serve": "^1.18.1",
"@types/node": "^18.18.0",
"@types/react": "^18.0.35",
"@types/react-dom": "^18.0.11",
"eslint": "^8.38.0",
"typescript": "^5.0.4"
},
"engines": {
"node": ">=18"
"node": ">=18.18.0"
}
}
53 changes: 31 additions & 22 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
Expand Up @@ -95,7 +95,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.8.0",
"node": ">=18.18.0",
"npm": ">=8.5.0"
}
}
2 changes: 1 addition & 1 deletion packages/backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This package provides Clerk Backend API resources and low-level authentication u

## How to use

Works on Node.js `^18.18` (or later) or on any V8 Isolates runtimes (eg Cloudflare Workers).
Works on Node.js `>=18.18.0` (or later) or on any V8 Isolates runtimes (eg Cloudflare Workers).

```sh
npm install @clerk/backend
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@cloudflare/workers-types": "^3.18.0",
"@types/chai": "^4.3.3",
"@types/cookie": "^0.5.1",
"@types/node": "^18.18",
"@types/node": "^18.18.0",
"@types/qunit": "^2.19.7",
"@types/sinon": "^10.0.13",
"chai": "^4.3.6",
Expand All @@ -76,7 +76,7 @@
"workerd": "^1.20230518.0"
},
"engines": {
"node": ">=18"
"node": ">=18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/chrome-extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ To use this package you should first create a Clerk application and retrieve a `

### Prerequisites

- Node.js `^18.18` or later
- Node.js `>=18.18.0` or later

### Installation

Expand Down
4 changes: 2 additions & 2 deletions packages/chrome-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
"devDependencies": {
"@types/chrome": "*",
"@types/node": "^18.18",
"@types/node": "^18.18.0",
"@types/react": "*",
"@types/react-dom": "*",
"eslint-config-custom": "*",
Expand All @@ -61,7 +61,7 @@
"react": ">=16"
},
"engines": {
"node": ">=18"
"node": ">=18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/clerk-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"@babel/preset-typescript": "^7.12.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@svgr/webpack": "^6.2.1",
"@types/node": "^18.18.0",
"@types/qs": "^6.9.3",
"@types/react": "*",
"@types/react-dom": "*",
Expand All @@ -100,7 +101,7 @@
"react": ">=18"
},
"engines": {
"node": ">=18"
"node": ">=18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Clerk is the easiest way to add authentication and user management to your Expo
### Prerequisites

- React v16+
- Node.js `^18.18` or later
- Node.js `>=18.18.0` or later
- An application built using Expo

If an expo app already exists, you can skip this section and go straight to Installation.
Expand Down
Loading

0 comments on commit ab4c08b

Please sign in to comment.