Skip to content

Commit

Permalink
fix: include more type definitions (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjin authored Aug 14, 2018
1 parent b039c02 commit eb98fa1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@
},
"files": [
"build/src/**/*.js",
"build/src/config.d.ts",
"build/src/constants.d.ts",
"build/src/index.d.ts",
"build/src/plugin-types.d.ts",
"build/src/trace-labels.d.ts",
"build/src/**/*.d.ts",
"!build/src/plugins/**/*.d.ts",
"!build/src/plugins/types",
"doc",
"!doc/images",
"CHANGELOG.md",
Expand Down Expand Up @@ -62,7 +60,7 @@
"@types/node": "^10.5.2",
"@types/once": "^1.4.0",
"@types/pify": "^3.0.0",
"@types/protobufjs": "^6.0.0",
"@types/protobufjs": "^5.0.31",
"@types/proxyquire": "^1.3.28",
"@types/request": "^2.0.8",
"@types/semver": "^5.4.0",
Expand All @@ -74,7 +72,7 @@
"codecov": "^3.0.0",
"express": "^4.15.2",
"glob": "^7.0.3",
"grpc": "^1.12.3",
"grpc": "1.13.1",
"gts": "^0.8.0",
"intelli-espower-loader": "^1.0.1",
"js-green-licenses": "^0.5.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function checkInstall() {
// use-module.ts is a fixture that imports the Trace Agent
await ncpP('./test/fixtures/use-module.ts', `${installDir}/index.ts`);
// Compile it
await spawnP(`node_modules${path.sep}.bin${path.sep}tsc`, ['index.ts'], {
await spawnP(`node_modules${path.sep}.bin${path.sep}tsc`, ['index.ts', '--lib', 'es2015'], {
cwd: installDir
});
console.log('`npm install` + `tsc` test was successful.');
Expand Down

0 comments on commit eb98fa1

Please sign in to comment.