@edtools/cli 0.1.0 → 0.3.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.
@@ -0,0 +1,519 @@
1
+ // src/types/adapter.ts
2
+ var AdapterRegistry = class {
3
+ adapters;
4
+ constructor() {
5
+ this.adapters = /* @__PURE__ */ new Map();
6
+ }
7
+ register(adapter) {
8
+ this.adapters.set(adapter.name, adapter);
9
+ }
10
+ get(name) {
11
+ return this.adapters.get(name);
12
+ }
13
+ async detectAdapter(projectPath) {
14
+ for (const adapter of this.adapters.values()) {
15
+ if (await adapter.detect(projectPath)) {
16
+ return adapter;
17
+ }
18
+ }
19
+ return null;
20
+ }
21
+ list() {
22
+ return Array.from(this.adapters.keys());
23
+ }
24
+ };
25
+
26
+ // src/adapters/html/index.ts
27
+ import fs from "fs-extra";
28
+ import path from "path";
29
+ import ejs from "ejs";
30
+ import { marked } from "marked";
31
+ var HTMLAdapter = class {
32
+ name = "html";
33
+ templatePath;
34
+ constructor() {
35
+ this.templatePath = path.join(__dirname, "templates", "blog-post.html.ejs");
36
+ }
37
+ async detect(projectPath) {
38
+ try {
39
+ const files = await fs.readdir(projectPath);
40
+ const hasHtml = files.some((f) => f.endsWith(".html"));
41
+ const hasIndexHtml = await fs.pathExists(path.join(projectPath, "index.html"));
42
+ return hasHtml || hasIndexHtml;
43
+ } catch (error) {
44
+ return false;
45
+ }
46
+ }
47
+ async render(content) {
48
+ const template = await fs.readFile(this.templatePath, "utf-8");
49
+ const templateData = {
50
+ metadata: content.metadata,
51
+ schemaOrg: JSON.stringify(content.schemaOrg, null, 2),
52
+ intro: await this.markdownToHTML(content.content.intro),
53
+ sections: await Promise.all(
54
+ content.content.sections.map(async (section) => ({
55
+ ...section,
56
+ content: await this.renderSectionContent(section)
57
+ }))
58
+ ),
59
+ conclusion: await this.markdownToHTML(content.content.conclusion),
60
+ cta: content.content.cta,
61
+ relatedPosts: content.relatedPosts || [],
62
+ seoScore: content.seo.score
63
+ };
64
+ const html = ejs.render(template, templateData);
65
+ return html;
66
+ }
67
+ async write(output, outputPath) {
68
+ await fs.ensureDir(path.dirname(outputPath));
69
+ await fs.writeFile(outputPath, output, "utf-8");
70
+ }
71
+ getFileExtension() {
72
+ return ".html";
73
+ }
74
+ transformPath(basePath) {
75
+ if (!basePath.endsWith(".html")) {
76
+ return basePath + "/index.html";
77
+ }
78
+ return basePath;
79
+ }
80
+ /**
81
+ * Convert markdown to HTML
82
+ */
83
+ async markdownToHTML(markdown) {
84
+ return marked(markdown);
85
+ }
86
+ /**
87
+ * Render section content based on type
88
+ */
89
+ async renderSectionContent(section) {
90
+ switch (section.type) {
91
+ case "text":
92
+ return await this.markdownToHTML(section.content);
93
+ case "comparison":
94
+ return this.renderComparisonTable(section.data);
95
+ case "list":
96
+ return this.renderList(section.data);
97
+ case "code":
98
+ return this.renderCode(section.data);
99
+ default:
100
+ return await this.markdownToHTML(section.content);
101
+ }
102
+ }
103
+ /**
104
+ * Render comparison table
105
+ */
106
+ renderComparisonTable(data) {
107
+ if (!data || !data.headers || !data.rows) {
108
+ return "";
109
+ }
110
+ let html = '<table class="comparison-table">\n';
111
+ html += " <thead>\n <tr>\n";
112
+ data.headers.forEach((header) => {
113
+ html += ` <th>${header}</th>
114
+ `;
115
+ });
116
+ html += " </tr>\n </thead>\n";
117
+ html += " <tbody>\n";
118
+ data.rows.forEach((row) => {
119
+ html += " <tr>\n";
120
+ row.forEach((cell) => {
121
+ html += ` <td>${cell}</td>
122
+ `;
123
+ });
124
+ html += " </tr>\n";
125
+ });
126
+ html += " </tbody>\n";
127
+ html += "</table>";
128
+ return html;
129
+ }
130
+ /**
131
+ * Render list
132
+ */
133
+ renderList(data) {
134
+ if (!data || !data.items) {
135
+ return "";
136
+ }
137
+ const tag = data.ordered ? "ol" : "ul";
138
+ let html = `<${tag} class="content-list">
139
+ `;
140
+ data.items.forEach((item) => {
141
+ html += " <li>\n";
142
+ html += ` <strong>${item.title}</strong>
143
+ `;
144
+ if (item.description) {
145
+ html += ` <p>${item.description}</p>
146
+ `;
147
+ }
148
+ html += " </li>\n";
149
+ });
150
+ html += `</${tag}>`;
151
+ return html;
152
+ }
153
+ /**
154
+ * Render code block
155
+ */
156
+ renderCode(data) {
157
+ if (!data || !data.code) {
158
+ return "";
159
+ }
160
+ let html = '<div class="code-block">\n';
161
+ if (data.caption) {
162
+ html += ` <div class="code-caption">${data.caption}</div>
163
+ `;
164
+ }
165
+ html += ` <pre><code class="language-${data.language || "plaintext"}">${this.escapeHtml(data.code)}</code></pre>
166
+ `;
167
+ html += "</div>";
168
+ return html;
169
+ }
170
+ /**
171
+ * Escape HTML entities
172
+ */
173
+ escapeHtml(text) {
174
+ const map = {
175
+ "&": "&amp;",
176
+ "<": "&lt;",
177
+ ">": "&gt;",
178
+ '"': "&quot;",
179
+ "'": "&#039;"
180
+ };
181
+ return text.replace(/[&<>"']/g, (m) => map[m]);
182
+ }
183
+ };
184
+
185
+ // src/core/generator.ts
186
+ import Anthropic from "@anthropic-ai/sdk";
187
+ import OpenAI from "openai";
188
+ import path2 from "path";
189
+ import fs2 from "fs-extra";
190
+ import slugify from "slugify";
191
+ var ContentGenerator = class {
192
+ anthropic = null;
193
+ openai = null;
194
+ provider;
195
+ adapters;
196
+ constructor(apiKey, provider = "anthropic") {
197
+ this.provider = provider;
198
+ if (provider === "anthropic") {
199
+ this.anthropic = new Anthropic({
200
+ apiKey: apiKey || process.env.ANTHROPIC_API_KEY || ""
201
+ });
202
+ } else if (provider === "openai") {
203
+ this.openai = new OpenAI({
204
+ apiKey: apiKey || process.env.OPENAI_API_KEY || ""
205
+ });
206
+ }
207
+ this.adapters = new AdapterRegistry();
208
+ this.adapters.register(new HTMLAdapter());
209
+ }
210
+ /**
211
+ * Main generate method
212
+ */
213
+ async generate(config) {
214
+ const results = {
215
+ success: true,
216
+ posts: [],
217
+ warnings: [],
218
+ errors: []
219
+ };
220
+ try {
221
+ const adapter = await this.adapters.detectAdapter(config.projectPath);
222
+ if (!adapter) {
223
+ throw new Error("No suitable adapter found for this project");
224
+ }
225
+ console.log(`\u2713 Using adapter: ${adapter.name}`);
226
+ const topics = config.topics || await this.generateTopics(config.productInfo, config.count || 3);
227
+ for (const topic of topics.slice(0, config.count || 3)) {
228
+ try {
229
+ console.log(`
230
+ \u{1F4DD} Generating: ${topic}`);
231
+ const content = await this.generateContent(config.productInfo, topic);
232
+ const output = await adapter.render(content);
233
+ const slug = content.metadata.slug;
234
+ const fileName = adapter.transformPath?.(slug) || `${slug}/index${adapter.getFileExtension()}`;
235
+ const outputPath = path2.join(config.outputDir, fileName);
236
+ await adapter.write(output, outputPath);
237
+ results.posts.push({
238
+ title: content.metadata.title,
239
+ slug,
240
+ path: outputPath,
241
+ seoScore: content.seo.score
242
+ });
243
+ console.log(`\u2713 Generated: ${outputPath}`);
244
+ console.log(` SEO Score: ${content.seo.score}/100`);
245
+ } catch (error) {
246
+ results.errors?.push(`Failed to generate "${topic}": ${error.message}`);
247
+ results.success = false;
248
+ }
249
+ }
250
+ if (results.posts.length > 0) {
251
+ await this.updateSitemap(config.projectPath, config.outputDir, results.posts);
252
+ }
253
+ } catch (error) {
254
+ results.success = false;
255
+ results.errors?.push(error.message);
256
+ }
257
+ return results;
258
+ }
259
+ /**
260
+ * Generate blog post content using the selected AI provider
261
+ */
262
+ async generateContent(productInfo, topic) {
263
+ const prompt = this.buildPrompt(productInfo, topic);
264
+ let contentData;
265
+ if (this.provider === "anthropic") {
266
+ contentData = await this.generateWithAnthropic(prompt);
267
+ } else if (this.provider === "openai") {
268
+ contentData = await this.generateWithOpenAI(prompt);
269
+ } else {
270
+ throw new Error(`Unsupported provider: ${this.provider}`);
271
+ }
272
+ const slug = slugify(contentData.metadata.title, { lower: true, strict: true });
273
+ const content = {
274
+ metadata: {
275
+ ...contentData.metadata,
276
+ slug,
277
+ datePublished: (/* @__PURE__ */ new Date()).toISOString(),
278
+ author: productInfo.name
279
+ },
280
+ schemaOrg: this.generateSchemaOrg({
281
+ ...contentData.metadata,
282
+ slug,
283
+ datePublished: (/* @__PURE__ */ new Date()).toISOString(),
284
+ author: productInfo.name
285
+ }, productInfo),
286
+ content: contentData.content,
287
+ relatedPosts: [],
288
+ seo: await this.calculateSEOScore(contentData)
289
+ };
290
+ return content;
291
+ }
292
+ /**
293
+ * Generate content using Anthropic's Claude API
294
+ */
295
+ async generateWithAnthropic(prompt) {
296
+ if (!this.anthropic) {
297
+ throw new Error("Anthropic client not initialized");
298
+ }
299
+ const response = await this.anthropic.messages.create({
300
+ model: "claude-3-5-sonnet-20241022",
301
+ max_tokens: 4096,
302
+ temperature: 0.7,
303
+ messages: [
304
+ {
305
+ role: "user",
306
+ content: prompt
307
+ }
308
+ ]
309
+ });
310
+ const textContent = response.content[0].type === "text" ? response.content[0].text : "";
311
+ const jsonMatch = textContent.match(/\{[\s\S]*\}/);
312
+ if (!jsonMatch) {
313
+ throw new Error("Failed to extract JSON from Claude response");
314
+ }
315
+ return JSON.parse(jsonMatch[0]);
316
+ }
317
+ /**
318
+ * Generate content using OpenAI's ChatGPT API
319
+ */
320
+ async generateWithOpenAI(prompt) {
321
+ if (!this.openai) {
322
+ throw new Error("OpenAI client not initialized");
323
+ }
324
+ const response = await this.openai.chat.completions.create({
325
+ model: "gpt-4-turbo-preview",
326
+ max_tokens: 4096,
327
+ temperature: 0.7,
328
+ messages: [
329
+ {
330
+ role: "user",
331
+ content: prompt
332
+ }
333
+ ],
334
+ response_format: { type: "json_object" }
335
+ });
336
+ const textContent = response.choices[0]?.message?.content || "";
337
+ if (!textContent) {
338
+ throw new Error("Failed to get response from OpenAI");
339
+ }
340
+ return JSON.parse(textContent);
341
+ }
342
+ /**
343
+ * Build prompt for Claude API
344
+ */
345
+ buildPrompt(productInfo, topic) {
346
+ return `You are an expert SEO content writer. Generate a comprehensive blog post about: "${topic}"
347
+
348
+ Product context:
349
+ - Name: ${productInfo.name}
350
+ - Tagline: ${productInfo.tagline || ""}
351
+ - Category: ${productInfo.category}
352
+ - Features: ${productInfo.features.join(", ")}
353
+ - Pricing: ${productInfo.pricingModel || "Not specified"}
354
+ ${productInfo.useCases ? `- Use cases: ${productInfo.useCases.join(", ")}` : ""}
355
+
356
+ IMPORTANT INSTRUCTIONS:
357
+ 1. Write for users searching on Google and being recommended by AI assistants (Claude, ChatGPT)
358
+ 2. Focus on being helpful, not promotional
359
+ 3. Include comparisons with alternatives when relevant
360
+ 4. Use natural language, avoid keyword stuffing
361
+ 5. Make it comprehensive (1000-1500 words worth of content)
362
+ 6. Structure with clear sections (intro, 3-5 main sections, conclusion)
363
+ 7. Be factual - do NOT invent statistics or make false claims
364
+
365
+ Output ONLY valid JSON in this exact format (no markdown, no code blocks):
366
+ {
367
+ "metadata": {
368
+ "title": "SEO-optimized title (under 60 chars)",
369
+ "description": "Meta description (under 160 chars)",
370
+ "keywords": ["keyword1", "keyword2", "keyword3"],
371
+ "category": "${productInfo.category}"
372
+ },
373
+ "content": {
374
+ "intro": "Engaging introduction paragraph in markdown format",
375
+ "sections": [
376
+ {
377
+ "heading": "Section title",
378
+ "level": 2,
379
+ "content": "Section content in markdown format",
380
+ "type": "text"
381
+ }
382
+ ],
383
+ "conclusion": "Conclusion paragraph in markdown",
384
+ "cta": {
385
+ "text": "Try ${productInfo.name}",
386
+ "url": "${productInfo.websiteUrl || "/signup"}"
387
+ }
388
+ }
389
+ }`;
390
+ }
391
+ /**
392
+ * Generate Schema.org structured data
393
+ */
394
+ generateSchemaOrg(metadata, productInfo) {
395
+ return {
396
+ "@context": "https://schema.org",
397
+ "@type": "BlogPosting",
398
+ headline: metadata.title,
399
+ description: metadata.description,
400
+ author: {
401
+ "@type": "Organization",
402
+ name: productInfo.name,
403
+ url: productInfo.websiteUrl
404
+ },
405
+ datePublished: metadata.datePublished,
406
+ publisher: {
407
+ "@type": "Organization",
408
+ name: productInfo.name
409
+ },
410
+ keywords: metadata.keywords.join(", "),
411
+ articleSection: metadata.category
412
+ };
413
+ }
414
+ /**
415
+ * Calculate SEO score
416
+ */
417
+ async calculateSEOScore(content) {
418
+ let score = 100;
419
+ const suggestions = [];
420
+ if (content.metadata.title.length > 60) {
421
+ score -= 10;
422
+ suggestions.push("Title is too long (should be under 60 chars)");
423
+ }
424
+ if (content.metadata.description.length > 160) {
425
+ score -= 10;
426
+ suggestions.push("Meta description is too long (should be under 160 chars)");
427
+ }
428
+ if (content.metadata.keywords.length < 3) {
429
+ score -= 5;
430
+ suggestions.push("Add more keywords (at least 3)");
431
+ }
432
+ if (content.content.sections.length < 3) {
433
+ score -= 10;
434
+ suggestions.push("Add more sections for better structure (at least 3)");
435
+ }
436
+ return {
437
+ score: Math.max(0, score),
438
+ suggestions
439
+ };
440
+ }
441
+ /**
442
+ * Generate topic suggestions
443
+ */
444
+ async generateTopics(productInfo, count) {
445
+ const prompt = `Generate ${count} SEO-friendly blog post topics for a product called "${productInfo.name}" in the ${productInfo.category} category.
446
+
447
+ Product description: ${productInfo.description}
448
+ Features: ${productInfo.features.join(", ")}
449
+
450
+ Requirements:
451
+ - Topics should be helpful for potential customers
452
+ - Focus on solving problems or answering questions
453
+ - Include comparisons, guides, and use cases
454
+ - Optimize for search engines and AI recommendations
455
+
456
+ Output ONLY a JSON array of topic strings, no markdown:
457
+ ["Topic 1", "Topic 2", "Topic 3"]`;
458
+ try {
459
+ if (this.provider === "anthropic" && this.anthropic) {
460
+ const response = await this.anthropic.messages.create({
461
+ model: "claude-3-5-sonnet-20241022",
462
+ max_tokens: 1024,
463
+ messages: [{ role: "user", content: prompt }]
464
+ });
465
+ const textContent = response.content[0].type === "text" ? response.content[0].text : "";
466
+ const jsonMatch = textContent.match(/\[[\s\S]*\]/);
467
+ if (jsonMatch) {
468
+ return JSON.parse(jsonMatch[0]);
469
+ }
470
+ } else if (this.provider === "openai" && this.openai) {
471
+ const response = await this.openai.chat.completions.create({
472
+ model: "gpt-4-turbo-preview",
473
+ max_tokens: 1024,
474
+ messages: [{ role: "user", content: prompt }],
475
+ response_format: { type: "json_object" }
476
+ });
477
+ const textContent = response.choices[0]?.message?.content || "";
478
+ if (textContent) {
479
+ const data = JSON.parse(textContent);
480
+ return data.topics || data;
481
+ }
482
+ }
483
+ } catch (error) {
484
+ console.warn("Failed to generate topics with AI, using fallback");
485
+ }
486
+ return [
487
+ `Best ${productInfo.category} software ${(/* @__PURE__ */ new Date()).getFullYear()}`,
488
+ `How to choose ${productInfo.category} solution`,
489
+ `${productInfo.name} vs alternatives: Complete comparison`
490
+ ];
491
+ }
492
+ /**
493
+ * Update sitemap.xml
494
+ */
495
+ async updateSitemap(projectPath, blogDir, posts) {
496
+ const sitemapPath = path2.join(projectPath, "sitemap.xml");
497
+ const urls = posts.map((post) => {
498
+ return ` <url>
499
+ <loc>${post.slug}/</loc>
500
+ <lastmod>${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}</lastmod>
501
+ <changefreq>weekly</changefreq>
502
+ <priority>0.8</priority>
503
+ </url>`;
504
+ }).join("\n");
505
+ const sitemap = `<?xml version="1.0" encoding="UTF-8"?>
506
+ <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
507
+ ${urls}
508
+ </urlset>`;
509
+ await fs2.writeFile(sitemapPath, sitemap, "utf-8");
510
+ console.log(`
511
+ \u2713 Updated sitemap.xml`);
512
+ }
513
+ };
514
+
515
+ export {
516
+ AdapterRegistry,
517
+ HTMLAdapter,
518
+ ContentGenerator
519
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/generate.ts"],"names":[],"mappings":"AAWA,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAsB,eAAe,CAAC,OAAO,EAAE,eAAe,iBAiH7D"}
1
+ {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/generate.ts"],"names":[],"mappings":"AAYA,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAsB,eAAe,CAAC,OAAO,EAAE,eAAe,iBAkJ7D"}
@@ -1,5 +1,6 @@
1
1
  import fs from 'fs-extra';
2
2
  import path from 'path';
3
+ import { pathToFileURL } from 'url';
3
4
  import chalk from 'chalk';
4
5
  import ora from 'ora';
5
6
  import { ContentGenerator } from '../../core/generator.js';
@@ -12,18 +13,44 @@ export async function generateCommand(options) {
12
13
  console.log(chalk.yellow(' Run "edtools init" first\n'));
13
14
  process.exit(1);
14
15
  }
15
- const config = require(configPath);
16
- const productInfo = config.product;
16
+ const configUrl = pathToFileURL(configPath).href;
17
+ const config = await import(configUrl);
18
+ const productInfo = config.default.product;
17
19
  if (!productInfo || !productInfo.name) {
18
20
  console.log(chalk.red('✗ Invalid configuration in edtools.config.js'));
19
21
  process.exit(1);
20
22
  }
21
- const apiKey = options.apiKey || process.env.ANTHROPIC_API_KEY;
22
- if (!apiKey) {
23
- console.log(chalk.red(' No API key found'));
24
- console.log(chalk.yellow(' Set ANTHROPIC_API_KEY environment variable'));
25
- console.log(chalk.yellow(' Or use --api-key option\n'));
26
- process.exit(1);
23
+ const provider = productInfo.preferredProvider || 'anthropic';
24
+ let storedApiKey;
25
+ const edtoolsConfigPath = path.join(projectPath, '.edtools', 'config.json');
26
+ if (await fs.pathExists(edtoolsConfigPath)) {
27
+ try {
28
+ const edtoolsConfig = await fs.readJson(edtoolsConfigPath);
29
+ storedApiKey = edtoolsConfig.apiKey;
30
+ }
31
+ catch (error) {
32
+ }
33
+ }
34
+ let apiKey;
35
+ if (provider === 'anthropic') {
36
+ apiKey = options.apiKey || process.env.ANTHROPIC_API_KEY || storedApiKey;
37
+ if (!apiKey) {
38
+ console.log(chalk.red('✗ No Anthropic API key found'));
39
+ console.log(chalk.yellow(' Run "edtools init" to configure your API key'));
40
+ console.log(chalk.yellow(' Or set ANTHROPIC_API_KEY environment variable'));
41
+ console.log(chalk.yellow(' Or use --api-key option\n'));
42
+ process.exit(1);
43
+ }
44
+ }
45
+ else if (provider === 'openai') {
46
+ apiKey = options.apiKey || process.env.OPENAI_API_KEY || storedApiKey;
47
+ if (!apiKey) {
48
+ console.log(chalk.red('✗ No OpenAI API key found'));
49
+ console.log(chalk.yellow(' Run "edtools init" to configure your API key'));
50
+ console.log(chalk.yellow(' Or set OPENAI_API_KEY environment variable'));
51
+ console.log(chalk.yellow(' Or use --api-key option\n'));
52
+ process.exit(1);
53
+ }
27
54
  }
28
55
  const count = parseInt(options.posts, 10);
29
56
  if (isNaN(count) || count < 1 || count > 10) {
@@ -39,9 +66,10 @@ export async function generateCommand(options) {
39
66
  console.log(chalk.cyan('Configuration:'));
40
67
  console.log(` Product: ${chalk.white(productInfo.name)}`);
41
68
  console.log(` Category: ${chalk.white(productInfo.category)}`);
69
+ console.log(` AI Provider: ${chalk.white(provider === 'anthropic' ? 'Claude (Anthropic)' : 'ChatGPT (OpenAI)')}`);
42
70
  console.log(` Posts to generate: ${chalk.white(count)}`);
43
71
  console.log(` Output directory: ${chalk.white(outputDir)}\n`);
44
- const generator = new ContentGenerator(apiKey);
72
+ const generator = new ContentGenerator(apiKey, provider);
45
73
  const generateConfig = {
46
74
  productInfo,
47
75
  topics: options.topics,
@@ -50,8 +78,11 @@ export async function generateCommand(options) {
50
78
  projectPath,
51
79
  avoidDuplicates: true,
52
80
  similarityThreshold: 0.85,
81
+ provider,
82
+ apiKey,
53
83
  };
54
- const spinner = ora('Generating content with Claude...').start();
84
+ const providerName = provider === 'anthropic' ? 'Claude' : 'ChatGPT';
85
+ const spinner = ora(`Generating content with ${providerName}...`).start();
55
86
  try {
56
87
  const result = await generator.generate(generateConfig);
57
88
  if (result.success && result.posts.length > 0) {
@@ -1 +1 @@
1
- {"version":3,"file":"generate.js","s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CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,OAAO,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;QACxC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;QAC/C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC;AAKD,SAAS,aAAa,CAAC,KAAa;IAClC,IAAI,KAAK,IAAI,EAAE;QAAE,OAAO,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACxC,IAAI,KAAK,IAAI,EAAE;QAAE,OAAO,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACzC,OAAO,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AACvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/init.ts"],"names":[],"mappings":"AAYA,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,iBA+KrD"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/init.ts"],"names":[],"mappings":"AAYA,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,iBA6NrD"}