diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index bdc7417ca6..e99b43cb38 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,7 +1,7 @@ # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/javascript-node/.devcontainer/base.Dockerfile -# [Choice] Node.js version: 16 -ARG VARIANT="16" +# [Choice] Node.js version: 18 +ARG VARIANT="18" FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:1-${VARIANT} # Install chromium and point the CHROME_BIN environment variable to it diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e71ea2da9b..41b81e3276 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,9 +4,9 @@ "name": "Node.js", "build": { "dockerfile": "Dockerfile", - // Update 'VARIANT' to pick a Node version: 16 + // Update 'VARIANT' to pick a Node version: 18 "args": { - "VARIANT": "16" + "VARIANT": "18" } }, // Set *default* container specific settings.json values on container create. diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 138dbcfa02..277479ab50 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - uses: pnpm/action-setup@v2.2.4 name: Install pnpm diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 3428d7ac10..67119256bf 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -38,7 +38,7 @@ jobs: - name: "Setup node" uses: "actions/setup-node@v3" with: - node-version: "16" + node-version: "18" registry-url: "https://registry.npmjs.org" - uses: "pnpm/action-setup@v2.2.4" diff --git a/.nvmrc b/.nvmrc index 53d0020fde..eb800ed459 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.20.1 +v18.19.0 diff --git a/README.md b/README.md index 764e164b07..7d49ed69bf 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ See our [migration guide](https://github.com/eclipsesource/jsonforms/blob/master ### First time setup -- Install [node.js](https://nodejs.org/) (only Node v16.13+ < 17 is currently supported) +- Install [node.js](https://nodejs.org/) (only Node v18.19+ < 19 is currently supported) - Install pnpm: (use pnpm 8.6.2+) - Clone this repository - Install dependencies: `pnpm i --frozen-lockfile` diff --git a/package.json b/package.json index 5797162770..dbb332f7d0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jsonforms-monorepo", "engines": { - "node": "^16.14", + "node": "^18.19.0", "pnpm": ">=7.13.4" }, "scripts": {