Skip to content

Commit

Permalink
build: update publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Oct 2, 2023
1 parent 51bdeb7 commit 9221a23
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build": "wasm-pack build --target web --scope myriaddreamin -- --no-default-features --features web && node ../tools/wasm-debundle.mjs",
"prepublish": "turbo build",
"publish:dry": "npm publish --dry-run --access public",
"publish:lib": "npm publish --access public",
"publish:lib": "npm publish --access public || exit 0",
"test:chrome": "wasm-pack test --chrome --headless --release",
"test:firefox": "wasm-pack test --firefox --headless --release"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/hexo-renderer-typst/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"devDependencies": {},
"scripts": {
"publish:dry": "npm publish --dry-run",
"publish:lib": "npm publish"
"publish:lib": "npm publish || exit 0"
},
"engines": {
"node": ">=12"
Expand Down
2 changes: 1 addition & 1 deletion packages/renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build": "wasm-pack build --target web --scope myriaddreamin -- --no-default-features --features web && node ../tools/wasm-debundle.mjs",
"prepublish": "turbo build",
"publish:dry": "npm publish --dry-run --access public",
"publish:lib": "npm publish --access public",
"publish:lib": "npm publish --access public || exit 0",
"test:chrome:verbose": "wasm-pack test --chrome --headless --release --features web_verbose",
"test:firefox:verbose": "wasm-pack test --firefox --headless --release --features web_verbose",
"test:chrome": "wasm-pack test --chrome --headless --release",
Expand Down
2 changes: 1 addition & 1 deletion packages/typst.angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"watch": "ng build --watch --configuration development",
"test": "ng test --watch=false",
"publish:dry": "cd dist/typst.angular && npm publish --dry-run --access public",
"publish:lib": "cd dist/typst.angular && npm publish --access public",
"publish:lib": "cd dist/typst.angular && npm publish --access public || exit 0",
"lint": "ng lint"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/typst.react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"format": "prettier --write \"./src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"test": "exit 0",
"publish:dry": "npm publish --dry-run --access public",
"publish:lib": "npm publish --access public"
"publish:lib": "npm publish --access public || exit 0"
},
"peerDependencies": {
"react": "^17.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/typst.ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"build:dev": "node scripts/mkdir.mjs && tsc -p ./tsconfig.lib.json && tsc -p ./tsconfig.cjs.json && node scripts/fix-cjs.mjs && esbuild.config.mjs commonjs && node esbuild.config.mjs",
"prepublish": "turbo build",
"publish:dry": "npm publish --dry-run --access public",
"publish:lib": "npm publish --access public"
"publish:lib": "npm publish --access public || exit 0"
},
"dependencies": {
"idb": "^7.1.1"
Expand Down

0 comments on commit 9221a23

Please sign in to comment.