Two release-pipeline fixes that previously forced manual workarounds. - scripts/release_gitea.mjs no longer unconditionally runs npm run dist:win. New --skip-build flag, plus auto-skip when all 3 required artifacts (Setup-<v>.exe, Setup-<v>.exe.blockmap, latest.yml) already exist for the requested version. The previous behaviour re-ran the entire test suite + electron-builder on every release attempt — unusable when the test path was broken. - playwright ^1.59.1 added to devDependencies. test:e2e / test:e2e:guide / test:e2e:full now invoke node scripts/smoke-test*.js directly instead of "npm exec --yes --package=playwright -- node ...", which failed with MODULE_NOT_FOUND when npm exec could not resolve playwright on the fly. No browser binaries needed — the smoke tests drive Electron via _electron, not a browser. All test paths verified after the change: test:e2e, test:e2e:guide, test:e2e:full, test:merge-split, test:e2e:update-logic — all pass with the simplified scripts. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
64 lines
2.2 KiB
JSON
64 lines
2.2 KiB
JSON
{
|
|
"name": "twitch-vod-manager",
|
|
"version": "4.5.8",
|
|
"description": "Twitch VOD Manager - Download Twitch VODs easily",
|
|
"main": "dist/main.js",
|
|
"author": "xRangerDE",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "npm run build && electron .",
|
|
"test:e2e:update-logic": "node scripts/smoke-test-update-version-logic.js",
|
|
"test:e2e": "node scripts/smoke-test.js",
|
|
"test:e2e:guide": "node scripts/smoke-test-template-guide.js",
|
|
"test:e2e:full": "node scripts/smoke-test-full.js",
|
|
"test:e2e:release": "npm run build && npm run test:e2e:update-logic && npm run test:e2e && npm run test:e2e:guide && npm run test:e2e:full",
|
|
"test:e2e:stress": "npm run test:e2e:release && npm run test:e2e:release && npm run test:e2e:release",
|
|
"pack": "npm run build && electron-builder --dir",
|
|
"dist": "npm run build && electron-builder",
|
|
"dist:win": "npm run test:e2e:release && electron-builder --win",
|
|
"release:gitea": "node scripts/release_gitea.mjs",
|
|
"test:merge-split": "node scripts/smoke-test-merge-split-logic.js"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.6.0",
|
|
"electron-updater": "^6.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@types/node": "^20.10.0",
|
|
"electron": "^28.0.0",
|
|
"electron-builder": "^24.9.0",
|
|
"eslint": "^10.1.0",
|
|
"eslint-plugin-security": "^4.0.0",
|
|
"playwright": "^1.59.1",
|
|
"typescript": "^5.3.0",
|
|
"typescript-eslint": "^8.57.1"
|
|
},
|
|
"build": {
|
|
"appId": "de.24-music.twitch-vod-manager",
|
|
"productName": "Twitch VOD Manager",
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"win": {
|
|
"target": "nsis",
|
|
"signAndEditExecutable": false,
|
|
"artifactName": "Twitch-VOD-Manager-Setup-${version}.${ext}"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"deleteAppDataOnUninstall": false,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "Twitch VOD Manager v${version}",
|
|
"include": "build/installer.nsh"
|
|
},
|
|
"publish": {
|
|
"provider": "generic",
|
|
"url": "https://git.24-music.de/Administrator/Twitch-VOD-Manager/releases/download/v${version}/"
|
|
}
|
|
}
|
|
}
|