Skip to content

Commit d10b254

Browse files
dyladanvmarchaud
andauthored
fix(otlp-transformer): add missing prepublishOnly script (#2998)
Co-authored-by: Valentin Marchaud <[email protected]>
1 parent 7649cf1 commit d10b254

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

experimental/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ All notable changes to experimental packages in this project will be documented
1111
### :bug: (Bug Fix)
1212

1313
* fix(sdk-metrics-base): only record non-negative histogram values #3002 @pichlermarc
14+
* fix(otlp-transformer): include missing prepublishOnly script which ensures esm and esnext build files are created and packaged @dyladan
1415

1516
### :books: (Refine Doc)
1617

experimental/packages/otlp-transformer/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"main": "build/src/index.js",
1313
"repository": "open-telemetry/opentelemetry-js",
1414
"scripts": {
15+
"prepublishOnly": "npm run compile",
1516
"compile": "tsc --build tsconfig.all.json",
1617
"clean": "tsc --build --clean tsconfig.all.json",
1718
"lint": "eslint . --ext .ts",

0 commit comments

Comments
 (0)