Skip to content

Commit 411bdea

Browse files
committed
fix: fix release process
1 parent d22dd6c commit 411bdea

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"build": "run-s build:rust build:ts build:docs",
1919
"build:debug": "run-s build:rust-debug build:ts",
2020
"build:docs": "rimraf docs && typedoc --plugin typedoc-plugin-markdown --readme none --out docs js-src/index.ts",
21-
"build:rust": "pnpm run build:rust-debug --release",
21+
"build:rust": "cargo-cp-artifact -nc generated/c2pa.node -- cargo build --message-format=json-render-diagnostics --release",
2222
"build:rust-debug": "cargo build --message-format=json-render-diagnostics > cargo.log",
2323
"build:ts": "tsc -b && cpy index.node dist && cpy --flat js-src/types.d.ts dist/types && node scripts/fix-types.js",
2424
"changeset:publish": "changeset publish",
@@ -30,6 +30,7 @@
3030
"lint": "cargo clippy && pnpm eslint",
3131
"postbuild:rust-debug": "neon dist < cargo.log",
3232
"postcross-build": "neon dist -m /target < cross.log",
33+
"postinstall": "node ./scripts/postinstall.js",
3334
"release": "run-s build changeset:publish",
3435
"test": "jest",
3536
"test:watch": "jest --watch --runInBand --detectOpenHandles --forceExit"
@@ -46,6 +47,7 @@
4647
"@types/node": "^22.17.1",
4748
"@typescript-eslint/eslint-plugin": "^8.39.1",
4849
"@typescript-eslint/parser": "^8.39.1",
50+
"cargo-cp-artifact": "^0.1.9",
4951
"cpy-cli": "^5.0.0",
5052
"eslint": "^9.33.0",
5153
"fs-extra": "^11.3.1",

pnpm-lock.yaml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)