mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
chore: Use prepublish
instead of prepublishOnly
This commit is contained in:
parent
f91e09ec51
commit
626f13eff9
@ -48,7 +48,7 @@
|
||||
"scripts": {
|
||||
"postinstall": "node postinstall.js",
|
||||
"artifacts": "napi artifacts --npm-dir scripts/npm",
|
||||
"prepublishOnly": "tsc -d && napi prepublish -p scripts/npm --tag-style npm",
|
||||
"prepublish": "tsc -d && napi prepublish -p scripts/npm --tag-style npm",
|
||||
"pack": "wasm-pack",
|
||||
"build:ts": "tsc -d",
|
||||
"build:wasm": "npm-run-all \"pack -- build ../../bindings/binding_core_wasm --scope swc {1} -t {2} --features plugin\" --",
|
||||
|
@ -31,8 +31,8 @@ git tag -a -m "swc_core $swc_core_version" "v$version"
|
||||
|
||||
# Update changelog
|
||||
yarn changelog
|
||||
git add -A
|
||||
git commit -m 'chore: Update changelog'
|
||||
git add -A || true
|
||||
git commit -m 'chore: Update changelog' || true
|
||||
|
||||
# Publish packages
|
||||
git push
|
||||
|
Loading…
Reference in New Issue
Block a user