d6cf5f3d36
- bun workspaces: contract/ (Schemas = source of truth: config raw↔resolved,
domain DTOs, HttpApi contract, API errors) + plugin/ + ui/
- pure domain moved src/{engine,art}→plugin/src/{domain,art}, types now
imported from @rom-manager/contract and @punktfunk/plugin-kit/wire (the
hand-copied wire.ts dies), loggers injected instead of module-global
- ui.* and devEntry dropped from the config shape (standalone server is
gone; stale keys tolerated on decode, dropped by the next save)
- all 48 domain tests ported and green BEFORE any Effect wiring
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
|
"name": "@punktfunk/plugin-rom-manager",
|
|
"version": "0.3.0",
|
|
"private": false,
|
|
"type": "module",
|
|
"description": "Punktfunk plugin: scans ROM directories, maps them to emulators, and reconciles them into the host game library as a provider — with a console-hosted web UI. The reference plugin built on @punktfunk/plugin-kit.",
|
|
"license": "MIT OR Apache-2.0",
|
|
"homepage": "https://git.unom.io/unom/punktfunk-plugin-rom-manager",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.unom.io/unom/punktfunk-plugin-rom-manager.git"
|
|
},
|
|
"keywords": [
|
|
"punktfunk",
|
|
"plugin",
|
|
"roms",
|
|
"emulators",
|
|
"retroarch",
|
|
"game-streaming"
|
|
],
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./types/index.d.ts",
|
|
"bin": {
|
|
"punktfunk-plugin-rom-manager": "./dist/cli.js"
|
|
},
|
|
"files": ["dist", "types"],
|
|
"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/*'",
|
|
"build:ui": "cd ../ui && bun run build",
|
|
"build:all": "bun run build && bun run build:ui",
|
|
"dev": "bun src/dev.ts",
|
|
"prepublishOnly": "bun run build:all"
|
|
},
|
|
"dependencies": {
|
|
"@punktfunk/host": "^0.1.2",
|
|
"@punktfunk/plugin-kit": "^0.1.1",
|
|
"effect": "^4.0.0-beta.99"
|
|
},
|
|
"devDependencies": {
|
|
"@rom-manager/contract": "workspace:*",
|
|
"@types/bun": "^1.3.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|