Skip to content

Commit 7fef175

Browse files
committed
Ensure explicit builds rebuild *everything*
The previous npm publish (but not official build publish) did not regenerate some deleted files, so these were missing in the resulting package. This happened because tsc was doing an incremental build, whilst npm thought it was explicitly rebuilding everything.
1 parent c8d368c commit 7fef175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"start": "node-dev ./bin/run start",
1818
"build": "npm run build:src && npm run build:release",
19-
"build:src": "rm -rf lib && tsc -b",
19+
"build:src": "rm -rf lib && tsc -b --force",
2020
"build:release": "oclif-dev manifest && webpack && ts-node ./pack.ts",
2121
"prepack": "npm run build:src && oclif-dev manifest",
2222
"test": "TS_NODE_FILES=true mocha -r ts-node/register 'test/**/*.spec.ts'",

0 commit comments

Comments
 (0)