From 336d3654118f2d493129d87a80f45a4f474993ff Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Sat, 12 Nov 2022 21:04:27 -0700 Subject: [PATCH] Update commands, see https://github.com/phetsims/chipper/issues/1353 --- .devcontainer/postCreateCommand.sh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh index 114e8408..87baed52 100644 --- a/.devcontainer/postCreateCommand.sh +++ b/.devcontainer/postCreateCommand.sh @@ -1,7 +1,9 @@ #!/bin/bash -npm install -cd ../ +# Prevent creating package-lock.json +npm config set package-lock false + +# Clone dependencies git clone https://github.com/phetsims/assert.git git clone https://github.com/phetsims/axon.git git clone https://github.com/phetsims/babel.git @@ -24,15 +26,22 @@ git clone https://github.com/phetsims/tandem.git git clone https://github.com/phetsims/twixt.git git clone https://github.com/phetsims/utterance-queue.git -cd chipper +# NPM install +cd gravity-and-orbits npm install + +cd ../chipper +npm install + cd ../perennial-alias npm install + cd ../gravity-and-orbits npm install -g grunt-cli # Build the sim with options for a speed boost grunt --lint=false --minify.minify=false +# HTTP Server runs from the root directory ../workspaces/ cd ../ npm install http-server