Skip to content

Commit

Permalink
feat: deprecate node@18 in favor of latest LTS node@20
Browse files Browse the repository at this point in the history
  • Loading branch information
chanceaclark committed Apr 12, 2024
1 parent 854de92 commit df3ecb1
Show file tree
Hide file tree
Showing 12 changed files with 87 additions and 84 deletions.
9 changes: 9 additions & 0 deletions .changeset/thin-bats-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@bigcommerce/create-catalyst": minor
"functional": minor
"@bigcommerce/catalyst-client": minor
"@bigcommerce/catalyst-core": minor
"@bigcommerce/docs": minor
---

Deprecate `node@18` in favor of latest LTS version `node@20`.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.17
20
2 changes: 1 addition & 1 deletion apps/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ times before. You can instead go straight to work building your brand and making

## Requirements

- Node.js 18+
- Node.js 20+
- `npm` (or `pnpm`/`yarn`)

## Getting started
Expand Down
2 changes: 1 addition & 1 deletion apps/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@tailwindcss/container-queries": "^0.1.1",
"@testing-library/react": "^14.3.0",
"@types/lodash.debounce": "^4.0.7",
"@types/node": "^18.19.30",
"@types/node": "^20.12.7",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"@types/react-google-recaptcha": "^2.1.9",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@storybook/cli": "^7.6.17",
"@storybook/react": "^7.6.17",
"@storybook/react-vite": "^7.6.17",
"@types/node": "^18.19.30",
"@types/node": "^20.12.7",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"@vitejs/plugin-react": "^4.2.1",
Expand Down
2 changes: 1 addition & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Prerequisites

* Node.js 18+, using `npm` or `pnpm`.
* Node.js 20+, using `npm` or `pnpm`.
* Login access to a BigCommerce store or sandbox. You can [create a trial store](https://bigcommerce.com/start-your-trial/) or [spin up a sandbox](https://start.bigcommerce.com/developer-sandbox/).
* [User permissions to create new store-level API accounts](https://support.bigcommerce.com/s/article/User-Permissions#highrisk) on the subject store or help from someone who has permissions.

Expand Down
2 changes: 1 addition & 1 deletion docs/monorepo.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ See [CONTRIBUTING.md](https://github.com/bigcommerce/catalyst/tree/main/CONTRIBU

### Prerequisites

* Node.js 18+
* Node.js 20+
* Corepack-managed `pnpm`

### Setup
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"devDependencies": {
"@bigcommerce/eslint-config": "^2.8.0",
"@bigcommerce/eslint-config-catalyst": "workspace:^",
"@types/node": "^18.19.30",
"@types/node": "^20.12.7",
"dotenv-cli": "^7.4.1",
"eslint": "^8.57.0",
"graphql": "^16.8.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/create-catalyst/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build": "tsup"
},
"engines": {
"node": ">=18.17.0"
"node": ">=20.0.0"
},
"dependencies": {
"@commander-js/extra-typings": "^12.0.1",
Expand All @@ -40,7 +40,7 @@
"@types/jest": "^29.5.12",
"@types/lodash.kebabcase": "^4.1.9",
"@types/lodash.merge": "^4.6.9",
"@types/node": "^18.19.30",
"@types/node": "^20.12.7",
"@types/prompts": "^2.4.9",
"@types/semver": "^7.5.8",
"eslint": "^8.57.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-catalyst/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Node 18",
"display": "Node",
"compilerOptions": {
"strict": true,
"target": "es6",
Expand Down
2 changes: 1 addition & 1 deletion packages/functional/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@bigcommerce/eslint-config-catalyst": "workspace:^",
"@faker-js/faker": "^8.4.1",
"@playwright/test": "^1.43.0",
"@types/node": "^18.19.30",
"@types/node": "^20.12.7",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
Expand Down
Loading

0 comments on commit df3ecb1

Please sign in to comment.