The embedded runtime reads the CWD bunfig.toml at startup; the repo's top-level 'preload = ["@opentui/solid/preload"]' made the standalone die because that module isn't bundled. Removed the ambient preload from bunfig.toml and moved the solid transform registration to explicit --preload flags in the start/dev scripts ([test] preload untouched). Verified: binary boots from repo root, from a clean dir, and dev/start still work; bun test 54 pass. No new release needed — the binaries were never config-dependent; this was purely the repo's bunfig trap.
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
{
|
|
"name": "podcast-tui-app",
|
|
"version": "0.1.0",
|
|
"module": "src/index.tsx",
|
|
"type": "module",
|
|
"private": true,
|
|
"bin": {
|
|
"podtui": "./dist/index.js"
|
|
},
|
|
"scripts": {
|
|
"start": "bun --preload @opentui/solid/preload src/index.tsx",
|
|
"dev": "bun --preload @opentui/solid/preload --watch src/index.tsx",
|
|
"build:native": "bash scripts/build-cavacore.sh",
|
|
"build": "bun run build.ts",
|
|
"dist": "bun dist/index.js",
|
|
"test": "bun test",
|
|
"lint": "bun run lint.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"@types/uuid": "^11.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
"@typescript-eslint/parser": "^8.54.0",
|
|
"eslint": "^9.39.2",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.28.5",
|
|
"@babel/preset-typescript": "^7.28.5",
|
|
"@opentui/core": "^0.1.77",
|
|
"@opentui/solid": "^0.1.77",
|
|
"babel-preset-solid": "1.9.9",
|
|
"date-fns": "^4.1.0",
|
|
"solid-js": "^1.9.9",
|
|
"uuid": "^13.0.0",
|
|
"zustand": "^5.0.11"
|
|
}
|
|
}
|