Skip to content

Commit

Permalink
fix(instr-perf-hooks): avoid 'prepare' npm script because that runs o…
Browse files Browse the repository at this point in the history
…n 'npm install'

Having a prepare script in the monorepo means that it runs during 'npm ci'
which can break if some needed deps for that script haven't yet been
installed.
  • Loading branch information
trentm committed Feb 23, 2024
1 parent 882fb4b commit 02e2ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/node/instrumentation-perf-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint:fix": "eslint . --ext .ts --fix",
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/instrumentation-perf-hooks --include-dependencies",
"prewatch": "npm run precompile",
"prepare": "npm run compile",
"prepublishOnly": "npm run compile",
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
"version:update": "node ../../../scripts/version-update.js"
},
Expand Down

0 comments on commit 02e2ac3

Please sign in to comment.