ai-workflow-init 3.6.0 → 4.0.0
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/cli.js +9 -0
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -205,6 +205,15 @@ async function main() {
|
|
|
205
205
|
step("🚚 Downloading workflow template (docs/ai)...");
|
|
206
206
|
cloneDocsAI(`${REPO}/docs/ai`, "docs/ai");
|
|
207
207
|
|
|
208
|
+
// Create docs/dev folder for dev documentation output
|
|
209
|
+
step("📁 Creating docs/dev folder...");
|
|
210
|
+
if (!existsSync("docs/dev")) {
|
|
211
|
+
mkdirSync("docs/dev", { recursive: true });
|
|
212
|
+
console.log("✅ Created: docs/dev");
|
|
213
|
+
} else {
|
|
214
|
+
console.log("⏭️ Skipping (already exists): docs/dev");
|
|
215
|
+
}
|
|
216
|
+
|
|
208
217
|
// Clone Cursor commands (luôn ghi đè)
|
|
209
218
|
if (installCursor) {
|
|
210
219
|
if (!existsSync(".cursor/commands")) {
|