diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6be91c238..0c5582991 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18' - name: Install Graphviz uses: tlylt/install-graphviz@v1 - name: Install Java @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18' - name: Install Graphviz uses: tlylt/install-graphviz@v1 - name: Install Java @@ -83,7 +83,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18' - name: Install Graphviz uses: tlylt/install-graphviz@v1 - name: Install Java diff --git a/docs/_markbind/variables.md b/docs/_markbind/variables.md index 18682772e..7a17c9c56 100644 --- a/docs/_markbind/variables.md +++ b/docs/_markbind/variables.md @@ -11,8 +11,8 @@ :fas-info-circle: :far-check-square: -16 -16.19.1 +18 +18.20.4 v{{ node_version_number }} v{{ node_dev_version_number }} 2.38 diff --git a/docs/devGuide/development/settingUp.md b/docs/devGuide/development/settingUp.md index b9c3fa6dc..9f3dbd08b 100644 --- a/docs/devGuide/development/settingUp.md +++ b/docs/devGuide/development/settingUp.md @@ -16,7 +16,7 @@ This page explains how to set up your development environment to start contribut ## Prerequisites 1. **Node.js** ({{ node_dev_version }} or higher) with
- **npm** v8 or higher + a recent version of **npm** 1. **Java** 8 or higher, and
**Graphviz** ({{ graphviz_version }} or higher, _installation is optional on Windows_)
@@ -32,10 +32,6 @@ This page explains how to set up your development environment to start contribut * `dot -V` (for Graphviz - optional on Windows) * `python3 -V` - - -With Node LTS (v20), the python used has updated to 3.12, and [you may get an error](https://github.com/MarkBind/markbind/issues/2496). You can solve this issue by installing setuptools or deprecating the versions used. - We recommend the **WebStorm IDE** or **VS Code** for working with MarkBind code. diff --git a/docs/userGuide/deployingTheSite.md b/docs/userGuide/deployingTheSite.md index c90cfb76b..732ec06a6 100644 --- a/docs/userGuide/deployingTheSite.md +++ b/docs/userGuide/deployingTheSite.md @@ -113,7 +113,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18' - run: npm i -g markbind-cli - run: markbind deploy --ci ``` @@ -201,7 +201,7 @@ Since May 2018, Travis CI has been [undergoing migration to `travis-ci.com`](htt ```yml language: node_js node_js: - - 16 + - 18 install: - npm i -g markbind-cli script: markbind build @@ -269,7 +269,7 @@ The `repo` value can be changed to your specific repository as desired. ```yml environment: - nodejs_version: '16' + nodejs_version: '18' branches: only: @@ -316,8 +316,8 @@ Commit and push `appveyor.yml` to your GitHub repository. Thereafter, AppVeyor C steps: - checkout - node/install: - node-version: "16" - npm-version: "8" + node-version: "18" + npm-version: "10" install-yarn: false - run: node --version - run: npm i -g markbind-cli @@ -436,7 +436,7 @@ jobs: - name: Install Node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Build MarkBind website run: | npm install -g markbind-cli @@ -506,7 +506,7 @@ jobs: - name: Install Node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Build PR preview url id: pr-url run: | diff --git a/docs/userGuide/gettingStarted.md b/docs/userGuide/gettingStarted.md index 41da6f2cf..c113fb924 100644 --- a/docs/userGuide/gettingStarted.md +++ b/docs/userGuide/gettingStarted.md @@ -19,11 +19,6 @@ %%{{ icon_ticked }}%% [Node.js](https://nodejs.org) {{ node_version }} or higher installed - - -With Node LTS (v20), the python used has updated to 3.12, and [you may get an error](https://github.com/MarkBind/markbind/issues/2496). You can solve this issue by installing setuptools or deprecating the versions used. - - There are a few ways to install MarkBind, select one that is most suitable for your use case. If you are unsure, we recommend using the first method. ## Method 1: Install MarkBind globally with npm diff --git a/netlify.toml b/netlify.toml index f2992fd7e..36b8d6164 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,3 @@ [build] command = "npm run deploy:netlify" - environment = { NODE_VERSION = "16.19.1"} + environment = { NODE_VERSION = "18.20.4"}