@h2nguyen/arc42-node-mcp-server 1.0.3 → 2.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/CHANGELOG.md +41 -0
- package/README.md +222 -11
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +28 -72
- package/dist/server.js.map +1 -1
- package/dist/templates/index.d.ts +46 -1
- package/dist/templates/index.d.ts.map +1 -1
- package/dist/templates/index.js +63 -896
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/locales/cz/index.d.ts +9 -0
- package/dist/templates/locales/cz/index.d.ts.map +1 -0
- package/dist/templates/locales/cz/index.js +29 -0
- package/dist/templates/locales/cz/index.js.map +1 -0
- package/dist/templates/locales/cz/sections.d.ts +10 -0
- package/dist/templates/locales/cz/sections.d.ts.map +1 -0
- package/dist/templates/locales/cz/sections.js +39 -0
- package/dist/templates/locales/cz/sections.js.map +1 -0
- package/dist/templates/locales/cz/templates.d.ts +9 -0
- package/dist/templates/locales/cz/templates.d.ts.map +1 -0
- package/dist/templates/locales/cz/templates.js +274 -0
- package/dist/templates/locales/cz/templates.js.map +1 -0
- package/dist/templates/locales/de/index.d.ts +26 -0
- package/dist/templates/locales/de/index.d.ts.map +1 -0
- package/dist/templates/locales/de/index.js +53 -0
- package/dist/templates/locales/de/index.js.map +1 -0
- package/dist/templates/locales/de/sections.d.ts +28 -0
- package/dist/templates/locales/de/sections.d.ts.map +1 -0
- package/dist/templates/locales/de/sections.js +57 -0
- package/dist/templates/locales/de/sections.js.map +1 -0
- package/dist/templates/locales/de/templates.d.ts +22 -0
- package/dist/templates/locales/de/templates.d.ts.map +1 -0
- package/dist/templates/locales/de/templates.js +1060 -0
- package/dist/templates/locales/de/templates.js.map +1 -0
- package/dist/templates/locales/en/index.d.ts +26 -0
- package/dist/templates/locales/en/index.d.ts.map +1 -0
- package/dist/templates/locales/en/index.js +53 -0
- package/dist/templates/locales/en/index.js.map +1 -0
- package/dist/templates/locales/en/sections.d.ts +25 -0
- package/dist/templates/locales/en/sections.d.ts.map +1 -0
- package/dist/templates/locales/en/sections.js +54 -0
- package/dist/templates/locales/en/sections.js.map +1 -0
- package/dist/templates/locales/en/templates.d.ts +22 -0
- package/dist/templates/locales/en/templates.d.ts.map +1 -0
- package/dist/templates/locales/en/templates.js +1060 -0
- package/dist/templates/locales/en/templates.js.map +1 -0
- package/dist/templates/locales/es/index.d.ts +26 -0
- package/dist/templates/locales/es/index.d.ts.map +1 -0
- package/dist/templates/locales/es/index.js +53 -0
- package/dist/templates/locales/es/index.js.map +1 -0
- package/dist/templates/locales/es/sections.d.ts +28 -0
- package/dist/templates/locales/es/sections.d.ts.map +1 -0
- package/dist/templates/locales/es/sections.js +57 -0
- package/dist/templates/locales/es/sections.js.map +1 -0
- package/dist/templates/locales/es/templates.d.ts +22 -0
- package/dist/templates/locales/es/templates.d.ts.map +1 -0
- package/dist/templates/locales/es/templates.js +1060 -0
- package/dist/templates/locales/es/templates.js.map +1 -0
- package/dist/templates/locales/fr/index.d.ts +26 -0
- package/dist/templates/locales/fr/index.d.ts.map +1 -0
- package/dist/templates/locales/fr/index.js +53 -0
- package/dist/templates/locales/fr/index.js.map +1 -0
- package/dist/templates/locales/fr/sections.d.ts +28 -0
- package/dist/templates/locales/fr/sections.d.ts.map +1 -0
- package/dist/templates/locales/fr/sections.js +57 -0
- package/dist/templates/locales/fr/sections.js.map +1 -0
- package/dist/templates/locales/fr/templates.d.ts +22 -0
- package/dist/templates/locales/fr/templates.d.ts.map +1 -0
- package/dist/templates/locales/fr/templates.js +1060 -0
- package/dist/templates/locales/fr/templates.js.map +1 -0
- package/dist/templates/locales/index.d.ts +67 -0
- package/dist/templates/locales/index.d.ts.map +1 -0
- package/dist/templates/locales/index.js +100 -0
- package/dist/templates/locales/index.js.map +1 -0
- package/dist/templates/locales/it/index.d.ts +26 -0
- package/dist/templates/locales/it/index.d.ts.map +1 -0
- package/dist/templates/locales/it/index.js +53 -0
- package/dist/templates/locales/it/index.js.map +1 -0
- package/dist/templates/locales/it/sections.d.ts +28 -0
- package/dist/templates/locales/it/sections.d.ts.map +1 -0
- package/dist/templates/locales/it/sections.js +57 -0
- package/dist/templates/locales/it/sections.js.map +1 -0
- package/dist/templates/locales/it/templates.d.ts +22 -0
- package/dist/templates/locales/it/templates.d.ts.map +1 -0
- package/dist/templates/locales/it/templates.js +1060 -0
- package/dist/templates/locales/it/templates.js.map +1 -0
- package/dist/templates/locales/language-factory.d.ts +97 -0
- package/dist/templates/locales/language-factory.d.ts.map +1 -0
- package/dist/templates/locales/language-factory.js +126 -0
- package/dist/templates/locales/language-factory.js.map +1 -0
- package/dist/templates/locales/language-registry.d.ts +114 -0
- package/dist/templates/locales/language-registry.d.ts.map +1 -0
- package/dist/templates/locales/language-registry.js +146 -0
- package/dist/templates/locales/language-registry.js.map +1 -0
- package/dist/templates/locales/language-strategy.d.ts +126 -0
- package/dist/templates/locales/language-strategy.d.ts.map +1 -0
- package/dist/templates/locales/language-strategy.js +46 -0
- package/dist/templates/locales/language-strategy.js.map +1 -0
- package/dist/templates/locales/nl/index.d.ts +26 -0
- package/dist/templates/locales/nl/index.d.ts.map +1 -0
- package/dist/templates/locales/nl/index.js +53 -0
- package/dist/templates/locales/nl/index.js.map +1 -0
- package/dist/templates/locales/nl/sections.d.ts +28 -0
- package/dist/templates/locales/nl/sections.d.ts.map +1 -0
- package/dist/templates/locales/nl/sections.js +57 -0
- package/dist/templates/locales/nl/sections.js.map +1 -0
- package/dist/templates/locales/nl/templates.d.ts +22 -0
- package/dist/templates/locales/nl/templates.d.ts.map +1 -0
- package/dist/templates/locales/nl/templates.js +1060 -0
- package/dist/templates/locales/nl/templates.js.map +1 -0
- package/dist/templates/locales/pt/index.d.ts +26 -0
- package/dist/templates/locales/pt/index.d.ts.map +1 -0
- package/dist/templates/locales/pt/index.js +53 -0
- package/dist/templates/locales/pt/index.js.map +1 -0
- package/dist/templates/locales/pt/sections.d.ts +28 -0
- package/dist/templates/locales/pt/sections.d.ts.map +1 -0
- package/dist/templates/locales/pt/sections.js +57 -0
- package/dist/templates/locales/pt/sections.js.map +1 -0
- package/dist/templates/locales/pt/templates.d.ts +22 -0
- package/dist/templates/locales/pt/templates.d.ts.map +1 -0
- package/dist/templates/locales/pt/templates.js +1060 -0
- package/dist/templates/locales/pt/templates.js.map +1 -0
- package/dist/templates/locales/ru/index.d.ts +15 -0
- package/dist/templates/locales/ru/index.d.ts.map +1 -0
- package/dist/templates/locales/ru/index.js +41 -0
- package/dist/templates/locales/ru/index.js.map +1 -0
- package/dist/templates/locales/ru/sections.d.ts +28 -0
- package/dist/templates/locales/ru/sections.d.ts.map +1 -0
- package/dist/templates/locales/ru/sections.js +57 -0
- package/dist/templates/locales/ru/sections.js.map +1 -0
- package/dist/templates/locales/ru/templates.d.ts +22 -0
- package/dist/templates/locales/ru/templates.d.ts.map +1 -0
- package/dist/templates/locales/ru/templates.js +664 -0
- package/dist/templates/locales/ru/templates.js.map +1 -0
- package/dist/templates/locales/template-provider.d.ts +122 -0
- package/dist/templates/locales/template-provider.d.ts.map +1 -0
- package/dist/templates/locales/template-provider.js +173 -0
- package/dist/templates/locales/template-provider.js.map +1 -0
- package/dist/templates/locales/ukr/index.d.ts +9 -0
- package/dist/templates/locales/ukr/index.d.ts.map +1 -0
- package/dist/templates/locales/ukr/index.js +29 -0
- package/dist/templates/locales/ukr/index.js.map +1 -0
- package/dist/templates/locales/ukr/sections.d.ts +10 -0
- package/dist/templates/locales/ukr/sections.d.ts.map +1 -0
- package/dist/templates/locales/ukr/sections.js +39 -0
- package/dist/templates/locales/ukr/sections.js.map +1 -0
- package/dist/templates/locales/ukr/templates.d.ts +9 -0
- package/dist/templates/locales/ukr/templates.d.ts.map +1 -0
- package/dist/templates/locales/ukr/templates.js +242 -0
- package/dist/templates/locales/ukr/templates.js.map +1 -0
- package/dist/templates/locales/zh/index.d.ts +9 -0
- package/dist/templates/locales/zh/index.d.ts.map +1 -0
- package/dist/templates/locales/zh/index.js +29 -0
- package/dist/templates/locales/zh/index.js.map +1 -0
- package/dist/templates/locales/zh/sections.d.ts +10 -0
- package/dist/templates/locales/zh/sections.d.ts.map +1 -0
- package/dist/templates/locales/zh/sections.js +39 -0
- package/dist/templates/locales/zh/sections.js.map +1 -0
- package/dist/templates/locales/zh/templates.d.ts +9 -0
- package/dist/templates/locales/zh/templates.d.ts.map +1 -0
- package/dist/templates/locales/zh/templates.js +260 -0
- package/dist/templates/locales/zh/templates.js.map +1 -0
- package/dist/tools/arc42-init.d.ts +8 -2
- package/dist/tools/arc42-init.d.ts.map +1 -1
- package/dist/tools/arc42-init.js +67 -97
- package/dist/tools/arc42-init.js.map +1 -1
- package/dist/tools/arc42-status.d.ts +5 -2
- package/dist/tools/arc42-status.d.ts.map +1 -1
- package/dist/tools/arc42-status.js +47 -18
- package/dist/tools/arc42-status.js.map +1 -1
- package/dist/tools/arc42-workflow-guide.d.ts +6 -3
- package/dist/tools/arc42-workflow-guide.d.ts.map +1 -1
- package/dist/tools/arc42-workflow-guide.js +42 -276
- package/dist/tools/arc42-workflow-guide.js.map +1 -1
- package/dist/tools/generate-template.d.ts +7 -3
- package/dist/tools/generate-template.d.ts.map +1 -1
- package/dist/tools/generate-template.js +44 -35
- package/dist/tools/generate-template.js.map +1 -1
- package/dist/tools/get-section.d.ts +7 -3
- package/dist/tools/get-section.d.ts.map +1 -1
- package/dist/tools/get-section.js +38 -38
- package/dist/tools/get-section.js.map +1 -1
- package/dist/tools/index.d.ts +6 -5
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +14 -20
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/update-section.d.ts +9 -3
- package/dist/tools/update-section.d.ts.map +1 -1
- package/dist/tools/update-section.js +12 -44
- package/dist/tools/update-section.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,wCAAwC;AACxC,OAAO,EACL,eAAe,EAEf,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,sBAAsB,CAAC;AAE9B,sDAAsD;AACtD,OAAO;AASL,YAAY;AACZ,wBAAwB;AAExB,oBAAoB;AACpB,cAAc,EACd,qBAAqB,EACrB,sBAAsB,EACtB,aAAa;AAEb,UAAU;AACV,gBAAgB,EAChB,eAAe,EACf,yBAAyB;AAEzB,sBAAsB;AACtB,gBAAgB,EAChB,eAAe,EACf,gBAAgB;AAEhB,mBAAmB;AACnB,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAE5B;;;;;;;;;GASG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAAqB,EAAE,QAAiB;IACzE,OAAO,gBAAgB,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;AACzD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAAqB,EAAE,QAAiB;IACzE,OAAO,gBAAgB,CAAC,kBAAkB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;AAChE,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,QAAiB;IAChD,OAAO,gBAAgB,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;AACrD,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,qBAAqB;IACnC,OAAO,gBAAgB,CAAC,qBAAqB,EAAE,CAAC;AAClD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,mBAAmB,CAAC,QAAgB;IAClD,OAAO,gBAAgB,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Czech Language Strategy
|
|
3
|
+
* @module templates/locales/cz
|
|
4
|
+
*/
|
|
5
|
+
import type { LanguageStrategy } from '../language-strategy.js';
|
|
6
|
+
export declare const czechStrategy: LanguageStrategy;
|
|
7
|
+
export { getSectionTitle, getSectionDescription } from './sections.js';
|
|
8
|
+
export { getTemplate, getWorkflowGuide, getReadmeContent } from './templates.js';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/templates/locales/cz/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAoC,MAAM,yBAAyB,CAAC;AAIlG,eAAO,MAAM,aAAa,EAAE,gBAwB3B,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Czech Language Strategy
|
|
3
|
+
* @module templates/locales/cz
|
|
4
|
+
*/
|
|
5
|
+
import { getSectionTitle, getSectionDescription } from './sections.js';
|
|
6
|
+
import { getTemplate, getWorkflowGuide, getReadmeContent } from './templates.js';
|
|
7
|
+
export const czechStrategy = {
|
|
8
|
+
code: 'CZ',
|
|
9
|
+
name: 'Czech',
|
|
10
|
+
nativeName: 'Čeština',
|
|
11
|
+
getSectionTitle(section) {
|
|
12
|
+
return { title: getSectionTitle(section), section };
|
|
13
|
+
},
|
|
14
|
+
getSectionDescription(section) {
|
|
15
|
+
return { description: getSectionDescription(section), section };
|
|
16
|
+
},
|
|
17
|
+
getTemplate(section) {
|
|
18
|
+
return getTemplate(section);
|
|
19
|
+
},
|
|
20
|
+
getWorkflowGuide() {
|
|
21
|
+
return getWorkflowGuide();
|
|
22
|
+
},
|
|
23
|
+
getReadmeContent(projectName) {
|
|
24
|
+
return getReadmeContent(projectName);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
export { getSectionTitle, getSectionDescription } from './sections.js';
|
|
28
|
+
export { getTemplate, getWorkflowGuide, getReadmeContent } from './templates.js';
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/templates/locales/cz/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEjF,MAAM,CAAC,MAAM,aAAa,GAAqB;IAC7C,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,SAAS;IAErB,eAAe,CAAC,OAAqB;QACnC,OAAO,EAAE,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACtD,CAAC;IAED,qBAAqB,CAAC,OAAqB;QACzC,OAAO,EAAE,WAAW,EAAE,qBAAqB,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IAClE,CAAC;IAED,WAAW,CAAC,OAAqB;QAC/B,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,gBAAgB;QACd,OAAO,gBAAgB,EAAE,CAAC;IAC5B,CAAC;IAED,gBAAgB,CAAC,WAAoB;QACnC,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACvC,CAAC;CACF,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Czech Section Titles and Descriptions
|
|
3
|
+
* @module templates/locales/cz/sections
|
|
4
|
+
*/
|
|
5
|
+
import type { Arc42Section } from '../../../types.js';
|
|
6
|
+
export declare const SECTION_TITLES: Record<Arc42Section, string>;
|
|
7
|
+
export declare const SECTION_DESCRIPTIONS: Record<Arc42Section, string>;
|
|
8
|
+
export declare function getSectionTitle(section: Arc42Section): string;
|
|
9
|
+
export declare function getSectionDescription(section: Arc42Section): string;
|
|
10
|
+
//# sourceMappingURL=sections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../../../src/templates/locales/cz/sections.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAavD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAa7D,CAAC;AAEF,wBAAgB,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,MAAM,CAE7D;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,YAAY,GAAG,MAAM,CAEnE"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Czech Section Titles and Descriptions
|
|
3
|
+
* @module templates/locales/cz/sections
|
|
4
|
+
*/
|
|
5
|
+
export const SECTION_TITLES = {
|
|
6
|
+
'01_introduction_and_goals': 'Úvod a cíle',
|
|
7
|
+
'02_architecture_constraints': 'Omezení architektury',
|
|
8
|
+
'03_context_and_scope': 'Kontext a rozsah',
|
|
9
|
+
'04_solution_strategy': 'Strategie řešení',
|
|
10
|
+
'05_building_block_view': 'Pohled stavebních bloků',
|
|
11
|
+
'06_runtime_view': 'Pohled běhu',
|
|
12
|
+
'07_deployment_view': 'Pohled nasazení',
|
|
13
|
+
'08_concepts': 'Průřezové koncepty',
|
|
14
|
+
'09_architecture_decisions': 'Architektonická rozhodnutí',
|
|
15
|
+
'10_quality_requirements': 'Požadavky na kvalitu',
|
|
16
|
+
'11_technical_risks': 'Rizika a technický dluh',
|
|
17
|
+
'12_glossary': 'Slovník'
|
|
18
|
+
};
|
|
19
|
+
export const SECTION_DESCRIPTIONS = {
|
|
20
|
+
'01_introduction_and_goals': 'Popis úlohy, cíle kvality a zainteresované strany',
|
|
21
|
+
'02_architecture_constraints': 'Technická a organizační omezení',
|
|
22
|
+
'03_context_and_scope': 'Obchodní a technický kontext, externí rozhraní',
|
|
23
|
+
'04_solution_strategy': 'Základní rozhodnutí a strategie řešení',
|
|
24
|
+
'05_building_block_view': 'Statická dekompozice systému',
|
|
25
|
+
'06_runtime_view': 'Dynamické chování a důležité scénáře',
|
|
26
|
+
'07_deployment_view': 'Infrastruktura a nasazení',
|
|
27
|
+
'08_concepts': 'Průřezová pravidla a přístupy k řešení',
|
|
28
|
+
'09_architecture_decisions': 'Důležitá, nákladná, kritická nebo riziková rozhodnutí',
|
|
29
|
+
'10_quality_requirements': 'Strom kvality a scénáře kvality',
|
|
30
|
+
'11_technical_risks': 'Známé problémy, rizika a technický dluh',
|
|
31
|
+
'12_glossary': 'Důležité obchodní a technické pojmy'
|
|
32
|
+
};
|
|
33
|
+
export function getSectionTitle(section) {
|
|
34
|
+
return SECTION_TITLES[section];
|
|
35
|
+
}
|
|
36
|
+
export function getSectionDescription(section) {
|
|
37
|
+
return SECTION_DESCRIPTIONS[section];
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=sections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sections.js","sourceRoot":"","sources":["../../../../src/templates/locales/cz/sections.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,CAAC,MAAM,cAAc,GAAiC;IAC1D,2BAA2B,EAAE,aAAa;IAC1C,6BAA6B,EAAE,sBAAsB;IACrD,sBAAsB,EAAE,kBAAkB;IAC1C,sBAAsB,EAAE,kBAAkB;IAC1C,wBAAwB,EAAE,yBAAyB;IACnD,iBAAiB,EAAE,aAAa;IAChC,oBAAoB,EAAE,iBAAiB;IACvC,aAAa,EAAE,oBAAoB;IACnC,2BAA2B,EAAE,4BAA4B;IACzD,yBAAyB,EAAE,sBAAsB;IACjD,oBAAoB,EAAE,yBAAyB;IAC/C,aAAa,EAAE,SAAS;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAiC;IAChE,2BAA2B,EAAE,mDAAmD;IAChF,6BAA6B,EAAE,iCAAiC;IAChE,sBAAsB,EAAE,gDAAgD;IACxE,sBAAsB,EAAE,wCAAwC;IAChE,wBAAwB,EAAE,8BAA8B;IACxD,iBAAiB,EAAE,sCAAsC;IACzD,oBAAoB,EAAE,2BAA2B;IACjD,aAAa,EAAE,wCAAwC;IACvD,2BAA2B,EAAE,uDAAuD;IACpF,yBAAyB,EAAE,iCAAiC;IAC5D,oBAAoB,EAAE,yCAAyC;IAC/D,aAAa,EAAE,qCAAqC;CACrD,CAAC;AAEF,MAAM,UAAU,eAAe,CAAC,OAAqB;IACnD,OAAO,cAAc,CAAC,OAAO,CAAC,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,OAAqB;IACzD,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC;AACvC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Czech Templates
|
|
3
|
+
* @module templates/locales/cz/templates
|
|
4
|
+
*/
|
|
5
|
+
import type { Arc42Section } from '../../../types.js';
|
|
6
|
+
export declare function getTemplate(section: Arc42Section): string;
|
|
7
|
+
export declare function getWorkflowGuide(): string;
|
|
8
|
+
export declare function getReadmeContent(projectName?: string): string;
|
|
9
|
+
//# sourceMappingURL=templates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../../src/templates/locales/cz/templates.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,wBAAgB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,MAAM,CA8NzD;AAED,wBAAgB,gBAAgB,IAAI,MAAM,CA0BzC;AAED,wBAAgB,gBAAgB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAkB7D"}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Czech Templates
|
|
3
|
+
* @module templates/locales/cz/templates
|
|
4
|
+
*/
|
|
5
|
+
export function getTemplate(section) {
|
|
6
|
+
const templates = {
|
|
7
|
+
'01_introduction_and_goals': () => `# 1. Úvod a cíle
|
|
8
|
+
|
|
9
|
+
## Přehled požadavků
|
|
10
|
+
|
|
11
|
+
**Účel**: Popsat relevantní požadavky a hnací síly, které musí architekti a vývojový tým zvážit.
|
|
12
|
+
|
|
13
|
+
### Klíčové požadavky
|
|
14
|
+
|
|
15
|
+
| ID | Požadavek | Priorita |
|
|
16
|
+
|----|-----------|----------|
|
|
17
|
+
| REQ-1 | [Stručný popis] | Vysoká |
|
|
18
|
+
| REQ-2 | [Stručný popis] | Střední |
|
|
19
|
+
|
|
20
|
+
## Cíle kvality
|
|
21
|
+
|
|
22
|
+
| Priorita | Cíl kvality | Motivace |
|
|
23
|
+
|----------|-------------|----------|
|
|
24
|
+
| 1 | [např. Výkon] | [Proč je to kritické] |
|
|
25
|
+
| 2 | [např. Bezpečnost] | [Proč je to kritické] |
|
|
26
|
+
|
|
27
|
+
## Zainteresované strany
|
|
28
|
+
|
|
29
|
+
| Role/Jméno | Kontakt | Očekávání |
|
|
30
|
+
|------------|---------|-----------|
|
|
31
|
+
| Vlastník produktu | [Jméno/Email] | [Očekávání od architektury] |
|
|
32
|
+
| Vývojový tým | [Název týmu] | [Co potřebují vědět] |
|
|
33
|
+
`,
|
|
34
|
+
'02_architecture_constraints': () => `# 2. Omezení architektury
|
|
35
|
+
|
|
36
|
+
## Technická omezení
|
|
37
|
+
|
|
38
|
+
| Omezení | Pozadí/Motivace |
|
|
39
|
+
|---------|-----------------|
|
|
40
|
+
| [např. Cloud platforma] | [Proč toto omezení existuje] |
|
|
41
|
+
|
|
42
|
+
## Organizační omezení
|
|
43
|
+
|
|
44
|
+
| Omezení | Pozadí/Motivace |
|
|
45
|
+
|---------|-----------------|
|
|
46
|
+
| [např. Struktura týmu] | [Jak to ovlivňuje architekturu] |
|
|
47
|
+
|
|
48
|
+
## Konvence
|
|
49
|
+
|
|
50
|
+
- [např. Mikroservisní architektura]
|
|
51
|
+
- [např. RESTful API design]
|
|
52
|
+
`,
|
|
53
|
+
'03_context_and_scope': () => `# 3. Kontext a rozsah
|
|
54
|
+
|
|
55
|
+
## Obchodní kontext
|
|
56
|
+
|
|
57
|
+
### Diagram kontextu
|
|
58
|
+
|
|
59
|
+
\`\`\`
|
|
60
|
+
[Vytvořte diagram zobrazující váš systém a externí systémy/uživatele]
|
|
61
|
+
\`\`\`
|
|
62
|
+
|
|
63
|
+
### Externí rozhraní
|
|
64
|
+
|
|
65
|
+
| Externí entita | Rozhraní | Účel |
|
|
66
|
+
|----------------|----------|------|
|
|
67
|
+
| [Externí systém 1] | [API/Protokol] | [Jaká data/funkce se vyměňují] |
|
|
68
|
+
|
|
69
|
+
## Technický kontext
|
|
70
|
+
|
|
71
|
+
| Rozhraní | Technologie | Protokol | Formát |
|
|
72
|
+
|----------|-------------|----------|--------|
|
|
73
|
+
| [API 1] | [REST API] | [HTTPS] | [JSON] |
|
|
74
|
+
`,
|
|
75
|
+
'04_solution_strategy': () => `# 4. Strategie řešení
|
|
76
|
+
|
|
77
|
+
## Klíčová rozhodnutí
|
|
78
|
+
|
|
79
|
+
### Architektonické vzory
|
|
80
|
+
|
|
81
|
+
| Vzor | Motivace | Důsledky |
|
|
82
|
+
|------|----------|----------|
|
|
83
|
+
| [např. Mikroservisy] | [Proč byl tento vzor zvolen] | [Výhody a kompromisy] |
|
|
84
|
+
|
|
85
|
+
### Technologická rozhodnutí
|
|
86
|
+
|
|
87
|
+
| Komponenta | Technologie | Důvod |
|
|
88
|
+
|------------|-------------|-------|
|
|
89
|
+
| Backend | [např. Node.js] | [Proč bylo zvoleno] |
|
|
90
|
+
| Frontend | [např. React] | [Důvody] |
|
|
91
|
+
`,
|
|
92
|
+
'05_building_block_view': () => `# 5. Pohled stavebních bloků
|
|
93
|
+
|
|
94
|
+
## Úroveň 1: Kontext systému
|
|
95
|
+
|
|
96
|
+
### Whitebox: Celkový systém
|
|
97
|
+
|
|
98
|
+
\`\`\`
|
|
99
|
+
[Diagram komponent s hlavními stavebními bloky]
|
|
100
|
+
\`\`\`
|
|
101
|
+
|
|
102
|
+
| Komponenta | Zodpovědnost |
|
|
103
|
+
|------------|--------------|
|
|
104
|
+
| [Komponenta 1] | [Co dělá] |
|
|
105
|
+
| [Komponenta 2] | [Co dělá] |
|
|
106
|
+
`,
|
|
107
|
+
'06_runtime_view': () => `# 6. Pohled běhu
|
|
108
|
+
|
|
109
|
+
## Klíčové scénáře
|
|
110
|
+
|
|
111
|
+
### Scénář 1: [Název]
|
|
112
|
+
|
|
113
|
+
**Popis**: [Co se děje v tomto scénáři]
|
|
114
|
+
|
|
115
|
+
\`\`\`mermaid
|
|
116
|
+
sequenceDiagram
|
|
117
|
+
participant Uživatel
|
|
118
|
+
participant Frontend
|
|
119
|
+
participant API
|
|
120
|
+
participant Databáze
|
|
121
|
+
\`\`\`
|
|
122
|
+
`,
|
|
123
|
+
'07_deployment_view': () => `# 7. Pohled nasazení
|
|
124
|
+
|
|
125
|
+
## Přehled infrastruktury
|
|
126
|
+
|
|
127
|
+
\`\`\`
|
|
128
|
+
[Diagram zobrazující servery, kontejnery, sítě]
|
|
129
|
+
\`\`\`
|
|
130
|
+
|
|
131
|
+
## Prostředí
|
|
132
|
+
|
|
133
|
+
### Produkční prostředí
|
|
134
|
+
|
|
135
|
+
| Komponenta | Technologie | Konfigurace |
|
|
136
|
+
|------------|-------------|-------------|
|
|
137
|
+
| [Aplikační server] | [AWS ECS] | [Specifikace] |
|
|
138
|
+
`,
|
|
139
|
+
'08_concepts': () => `# 8. Průřezové koncepty
|
|
140
|
+
|
|
141
|
+
## Doménové modely
|
|
142
|
+
|
|
143
|
+
### Klíčové entity
|
|
144
|
+
|
|
145
|
+
| Entita | Zodpovědnost | Vztahy |
|
|
146
|
+
|--------|--------------|--------|
|
|
147
|
+
| [Entita 1] | [Účel] | [Související entity] |
|
|
148
|
+
|
|
149
|
+
## Bezpečnost
|
|
150
|
+
|
|
151
|
+
### Autentizace
|
|
152
|
+
- Metoda: [JWT, OAuth2, atd.]
|
|
153
|
+
|
|
154
|
+
### Autorizace
|
|
155
|
+
- Model: [RBAC, ABAC, atd.]
|
|
156
|
+
`,
|
|
157
|
+
'09_architecture_decisions': () => `# 9. Architektonická rozhodnutí
|
|
158
|
+
|
|
159
|
+
## Formát ADR
|
|
160
|
+
|
|
161
|
+
- **Kontext**: Jaký problém řešíme?
|
|
162
|
+
- **Rozhodnutí**: Co jsme se rozhodli udělat
|
|
163
|
+
- **Důsledky**: Co se stane jednodušším nebo těžším
|
|
164
|
+
|
|
165
|
+
### ADR-001: [Název rozhodnutí]
|
|
166
|
+
|
|
167
|
+
**Datum**: [RRRR-MM-DD]
|
|
168
|
+
**Status**: [Navrženo | Přijato | Zastaralé]
|
|
169
|
+
|
|
170
|
+
**Kontext**: [Popis problému]
|
|
171
|
+
|
|
172
|
+
**Rozhodnutí**: [Co jsme se rozhodli]
|
|
173
|
+
|
|
174
|
+
**Důsledky**:
|
|
175
|
+
- Pozitivní: [Výhoda 1]
|
|
176
|
+
- Negativní: [Kompromis 1]
|
|
177
|
+
`,
|
|
178
|
+
'10_quality_requirements': () => `# 10. Požadavky na kvalitu
|
|
179
|
+
|
|
180
|
+
## Strom kvality
|
|
181
|
+
|
|
182
|
+
\`\`\`
|
|
183
|
+
Kvalita
|
|
184
|
+
├── Výkon
|
|
185
|
+
├── Bezpečnost
|
|
186
|
+
├── Spolehlivost
|
|
187
|
+
└── Udržovatelnost
|
|
188
|
+
\`\`\`
|
|
189
|
+
|
|
190
|
+
## Scénáře kvality
|
|
191
|
+
|
|
192
|
+
| Aspekt | Popis |
|
|
193
|
+
|--------|-------|
|
|
194
|
+
| Scénář | Uživatel požaduje data při normální zátěži |
|
|
195
|
+
| Měřítko | 95. percentil doby odezvy < 200ms |
|
|
196
|
+
`,
|
|
197
|
+
'11_technical_risks': () => `# 11. Rizika a technický dluh
|
|
198
|
+
|
|
199
|
+
## Rizika
|
|
200
|
+
|
|
201
|
+
| Riziko | Pravděpodobnost | Dopad | Status |
|
|
202
|
+
|--------|-----------------|-------|--------|
|
|
203
|
+
| [Riziko 1] | [Vysoká/Střední/Nízká] | [Vysoký/Střední/Nízký] | [Otevřeno/Zmírněno] |
|
|
204
|
+
|
|
205
|
+
## Technický dluh
|
|
206
|
+
|
|
207
|
+
| Položka | Typ | Dopad | Priorita |
|
|
208
|
+
|---------|-----|-------|----------|
|
|
209
|
+
| [Dluh 1] | [Kód/Architektura] | [Vysoký/Střední/Nízký] | [1-5] |
|
|
210
|
+
`,
|
|
211
|
+
'12_glossary': () => `# 12. Slovník
|
|
212
|
+
|
|
213
|
+
## Obchodní pojmy
|
|
214
|
+
|
|
215
|
+
| Pojem | Definice |
|
|
216
|
+
|-------|----------|
|
|
217
|
+
| [Obchodní pojem 1] | [Jasná, stručná definice] |
|
|
218
|
+
|
|
219
|
+
## Technické pojmy
|
|
220
|
+
|
|
221
|
+
| Pojem | Definice | Synonyma |
|
|
222
|
+
|-------|----------|----------|
|
|
223
|
+
| [Technický pojem 1] | [Definice] | [Alternativní názvy] |
|
|
224
|
+
`
|
|
225
|
+
};
|
|
226
|
+
return templates[section]();
|
|
227
|
+
}
|
|
228
|
+
export function getWorkflowGuide() {
|
|
229
|
+
return `# Průvodce dokumentací architektury arc42
|
|
230
|
+
|
|
231
|
+
## Přehled
|
|
232
|
+
|
|
233
|
+
Tento průvodce vám pomůže dokumentovat architekturu softwaru pomocí šablony arc42.
|
|
234
|
+
|
|
235
|
+
## 12 sekcí arc42
|
|
236
|
+
|
|
237
|
+
1. **Úvod a cíle** - Definujte, co stavíte a proč
|
|
238
|
+
2. **Omezení architektury** - Co nesmíte dělat?
|
|
239
|
+
3. **Kontext a rozsah** - Co je uvnitř a co venku?
|
|
240
|
+
4. **Strategie řešení** - Vysokoúrovňový přístup
|
|
241
|
+
5. **Pohled stavebních bloků** - Statická struktura
|
|
242
|
+
6. **Pohled běhu** - Dynamické chování
|
|
243
|
+
7. **Pohled nasazení** - Infrastruktura
|
|
244
|
+
8. **Průřezové koncepty** - Vzory používané v celém systému
|
|
245
|
+
9. **Architektonická rozhodnutí** - Důležitá rozhodnutí
|
|
246
|
+
10. **Požadavky na kvalitu** - Scénáře kvality
|
|
247
|
+
11. **Rizika a technický dluh** - Co se může pokazit?
|
|
248
|
+
12. **Slovník** - Definice pojmů
|
|
249
|
+
|
|
250
|
+
## Zdroje
|
|
251
|
+
|
|
252
|
+
- [arc42 Web](https://arc42.org/)
|
|
253
|
+
`;
|
|
254
|
+
}
|
|
255
|
+
export function getReadmeContent(projectName) {
|
|
256
|
+
const name = projectName || 'Projekt';
|
|
257
|
+
return `# ${name} - Dokumentace architektury
|
|
258
|
+
|
|
259
|
+
Tento adresář obsahuje dokumentaci architektury pro ${name}, založenou na šabloně arc42.
|
|
260
|
+
|
|
261
|
+
## Struktura
|
|
262
|
+
|
|
263
|
+
- \`sections/\` - Jednotlivé markdown soubory sekcí (12 sekcí)
|
|
264
|
+
- \`images/\` - Diagramy a obrázky
|
|
265
|
+
- \`config.yaml\` - Konfigurace
|
|
266
|
+
|
|
267
|
+
## Začínáme
|
|
268
|
+
|
|
269
|
+
1. Začněte sekcí 1: Úvod a cíle
|
|
270
|
+
2. Procházejte sekce iterativně
|
|
271
|
+
3. Používejte diagramy pro ilustraci konceptů
|
|
272
|
+
`;
|
|
273
|
+
}
|
|
274
|
+
//# sourceMappingURL=templates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../../../src/templates/locales/cz/templates.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,UAAU,WAAW,CAAC,OAAqB;IAC/C,MAAM,SAAS,GAAuC;QACpD,2BAA2B,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BtC;QACG,6BAA6B,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;CAkBxC;QACG,sBAAsB,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;CAqBjC;QACG,sBAAsB,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;CAgBjC;QACG,wBAAwB,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;;CAcnC;QACG,iBAAiB,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;CAe5B;QACG,oBAAoB,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;CAe/B;QACG,aAAa,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;CAiBxB;QACG,2BAA2B,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;CAoBtC;QACG,yBAAyB,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;CAkBpC;QACG,oBAAoB,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;CAa/B;QACG,aAAa,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;CAaxB;KACE,CAAC;IACF,OAAO,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;AAC9B,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;CAwBR,CAAC;AACF,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,WAAoB;IACnD,MAAM,IAAI,GAAG,WAAW,IAAI,SAAS,CAAC;IACtC,OAAO,KAAK,IAAI;;sDAEoC,IAAI;;;;;;;;;;;;;CAazD,CAAC;AACF,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* German Language Strategy
|
|
3
|
+
*
|
|
4
|
+
* Implements the LanguageStrategy interface for German (Deutsch).
|
|
5
|
+
* Provides German section titles, descriptions, and templates.
|
|
6
|
+
*
|
|
7
|
+
* @module templates/locales/de
|
|
8
|
+
*
|
|
9
|
+
* S.O.L.I.D Principles:
|
|
10
|
+
* - LSP (Liskov Substitution Principle): GermanStrategy is substitutable for LanguageStrategy
|
|
11
|
+
* - OCP (Open/Closed Principle): Implements interface without modifying it
|
|
12
|
+
*
|
|
13
|
+
* Design Patterns:
|
|
14
|
+
* - Strategy Pattern: Concrete implementation for German language
|
|
15
|
+
*/
|
|
16
|
+
import type { LanguageStrategy } from '../language-strategy.js';
|
|
17
|
+
/**
|
|
18
|
+
* German Language Strategy
|
|
19
|
+
*
|
|
20
|
+
* Provides German translations for arc42 documentation.
|
|
21
|
+
* Based on official arc42 German template from vendor/arc42-template/DE/.
|
|
22
|
+
*/
|
|
23
|
+
export declare const germanStrategy: LanguageStrategy;
|
|
24
|
+
export { getSectionTitle, getSectionDescription } from './sections.js';
|
|
25
|
+
export { getTemplate, getWorkflowGuide, getReadmeContent } from './templates.js';
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/templates/locales/de/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAoC,MAAM,yBAAyB,CAAC;AAIlG;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,gBA8B5B,CAAC;AAGF,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* German Language Strategy
|
|
3
|
+
*
|
|
4
|
+
* Implements the LanguageStrategy interface for German (Deutsch).
|
|
5
|
+
* Provides German section titles, descriptions, and templates.
|
|
6
|
+
*
|
|
7
|
+
* @module templates/locales/de
|
|
8
|
+
*
|
|
9
|
+
* S.O.L.I.D Principles:
|
|
10
|
+
* - LSP (Liskov Substitution Principle): GermanStrategy is substitutable for LanguageStrategy
|
|
11
|
+
* - OCP (Open/Closed Principle): Implements interface without modifying it
|
|
12
|
+
*
|
|
13
|
+
* Design Patterns:
|
|
14
|
+
* - Strategy Pattern: Concrete implementation for German language
|
|
15
|
+
*/
|
|
16
|
+
import { getSectionTitle, getSectionDescription } from './sections.js';
|
|
17
|
+
import { getTemplate, getWorkflowGuide, getReadmeContent } from './templates.js';
|
|
18
|
+
/**
|
|
19
|
+
* German Language Strategy
|
|
20
|
+
*
|
|
21
|
+
* Provides German translations for arc42 documentation.
|
|
22
|
+
* Based on official arc42 German template from vendor/arc42-template/DE/.
|
|
23
|
+
*/
|
|
24
|
+
export const germanStrategy = {
|
|
25
|
+
code: 'DE',
|
|
26
|
+
name: 'German',
|
|
27
|
+
nativeName: 'Deutsch',
|
|
28
|
+
getSectionTitle(section) {
|
|
29
|
+
return {
|
|
30
|
+
title: getSectionTitle(section),
|
|
31
|
+
section
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
getSectionDescription(section) {
|
|
35
|
+
return {
|
|
36
|
+
description: getSectionDescription(section),
|
|
37
|
+
section
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
getTemplate(section) {
|
|
41
|
+
return getTemplate(section);
|
|
42
|
+
},
|
|
43
|
+
getWorkflowGuide() {
|
|
44
|
+
return getWorkflowGuide();
|
|
45
|
+
},
|
|
46
|
+
getReadmeContent(projectName) {
|
|
47
|
+
return getReadmeContent(projectName);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
// Re-export for convenience
|
|
51
|
+
export { getSectionTitle, getSectionDescription } from './sections.js';
|
|
52
|
+
export { getTemplate, getWorkflowGuide, getReadmeContent } from './templates.js';
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/templates/locales/de/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEjF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAqB;IAC9C,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,SAAS;IAErB,eAAe,CAAC,OAAqB;QACnC,OAAO;YACL,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;YAC/B,OAAO;SACR,CAAC;IACJ,CAAC;IAED,qBAAqB,CAAC,OAAqB;QACzC,OAAO;YACL,WAAW,EAAE,qBAAqB,CAAC,OAAO,CAAC;YAC3C,OAAO;SACR,CAAC;IACJ,CAAC;IAED,WAAW,CAAC,OAAqB;QAC/B,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,gBAAgB;QACd,OAAO,gBAAgB,EAAE,CAAC;IAC5B,CAAC;IAED,gBAAgB,CAAC,WAAoB;QACnC,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACvC,CAAC;CACF,CAAC;AAEF,4BAA4B;AAC5B,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* German Section Titles and Descriptions
|
|
3
|
+
*
|
|
4
|
+
* Provides localized section metadata for the German language.
|
|
5
|
+
* Translations are based on the official arc42 German template.
|
|
6
|
+
*
|
|
7
|
+
* @module templates/locales/de/sections
|
|
8
|
+
*/
|
|
9
|
+
import type { Arc42Section } from '../../../types.js';
|
|
10
|
+
/**
|
|
11
|
+
* German section titles
|
|
12
|
+
* Based on vendor/arc42-template/DE/
|
|
13
|
+
*/
|
|
14
|
+
export declare const SECTION_TITLES: Record<Arc42Section, string>;
|
|
15
|
+
/**
|
|
16
|
+
* German section descriptions
|
|
17
|
+
* Based on vendor/arc42-template/DE/
|
|
18
|
+
*/
|
|
19
|
+
export declare const SECTION_DESCRIPTIONS: Record<Arc42Section, string>;
|
|
20
|
+
/**
|
|
21
|
+
* Get the German title for a section
|
|
22
|
+
*/
|
|
23
|
+
export declare function getSectionTitle(section: Arc42Section): string;
|
|
24
|
+
/**
|
|
25
|
+
* Get the German description for a section
|
|
26
|
+
*/
|
|
27
|
+
export declare function getSectionDescription(section: Arc42Section): string;
|
|
28
|
+
//# sourceMappingURL=sections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../../../src/templates/locales/de/sections.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAavD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAa7D,CAAC;AAEF;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,MAAM,CAE7D;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,YAAY,GAAG,MAAM,CAEnE"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* German Section Titles and Descriptions
|
|
3
|
+
*
|
|
4
|
+
* Provides localized section metadata for the German language.
|
|
5
|
+
* Translations are based on the official arc42 German template.
|
|
6
|
+
*
|
|
7
|
+
* @module templates/locales/de/sections
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* German section titles
|
|
11
|
+
* Based on vendor/arc42-template/DE/
|
|
12
|
+
*/
|
|
13
|
+
export const SECTION_TITLES = {
|
|
14
|
+
'01_introduction_and_goals': 'Einführung und Ziele',
|
|
15
|
+
'02_architecture_constraints': 'Randbedingungen',
|
|
16
|
+
'03_context_and_scope': 'Kontextabgrenzung',
|
|
17
|
+
'04_solution_strategy': 'Lösungsstrategie',
|
|
18
|
+
'05_building_block_view': 'Bausteinsicht',
|
|
19
|
+
'06_runtime_view': 'Laufzeitsicht',
|
|
20
|
+
'07_deployment_view': 'Verteilungssicht',
|
|
21
|
+
'08_concepts': 'Querschnittliche Konzepte',
|
|
22
|
+
'09_architecture_decisions': 'Architekturentscheidungen',
|
|
23
|
+
'10_quality_requirements': 'Qualitätsanforderungen',
|
|
24
|
+
'11_technical_risks': 'Risiken und technische Schulden',
|
|
25
|
+
'12_glossary': 'Glossar'
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* German section descriptions
|
|
29
|
+
* Based on vendor/arc42-template/DE/
|
|
30
|
+
*/
|
|
31
|
+
export const SECTION_DESCRIPTIONS = {
|
|
32
|
+
'01_introduction_and_goals': 'Aufgabenstellung, Qualitätsziele und Stakeholder',
|
|
33
|
+
'02_architecture_constraints': 'Technische und organisatorische Randbedingungen',
|
|
34
|
+
'03_context_and_scope': 'Fachlicher und technischer Kontext, externe Schnittstellen',
|
|
35
|
+
'04_solution_strategy': 'Grundlegende Lösungsentscheidungen und -strategien',
|
|
36
|
+
'05_building_block_view': 'Statische Zerlegung des Systems',
|
|
37
|
+
'06_runtime_view': 'Dynamisches Verhalten und wichtige Szenarien',
|
|
38
|
+
'07_deployment_view': 'Infrastruktur und Verteilung',
|
|
39
|
+
'08_concepts': 'Übergreifende Regelungen und Lösungsansätze',
|
|
40
|
+
'09_architecture_decisions': 'Wichtige, teure, kritische oder riskante Entscheidungen',
|
|
41
|
+
'10_quality_requirements': 'Qualitätsbaum und Qualitätsszenarien',
|
|
42
|
+
'11_technical_risks': 'Bekannte Probleme, Risiken und technische Schulden',
|
|
43
|
+
'12_glossary': 'Wichtige fachliche und technische Begriffe'
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Get the German title for a section
|
|
47
|
+
*/
|
|
48
|
+
export function getSectionTitle(section) {
|
|
49
|
+
return SECTION_TITLES[section];
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get the German description for a section
|
|
53
|
+
*/
|
|
54
|
+
export function getSectionDescription(section) {
|
|
55
|
+
return SECTION_DESCRIPTIONS[section];
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=sections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sections.js","sourceRoot":"","sources":["../../../../src/templates/locales/de/sections.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAiC;IAC1D,2BAA2B,EAAE,sBAAsB;IACnD,6BAA6B,EAAE,iBAAiB;IAChD,sBAAsB,EAAE,mBAAmB;IAC3C,sBAAsB,EAAE,kBAAkB;IAC1C,wBAAwB,EAAE,eAAe;IACzC,iBAAiB,EAAE,eAAe;IAClC,oBAAoB,EAAE,kBAAkB;IACxC,aAAa,EAAE,2BAA2B;IAC1C,2BAA2B,EAAE,2BAA2B;IACxD,yBAAyB,EAAE,wBAAwB;IACnD,oBAAoB,EAAE,iCAAiC;IACvD,aAAa,EAAE,SAAS;CACzB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAiC;IAChE,2BAA2B,EAAE,kDAAkD;IAC/E,6BAA6B,EAAE,iDAAiD;IAChF,sBAAsB,EAAE,4DAA4D;IACpF,sBAAsB,EAAE,oDAAoD;IAC5E,wBAAwB,EAAE,iCAAiC;IAC3D,iBAAiB,EAAE,8CAA8C;IACjE,oBAAoB,EAAE,8BAA8B;IACpD,aAAa,EAAE,6CAA6C;IAC5D,2BAA2B,EAAE,yDAAyD;IACtF,yBAAyB,EAAE,sCAAsC;IACjE,oBAAoB,EAAE,oDAAoD;IAC1E,aAAa,EAAE,4CAA4C;CAC5D,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,OAAqB;IACnD,OAAO,cAAc,CAAC,OAAO,CAAC,CAAC;AACjC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,qBAAqB,CAAC,OAAqB;IACzD,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC;AACvC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* German Templates
|
|
3
|
+
*
|
|
4
|
+
* Contains all arc42 section templates in German.
|
|
5
|
+
* Based on the official arc42 German template from vendor/arc42-template/DE/.
|
|
6
|
+
*
|
|
7
|
+
* @module templates/locales/de/templates
|
|
8
|
+
*/
|
|
9
|
+
import type { Arc42Section } from '../../../types.js';
|
|
10
|
+
/**
|
|
11
|
+
* Get the German template for a specific section
|
|
12
|
+
*/
|
|
13
|
+
export declare function getTemplate(section: Arc42Section): string;
|
|
14
|
+
/**
|
|
15
|
+
* Get the German workflow guide
|
|
16
|
+
*/
|
|
17
|
+
export declare function getWorkflowGuide(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Get the German README content
|
|
20
|
+
*/
|
|
21
|
+
export declare function getReadmeContent(projectName?: string): string;
|
|
22
|
+
//# sourceMappingURL=templates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../../src/templates/locales/de/templates.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;GAEG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,MAAM,CAiBzD;AAk4BD;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CA2FzC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAgD7D"}
|