@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../../../src/templates/locales/de/templates.ts"],"names":[],"mappings":"AAAA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C,OAAO,KAAK,IAAI;;8DAE4C,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CjE,CAAC;AACF,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* English Language Strategy
|
|
3
|
+
*
|
|
4
|
+
* Implements the LanguageStrategy interface for English (default language).
|
|
5
|
+
* Provides English section titles, descriptions, and templates.
|
|
6
|
+
*
|
|
7
|
+
* @module templates/locales/en
|
|
8
|
+
*
|
|
9
|
+
* S.O.L.I.D Principles:
|
|
10
|
+
* - LSP (Liskov Substitution Principle): EnglishStrategy is substitutable for LanguageStrategy
|
|
11
|
+
* - OCP (Open/Closed Principle): Implements interface without modifying it
|
|
12
|
+
*
|
|
13
|
+
* Design Patterns:
|
|
14
|
+
* - Strategy Pattern: Concrete implementation for English language
|
|
15
|
+
*/
|
|
16
|
+
import type { LanguageStrategy } from '../language-strategy.js';
|
|
17
|
+
/**
|
|
18
|
+
* English Language Strategy
|
|
19
|
+
*
|
|
20
|
+
* The default language strategy for arc42 documentation.
|
|
21
|
+
* All content is in English.
|
|
22
|
+
*/
|
|
23
|
+
export declare const englishStrategy: 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/en/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAoC,MAAM,yBAAyB,CAAC;AAIlG;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,gBA8B7B,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
|
+
* English Language Strategy
|
|
3
|
+
*
|
|
4
|
+
* Implements the LanguageStrategy interface for English (default language).
|
|
5
|
+
* Provides English section titles, descriptions, and templates.
|
|
6
|
+
*
|
|
7
|
+
* @module templates/locales/en
|
|
8
|
+
*
|
|
9
|
+
* S.O.L.I.D Principles:
|
|
10
|
+
* - LSP (Liskov Substitution Principle): EnglishStrategy is substitutable for LanguageStrategy
|
|
11
|
+
* - OCP (Open/Closed Principle): Implements interface without modifying it
|
|
12
|
+
*
|
|
13
|
+
* Design Patterns:
|
|
14
|
+
* - Strategy Pattern: Concrete implementation for English language
|
|
15
|
+
*/
|
|
16
|
+
import { getSectionTitle, getSectionDescription } from './sections.js';
|
|
17
|
+
import { getTemplate, getWorkflowGuide, getReadmeContent } from './templates.js';
|
|
18
|
+
/**
|
|
19
|
+
* English Language Strategy
|
|
20
|
+
*
|
|
21
|
+
* The default language strategy for arc42 documentation.
|
|
22
|
+
* All content is in English.
|
|
23
|
+
*/
|
|
24
|
+
export const englishStrategy = {
|
|
25
|
+
code: 'EN',
|
|
26
|
+
name: 'English',
|
|
27
|
+
nativeName: 'English',
|
|
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/en/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,eAAe,GAAqB;IAC/C,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,SAAS;IACf,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,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* English Section Titles and Descriptions
|
|
3
|
+
*
|
|
4
|
+
* Provides localized section metadata for the English language.
|
|
5
|
+
*
|
|
6
|
+
* @module templates/locales/en/sections
|
|
7
|
+
*/
|
|
8
|
+
import type { Arc42Section } from '../../../types.js';
|
|
9
|
+
/**
|
|
10
|
+
* English section titles
|
|
11
|
+
*/
|
|
12
|
+
export declare const SECTION_TITLES: Record<Arc42Section, string>;
|
|
13
|
+
/**
|
|
14
|
+
* English section descriptions
|
|
15
|
+
*/
|
|
16
|
+
export declare const SECTION_DESCRIPTIONS: Record<Arc42Section, string>;
|
|
17
|
+
/**
|
|
18
|
+
* Get the English title for a section
|
|
19
|
+
*/
|
|
20
|
+
export declare function getSectionTitle(section: Arc42Section): string;
|
|
21
|
+
/**
|
|
22
|
+
* Get the English description for a section
|
|
23
|
+
*/
|
|
24
|
+
export declare function getSectionDescription(section: Arc42Section): string;
|
|
25
|
+
//# sourceMappingURL=sections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../../../src/templates/locales/en/sections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAavD,CAAC;AAEF;;GAEG;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,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* English Section Titles and Descriptions
|
|
3
|
+
*
|
|
4
|
+
* Provides localized section metadata for the English language.
|
|
5
|
+
*
|
|
6
|
+
* @module templates/locales/en/sections
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* English section titles
|
|
10
|
+
*/
|
|
11
|
+
export const SECTION_TITLES = {
|
|
12
|
+
'01_introduction_and_goals': 'Introduction and Goals',
|
|
13
|
+
'02_architecture_constraints': 'Architecture Constraints',
|
|
14
|
+
'03_context_and_scope': 'Context and Scope',
|
|
15
|
+
'04_solution_strategy': 'Solution Strategy',
|
|
16
|
+
'05_building_block_view': 'Building Block View',
|
|
17
|
+
'06_runtime_view': 'Runtime View',
|
|
18
|
+
'07_deployment_view': 'Deployment View',
|
|
19
|
+
'08_concepts': 'Cross-cutting Concepts',
|
|
20
|
+
'09_architecture_decisions': 'Architecture Decisions',
|
|
21
|
+
'10_quality_requirements': 'Quality Requirements',
|
|
22
|
+
'11_technical_risks': 'Risks and Technical Debt',
|
|
23
|
+
'12_glossary': 'Glossary'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* English section descriptions
|
|
27
|
+
*/
|
|
28
|
+
export const SECTION_DESCRIPTIONS = {
|
|
29
|
+
'01_introduction_and_goals': 'Requirements overview, quality goals, and stakeholders',
|
|
30
|
+
'02_architecture_constraints': 'Technical and organizational constraints',
|
|
31
|
+
'03_context_and_scope': 'Business and technical context, external interfaces',
|
|
32
|
+
'04_solution_strategy': 'Fundamental solution decisions and strategies',
|
|
33
|
+
'05_building_block_view': 'Static decomposition of the system',
|
|
34
|
+
'06_runtime_view': 'Dynamic behavior and key scenarios',
|
|
35
|
+
'07_deployment_view': 'Infrastructure and deployment',
|
|
36
|
+
'08_concepts': 'Overall, principal regulations and solution approaches',
|
|
37
|
+
'09_architecture_decisions': 'Important, expensive, critical, or risky decisions',
|
|
38
|
+
'10_quality_requirements': 'Quality tree and quality scenarios',
|
|
39
|
+
'11_technical_risks': 'Known problems, risks, and technical debt',
|
|
40
|
+
'12_glossary': 'Important domain and technical terms'
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Get the English title for a section
|
|
44
|
+
*/
|
|
45
|
+
export function getSectionTitle(section) {
|
|
46
|
+
return SECTION_TITLES[section];
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get the English description for a section
|
|
50
|
+
*/
|
|
51
|
+
export function getSectionDescription(section) {
|
|
52
|
+
return SECTION_DESCRIPTIONS[section];
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=sections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sections.js","sourceRoot":"","sources":["../../../../src/templates/locales/en/sections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAiC;IAC1D,2BAA2B,EAAE,wBAAwB;IACrD,6BAA6B,EAAE,0BAA0B;IACzD,sBAAsB,EAAE,mBAAmB;IAC3C,sBAAsB,EAAE,mBAAmB;IAC3C,wBAAwB,EAAE,qBAAqB;IAC/C,iBAAiB,EAAE,cAAc;IACjC,oBAAoB,EAAE,iBAAiB;IACvC,aAAa,EAAE,wBAAwB;IACvC,2BAA2B,EAAE,wBAAwB;IACrD,yBAAyB,EAAE,sBAAsB;IACjD,oBAAoB,EAAE,0BAA0B;IAChD,aAAa,EAAE,UAAU;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAiC;IAChE,2BAA2B,EAAE,wDAAwD;IACrF,6BAA6B,EAAE,0CAA0C;IACzE,sBAAsB,EAAE,qDAAqD;IAC7E,sBAAsB,EAAE,+CAA+C;IACvE,wBAAwB,EAAE,oCAAoC;IAC9D,iBAAiB,EAAE,oCAAoC;IACvD,oBAAoB,EAAE,+BAA+B;IACrD,aAAa,EAAE,wDAAwD;IACvE,2BAA2B,EAAE,oDAAoD;IACjF,yBAAyB,EAAE,oCAAoC;IAC/D,oBAAoB,EAAE,2CAA2C;IACjE,aAAa,EAAE,sCAAsC;CACtD,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
|
+
* English Templates
|
|
3
|
+
*
|
|
4
|
+
* Contains all arc42 section templates in English.
|
|
5
|
+
* Extracted from the original templates/index.ts for multi-language support.
|
|
6
|
+
*
|
|
7
|
+
* @module templates/locales/en/templates
|
|
8
|
+
*/
|
|
9
|
+
import type { Arc42Section } from '../../../types.js';
|
|
10
|
+
/**
|
|
11
|
+
* Get the English template for a specific section
|
|
12
|
+
*/
|
|
13
|
+
export declare function getTemplate(section: Arc42Section): string;
|
|
14
|
+
/**
|
|
15
|
+
* Get the English workflow guide
|
|
16
|
+
*/
|
|
17
|
+
export declare function getWorkflowGuide(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Get the English 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/en/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"}
|