Skip to content

Commit 1bf7d43

Browse files
committed
chore: fix apm.prepublishOnly [skip ci]
1 parent 56de2e3 commit 1bf7d43

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
@@ -42,7 +42,7 @@
4242
"build-commit": "build-commit -o package",
4343
"prepare": "npm run prepare.base && npm run prepare.nuclide",
4444
"bump": "ncu -u -x coffeescript",
45-
"apm.prepublishOnly": "git checkout apm.publish && git reset --hard master && shx rm -rf nuclide && git commit -a -m 'clean'",
45+
"apm.prepublishOnly": "npm run build-commit && git checkout apm.publish && git reset --hard master && git push -f && shx rm -rf nuclide spec src-commons-ui src-commons-atom src-package types-packages pnpm-lock.yaml && git commit -a -m 'clean'",
4646
"prepublishOnly": "shx rm -rf **/tsconfig.tsbuildinfo",
4747
"build.nuclide-adb": "cross-env BABEL_KEEP_MODULES=false babel nuclide/nuclide-adb --out-dir dist-nuclide/nuclide-adb --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start",
4848
"build.nuclide-analytics": "cross-env BABEL_KEEP_MODULES=false babel nuclide/nuclide-analytics --out-dir dist-nuclide/nuclide-analytics --copy-files --no-copy-ignored --include-dotfiles --delete-dir-on-start",

0 commit comments

Comments
 (0)