Skip to content

Commit

Permalink
chore(host-metrics): add pretest script
Browse files Browse the repository at this point in the history
  • Loading branch information
david-luna committed Jan 10, 2024
1 parent 380a0e2 commit 2da2237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/opentelemetry-host-metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"prewatch": "npm run precompile",
"prepublishOnly": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"pretest": "npm run version:update",
"test": "nyc ts-mocha -p tsconfig.json test/**/*.test.ts",
"version:update_original": "node ../../scripts/version-update.js",
"version:update": "echo \"export const VERSION = $(cat package.json | jq .version)\" > ./src/version.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/opentelemetry-host-metrics/src/version.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const VERSION = "0.34.1"

Check failure on line 1 in packages/opentelemetry-host-metrics/src/version.ts

View workflow job for this annotation

GitHub Actions / lint

missing header

Check failure on line 1 in packages/opentelemetry-host-metrics/src/version.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `"0.34.1"` with `'0.34.1';`

Check failure on line 1 in packages/opentelemetry-host-metrics/src/version.ts

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote

0 comments on commit 2da2237

Please sign in to comment.