Skip to content

Commit 22e58cd

Browse files
committed
chore: use nx commands
1 parent f9f5123 commit 22e58cd

File tree

66 files changed

+75
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+75
-74
lines changed

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
- name: Install
130130
run: npm ci
131131
- name: Build
132-
run: npm run compile
132+
run: npm run version:update
133133
- name: Unit tests (Full)
134134
if: matrix.code-coverage
135135
run: npm run test
@@ -167,7 +167,7 @@ jobs:
167167
- name: Install
168168
run: npm ci
169169
- name: Build
170-
run: npm run compile
170+
run: npm run version:update
171171
- name: Unit tests
172172
run: npm run test:browser
173173
- name: Report Coverage

detectors/node/opentelemetry-resource-detector-alibaba-cloud/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"compile": "tsc -p .",
1111
"lint": "eslint . --ext .ts",
1212
"lint:fix": "eslint . --ext .ts --fix",
13-
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/resource-detector-alibaba-cloud --include-dependencies",
1413
"prewatch": "npm run precompile",
1514
"prepublishOnly": "npm run compile",
1615
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",

detectors/node/opentelemetry-resource-detector-aws/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"compile": "tsc -p .",
1111
"lint": "eslint . --ext .ts",
1212
"lint:fix": "eslint . --ext .ts --fix",
13-
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/resource-detector-aws --include-dependencies",
1413
"prewatch": "npm run precompile",
1514
"prepublishOnly": "npm run compile",
1615
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",

detectors/node/opentelemetry-resource-detector-azure/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"compile": "tsc -p .",
1111
"lint": "eslint . --ext .ts",
1212
"lint:fix": "eslint . --ext .ts --fix",
13-
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/resource-detector-azure --include-dependencies",
1413
"prewatch": "npm run precompile",
1514
"prepublishOnly": "npm run compile",
1615
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",

detectors/node/opentelemetry-resource-detector-container/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"compile": "tsc -p .",
1111
"lint": "eslint . --ext .ts",
1212
"lint:fix": "eslint . --ext .ts --fix",
13-
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/resource-detector-container --include-dependencies",
1413
"prewatch": "npm run precompile",
1514
"prepublishOnly": "npm run compile",
1615
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
@@ -34,6 +33,7 @@
3433
"devDependencies": {
3534
"@opentelemetry/api": "^1.0.0",
3635
"@opentelemetry/contrib-test-utils": "^0.41.0",
36+
"@opentelemetry/instrumentation-fs": "*",
3737
"@types/mocha": "8.2.3",
3838
"@types/node": "18.18.14",
3939
"@types/sinon": "10.0.20",

detectors/node/opentelemetry-resource-detector-gcp/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"compile": "tsc -p .",
1111
"lint": "eslint . --ext .ts",
1212
"lint:fix": "eslint . --ext .ts --fix",
13-
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/resource-detector-gcp --include-dependencies",
1413
"prewatch": "npm run precompile",
1514
"prepublishOnly": "npm run compile",
1615
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",

detectors/node/opentelemetry-resource-detector-github/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"compile": "tsc -p .",
1111
"lint": "eslint . --ext .ts",
1212
"lint:fix": "eslint . --ext .ts --fix",
13-
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/resource-detector-github --include-dependencies",
1413
"prewatch": "npm run precompile",
1514
"prepublishOnly": "npm run compile",
1615
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",

detectors/node/opentelemetry-resource-detector-instana/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"compile": "tsc -p .",
1111
"lint": "eslint . --ext .ts",
1212
"lint:fix": "eslint . --ext .ts --fix",
13-
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/resource-detector-instana --include-dependencies",
1413
"prewatch": "npm run precompile",
1514
"prepublishOnly": "npm run compile",
1615
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",

metapackages/auto-configuration-propagators/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"compile": "tsc -p .",
2020
"lint": "eslint . --ext .ts",
2121
"lint:fix": "eslint . --ext .ts --fix",
22-
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/auto-configuration-propagators --include-dependencies",
2322
"prewatch": "npm run precompile",
2423
"prepublishOnly": "npm run compile",
2524
"tdd": "npm run test -- --watch-extensions ts --watch",

metapackages/auto-instrumentations-node/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"compile": "tsc -p .",
2424
"lint": "eslint . --ext .ts",
2525
"lint:fix": "eslint . --ext .ts --fix",
26-
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/auto-instrumentations-node --include-dependencies",
2726
"prewatch": "npm run precompile",
2827
"prepublishOnly": "npm run compile",
2928
"tdd": "yarn test -- --watch-extensions ts --watch",

0 commit comments

Comments
 (0)