Skip to content

Commit

Permalink
build: add script for building workspace dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mgadewoll committed Sep 23, 2024
1 parent ec02919 commit 8988f22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/eui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
],
"scripts": {
"start": "cross-env BABEL_MODULES=false webpack serve --config=src-docs/webpack.config.js",
"init:workspaces": "yarn workspaces foreach -Rpti --from @elastic/eui --exclude @elastic/eui run build",
"build-docs": "cross-env BABEL_MODULES=false cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 webpack --config=src-docs/webpack.config.js",
"build": "node ./scripts/compile-i18n-strings.js && node ./scripts/compile-clean.js && node ./scripts/compile-eui.js && yarn compile-scss",
"build-pack": "yarn build && npm pack",
Expand Down
2 changes: 1 addition & 1 deletion packages/eui/scripts/deploy/build_docs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ docker run \
--volume "$PWD":/app \
--workdir /app \
"$DOCKER_BASE_IMAGE" \
bash -c 'yarn && yarn --cwd packages/eui build && yarn --cwd packages/eui build-docs && yarn --cwd packages/eui build-storybook'
bash -c 'yarn && yarn --cwd packages/eui init:workspaces && yarn --cwd packages/eui build && yarn --cwd packages/eui build-docs && yarn --cwd packages/eui build-storybook'

0 comments on commit 8988f22

Please sign in to comment.