Skip to content

Commit f47f84e

Browse files
fix: include proto d.ts in the build (#335)
1 parent 6d4ffa5 commit f47f84e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"repository": "googleapis/nodejs-datastore",
1111
"main": "./build/src/index.js",
1212
"files": [
13+
"build/proto",
1314
"build/protos",
1415
"build/src"
1516
],
@@ -35,7 +36,7 @@
3536
"system-test": "mocha build/system-test --timeout 600000",
3637
"fix": "gts fix && eslint '**/*.js' --fix",
3738
"clean": "gts clean",
38-
"compile": "tsc -p . && cp -r src/v1 build/src && cp -r protos build && cp test/*.js build/test",
39+
"compile": "tsc -p . && cp -r src/v1 build/src && cp -r proto* build && cp test/*.js build/test",
3940
"prepare": "npm run compile",
4041
"pretest": "npm run compile",
4142
"proto": "npm run proto:datastore",

0 commit comments

Comments
 (0)