Skip to content

Commit

Permalink
feat(maintenance): add support for nodejs20.x runtime (#1790)
Browse files Browse the repository at this point in the history
* feat(maintenance): support nodejs20.x runtime

* tests(metrics): fix object ordering in tests

* build(testing): bump cdk

* build(maintenance): revert aws-cdk-lib to support nodejs14

* tests(maintenance): set runtime with family

* chore(docs): patch runtime in cdk

* chore(docs): patch runtime in cdk

* chore(maintenance): increment version in commons ahead of release
  • Loading branch information
dreamorosi committed Feb 5, 2024
1 parent b31803a commit 58434bc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
18 changes: 17 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/blob/v0.212.0/containers/javascript-node/.devcontainer/base.Dockerfile
<<<<<<< HEAD
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node@sha256:ff7fcaf39a616aed41b7e9af6ebedfee1c605e89ba9416c6fa79f33762345aa7
=======
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster
ARG VARIANT="20-bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
>>>>>>> 5d382569 (feat(maintenance): add support for nodejs20.x runtime (#1790))

# Install fnm to manage Node.js versions
RUN curl -fsSL https://fnm.vercel.app/install -o /tmp/install \
&& chmod a+x /tmp/install \
&& /tmp/install \
&& rm /tmp/install

<<<<<<< HEAD
# Install AWS SAM CLI
RUN curl -LO https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip \
&& unzip -q aws-sam-cli-linux-x86_64.zip -d sam-installation \
&& sudo ./sam-installation/install \
&& rm -rf sam-installation aws-sam-cli-linux-*
&& rm -rf sam-installation aws-sam-cli-linux-*
=======
# Install fnm to manage Node.js versions
RUN curl -fsSL https://fnm.vercel.app/install | bash -s

RUN wget https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip \
&& unzip aws-sam-cli-linux-x86_64.zip -d sam-installation \
&& sudo ./sam-installation/install \
&& rm -rf sam-installation aws-sam-cli-linux-*
>>>>>>> 5d382569 (feat(maintenance): add support for nodejs20.x runtime (#1790))
5 changes: 0 additions & 5 deletions examples/cdk/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"name": "cdk-sample",
<<<<<<< HEAD
"version": "1.18.0",
=======
"version": "1.14.2",
>>>>>>> 38bc54f0 (chore(release): v1.14.2 [skip ci
])
"author": {
"name": "Amazon Web Services",
"url": "https://aws.amazon.com"
Expand Down
2 changes: 1 addition & 1 deletion packages/commons/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// this file is auto generated, do not modify
export const PT_VERSION = '1.17.0';
export const PT_VERSION = '1.18.0';

0 comments on commit 58434bc

Please sign in to comment.