From 47b9bc99bca26a85bc339a17f6fdc5e502d42ac6 Mon Sep 17 00:00:00 2001 From: craigrbarnes Date: Mon, 19 Feb 2024 11:38:10 -0600 Subject: [PATCH] update to node vers 20.11.0 (#142) Co-authored-by: craigrbarnes --- .github/workflows/ci.yaml | 2 +- Dockerfile | 2 +- README.md | 8 ++++---- package.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9ac9ef8f..45019803 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v3.4.1 with: - node-version: 18.17.0 + node-version: 20.11.0 - name: install npm version run: npm install -g npm - name: Get Version diff --git a/Dockerfile b/Dockerfile index 8f183d81..f671c76e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM quay.io/cdis/ubuntu:20.04 as build -ARG NODE_VERSION=18 +ARG NODE_VERSION=20 ENV DEBIAN_FRONTEND=noninteractive diff --git a/README.md b/README.md index c48c4f5b..c4692edc 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ -# CTDS Frontend Framework +# Gen3 Frontend Framework ## Installation ### Prerequisites -This is a multi-workspace repo that requires npm v9. The minimum node version is set to v18.15.0 only from an LTS perspective. +This is a multi-workspace repo that requires npm v9. The minimum node version is set to v20.11.0 only from an LTS perspective. Node can be downloaded from the official Node.js site. You may also consider using a [Node version manager](https://docs.npmjs.com/cli/v7/configuring-npm/install#using-a-node-version-manager-to-install-nodejs-and-npm). -Your version of Node may not ship with npm v9. To install it, run: +Your version of Node may not ship with npm v10. To install it, run: ```bash -npm install npm@9.5.0 -g +npm install npm@10.2.4 -g ``` Note: if you see this error: diff --git a/package.json b/package.json index dffedfcc..ce2f9373 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ ], "engines" : { "npm" : ">=10.2.3", - "node" : ">=18.17.0" + "node" : ">=20.11.0" }, "scripts": { "lint": "eslint .",