From fa54dd8c32da334946221c1e13d4a5da3cd3975b Mon Sep 17 00:00:00 2001 From: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com> Date: Thu, 25 Jan 2024 16:32:30 -0600 Subject: [PATCH] UI: Bump Node to v18 (#25074) * Bump Node to v18 * Update dockerfiles as per node upgrade instructions --- scripts/cross/Dockerfile | 2 +- scripts/docker/Dockerfile.ui | 2 +- ui/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cross/Dockerfile b/scripts/cross/Dockerfile index 6270d886a1..030ef9c379 100644 --- a/scripts/cross/Dockerfile +++ b/scripts/cross/Dockerfile @@ -15,7 +15,7 @@ RUN apt-get update -y && apt-get install --no-install-recommends -y -q \ libltdl-dev \ libltdl7 -RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - +RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list diff --git a/scripts/docker/Dockerfile.ui b/scripts/docker/Dockerfile.ui index cac96929b4..f67d04029b 100644 --- a/scripts/docker/Dockerfile.ui +++ b/scripts/docker/Dockerfile.ui @@ -19,7 +19,7 @@ RUN apt-get update -y && apt-get install --no-install-recommends -y -q \ libltdl-dev \ libltdl7 -RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - +RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list diff --git a/ui/package.json b/ui/package.json index 2c6a5ab769..290dfc5e91 100644 --- a/ui/package.json +++ b/ui/package.json @@ -227,7 +227,7 @@ "@embroider/macros": "^1.0.0" }, "engines": { - "node": "16" + "node": "18" }, "ember": { "edition": "octane"