Packaging/release scripts #1
+4
-3
@@ -36,9 +36,10 @@ Two consequences worth knowing:
|
|||||||
Pixabay, Unsplash and Google Fonts requests the editor makes.
|
Pixabay, Unsplash and Google Fonts requests the editor makes.
|
||||||
- The two `@ffmpeg/*` packages are `dependencies`, not `devDependencies`, so the
|
- The two `@ffmpeg/*` packages are `dependencies`, not `devDependencies`, so the
|
||||||
Docker vendor stage can `npm ci --omit=dev` without pulling in electron. That
|
Docker vendor stage can `npm ci --omit=dev` without pulling in electron. That
|
||||||
would make electron-builder bundle them into the asar as well, so
|
makes electron-builder want to bundle them into the asar too, so `build.files`
|
||||||
`build.files` excludes `node_modules/@ffmpeg/**` — the copies under
|
excludes `node_modules/**` outright — the packaged app requires nothing but
|
||||||
`src/vendor/ffmpeg/` are the ones the app loads.
|
`electron` and node builtins, and the copies it loads live in
|
||||||
|
`src/vendor/ffmpeg/`.
|
||||||
|
|
||||||
The Docker build runs `npm ci` and the vendor step inside the image, so it is
|
The Docker build runs `npm ci` and the vendor step inside the image, so it is
|
||||||
the one target where you can skip both locally.
|
the one target where you can skip both locally.
|
||||||
|
|||||||
Generated
+6
-6
@@ -13,7 +13,7 @@
|
|||||||
"@ffmpeg/ffmpeg": "^0.11.6"
|
"@ffmpeg/ffmpeg": "^0.11.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron": "^40.0.0",
|
"electron": "^43.4.0",
|
||||||
"electron-builder": "^26.0.0"
|
"electron-builder": "^26.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1468,11 +1468,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/electron": {
|
"node_modules/electron": {
|
||||||
"version": "40.10.6",
|
"version": "43.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/electron/-/electron-40.10.6.tgz",
|
"resolved": "https://registry.npmjs.org/electron/-/electron-43.4.0.tgz",
|
||||||
"integrity": "sha512-TGjlkOU9Lg6K4KjDbsErywCWCIDaNgLh0q+xj0nlpRoQhevI7VBIxBTtJI/V30lypyLAaXMpnP9O9jui1/qRFw==",
|
"integrity": "sha512-3qxGF0CeQbiox5oWV1JlbWGQ1VerbmDhTFqW4sJ8h7uqTHniFYPObXJcDna0DMh32et0fFyKzz0YY8lJv3t5jg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"hasInstallScript": true,
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@electron-internal/extract-zip": "^1.0.1",
|
"@electron-internal/extract-zip": "^1.0.1",
|
||||||
@@ -1480,7 +1479,8 @@
|
|||||||
"@types/node": "^24.9.0"
|
"@types/node": "^24.9.0"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"electron": "cli.js"
|
"electron": "cli.js",
|
||||||
|
"install-electron": "install.js"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 22.12.0"
|
"node": ">= 22.12.0"
|
||||||
|
|||||||
+2
-2
@@ -27,7 +27,7 @@
|
|||||||
"@ffmpeg/ffmpeg": "^0.11.6"
|
"@ffmpeg/ffmpeg": "^0.11.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron": "^40.0.0",
|
"electron": "^43.4.0",
|
||||||
"electron-builder": "^26.0.0"
|
"electron-builder": "^26.0.0"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
"scripts/server.cjs",
|
"scripts/server.cjs",
|
||||||
"src/**/*",
|
"src/**/*",
|
||||||
"!src/**/*.map",
|
"!src/**/*.map",
|
||||||
"!node_modules/@ffmpeg/**"
|
"!node_modules/**"
|
||||||
],
|
],
|
||||||
"win": {
|
"win": {
|
||||||
"target": [
|
"target": [
|
||||||
|
|||||||
Reference in New Issue
Block a user