Picks up punktfunk#78. The headline fix there — the kit's read-only SQLite reader never opening a database on Linux — does NOT affect this plugin: Heroic's library is read from the JSON `store_cache`, not a database. The second fix does matter here, because it is about this plugin's release gate: `parity --compare` set a non-zero exit code and `runPluginCli` then overwrote it with 0, so a red parity run always exited 0 and any scripted use of it passed. The caret range already allowed 0.3.1, but bun.lock pinned 0.3.0 exactly. Gates: biome clean, tsc clean, 7/7 tests, bundle builds. ⚠ Parity is NOT yet meaningful for this plugin: Heroic is installed on .21 but has never been launched, so there is no store_cache and no library — both sides of the comparison are empty and a green run would prove nothing. It needs a signed-in Heroic before its v0.1.0 tag.
51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"name": "@punktfunk/plugin-heroic",
|
|
"version": "0.1.0",
|
|
"private": false,
|
|
"type": "module",
|
|
"description": "Punktfunk plugin: adds your installed Heroic Games Launcher titles (Epic, GOG, Amazon) to the host's library, with their cover art.",
|
|
"license": "MIT OR Apache-2.0",
|
|
"homepage": "https://git.unom.io/unom/punktfunk-plugin-heroic",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.unom.io/unom/punktfunk-plugin-heroic.git"
|
|
},
|
|
"keywords": [
|
|
"punktfunk",
|
|
"plugin",
|
|
"heroic",
|
|
"epic",
|
|
"gog",
|
|
"game-library",
|
|
"game-streaming"
|
|
],
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"bin": {
|
|
"punktfunk-plugin-heroic": "./dist/cli.js"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"publishConfig": {
|
|
"registry": "https://git.unom.io/api/packages/unom/npm/"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "bun test",
|
|
"build": "bun build src/index.ts src/cli.ts --target=bun --outdir dist --external effect --external '@punktfunk/*'",
|
|
"prepublishOnly": "bun run build",
|
|
"check": "bunx biome check ."
|
|
},
|
|
"dependencies": {
|
|
"@punktfunk/host": "^0.1.2",
|
|
"@punktfunk/plugin-kit": "^0.3.1",
|
|
"effect": "4.0.0-beta.99"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.5.2",
|
|
"@types/bun": "^1.3.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|