Files
enricobuehler 4f9744db23
CI / build (pull_request) Successful in 36s
CI / publish (pull_request) Skipped
chore: plugin-kit 0.3.1 — the SQLite reader that made this plugin find nothing
The kit's `openReadOnly` built a `file:<path>?immutable=1` URI but opened it with
`{ readonly: true }`, which does not enable SQLite's URI filename parsing. On
Linux — Bun's bundled SQLite, unlike macOS's system one — that open always threw,
and every layer degrades an open failure to "this launcher isn't installed". So
this plugin reported 0 games on every box it has ever run on, while `detect`
happily said "present" (it only stats the file).

Nothing here was wrong; the parsing and the ids were right all along. Fixed in
punktfunk#78, published as plugin-kit 0.3.1.

The caret range already allowed it, but bun.lock pinned 0.3.0 exactly, so CI kept
testing against the broken reader.

Parity, run on .21 against a live host with the PUBLISHED 0.3.1 (not a patched
copy) — the gate that caught this in the first place:

    scan:   present: 1 games, 1 launcher entries   (was 0 games)
    parity: OK — 1 entries identical               (was: FAILED — 1 missing)

Gates: biome clean, tsc clean, 5/5 tests, bundle builds.
2026-08-06 20:28:54 +02:00

49 lines
1.2 KiB
JSON

{
"name": "@punktfunk/plugin-lutris",
"version": "0.1.0",
"private": false,
"type": "module",
"description": "Punktfunk plugin: adds your installed Lutris games to the host's library, with their cover art, and ends the session when you quit the game.",
"license": "MIT OR Apache-2.0",
"homepage": "https://git.unom.io/unom/punktfunk-plugin-lutris",
"repository": {
"type": "git",
"url": "https://git.unom.io/unom/punktfunk-plugin-lutris.git"
},
"keywords": [
"punktfunk",
"plugin",
"lutris",
"game-library",
"game-streaming"
],
"main": "./dist/index.js",
"module": "./dist/index.js",
"bin": {
"punktfunk-plugin-lutris": "./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"
}
}