diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000000..7d57dd7665 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,14 @@ +# See here for image contents: https://github.com/microsoft/vscode-dev-containers/blob/v0.212.0/containers/javascript-node/.devcontainer/base.Dockerfile +FROM mcr.microsoft.com/vscode/devcontainers/javascript-node@sha256:a20adf8775b442587c7fe3d5ce6f2f2bc084cd4e9dacc27b1a2d0840f28e57c9 + +# 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 + +# 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-* \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000000..f9033f03d3 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,29 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: +// https://github.com/microsoft/vscode-dev-containers/tree/v0.212.0/containers/javascript-node +{ + "name": "Node.js", + "build": { + "dockerfile": "Dockerfile", + // Update 'VARIANT' to pick a Node version: 18, 16, 14. + // Append -bullseye or -buster to pin to an OS version. + // Use -bullseye variants on local arm64/Apple Silicon. + "args": { + "VARIANT": "20-bullseye" + } + }, + "customizations": { + // Add the ids of extensions you want installed when the container is created. + "extensions": [ + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode", + "firsttris.vscode-jest-runner" + ], + "vscode": { + "git.enableCommitSigning": true + } + }, + // Use 'postCreateCommand' to run commands after the container is created. + "postCreateCommand": "npm run setup-local", + // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. + "remoteUser": "node" +} \ No newline at end of file diff --git a/.github/workflows/make-release.yml b/.github/workflows/make-release.yml index 122e3844da..bcbfdb8bb7 100644 --- a/.github/workflows/make-release.yml +++ b/.github/workflows/make-release.yml @@ -38,7 +38,7 @@ jobs: uses: ./.github/actions/cached-node-modules - name: Version run: | - npx lerna version --conventional-commits --force-publish --no-commit-hooks --yes + npx lerna version minor --force-publish --no-commit-hooks --yes - name: Publish to npm run: | NPM_CONFIG_PROVENANCE=true npx lerna publish from-git --yes diff --git a/packages/commons/src/version.ts b/packages/commons/src/version.ts index 7f338fc57f..fbc8a9d373 100644 --- a/packages/commons/src/version.ts +++ b/packages/commons/src/version.ts @@ -1,2 +1,2 @@ // this file is auto generated, do not modify -export const PT_VERSION = '1.15.0'; +export const PT_VERSION = '1.17.0';