Skip to content

Commit 6f6fb2e

Browse files
authored
fix: update typeless bot build to compile before pack (#3463)
1 parent 9e9132a commit 6f6fb2e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

packages/typeless-sample-bot/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "Apache-2.0",
66
"author": "Google LLC",
77
"engines": {
8-
"node": ">=16.0.0"
8+
"node": ">=14.0.0"
99
},
1010
"repository": "googleapis/google-cloud-node",
1111
"bin": "./build/src/bin/typeless-sample-bot.js",
@@ -15,10 +15,11 @@
1515
"build/src"
1616
],
1717
"scripts": {
18-
"compile": "tsc",
18+
"compile": "tsc -p .",
19+
"prepare": "npm run compile",
20+
"pretest": "npm run compile",
1921
"test": "c8 mocha build/test --recursive",
2022
"snapshots-update": "SNAPSHOT_UPDATE=1 npm test",
21-
"pretest": "npm run compile",
2223
"samples-test": "echo no system tests yet 🙀",
2324
"system-test": "echo no system tests yet 🙀",
2425
"lint": "gts check",

0 commit comments

Comments
 (0)