diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c48dab4..26199cd 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -15,7 +15,7 @@ // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "npm install", + "postCreateCommand": "./.devcontainer/postCreateCommand.sh", // Configure tool-specific properties. // "customizations": {}, diff --git a/.devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh new file mode 100755 index 0000000..bf9a236 --- /dev/null +++ b/.devcontainer/postCreateCommand.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +npm install + +# also install dependencies for `pr-collector` +cd pr-collector +npm install +npm run build && npm run package + +cd .. \ No newline at end of file