chore(monorepo): use hoisted pattern as it might help signing

This commit is contained in:
Elian Doran 2025-05-01 22:37:19 +03:00
parent de2de04f35
commit 762da51183
No known key found for this signature in database
3 changed files with 19 additions and 19 deletions

View File

@ -42,11 +42,11 @@ module.exports = {
to: join(outputDir, "assets")
},
{
from: "node_modules/@electron/remote",
from: "../../node_modules/@electron/remote",
to: join(outputDir, "node_modules/@electron/remote")
},
{
from: "node_modules/prebuild-install",
from: "../../node_modules/prebuild-install",
to: join(outputDir, "node_modules/better-sqlite3/node_modules/prebuild-install")
},
{

View File

@ -36,7 +36,7 @@ function buildFilesToCopy() {
for (const nodePath of nodePaths) {
files.push({
from: join("node_modules", nodePath),
from: join("..", "..", "node_modules", nodePath),
to: join(outputDir, "node_modules", nodePath)
})
}

View File

@ -1,22 +1,22 @@
packages:
- packages/*
- apps/*
- packages/*
- apps/*
ignoredBuiltDependencies:
- '@parcel/watcher'
- '@scarf/scarf'
- '@swc/core'
- bufferutil
- core-js-pure
- esbuild
- nx
- utf-8-validate
- '@parcel/watcher'
- '@scarf/scarf'
- '@swc/core'
- bufferutil
- core-js-pure
- esbuild
- nx
- utf-8-validate
onlyBuiltDependencies:
- better-sqlite3
- electron
- electron-winstaller
- fs-xattr
- macos-alias
- better-sqlite3
- electron
- electron-winstaller
- fs-xattr
- macos-alias
nodeLinker: isolated
nodeLinker: hoisted