From c2e7a02e5acfae1ce683bee8f326ea005934ccf1 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Fri, 7 May 2021 14:56:01 +0200 Subject: [PATCH] Use --hoist Save time installing dependencies by recommending the usage of --hoist. --- .travis.yml | 2 +- docs/contributing.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9ffbf028..9b4eac86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ before_install: - tar -xf factorio.tar.gz - npm install -g codecov script: - - npx lerna bootstrap --no-ci + - npx lerna bootstrap --hoist --no-ci - node packages/lib/build_mod --source-dir packages/slave/lua/clusterio_lib --output-dir temp/test/sharedMods - curl -o temp/test/sharedMods/subspace_storage_1.99.8.zip -L https://github.com/clusterio/factorioClusterioMod/releases/download/1.99.6/subspace_storage_1.99.8.zip - npx lerna run build diff --git a/docs/contributing.md b/docs/contributing.md index 7b6067dd..7b9677f5 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -53,7 +53,7 @@ The project is organized into several packages that are all managed through Lern In order to get the development environment up and running you will need to run the following commands: npm install - npx lerna bootstrap + npx lerna bootstrap --hoist This installs dependencies needed by tests and links the packages up so they work from the git work tree.