Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
chore: 🔧 upgrade to lts/latest
Browse files Browse the repository at this point in the history
  • Loading branch information
ecxyzzy committed Dec 10, 2023
1 parent e781a5f commit 4619129
Show file tree
Hide file tree
Showing 12 changed files with 56 additions and 100 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-node-and-pnpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
- name: Setup Node.js environment
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
with:
node-version: lts/hydrogen
node-version: lts

- name: Install pnpm
uses: pnpm/action-setup@v2
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/hydrogen
lts/latest
4 changes: 2 additions & 2 deletions apps/docs/docs/contributors-guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ If you're a developer who's interested in using PeterPortal API in your next pro

To begin, you'll need to install the correct version of Node.js. We recommend using the [Node Version Manager (`nvm`)](https://github.com/nvm-sh/nvm), which is a painless way to ensure that you will always be using the correct version of Node.js.

As of the time of writing, PeterPortal API targets the latest version of Node.js 18 (Hydrogen). If you choose not to use `nvm`, please be aware that code tested with other versions of Node.js may not work as expected during our testing and deployment procedures. The rest of this guide will assume that you will be using `nvm`.
PeterPortal API targets the latest LTS version of Node.js. If you choose not to use `nvm`, please be aware that code tested with other versions of Node.js may not work as expected during our testing and deployment procedures. The rest of this guide will assume that you will be using `nvm`.

After installing nvm per the instructions in its repository, execute the following command:

```shell
nvm install lts/gallium
nvm install lts/*
```

This will install the correct version of Node.js (if it hasn't already been installed) and set it as the active version.
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@docusaurus/module-type-aliases": "2.4.3",
"@docusaurus/types": "2.4.3",
"@tsconfig/docusaurus": "2.0.2",
"@types/node": "18.18.5",
"@types/node": "20.10.4",
"typescript": "5.3.2"
}
}
2 changes: 1 addition & 1 deletion libs/uc-irvine-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": "18",
"node": "20",
"pnpm": "8"
},
"publishConfig": {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@commitlint/types": "18.4.3",
"@tsconfig/node18": "18.2.2",
"@tsconfig/node20": "20.1.2",
"@types/lint-staged": "13.2.2",
"@types/node": "18.18.5",
"@types/node": "20.10.4",
"@typescript-eslint/eslint-plugin": "6.13.1",
"@typescript-eslint/parser": "6.13.1",
"arktype": "1.0.16-alpha",
Expand All @@ -48,7 +48,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": "18",
"node": "20",
"pnpm": "8"
}
}
Loading

0 comments on commit 4619129

Please sign in to comment.