nanostores 1.4.0-1.4.1 annotate batch() @__NO_SIDE_EFFECTS__. Rollup (via vite build) honors that and erases a result-unused batch(...) call as dead code -- callback included. Since d57f94a33/053eb7aab/4e520f085 moved the gateway-switch publication (activate() + + ) inside batch(), packaged desktop builds lost the entire publication: clicking a profile in the rail did nothing at all. Dev builds and vitest run unminified, so only the packaged app broke. nanostores 1.4.2 removes the annotation from batch() (it stays on the creation functions, where it is correct). Bump all three pinned copies (apps/desktop, apps/bootstrap-installer, ui-tui) and add a regression test asserting the installed nanostores never re-annotates batch.
46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
"name": "hermes-tui",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "npm run build:ink && tsx --watch src/entry.tsx",
|
|
"start": "tsx src/entry.tsx",
|
|
"build": "node scripts/build.mjs",
|
|
"build:ink": "npm run build --prefix packages/hermes-ink",
|
|
"visual": "node scripts/visual/run.mjs",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
"lint": "eslint src/ packages/",
|
|
"lint:fix": "eslint src/ packages/ --fix",
|
|
"fmt": "prettier --write 'src/**/*.{ts,tsx}' 'packages/**/*.{ts,tsx}'",
|
|
"fix": "npm run lint:fix && npm run fmt",
|
|
"check": "npm run build:ink && npm run typecheck && npm run test && npm run lint",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@hermes/ink": "file:./packages/hermes-ink",
|
|
"@hermes/shared": "file:../apps/shared",
|
|
"@nanostores/react": "1.1.0",
|
|
"ink-text-input": "6.0.0",
|
|
"nanostores": "1.4.2",
|
|
"react": "19.2.7",
|
|
"undici": "6.28.0",
|
|
"unicode-animations": "1.0.3"
|
|
},
|
|
"overrides": {
|
|
"ink-text-input": {
|
|
"ink": "npm:@hermes/ink@0.0.1"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "22.20.1",
|
|
"@types/react": "19.2.17",
|
|
"esbuild": "0.28.1",
|
|
"prettier": "3.9.5",
|
|
"tsx": "4.23.1",
|
|
"typescript": "6.0.3",
|
|
"vitest": "4.1.10"
|
|
}
|
|
}
|