Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

fix(build): move onlyBuiltDependencies where pnpm 10 reads it (#294)

antoniob1da7d20d8c5
diff --git a/package.json b/package.json
index 2299c812..5cb05320 100644
--- a/package.json
+++ b/package.json
@@ -86,11 +86,5 @@
"vite-plugin-top-level-await": "^1.5.0",
"vite-plugin-wasm": "^3.4.1",
"vitest": "^4.1.4"
- },
- "pnpm": {
- "onlyBuiltDependencies": [
- "@swc/core",
- "esbuild"
- ]
}
}
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
new file mode 100644
index 00000000..2127d622
--- /dev/null
+++ b/pnpm-workspace.yaml
@@ -0,0 +1,6 @@
+# pnpm 10 no longer reads the `pnpm` field from package.json. These build
+# scripts are approved here so `pnpm install` compiles the native binaries
+# instead of silently skipping them.
+onlyBuiltDependencies:
+ - "@swc/core"
+ - esbuild