mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(monorepo): use hoisted pattern as it might help signing
This commit is contained in:
parent
de2de04f35
commit
762da51183
@ -42,11 +42,11 @@ module.exports = {
|
|||||||
to: join(outputDir, "assets")
|
to: join(outputDir, "assets")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
from: "node_modules/@electron/remote",
|
from: "../../node_modules/@electron/remote",
|
||||||
to: join(outputDir, "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")
|
to: join(outputDir, "node_modules/better-sqlite3/node_modules/prebuild-install")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ function buildFilesToCopy() {
|
|||||||
|
|
||||||
for (const nodePath of nodePaths) {
|
for (const nodePath of nodePaths) {
|
||||||
files.push({
|
files.push({
|
||||||
from: join("node_modules", nodePath),
|
from: join("..", "..", "node_modules", nodePath),
|
||||||
to: join(outputDir, "node_modules", nodePath)
|
to: join(outputDir, "node_modules", nodePath)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,22 @@
|
|||||||
packages:
|
packages:
|
||||||
- packages/*
|
- packages/*
|
||||||
- apps/*
|
- apps/*
|
||||||
|
|
||||||
ignoredBuiltDependencies:
|
ignoredBuiltDependencies:
|
||||||
- '@parcel/watcher'
|
- '@parcel/watcher'
|
||||||
- '@scarf/scarf'
|
- '@scarf/scarf'
|
||||||
- '@swc/core'
|
- '@swc/core'
|
||||||
- bufferutil
|
- bufferutil
|
||||||
- core-js-pure
|
- core-js-pure
|
||||||
- esbuild
|
- esbuild
|
||||||
- nx
|
- nx
|
||||||
- utf-8-validate
|
- utf-8-validate
|
||||||
|
|
||||||
onlyBuiltDependencies:
|
onlyBuiltDependencies:
|
||||||
- better-sqlite3
|
- better-sqlite3
|
||||||
- electron
|
- electron
|
||||||
- electron-winstaller
|
- electron-winstaller
|
||||||
- fs-xattr
|
- fs-xattr
|
||||||
- macos-alias
|
- macos-alias
|
||||||
|
|
||||||
nodeLinker: isolated
|
nodeLinker: hoisted
|
||||||
|
Loading…
x
Reference in New Issue
Block a user