File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,10 +30,11 @@ echo "CWD=$CWD"
3030npm cache clean --force
3131
3232pushd " $OPENTELEMETRY_JS_CONTRIB_PATH " > /dev/null
33- # Generate version files in opentelemetry-js-contrib
34- npx lerna@6.6.2 run version:update # Newer versions have trouble with our lerna.json which contains `useWorkspaces`
3533# Prepare opentelemetry-js-contrib
3634npm install
35+ # Generate version files in opentelemetry-js-contrib
36+ # Lerna 9 no longer requires useWorkspaces configuration - it uses npm workspaces by default
37+ npm run version:update
3738popd > /dev/null
3839
3940# Build contrib-test-utils
@@ -77,6 +78,8 @@ popd > /dev/null
7778# Prepare opentelemetry-js
7879pushd " $OPENTELEMETRY_JS_PATH " > /dev/null
7980npm install
81+ # Generate version files in opentelemetry-js (required for TypeScript compilation)
82+ npx nx run-many -t version
8083popd > /dev/null
8184
8285# Build sdk-logs
You can’t perform that action at this time.
0 commit comments