cc-starter 1.0.3 → 1.0.5
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/lib/constants.js +2 -0
- package/lib/scaffold.js +1 -0
- package/lib/wizard.js +6 -0
- package/package.json +1 -1
- package/template/CLAUDE.md.de.hbs +3 -0
- package/template/CLAUDE.md.en.hbs +3 -0
package/lib/constants.js
CHANGED
|
@@ -37,6 +37,7 @@ export const I18N = {
|
|
|
37
37
|
title: 'cc-starter — Projekt-Kickstart Assistent',
|
|
38
38
|
langQuestion: 'Sprache / Language:',
|
|
39
39
|
projectName: 'Projektname:',
|
|
40
|
+
projectDescription: 'Kurze Projektbeschreibung (z.B. Landing Page, SaaS-App, E-Commerce Shop, Blog, Portfolio, Dashboard, API):',
|
|
40
41
|
hourlyRate: 'Stundensatz für COCOMO-Schätzung (€):',
|
|
41
42
|
reportStyle: 'Report-Stil:',
|
|
42
43
|
pluginPreset: 'Plugin-Auswahl:',
|
|
@@ -86,6 +87,7 @@ export const I18N = {
|
|
|
86
87
|
title: 'cc-starter — project kickstart wizard',
|
|
87
88
|
langQuestion: 'Sprache / Language:',
|
|
88
89
|
projectName: 'Project name:',
|
|
90
|
+
projectDescription: 'Short project description (e.g. Landing Page, SaaS App, E-Commerce Store, Blog, Portfolio, Dashboard, API):',
|
|
89
91
|
hourlyRate: 'Hourly rate for COCOMO estimation (€):',
|
|
90
92
|
reportStyle: 'Report style:',
|
|
91
93
|
pluginPreset: 'Plugin preset:',
|
package/lib/scaffold.js
CHANGED
|
@@ -194,6 +194,7 @@ function renderClaudeMd(config, action, cwd, lang) {
|
|
|
194
194
|
const techStack = config.techStack || { languages: [], frameworks: [] };
|
|
195
195
|
const rendered = template({
|
|
196
196
|
projectName: config.projectName,
|
|
197
|
+
projectDescription: config.projectDescription || '',
|
|
197
198
|
techStack
|
|
198
199
|
});
|
|
199
200
|
|
package/lib/wizard.js
CHANGED
|
@@ -63,6 +63,11 @@ export async function wizard(techStack = []) {
|
|
|
63
63
|
message: t.wizard.projectName,
|
|
64
64
|
default: defaultName
|
|
65
65
|
},
|
|
66
|
+
{
|
|
67
|
+
type: 'input',
|
|
68
|
+
name: 'projectDescription',
|
|
69
|
+
message: t.wizard.projectDescription
|
|
70
|
+
},
|
|
66
71
|
{
|
|
67
72
|
type: 'number',
|
|
68
73
|
name: 'hourlyRate',
|
|
@@ -108,6 +113,7 @@ export async function wizard(techStack = []) {
|
|
|
108
113
|
|
|
109
114
|
return {
|
|
110
115
|
projectName: answers.projectName,
|
|
116
|
+
projectDescription: answers.projectDescription || '',
|
|
111
117
|
hourlyRate: answers.hourlyRate,
|
|
112
118
|
reportStyle: answers.reportStyle,
|
|
113
119
|
plugins,
|
package/package.json
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Projektübersicht
|
|
4
4
|
**Projekt:** {{projectName}}
|
|
5
|
+
{{#if projectDescription}}
|
|
6
|
+
**Beschreibung:** {{projectDescription}}
|
|
7
|
+
{{/if}}
|
|
5
8
|
{{#if techStack.languages.length}}
|
|
6
9
|
**Sprachen:** {{#each techStack.languages}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}
|
|
7
10
|
{{/if}}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Project Overview
|
|
4
4
|
**Project:** {{projectName}}
|
|
5
|
+
{{#if projectDescription}}
|
|
6
|
+
**Description:** {{projectDescription}}
|
|
7
|
+
{{/if}}
|
|
5
8
|
{{#if techStack.languages.length}}
|
|
6
9
|
**Languages:** {{#each techStack.languages}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}
|
|
7
10
|
{{/if}}
|