Skip to content

Commit 50b3a2f

Browse files
authored
fix: Build nyc-test-coverage package, fixes #839 (#843)
1 parent fa09d5f commit 50b3a2f

File tree

4 files changed

+65
-12
lines changed

4 files changed

+65
-12
lines changed

package-lock.json

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"@temporalio/testing": "file:packages/testing",
5050
"@temporalio/worker": "file:packages/worker",
5151
"@temporalio/workflow": "file:packages/workflow",
52+
"@temporalio/nyc-test-coverage": "file:packages/nyc-test-coverage",
5253
"temporalio": "file:packages/meta"
5354
},
5455
"devDependencies": {

packages/nyc-test-coverage/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,24 @@
22
"name": "@temporalio/nyc-test-coverage",
33
"version": "1.1.0",
44
"description": "Temporal.io SDK code coverage integration",
5-
"main": "lib/index.js",
6-
"types": "./lib/index.d.ts",
75
"keywords": [
86
"temporal",
97
"workflow",
108
"testing",
119
"coverage"
1210
],
13-
"author": "Temporal Technologies Inc. <sdk@temporal.io>",
11+
"homepage": "https://github.com/temporalio/sdk-typescript/tree/main/packages/testing",
12+
"bugs": {
13+
"url": "https://github.com/temporalio/sdk-typescript/issues"
14+
},
1415
"license": "MIT",
16+
"author": "Temporal Technologies Inc. <sdk@temporal.io>",
17+
"main": "lib/index.js",
18+
"types": "./lib/index.d.ts",
19+
"files": [
20+
"lib",
21+
"src"
22+
],
1523
"dependencies": {
1624
"@temporalio/worker": "file:../worker",
1725
"@temporalio/workflow": "file:../workflow",
@@ -20,14 +28,6 @@
2028
"devDependencies": {
2129
"@types/istanbul-lib-coverage": "^2.0.4"
2230
},
23-
"bugs": {
24-
"url": "https://github.com/temporalio/sdk-typescript/issues"
25-
},
26-
"homepage": "https://github.com/temporalio/sdk-typescript/tree/main/packages/testing",
27-
"files": [
28-
"lib",
29-
"src"
30-
],
3131
"publishConfig": {
3232
"access": "public"
3333
}

packages/test/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
{ "path": "../interceptors-opentelemetry" },
1717
{ "path": "../testing" },
1818
{ "path": "../worker" },
19-
{ "path": "../workflow" }
19+
{ "path": "../workflow" },
20+
{ "path": "../nyc-test-coverage" }
2021
],
2122
"include": ["./src/**/*.ts"]
2223
}

0 commit comments

Comments
 (0)