play managed publishing: console plan/verify play-publish-changes, ready-to-publish items in play status, desktop hint
This commit is contained in:
parent
29a9683ab7
commit
1bb43fd4a0
20 changed files with 184 additions and 9 deletions
|
|
@ -47,6 +47,12 @@ export async function run(ctx: Ctx): Promise<void> {
|
|||
const { projectSignals } = await import('../lib/project-signals');
|
||||
ids.signals = projectSignals(detectProject(root));
|
||||
} catch { /* not scanned */ }
|
||||
if (form === 'play-publish-changes' && args.has('lookup') && cfg.play?.packageName) {
|
||||
try {
|
||||
const { readyFromApi } = await import('../play/publish-ready');
|
||||
ids.readyChanges = await readyFromApi(root, cfg);
|
||||
} catch { /* not read: the plan says so */ }
|
||||
}
|
||||
if (args.has('all') && form !== 'play-app-content') throw new Error('console plan: --all is for play-app-content (every App content card inline)');
|
||||
const plan = consolePlan(form, cfg, ids, { all: args.has('all') });
|
||||
if (json) return printJson(plan);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue