mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
fix: install registry-js: and external it
This commit is contained in:
parent
2f6cd984b4
commit
4f64e1f0de
3 changed files with 30 additions and 31 deletions
|
|
@ -75,6 +75,7 @@
|
||||||
"winston-daily-rotate-file": "5.0.0",
|
"winston-daily-rotate-file": "5.0.0",
|
||||||
"winston-transport": "4.7.0",
|
"winston-transport": "4.7.0",
|
||||||
"wouter": "^3.3.0",
|
"wouter": "^3.3.0",
|
||||||
|
"registry-js": "1.16.0",
|
||||||
"zx": "8.1.3"
|
"zx": "8.1.3"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
|
|
@ -83,8 +84,7 @@
|
||||||
"@electron-forge/maker-rpm": "7.4.0",
|
"@electron-forge/maker-rpm": "7.4.0",
|
||||||
"@electron-forge/maker-snap": "7.4.0",
|
"@electron-forge/maker-snap": "7.4.0",
|
||||||
"@electron-forge/maker-squirrel": "7.4.0",
|
"@electron-forge/maker-squirrel": "7.4.0",
|
||||||
"@electron-forge/maker-zip": "7.4.0",
|
"@electron-forge/maker-zip": "7.4.0"
|
||||||
"registry-js": "1.16.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@cucumber/cucumber": "10.8.0",
|
"@cucumber/cucumber": "10.8.0",
|
||||||
|
|
|
||||||
39
pnpm-lock.yaml
generated
39
pnpm-lock.yaml
generated
|
|
@ -107,6 +107,9 @@ importers:
|
||||||
reflect-metadata:
|
reflect-metadata:
|
||||||
specifier: 0.2.2
|
specifier: 0.2.2
|
||||||
version: 0.2.2
|
version: 0.2.2
|
||||||
|
registry-js:
|
||||||
|
specifier: 1.16.0
|
||||||
|
version: 1.16.0
|
||||||
rotating-file-stream:
|
rotating-file-stream:
|
||||||
specifier: ^3.2.3
|
specifier: ^3.2.3
|
||||||
version: 3.2.3
|
version: 3.2.3
|
||||||
|
|
@ -168,9 +171,6 @@ importers:
|
||||||
'@electron-forge/maker-zip':
|
'@electron-forge/maker-zip':
|
||||||
specifier: 7.4.0
|
specifier: 7.4.0
|
||||||
version: 7.4.0
|
version: 7.4.0
|
||||||
registry-js:
|
|
||||||
specifier: 1.16.0
|
|
||||||
version: 1.16.0
|
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@cucumber/cucumber':
|
'@cucumber/cucumber':
|
||||||
specifier: 10.8.0
|
specifier: 10.8.0
|
||||||
|
|
@ -8613,8 +8613,7 @@ snapshots:
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
fsevents: 2.3.2
|
fsevents: 2.3.2
|
||||||
|
|
||||||
chownr@1.1.4:
|
chownr@1.1.4: {}
|
||||||
optional: true
|
|
||||||
|
|
||||||
chownr@2.0.0: {}
|
chownr@2.0.0: {}
|
||||||
|
|
||||||
|
|
@ -8934,8 +8933,7 @@ snapshots:
|
||||||
|
|
||||||
deep-eql@5.0.1: {}
|
deep-eql@5.0.1: {}
|
||||||
|
|
||||||
deep-extend@0.6.0:
|
deep-extend@0.6.0: {}
|
||||||
optional: true
|
|
||||||
|
|
||||||
deep-is@0.1.4: {}
|
deep-is@0.1.4: {}
|
||||||
|
|
||||||
|
|
@ -9785,8 +9783,7 @@ snapshots:
|
||||||
|
|
||||||
exif-parser@0.1.12: {}
|
exif-parser@0.1.12: {}
|
||||||
|
|
||||||
expand-template@2.0.3:
|
expand-template@2.0.3: {}
|
||||||
optional: true
|
|
||||||
|
|
||||||
expand-tilde@2.0.2:
|
expand-tilde@2.0.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -10004,8 +10001,7 @@ snapshots:
|
||||||
|
|
||||||
fresh@0.5.2: {}
|
fresh@0.5.2: {}
|
||||||
|
|
||||||
fs-constants@1.0.0:
|
fs-constants@1.0.0: {}
|
||||||
optional: true
|
|
||||||
|
|
||||||
fs-extra@10.1.0:
|
fs-extra@10.1.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -10150,8 +10146,7 @@ snapshots:
|
||||||
isomorphic-git: 1.25.2
|
isomorphic-git: 1.25.2
|
||||||
lodash: 4.17.21
|
lodash: 4.17.21
|
||||||
|
|
||||||
github-from-package@0.0.0:
|
github-from-package@0.0.0: {}
|
||||||
optional: true
|
|
||||||
|
|
||||||
glob-parent@5.1.2:
|
glob-parent@5.1.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -11224,8 +11219,7 @@ snapshots:
|
||||||
|
|
||||||
mitt@3.0.1: {}
|
mitt@3.0.1: {}
|
||||||
|
|
||||||
mkdirp-classic@0.5.3:
|
mkdirp-classic@0.5.3: {}
|
||||||
optional: true
|
|
||||||
|
|
||||||
mkdirp@0.5.6:
|
mkdirp@0.5.6:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -11260,8 +11254,7 @@ snapshots:
|
||||||
|
|
||||||
nanoid@5.0.7: {}
|
nanoid@5.0.7: {}
|
||||||
|
|
||||||
napi-build-utils@1.0.2:
|
napi-build-utils@1.0.2: {}
|
||||||
optional: true
|
|
||||||
|
|
||||||
natural-compare-lite@1.4.0: {}
|
natural-compare-lite@1.4.0: {}
|
||||||
|
|
||||||
|
|
@ -11286,8 +11279,7 @@ snapshots:
|
||||||
|
|
||||||
node-abort-controller@3.1.1: {}
|
node-abort-controller@3.1.1: {}
|
||||||
|
|
||||||
node-addon-api@3.2.1:
|
node-addon-api@3.2.1: {}
|
||||||
optional: true
|
|
||||||
|
|
||||||
node-api-version@0.2.0:
|
node-api-version@0.2.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -11700,7 +11692,6 @@ snapshots:
|
||||||
simple-get: 4.0.1
|
simple-get: 4.0.1
|
||||||
tar-fs: 2.1.1
|
tar-fs: 2.1.1
|
||||||
tunnel-agent: 0.6.0
|
tunnel-agent: 0.6.0
|
||||||
optional: true
|
|
||||||
|
|
||||||
prelude-ls@1.2.1: {}
|
prelude-ls@1.2.1: {}
|
||||||
|
|
||||||
|
|
@ -11779,7 +11770,6 @@ snapshots:
|
||||||
ini: 1.3.8
|
ini: 1.3.8
|
||||||
minimist: 1.2.8
|
minimist: 1.2.8
|
||||||
strip-json-comments: 2.0.1
|
strip-json-comments: 2.0.1
|
||||||
optional: true
|
|
||||||
|
|
||||||
rcedit@4.0.1:
|
rcedit@4.0.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -11940,7 +11930,6 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
node-addon-api: 3.2.1
|
node-addon-api: 3.2.1
|
||||||
prebuild-install: 7.1.2
|
prebuild-install: 7.1.2
|
||||||
optional: true
|
|
||||||
|
|
||||||
regjsparser@0.10.0:
|
regjsparser@0.10.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -12470,8 +12459,7 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
min-indent: 1.0.1
|
min-indent: 1.0.1
|
||||||
|
|
||||||
strip-json-comments@2.0.1:
|
strip-json-comments@2.0.1: {}
|
||||||
optional: true
|
|
||||||
|
|
||||||
strip-json-comments@3.1.1: {}
|
strip-json-comments@3.1.1: {}
|
||||||
|
|
||||||
|
|
@ -12538,7 +12526,6 @@ snapshots:
|
||||||
mkdirp-classic: 0.5.3
|
mkdirp-classic: 0.5.3
|
||||||
pump: 3.0.0
|
pump: 3.0.0
|
||||||
tar-stream: 2.2.0
|
tar-stream: 2.2.0
|
||||||
optional: true
|
|
||||||
|
|
||||||
tar-stream@2.2.0:
|
tar-stream@2.2.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -12547,7 +12534,6 @@ snapshots:
|
||||||
fs-constants: 1.0.0
|
fs-constants: 1.0.0
|
||||||
inherits: 2.0.4
|
inherits: 2.0.4
|
||||||
readable-stream: 3.6.2
|
readable-stream: 3.6.2
|
||||||
optional: true
|
|
||||||
|
|
||||||
tar@6.1.15:
|
tar@6.1.15:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -12724,7 +12710,6 @@ snapshots:
|
||||||
tunnel-agent@0.6.0:
|
tunnel-agent@0.6.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
safe-buffer: 5.2.1
|
safe-buffer: 5.2.1
|
||||||
optional: true
|
|
||||||
|
|
||||||
tw5-typed@0.5.11:
|
tw5-typed@0.5.11:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,12 @@ exports.main = _.compact([
|
||||||
// when using npm, we can use this. But with pnpm, this won't work ↓
|
// when using npm, we can use this. But with pnpm, this won't work ↓
|
||||||
// include: path.join(__dirname, 'node_modules', '.pnpm', '@tiddlygit', 'tiddlywiki'),
|
// include: path.join(__dirname, 'node_modules', '.pnpm', '@tiddlygit', 'tiddlywiki'),
|
||||||
}),
|
}),
|
||||||
|
platform === 'win32'
|
||||||
|
? undefined
|
||||||
|
: new ExternalsPlugin({
|
||||||
|
type: 'commonjs',
|
||||||
|
include: /registry-js(.+)/,
|
||||||
|
}),
|
||||||
new ThreadsPlugin({
|
new ThreadsPlugin({
|
||||||
target: 'electron-node-worker',
|
target: 'electron-node-worker',
|
||||||
plugins: ['ExternalsPlugin'],
|
plugins: ['ExternalsPlugin'],
|
||||||
|
|
@ -50,7 +56,11 @@ exports.main = _.compact([
|
||||||
process.env.NODE_ENV === 'production' ? undefined : new WebpackBar(),
|
process.env.NODE_ENV === 'production' ? undefined : new WebpackBar(),
|
||||||
process.env.NODE_ENV === 'production'
|
process.env.NODE_ENV === 'production'
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
||||||
? new BundleAnalyzerPlugin({ generateStatsFile: true, analyzerMode: 'disabled', statsFilename: '../../out/webpack-stats-main.json' })
|
? new BundleAnalyzerPlugin({
|
||||||
|
generateStatsFile: true,
|
||||||
|
analyzerMode: 'disabled',
|
||||||
|
statsFilename: '../../out/webpack-stats-main.json',
|
||||||
|
})
|
||||||
: undefined,
|
: undefined,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
@ -77,7 +87,11 @@ exports.renderer = _.compact([
|
||||||
process.env.NODE_ENV === 'production' ? undefined : new WebpackBar(),
|
process.env.NODE_ENV === 'production' ? undefined : new WebpackBar(),
|
||||||
process.env.NODE_ENV === 'production'
|
process.env.NODE_ENV === 'production'
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
||||||
? new BundleAnalyzerPlugin({ generateStatsFile: true, analyzerMode: 'disabled', statsFilename: '../../out/webpack-stats-renderer.json' })
|
? new BundleAnalyzerPlugin({
|
||||||
|
generateStatsFile: true,
|
||||||
|
analyzerMode: 'disabled',
|
||||||
|
statsFilename: '../../out/webpack-stats-renderer.json',
|
||||||
|
})
|
||||||
: undefined,
|
: undefined,
|
||||||
// Example: copy files for webWorker to use
|
// Example: copy files for webWorker to use
|
||||||
// new CopyPlugin({
|
// new CopyPlugin({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue