Skip to content

Commit

Permalink
fix: yarn run bundle error
Browse files Browse the repository at this point in the history
In yarn v3, `run-p 'bundle:*'` must be quoted.

See: mysticatea/npm-run-all#196 (comment)
  • Loading branch information
yisibl committed Jul 7, 2022
1 parent a8014af commit 179001a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ usvg = { version = "0.22.0", default-features = false, features = [
] }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
napi = { version = "2.5.0", features = ["serde-json", "async"] }
napi-derive = "2.5.0"
napi = { version = "=2.5.0", features = ["serde-json", "async"] }
napi-derive = "=2.5.0"
usvg = { version = "0.22.0", default-features = false, features = [
"export",
"filter",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"scripts": {
"artifacts": "napi artifacts",
"bench": "node -r @swc-node/register benchmark/bench.ts",
"bundle": "run-p bundle:*",
"bundle": "run-p 'bundle:*'",
"bundle:js": "node bundle.js",
"bundle:dts": "dts-bundle-generator --external-types -o wasm/index.d.ts wasm-binding.ts",
"build": "napi build --platform --release --js js-binding.js --dts js-binding.d.ts",
Expand Down

0 comments on commit 179001a

Please sign in to comment.