Install shared components during EW install (#31196)
* fix: install shared components during EW install * chore: ignore `@element-hq/web-shared-components` for knip * chore: remove shared-components operation in layered.sh EW `yarn install` is also installing shared-componenents dependencies. `link:` in `package.json` works nearly like `yarn link`. * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -18,9 +18,4 @@ fi
|
||||
|
||||
DIST_VERSION=$("$DIR"/normalize-version.sh "$DIST_VERSION")
|
||||
|
||||
yarn --cwd packages/shared-components install
|
||||
yarn --cwd packages/shared-components link
|
||||
|
||||
yarn link @element-hq/web-shared-components
|
||||
|
||||
VERSION=$DIST_VERSION yarn build
|
||||
|
||||
@@ -44,11 +44,3 @@ fi
|
||||
yarn link matrix-js-sdk
|
||||
[ -d matrix-analytics-events ] && yarn link @matrix-org/analytics-events
|
||||
yarn install --frozen-lockfile $@
|
||||
|
||||
# Link shared components
|
||||
pushd packages/shared-components
|
||||
yarn link
|
||||
yarn install --frozen-lockfile
|
||||
popd
|
||||
|
||||
yarn link @element-hq/web-shared-components
|
||||
|
||||
Reference in New Issue
Block a user