Skip to content

Commit b73a7e8

Browse files
committed
chore(maintenance): restore .devcontainer (#1803)
1 parent 11682e8 commit b73a7e8

File tree

4 files changed

+45
-2
lines changed

4 files changed

+45
-2
lines changed

.devcontainer/Dockerfile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/blob/v0.212.0/containers/javascript-node/.devcontainer/base.Dockerfile
2+
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node@sha256:a20adf8775b442587c7fe3d5ce6f2f2bc084cd4e9dacc27b1a2d0840f28e57c9
3+
4+
# Install fnm to manage Node.js versions
5+
RUN curl -fsSL https://fnm.vercel.app/install -o /tmp/install \
6+
&& chmod a+x /tmp/install
7+
&& /tmp/install \
8+
&& rm /tmp/install
9+
10+
# Install AWS SAM CLI
11+
RUN curl -LO https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip \
12+
&& unzip -q aws-sam-cli-linux-x86_64.zip -d sam-installation \
13+
&& sudo ./sam-installation/install \
14+
&& rm -rf sam-installation aws-sam-cli-linux-*

.devcontainer/devcontainer.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.212.0/containers/javascript-node
3+
{
4+
"name": "Node.js",
5+
"build": {
6+
"dockerfile": "Dockerfile",
7+
// Update 'VARIANT' to pick a Node version: 18, 16, 14.
8+
// Append -bullseye or -buster to pin to an OS version.
9+
// Use -bullseye variants on local arm64/Apple Silicon.
10+
"args": {
11+
"VARIANT": "20-bullseye"
12+
}
13+
},
14+
"customizations": {
15+
// Add the ids of extensions you want installed when the container is created.
16+
"extensions": [
17+
"dbaeumer.vscode-eslint",
18+
"esbenp.prettier-vscode",
19+
"firsttris.vscode-jest-runner"
20+
],
21+
"vscode": {
22+
"git.enableCommitSigning": true
23+
}
24+
},
25+
// Use 'postCreateCommand' to run commands after the container is created.
26+
"postCreateCommand": "npm run setup-local",
27+
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
28+
"remoteUser": "node"
29+
}

.github/workflows/make-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: ./.github/actions/cached-node-modules
3939
- name: Version
4040
run: |
41-
npx lerna version --conventional-commits --force-publish --no-commit-hooks --yes
41+
npx lerna version minor --force-publish --no-commit-hooks --yes
4242
- name: Publish to npm
4343
run: |
4444
NPM_CONFIG_PROVENANCE=true npx lerna publish from-git --yes

packages/commons/src/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// this file is auto generated, do not modify
2-
export const PT_VERSION = '1.15.0';
2+
export const PT_VERSION = '1.17.0';

0 commit comments

Comments
 (0)