@thiagodiogo/pastelsdd 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/update.js +4 -1
- package/package.json +1 -1
package/dist/core/update.js
CHANGED
|
@@ -57,7 +57,10 @@ export class UpdateCommand {
|
|
|
57
57
|
const profile = globalConfig.profile ?? 'core';
|
|
58
58
|
const delivery = globalConfig.delivery ?? 'both';
|
|
59
59
|
const profileWorkflows = getProfileWorkflows(profile, globalConfig.workflows);
|
|
60
|
-
|
|
60
|
+
// Trello workflows are always included regardless of profile, mirroring InitCommand behavior.
|
|
61
|
+
const TRELLO_WORKFLOWS = ['trello-setup', 'task', 'draft'];
|
|
62
|
+
const workflowsSet = new Set([...profileWorkflows, ...TRELLO_WORKFLOWS]);
|
|
63
|
+
const desiredWorkflows = [...workflowsSet].filter((workflow) => ALL_WORKFLOWS.includes(workflow));
|
|
61
64
|
const shouldGenerateSkills = delivery !== 'commands';
|
|
62
65
|
const shouldGenerateCommands = delivery !== 'skills';
|
|
63
66
|
// 4. Detect and handle legacy artifacts + upgrade legacy tools using effective config
|