Skip to content

Commit 0cb0831

Browse files
committed
fix: Revert back to old rust build
1 parent 5776d7d commit 0cb0831

File tree

2 files changed

+2
-197
lines changed

2 files changed

+2
-197
lines changed

package.json

Lines changed: 2 additions & 11 deletions
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": "cargo-cp-artifact -nc generated/c2pa.node -- cargo build --message-format=json-render-diagnostics --release",
21+
"build:rust": "pnpm run build:rust-debug --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,7 +30,6 @@
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",
3433
"release": "run-s build changeset:publish",
3534
"test": "jest",
3635
"test:watch": "jest --watch --runInBand --detectOpenHandles --forceExit"
@@ -47,7 +46,6 @@
4746
"@types/node": "^22.17.1",
4847
"@typescript-eslint/eslint-plugin": "^8.39.1",
4948
"@typescript-eslint/parser": "^8.39.1",
50-
"cargo-cp-artifact": "^0.1.9",
5149
"cpy-cli": "^5.0.0",
5250
"eslint": "^9.33.0",
5351
"fs-extra": "^11.3.1",
@@ -68,14 +66,7 @@
6866
},
6967
"homepage": "https://github.com/contentauth/c2pa-node-v2#readme",
7068
"dependencies": {
71-
"chalk": "^5.6.0",
72-
"cli-progress": "^3.12.0",
73-
"debug": "^4.4.1",
74-
"mkdirp": "^3.0.1",
75-
"node-fetch": "^3.3.2",
76-
"pkg-dir": "^9.0.0",
77-
"pretty-bytes": "^7.0.1",
78-
"unzipper": "^0.12.3"
69+
"debug": "^4.4.1"
7970
},
8071
"packageManager": "[email protected]"
8172
}

0 commit comments

Comments
 (0)