diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 51a9c57732..21513b4662 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -26,7 +26,7 @@ "ms-azuretools.vscode-docker" ], // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "npm ci; cd examples/cdk; npm ci; cd ../sam; npm ci; cd ../../; npm run init-environment", + "postCreateCommand": "npm ci --foreground-scripts; cd examples/cdk; npm ci; cd ../sam; npm ci; cd ../../; npm run init-environment", // 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/.gitpod.yml b/.gitpod.yml index 8ee88c88e2..52661379c7 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -6,7 +6,7 @@ tasks: # Install npm 8.x npm i -g npm@next-8 # Install monorepo packages - npm ci + npm ci --foreground-scripts # Install CDK exampels dependencies cd examples/cdk npm ci diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b43f7b92fb..8b6bace6b5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -57,6 +57,8 @@ reported the issue. Please try to include as much information as you can. Detail The following steps describe how to set up the AWS Lambda Powertools for TypeScript repository on your local machine. The alternative is to use a Cloud IDE like [Gitpod](https://www.gitpod.io/) or [Codespaces](https://github.com/features/codespaces) for your development. +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/awslabs/aws-lambda-powertools-typescript) + ### Setup The following tools need to be installed on your system prior to starting working on a pull request: @@ -76,7 +78,7 @@ First, [fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) the ```console git clone https://github.com/{your-account}/aws-lambda-powertools-typescript.git cd aws-lambda-powertools-typescript -npm ci; +npm ci --foreground-scripts; cd examples/cdk; npm ci cd ../.. cd examples/sam; npm ci