You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: 2-phase install flow with automatic dep detection
Phase 1 - collect install methods for workspace packages:
- startStartupCheck now finds Installed && !LocalSource (not just !InPackageJson)
so workspace:* packages that aren't yet git-cloned are always prompted
- getInstallMethods hides npm option when package is already in package.json
(workspace:* configured → only offer GIT SSH / GIT HTTPS clone options)
- applyQueueChangesCmd, triggerInstall, triggerForceReinstall now save
justInstalledAdds for the post-install phase 2 dep check
Phase 1 execution:
- RunSetupTask clones all packages, runs pnpm install + prepare:modules
- 500ms pause before taskFinishedMsg so user sees 100% progress bar
Phase 2 - automatic dependency detection:
- After setup completes, checkPostInstallDeps reads the package.json of
each just-installed package (local file, fallback: npm registry)
- Finds @owdproject/* deps whose shortname starts with module- or kit-
- Filters: already locally available, already in catalog as LocalSource
- If any new deps found: opens install method modals automatically
- After user confirms methods: runs a second RunSetupTask for those deps
Result: app-about + app-todo + theme-nova are cloned in phase 1.
After cloning, if theme-nova has kit-primevue/kit-tailwind in its deps,
those are proposed and cloned in phase 2 without user needing to know.
0 commit comments