bmad-enhanced 1.3.2 โ†’ 1.3.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/CHANGELOG.md CHANGED
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ---
9
9
 
10
+ ## [1.3.3] - 2026-02-18
11
+
12
+ ### Fixed
13
+
14
+ **๐Ÿงน Legacy Directory Cleanup:**
15
+ - Added automatic removal of old `_designos` directory (pre-Vortex structure) in all migrations
16
+ - Users with installations from very old versions will now have the legacy directory removed automatically
17
+ - Migration preview now shows when legacy directory will be removed
18
+ - Removed obsolete `_designos` reference from `.npmignore`
19
+
20
+ **Updated migrations:**
21
+ - `1.0.x-to-1.3.0`, `1.1.x-to-1.3.0`, `1.2.x-to-1.3.0` all now remove `_bmad/bme/_designos/` if present
22
+
23
+ ---
24
+
10
25
  ## [1.3.2] - 2026-02-18
11
26
 
12
27
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bmad-enhanced",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Vortex Framework - Contextualize and Externalize streams for Lean Startup validation",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -29,6 +29,7 @@ module.exports = {
29
29
  'BREAKING: Move empathy-map workflow to _deprecated/',
30
30
  'Install new lean-persona workflow',
31
31
  'Install 6 new workflows (product-vision, contextualize-scope, mvp, lean-experiment, proof-of-concept, proof-of-value)',
32
+ 'Remove legacy _designos directory (pre-Vortex structure)',
32
33
  'Update config.yaml: agents and workflows lists',
33
34
  'Update agent-manifest.csv: agent names/roles',
34
35
  'Remove deprecated agent files (empathy-mapper.md, wireframe-designer.md)',
@@ -55,19 +56,23 @@ module.exports = {
55
56
  await moveToDeprecated(targetDir, 'wireframe');
56
57
  changes.push('Archived wireframe workflow to _deprecated/');
57
58
 
58
- // 3. Install all new workflow files
59
+ // 3. Remove old _designos directory (pre-Vortex structure)
60
+ await removeOldDesignosDirectory();
61
+ changes.push('Removed legacy _designos directory');
62
+
63
+ // 4. Install all new workflow files
59
64
  await copyAllWorkflows(sourceDir, targetDir);
60
65
  changes.push('Installed 7 new Vortex Framework workflows');
61
66
 
62
- // 4. Update config.yaml with new structure
67
+ // 5. Update config.yaml with new structure
63
68
  await updateConfig(targetDir, '1.3.0');
64
69
  changes.push('Updated config.yaml');
65
70
 
66
- // 5. Update agent files
71
+ // 6. Update agent files
67
72
  await copyAgentFiles(sourceDir, targetDir);
68
73
  changes.push('Updated agent files');
69
74
 
70
- // 6. Update agent manifest
75
+ // 7. Update agent manifest
71
76
  await updateAgentManifest();
72
77
  changes.push('Updated agent manifest');
73
78
 
@@ -279,3 +284,17 @@ async function copyUserGuides() {
279
284
  }
280
285
  }
281
286
  }
287
+
288
+ /**
289
+ * Remove old _designos directory (pre-Vortex structure)
290
+ */
291
+ async function removeOldDesignosDirectory() {
292
+ const designosPath = path.join(process.cwd(), '_bmad/bme/_designos');
293
+
294
+ if (fs.existsSync(designosPath)) {
295
+ await fs.remove(designosPath);
296
+ console.log(' Removed legacy _designos directory');
297
+ } else {
298
+ console.log(' No legacy _designos directory found (OK)');
299
+ }
300
+ }
@@ -29,6 +29,7 @@ module.exports = {
29
29
  actions: [
30
30
  'Update version: 1.1.x โ†’ 1.3.0',
31
31
  'Verify deprecated workflows archived',
32
+ 'Remove legacy _designos directory (pre-Vortex structure)',
32
33
  'Remove deprecated agent files (empathy-mapper.md, wireframe-designer.md)',
33
34
  'Update agent files to latest (bug fixes/improvements)',
34
35
  'Refresh user guides (EMMA-USER-GUIDE.md, WADE-USER-GUIDE.md)'
@@ -53,11 +54,15 @@ module.exports = {
53
54
  await ensureDeprecatedStructure(targetDir);
54
55
  changes.push('Verified deprecated workflow structure');
55
56
 
56
- // 3. Update agent files (in case of bug fixes or improvements)
57
+ // 3. Remove old _designos directory (pre-Vortex structure)
58
+ await removeOldDesignosDirectory();
59
+ changes.push('Removed legacy _designos directory');
60
+
61
+ // 4. Update agent files (in case of bug fixes or improvements)
57
62
  await copyAgentFiles(sourceDir, targetDir);
58
63
  changes.push('Refreshed agent files');
59
64
 
60
- // 4. Update user guides
65
+ // 5. Update user guides
61
66
  await copyUserGuides();
62
67
  changes.push('Updated user guides');
63
68
 
@@ -180,3 +185,17 @@ async function copyUserGuides() {
180
185
  }
181
186
  }
182
187
  }
188
+
189
+ /**
190
+ * Remove old _designos directory (pre-Vortex structure)
191
+ */
192
+ async function removeOldDesignosDirectory() {
193
+ const designosPath = path.join(process.cwd(), '_bmad/bme/_designos');
194
+
195
+ if (fs.existsSync(designosPath)) {
196
+ await fs.remove(designosPath);
197
+ console.log(' Removed legacy _designos directory');
198
+ } else {
199
+ console.log(' No legacy _designos directory found (OK)');
200
+ }
201
+ }
@@ -29,6 +29,7 @@ module.exports = {
29
29
  actions: [
30
30
  'Update version: 1.2.x โ†’ 1.3.0',
31
31
  'Verify deprecated workflows archived',
32
+ 'Remove legacy _designos directory (pre-Vortex structure)',
32
33
  'Remove deprecated agent files (empathy-mapper.md, wireframe-designer.md)',
33
34
  'Update agent files to latest (bug fixes/improvements)',
34
35
  'Refresh user guides (EMMA-USER-GUIDE.md, WADE-USER-GUIDE.md)'
@@ -53,11 +54,15 @@ module.exports = {
53
54
  await ensureDeprecatedStructure(targetDir);
54
55
  changes.push('Verified deprecated workflow structure');
55
56
 
56
- // 3. Update agent files (in case of bug fixes or improvements)
57
+ // 3. Remove old _designos directory (pre-Vortex structure)
58
+ await removeOldDesignosDirectory();
59
+ changes.push('Removed legacy _designos directory');
60
+
61
+ // 4. Update agent files (in case of bug fixes or improvements)
57
62
  await copyAgentFiles(sourceDir, targetDir);
58
63
  changes.push('Refreshed agent files');
59
64
 
60
- // 4. Update user guides
65
+ // 5. Update user guides
61
66
  await copyUserGuides();
62
67
  changes.push('Updated user guides');
63
68
 
@@ -180,3 +185,17 @@ async function copyUserGuides() {
180
185
  }
181
186
  }
182
187
  }
188
+
189
+ /**
190
+ * Remove old _designos directory (pre-Vortex structure)
191
+ */
192
+ async function removeOldDesignosDirectory() {
193
+ const designosPath = path.join(process.cwd(), '_bmad/bme/_designos');
194
+
195
+ if (fs.existsSync(designosPath)) {
196
+ await fs.remove(designosPath);
197
+ console.log(' Removed legacy _designos directory');
198
+ } else {
199
+ console.log(' No legacy _designos directory found (OK)');
200
+ }
201
+ }