diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 830a3b6ae5e94..c310ee122e0d9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -106,7 +106,8 @@ checked out and set up: 1. Install all dependencies of all modules and link them together: ``` - lerna bootstrap --hoist + npm install -g lerna +lerna bootstrap --hoist --no-ci ``` 1. Build all the code: diff --git a/docker/images/n8n-custom/Dockerfile b/docker/images/n8n-custom/Dockerfile index 05d08a7db5fc6..ed2e45b675e58 100644 --- a/docker/images/n8n-custom/Dockerfile +++ b/docker/images/n8n-custom/Dockerfile @@ -20,7 +20,7 @@ COPY packages/workflow/ ./packages/workflow/ RUN rm -rf node_modules packages/*/node_modules packages/*/dist RUN npm install --production --loglevel notice -RUN lerna bootstrap --hoist -- --production +RUN lerna bootstrap --hoist --no-ci -- --production RUN npm run build diff --git a/package.json b/package.json index 44145dbb5ee3b..1334f9fba596e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "lerna exec npm run build", "dev": "lerna exec npm run dev --parallel", "clean:dist": "lerna exec -- rimraf ./dist", - "optimize-svg": "find ./packages -name '*.svg' -print0 | xargs -0 -P16 -L20 npx svgo", + "optimize-svg": "find ./packages -name '*.svg' -print0 | xargs -0 -P16 -L20 npx svgo" "start": "run-script-os", "start:default": "cd packages/cli/bin && ./n8n", "start:windows": "cd packages/cli/bin && n8n",