Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit eb98fa1

Browse files
authored
fix: include more type definitions (#841)
1 parent b039c02 commit eb98fa1

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@
2828
},
2929
"files": [
3030
"build/src/**/*.js",
31-
"build/src/config.d.ts",
32-
"build/src/constants.d.ts",
33-
"build/src/index.d.ts",
34-
"build/src/plugin-types.d.ts",
35-
"build/src/trace-labels.d.ts",
31+
"build/src/**/*.d.ts",
32+
"!build/src/plugins/**/*.d.ts",
33+
"!build/src/plugins/types",
3634
"doc",
3735
"!doc/images",
3836
"CHANGELOG.md",
@@ -62,7 +60,7 @@
6260
"@types/node": "^10.5.2",
6361
"@types/once": "^1.4.0",
6462
"@types/pify": "^3.0.0",
65-
"@types/protobufjs": "^6.0.0",
63+
"@types/protobufjs": "^5.0.31",
6664
"@types/proxyquire": "^1.3.28",
6765
"@types/request": "^2.0.8",
6866
"@types/semver": "^5.4.0",
@@ -74,7 +72,7 @@
7472
"codecov": "^3.0.0",
7573
"express": "^4.15.2",
7674
"glob": "^7.0.3",
77-
"grpc": "^1.12.3",
75+
"grpc": "1.13.1",
7876
"gts": "^0.8.0",
7977
"intelli-espower-loader": "^1.0.1",
8078
"js-green-licenses": "^0.5.0",

scripts/check-install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export async function checkInstall() {
4141
// use-module.ts is a fixture that imports the Trace Agent
4242
await ncpP('./test/fixtures/use-module.ts', `${installDir}/index.ts`);
4343
// Compile it
44-
await spawnP(`node_modules${path.sep}.bin${path.sep}tsc`, ['index.ts'], {
44+
await spawnP(`node_modules${path.sep}.bin${path.sep}tsc`, ['index.ts', '--lib', 'es2015'], {
4545
cwd: installDir
4646
});
4747
console.log('`npm install` + `tsc` test was successful.');

0 commit comments

Comments
 (0)