Skip to content

Commit

Permalink
build: update workspaces script to ensure theme-common builds first
Browse files Browse the repository at this point in the history
  • Loading branch information
mgadewoll committed Oct 8, 2024
1 parent ce4e8e1 commit 62ad98d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"scripts": {
"start": "cross-env BABEL_MODULES=false webpack serve --config=src-docs/webpack.config.js",
"build:workspaces": "yarn workspaces foreach -Rti --from @elastic/eui --exclude @elastic/eui run build",
"build:workspaces": "yarn workspaces foreach -Rti --from @elastic/eui-theme-common run build && yarn workspaces foreach -Rti --from @elastic/eui --exclude @elastic/eui --exclude @elastic/eui-theme-common 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
3 changes: 3 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5771,6 +5771,8 @@ __metadata:
stylelint-config-standard: "npm:^33.0.0"
stylelint-config-standard-scss: "npm:^9.0.0"
typescript: "npm:^5.6.2"
peerDependencies:
"@elastic/eui-theme-common": 0.0.1
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -6041,6 +6043,7 @@ __metadata:
peerDependencies:
"@elastic/datemath": ^5.0.2
"@elastic/eui-theme-borealis": 0.0.1
"@elastic/eui-theme-common": 0.0.1
"@emotion/css": 11.x
"@emotion/react": 11.x
"@types/react": ^16.9 || ^17.0 || ^18.0
Expand Down

0 comments on commit 62ad98d

Please sign in to comment.