This plugin imports nothing from the SDK — everything it uses comes from `@punktfunk/plugin-kit`, which already declares `@punktfunk/host` as a peerDependency. Listing it here as a runtime dependency was redundant, and the redundancy had a cost. It is what stops an SDK fix from ever reaching an installed plugin. With the SDK declared per-plugin, bun honours each plugin's own locked resolution and gives it a PRIVATE NESTED COPY under `node_modules/@punktfunk/plugin-<x>/node_modules/`, which then shadows the shared copy at the root of the operator's plugins tree. Measured on a live host 2026-08-08: publishing `@punktfunk/host@0.1.3` — the release that lets a library scanner register `category`, so it stays out of the console nav — reached the tree root and still left five nested 0.1.2 copies, so every plugin kept importing the old SDK and the fix appeared to do nothing. Dropping it leaves the kit's peer range as the single source of truth, so there is one hoisted copy that the host can actually keep current. Nothing about the runtime changes: bun installs the kit's peer, and the SDK resolves exactly as before — verified here (host 0.1.3 resolved, typecheck, tests, lint and build all green). Version bumped to 0.1.1; publishing is what carries the change to operators.
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"name": "@punktfunk/plugin-epic",
|
|
"version": "0.1.1",
|
|
"private": false,
|
|
"type": "module",
|
|
"description": "Punktfunk plugin: adds your installed Epic Games Store titles to the host's library, with their cover art.",
|
|
"license": "MIT OR Apache-2.0",
|
|
"homepage": "https://git.unom.io/unom/punktfunk-plugin-epic",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.unom.io/unom/punktfunk-plugin-epic.git"
|
|
},
|
|
"keywords": [
|
|
"punktfunk",
|
|
"plugin",
|
|
"epic",
|
|
"game-library",
|
|
"game-streaming"
|
|
],
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"bin": {
|
|
"punktfunk-plugin-epic": "./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/plugin-kit": "^0.3.3",
|
|
"effect": "4.0.0-beta.99"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.5.2",
|
|
"@types/bun": "^1.3.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|