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 0705326 commit 7361d84
Show file tree
Hide file tree
Showing 26 changed files with 42 additions and 33 deletions.
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
4 changes: 2 additions & 2 deletions packages/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"devDependencies": {
"@clerk/types": "^3.57.0",
"@types/base-64": "^1.0.0",
"@types/node": "^18.18",
"@types/node": "^18.18.0",
"@types/react": "*",
"@types/react-dom": "*",
"eslint-config-custom": "*",
Expand All @@ -63,7 +63,7 @@
"react": ">=16"
},
"engines": {
"node": ">=18"
"node": "^18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ To use this plugin you should first create a Clerk application and retrieve a `S

### Prerequisites

- Node.js `^18.18` or later
- Node.js `^18.18.0` or later
- Fastify v4+

### Installation
Expand Down
3 changes: 2 additions & 1 deletion packages/fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"cookies": "0.8.0"
},
"devDependencies": {
"@types/node": "^18.18.0",
"eslint-config-custom": "*",
"tsup": "*",
"typescript": "*"
Expand All @@ -55,7 +56,7 @@
"fastify-plugin": "^4.5.0"
},
"engines": {
"node": ">=14"
"node": "^18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-clerk/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 Gatsb
### Prerequisites

- Gatsby v5+
- Node.js `^18.18` or later
- Node.js `^18.18.0` or later

### Installation

Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-clerk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"devDependencies": {
"@clerk/types": "3.57.0",
"@types/cookie": "^0.5.0",
"@types/node": "^18.18",
"@types/node": "^18.18.0",
"eslint-config-custom": "*",
"gatsby": "^5.0.0",
"typescript": "*"
Expand All @@ -62,7 +62,7 @@
"gatsby": "^4.24.8 || ^5"
},
"engines": {
"node": ">=18"
"node": "^18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/localizations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
},
"devDependencies": {
"@clerk/types": "3.57.0",
"@types/node": "^18.18.0",
"eslint-config-custom": "*",
"tsup": "*",
"typescript": "*"
Expand All @@ -47,7 +48,7 @@
"react": ">=16"
},
"engines": {
"node": ">=18"
"node": "^18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ and profile management to your application in minutes.
### Prerequisites

- Next.js v10+
- Node.js `^18.18` or later
- Node.js `^18.18.0` or later

### Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/node": "^18.18",
"@types/node": "^18.18.0",
"@types/react": "18.0.15",
"@types/react-dom": "18.0.6",
"eslint": "8.21.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
},
"devDependencies": {
"@clerk/types": "3.57.0",
"@types/node": "^18.18",
"@types/node": "^18.18.0",
"@types/react": "*",
"@types/react-dom": "*",
"eslint-config-custom": "*",
Expand All @@ -79,7 +79,7 @@
"react-dom": "^17.0.2 || ^18.0.0-0"
},
"engines": {
"node": ">=18"
"node": "^18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/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 React
### Prerequisites

- React v16+
- Node.js `^18.18` or later
- Node.js `^18.18.0` or later

### Installation

Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
},
"devDependencies": {
"@clerk/themes": "*",
"@types/node": "^18.18",
"@types/node": "^18.18.0",
"@types/react": "*",
"@types/react-dom": "*",
"@types/semver": "^7.5.4",
Expand All @@ -75,7 +75,7 @@
"react": ">=16"
},
"engines": {
"node": ">=18"
"node": "^18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/remix/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 Remix
### Prerequisites

- Remix `^2.0.0` or later
- Node.js `^18.18` or later
- Node.js `^18.18.0` or later

### Installation

Expand Down
4 changes: 2 additions & 2 deletions packages/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"@remix-run/react": "^2.0.0",
"@remix-run/server-runtime": "^2.0.0",
"@types/cookie": "^0.5.0",
"@types/node": "^18.18",
"@types/node": "^18.18.0",
"@types/react": "*",
"@types/react-dom": "*",
"eslint-config-custom": "*",
Expand All @@ -93,7 +93,7 @@
"react-dom": ">=18.0.0"
},
"engines": {
"node": ">=18"
"node": "^18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ the <a href="https://clerk.com/docs/reference/node/getting-started?utm_source=gi

### Prerequisites

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

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-node/examples/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/node": "^18.18",
"@types/node": "^18.18.0",
"eslint-config-next": "12.2.3",
"eslint": "8.21.0",
"nodemon": "^2.0.14",
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"devDependencies": {
"@clerk/types": "3.57.0",
"@types/express": "4.17.14",
"@types/node": "^18.18",
"@types/node": "^18.18.0",
"eslint-config-custom": "*",
"nock": "^13.0.7",
"npm-run-all": "^4.1.5",
Expand All @@ -83,7 +83,7 @@
"typescript": "*"
},
"engines": {
"node": ">=18"
"node": "^18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 4 additions & 0 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"@clerk/types": "3.57.0",
"@types/glob-to-regexp": "0.4.1",
"@types/js-cookie": "3.0.2",
"@types/node": "^18.18.0",
"eslint-config-custom": "*",
"tsup": "*",
"typescript": "*"
Expand All @@ -104,6 +105,9 @@
"optional": true
}
},
"engines": {
"node": "^18.18.0"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 2 additions & 1 deletion packages/themes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,15 @@
},
"devDependencies": {
"@clerk/types": "3.57.0",
"@types/node": "^18.18.0",
"eslint-config-custom": "*",
"typescript": "*"
},
"peerDependencies": {
"react": ">=16"
},
"engines": {
"node": ">=18"
"node": "^18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@
"csstype": "3.1.1"
},
"devDependencies": {
"@types/node": "^18.18.0",
"eslint-config-custom": "*",
"typescript": "*"
},
"engines": {
"node": ">=18"
"node": "^18.18.0"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 7361d84

Please sign in to comment.