Repository navigation
v2.1.0
Added
-
A
kaze upgrade [STACK]command. Kaze copies files into an application and does not own them afterwards, sokaze installcannot tell a leftover from an older version apart from something you wrote, and has always left both alone.upgraderesolves that by asking instead of guessing: it lists the files an earlier Kaze installed that this version no longer ships, waits for you to agree, removes them, and then runs the normal install.Only paths Kaze itself shipped are ever offered — the list per stack is fixed in the source, so nothing you added alongside them can be caught by it, and a directory is removed only once it is empty.
--dry-runprints the list and stops;--forceskips the prompt for scripts. Declining exits non-zero and changes nothing.This replaces the manual file list in the 2.0.0 upgrade notes below. On the React stack it is the difference between an upgraded application building and not:
tsctypechecks every file underapp/javascript, so the oldPages/Profile/Edit.tsxfails the build until it is gone.