chore(dep): bump NodeJS from 16.x to 18.x LTS (#8406)

* chore(dep): bump NodeJS to LTS 18.x

* update nginx image CVE-2022-43551

* upgrade node version in GH workflows

* update nodejs version in dev docs

* upgrade tldraw version nodejs version to 18.x

* update static/yarn.lock

* fix yarn.lock electron version

---------

Co-authored-by: situ2001 <yongcong2001@outlook.com>
This commit is contained in:
Bad3r
2023-02-21 15:07:35 +00:00
committed by GitHub
parent 8b2c50dd06
commit ebb2a5c1d7
17 changed files with 26 additions and 31 deletions

View File

@@ -6,12 +6,12 @@ This is a guide on creating Logseq development environment on Windows with `Powe
## Pre-requisites
* Ensure `Set-ExecutionPolicy Unrestricted` (or other equivalent)
* Good network connection. Here's [An example of setting up proxy in PowerShell](#an-example-of-setting-up-proxy-in-powershell)
* Node.js 16.x
* Node.js 18.x
* Clojure (follow this [Guidance](https://clojure.org/guides/getting_started#_installation_on_windows))
* JRE 8 (required for Clojure)
* Visual Studio (required for desktop app)
(updated 20220218. May confirm via JAVA_VERSION and NODE_VERSION in [THIS FILE](https://github.com/logseq/logseq/blob/master/.github/workflows/build.yml))
(updated 20230215. May confirm via JAVA_VERSION and NODE_VERSION in [THIS FILE](https://github.com/logseq/logseq/blob/master/.github/workflows/build.yml))
### An example of installing pre-requisites on Windows
* Install [Chocolatey](https://chocolatey.org/)
@@ -19,10 +19,10 @@ This is a guide on creating Logseq development environment on Windows with `Powe
* Install NVM for Windows, Node.js, and Yarn
```
choco install nvm
nvm install 16.13 (or whatever version)
nvm use 16.13
nvm install 18.12.0 (or whatever version)
nvm use 18.12.0
npm install -g yarn
nvm use 16.13
nvm use 18.12.0
```
* Install [clj-on-windows](https://github.com/clojure/tools.deps.alpha/wiki/clj-on-Windows)