Skip to content

Commit ca1238b

Browse files
committed
Get repc when npm publish
1 parent 152a97f commit ca1238b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
"build:watch": "rollup --config rollup.config.js --watch",
1717
"start:diff-server": "bin/diff-server --db=/tmp/diffs serve",
1818
"postinstall": "rm -f node_modules/fetch-mock/esm/client.d.ts && tool/get-deps.sh",
19-
"prepublishOnly": "tool/validate-binaries-for-publish.cjs && npm run lint && npm run test && rm -rf out && npm run build && npm run build-dev",
19+
"prepublishOnly": "tool/validate-binaries-for-publish.cjs && npm run lint && npm run get-repc && npm run test && rm -rf out && npm run build && npm run build-dev",
2020
"prepack": "npm run prepublishOnly",
21-
"perf": "node perf/runner.js"
21+
"perf": "node perf/runner.js",
22+
"get-repc": "tool/get-deps.sh && git restore bin/diff-server"
2223
},
2324
"bin": {
2425
"diff-server": "bin/diff-server"

0 commit comments

Comments
 (0)