Repository navigation
0.17.7
What changed
pnpm plugin checks a plugin's minKit against .rocketflare.json kit.version in a copy, not the root package.json version the rename restarts at 0.1.0, so pnpm plugin add in a freshly renamed copy no longer refuses every plugin with exit 6.
scripts/lib/manifest.mjs: newhostKitVersion(read, packageJsonVersion)— the rootpackage.jsonversion whenisKit, elsekit.version, throwing (naming.rocketflare.json) when a copy has none; typed inmanifest.d.mts.scripts/plugin.mjs:loadHost()reads the kit version throughhostKitVersion, soadd,upgradeandcheckcompareminKitwith the kit version, and a copy with nokit.versionstops with exit 1 naming the file.apps/web/tests/config/plugin-skills.test.tsandmanifest-lib.test.ts: a renamed-copy host (package.json0.1.0,kit.version0.17.6) installs aminKit0.13.0plugin; a copy below the floor is refused naming its kit version; the kit itself still readspackage.json.
How to apply
- Take
scripts/lib/manifest.mjsandscripts/lib/manifest.d.mtsfrom the kit diff (the newhostKitVersionexport). - Take
scripts/plugin.mjsfrom the kit diff (thehostKitVersionimport and thekitVersionlines inloadHost()). - Take
apps/web/tests/config/manifest-lib.test.tsandapps/web/tests/config/plugin-skills.test.tsfrom the kit diff. - Confirm
.rocketflare.jsonhas akit.versionequal to the kit release this app was made from or last upgraded to;pnpm kit:upgradewrites it, so only a hand-edited manifest lacks it.
Conflicts to expect
None.
Verify
node -p "require('./.rocketflare.json').kit.version"prints a kit release, not the app's own version.pnpm plugin checkexits 0.pnpm --filter @<slug>/web exec vitest run --project config tests/config/manifest-lib.test.ts tests/config/plugin-skills.test.tspasses.