landscape: install using ci in most cases

This commit is contained in:
Matilde Park 2021-04-15 15:41:20 -04:00
parent 0892767f64
commit aefc267477
3 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ same (if [developing on a local development ship][local]). Then, from
'pkg/interface': 'pkg/interface':
``` ```
npm install npm ci
npm run start npm run start
``` ```
@ -71,7 +71,7 @@ linter and for usage through the command, do the following:
```bash ```bash
$ cd ./pkg/interface $ cd ./pkg/interface
$ npm install $ npm ci
$ npm run lint $ npm run lint
``` ```

View File

@ -100,7 +100,7 @@
"tsc:watch": "tsc --watch", "tsc:watch": "tsc --watch",
"preinstall": "./preinstall.sh", "preinstall": "./preinstall.sh",
"build:dev": "cross-env NODE_ENV=development webpack --config config/webpack.dev.js", "build:dev": "cross-env NODE_ENV=development webpack --config config/webpack.dev.js",
"build:prod": "cross-env NODE_ENV=production webpack --config config/webpack.prod.js", "build:prod": "cd ../npm/api && npm ci && cd ../../interface && cross-env NODE_ENV=production webpack --config config/webpack.prod.js",
"start": "webpack-dev-server --config config/webpack.dev.js", "start": "webpack-dev-server --config config/webpack.dev.js",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },

View File

@ -6,7 +6,7 @@ for i in $(find . -type d -maxdepth 1) ; do
if [ -f "${packageJson}" ]; then if [ -f "${packageJson}" ]; then
echo "installing ${i}..." echo "installing ${i}..."
cd ./${i} cd ./${i}
npm install npm ci
cd .. cd ..
fi fi
done done