@brunosps00/dev-workflow 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/lib/init.js +8 -0
  2. package/package.json +1 -1
package/lib/init.js CHANGED
@@ -128,6 +128,14 @@ async function run({ force = false, lang = null, mode = 'init' }) {
128
128
  if (opcStatus === 'created') totalCreated++;
129
129
  else totalSkipped++;
130
130
 
131
+ // 6.5. Clean up legacy .codex/skills/ (now served by .agents/skills/)
132
+ const legacyCodexDir = path.join(projectRoot, '.codex', 'skills');
133
+ if (require('fs').existsSync(legacyCodexDir)) {
134
+ console.log(' Legacy cleanup:');
135
+ require('fs').rmSync(legacyCodexDir, { recursive: true });
136
+ console.log(' Removed .codex/skills/ (now served by .agents/skills/)\n');
137
+ }
138
+
131
139
  // 7. Generate platform wrappers
132
140
  console.log(' Platform wrappers:');
133
141
  const wrapperResults = generateWrappers(projectRoot, commands, managedForce);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brunosps00/dev-workflow",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "AI-driven development workflow commands for any project. Scaffolds a complete PRD-to-PR pipeline with multi-platform AI assistant support.",
5
5
  "bin": {
6
6
  "dev-workflow": "./bin/dev-workflow.js"