mirror of
https://github.com/vector-im/element-web.git
synced 2026-03-01 19:41:15 +01:00
Make layered script read the right package.json (#32650)
And hopefully agnostic to its working directory
This commit is contained in:
parent
82cf0b5bf6
commit
7ddd645f4d
@ -20,7 +20,7 @@ pnpm install --frozen-lockfile
|
||||
export PR_ORG=element-hq
|
||||
export PR_REPO=element-web
|
||||
|
||||
js_sdk_dep=`jq -r '.dependencies["matrix-js-sdk"]' < package.json`
|
||||
js_sdk_dep=$(jq -r '.dependencies["matrix-js-sdk"]' < $(pnpm -w root)/../apps/web/package.json)
|
||||
|
||||
# Set up the js-sdk first (unless package.json pins a specific version)
|
||||
if [ "$js_sdk_dep" = "github:matrix-org/matrix-js-sdk#develop" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user