@phuc1403/musketeer 0.5.0 → 0.6.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/INSTALLATION.md +47 -32
- package/bin/musketeer.js +168 -79
- package/manifest.json +2 -0
- package/package.json +46 -46
- package/src/dotnet-scaffold-copier.js +72 -72
- package/src/provisioner/detect.js +113 -93
- package/src/self-update.js +77 -73
- package/template/.claude/hooks/block-unsafe-adr-title.cjs +72 -70
- package/template/.claude/hooks/init-adr-dir.cjs +153 -110
- package/template/.claude/hooks/inject-adr-env.cjs +83 -82
- package/template/.claude/hooks/lib/adr/command-scan.cjs +107 -0
- package/template/.claude/hooks/sync-adr-toc.cjs +111 -111
- package/template/dotnet-scaffold/src/__SolutionName__.Api/obj/Debug/net10.0/__SolutionName__.Api.AssemblyInfo.cs +1 -1
- package/template/dotnet-scaffold/src/__SolutionName__.Api/obj/Debug/net10.0/__SolutionName__.Api.AssemblyInfoInputs.cache +1 -1
- package/template/dotnet-scaffold/src/__SolutionName__.Application/obj/Debug/net10.0/__SolutionName__.Application.AssemblyInfo.cs +1 -1
- package/template/dotnet-scaffold/src/__SolutionName__.Application/obj/Debug/net10.0/__SolutionName__.Application.AssemblyInfoInputs.cache +1 -1
- package/template/dotnet-scaffold/src/__SolutionName__.Domain/obj/Debug/net10.0/__SolutionName__.Domain.AssemblyInfo.cs +1 -1
- package/template/dotnet-scaffold/src/__SolutionName__.Domain/obj/Debug/net10.0/__SolutionName__.Domain.AssemblyInfoInputs.cache +1 -1
- package/template/dotnet-scaffold/src/__SolutionName__.Infrastructure/obj/Debug/net10.0/__SolutionName__.Infrastructure.AssemblyInfo.cs +1 -1
- package/template/dotnet-scaffold/src/__SolutionName__.Infrastructure/obj/Debug/net10.0/__SolutionName__.Infrastructure.AssemblyInfoInputs.cache +1 -1
- package/template/dotnet-scaffold/tests/__SolutionName__.Api.Tests/obj/Debug/net10.0/__SolutionName__.Api.Tests.AssemblyInfo.cs +1 -1
- package/template/dotnet-scaffold/tests/__SolutionName__.Api.Tests/obj/Debug/net10.0/__SolutionName__.Api.Tests.AssemblyInfoInputs.cache +1 -1
- package/template/dotnet-scaffold/tests/__SolutionName__.Application.Tests/obj/Debug/net10.0/__SolutionName__.Application.Tests.AssemblyInfo.cs +1 -1
- package/template/dotnet-scaffold/tests/__SolutionName__.Application.Tests/obj/Debug/net10.0/__SolutionName__.Application.Tests.AssemblyInfoInputs.cache +1 -1
- package/template/dotnet-scaffold/tests/__SolutionName__.Domain.Tests/obj/Debug/net10.0/__SolutionName__.Domain.Tests.AssemblyInfo.cs +1 -1
- package/template/dotnet-scaffold/tests/__SolutionName__.Domain.Tests/obj/Debug/net10.0/__SolutionName__.Domain.Tests.AssemblyInfoInputs.cache +1 -1
- package/template/dotnet-scaffold/tests/__SolutionName__.Infrastructure.Tests/obj/Debug/net10.0/__SolutionName__.Infrastructure.Tests.AssemblyInfo.cs +1 -1
- package/template/dotnet-scaffold/tests/__SolutionName__.Infrastructure.Tests/obj/Debug/net10.0/__SolutionName__.Infrastructure.Tests.AssemblyInfoInputs.cache +1 -1
- package/template/dotnet-scaffold/src/__SolutionName__.Api/obj/Debug/net10.0/__SolutionName__.Api.assets.cache +0 -0
- package/template/dotnet-scaffold/src/__SolutionName__.Api/obj/__SolutionName__.Api.csproj.nuget.dgspec.json +0 -1536
- package/template/dotnet-scaffold/src/__SolutionName__.Api/obj/__SolutionName__.Api.csproj.nuget.g.props +0 -16
- package/template/dotnet-scaffold/src/__SolutionName__.Api/obj/__SolutionName__.Api.csproj.nuget.g.targets +0 -2
- package/template/dotnet-scaffold/src/__SolutionName__.Api/obj/project.assets.json +0 -559
- package/template/dotnet-scaffold/src/__SolutionName__.Api/obj/project.nuget.cache +0 -8
- package/template/dotnet-scaffold/src/__SolutionName__.Application/obj/Debug/net10.0/__SolutionName__.Application.assets.cache +0 -0
- package/template/dotnet-scaffold/src/__SolutionName__.Application/obj/__SolutionName__.Application.csproj.nuget.dgspec.json +0 -690
- package/template/dotnet-scaffold/src/__SolutionName__.Application/obj/__SolutionName__.Application.csproj.nuget.g.props +0 -16
- package/template/dotnet-scaffold/src/__SolutionName__.Application/obj/__SolutionName__.Application.csproj.nuget.g.targets +0 -2
- package/template/dotnet-scaffold/src/__SolutionName__.Application/obj/project.assets.json +0 -376
- package/template/dotnet-scaffold/src/__SolutionName__.Application/obj/project.nuget.cache +0 -8
- package/template/dotnet-scaffold/src/__SolutionName__.Domain/obj/Debug/net10.0/__SolutionName__.Domain.assets.cache +0 -0
- package/template/dotnet-scaffold/src/__SolutionName__.Domain/obj/__SolutionName__.Domain.csproj.nuget.dgspec.json +0 -347
- package/template/dotnet-scaffold/src/__SolutionName__.Domain/obj/__SolutionName__.Domain.csproj.nuget.g.props +0 -16
- package/template/dotnet-scaffold/src/__SolutionName__.Domain/obj/__SolutionName__.Domain.csproj.nuget.g.targets +0 -2
- package/template/dotnet-scaffold/src/__SolutionName__.Domain/obj/project.assets.json +0 -353
- package/template/dotnet-scaffold/src/__SolutionName__.Domain/obj/project.nuget.cache +0 -8
- package/template/dotnet-scaffold/src/__SolutionName__.Infrastructure/obj/Debug/net10.0/__SolutionName__.Infrastructure.assets.cache +0 -0
- package/template/dotnet-scaffold/src/__SolutionName__.Infrastructure/obj/Debug/net10.0/__SolutionName__.Infrastructure.csproj.AssemblyReference.cache +0 -0
- package/template/dotnet-scaffold/src/__SolutionName__.Infrastructure/obj/__SolutionName__.Infrastructure.csproj.nuget.dgspec.json +0 -1047
- package/template/dotnet-scaffold/src/__SolutionName__.Infrastructure/obj/__SolutionName__.Infrastructure.csproj.nuget.g.props +0 -16
- package/template/dotnet-scaffold/src/__SolutionName__.Infrastructure/obj/__SolutionName__.Infrastructure.csproj.nuget.g.targets +0 -7
- package/template/dotnet-scaffold/src/__SolutionName__.Infrastructure/obj/project.assets.json +0 -858
- package/template/dotnet-scaffold/src/__SolutionName__.Infrastructure/obj/project.nuget.cache +0 -17
- package/template/dotnet-scaffold/tests/__SolutionName__.Api.Tests/bin/Debug/net10.0/.msCoverageSourceRootsMapping___SolutionName__.Api.Tests +0 -0
- package/template/dotnet-scaffold/tests/__SolutionName__.Api.Tests/obj/Debug/net10.0/__SolutionName__.Api.Tests.assets.cache +0 -0
- package/template/dotnet-scaffold/tests/__SolutionName__.Api.Tests/obj/Debug/net10.0/__SolutionName__.Api.Tests.csproj.AssemblyReference.cache +0 -0
- package/template/dotnet-scaffold/tests/__SolutionName__.Api.Tests/obj/__SolutionName__.Api.Tests.csproj.nuget.dgspec.json +0 -1908
- package/template/dotnet-scaffold/tests/__SolutionName__.Api.Tests/obj/__SolutionName__.Api.Tests.csproj.nuget.g.props +0 -27
- package/template/dotnet-scaffold/tests/__SolutionName__.Api.Tests/obj/__SolutionName__.Api.Tests.csproj.nuget.g.targets +0 -16
- package/template/dotnet-scaffold/tests/__SolutionName__.Api.Tests/obj/project.assets.json +0 -3283
- package/template/dotnet-scaffold/tests/__SolutionName__.Api.Tests/obj/project.nuget.cache +0 -60
- package/template/dotnet-scaffold/tests/__SolutionName__.Application.Tests/bin/Debug/net10.0/.msCoverageSourceRootsMapping___SolutionName__.Application.Tests +0 -0
- package/template/dotnet-scaffold/tests/__SolutionName__.Application.Tests/obj/Debug/net10.0/__SolutionName__.Application.Tests.assets.cache +0 -0
- package/template/dotnet-scaffold/tests/__SolutionName__.Application.Tests/obj/Debug/net10.0/__SolutionName__.Application.Tests.csproj.AssemblyReference.cache +0 -0
- package/template/dotnet-scaffold/tests/__SolutionName__.Application.Tests/obj/__SolutionName__.Application.Tests.csproj.nuget.dgspec.json +0 -1055
- package/template/dotnet-scaffold/tests/__SolutionName__.Application.Tests/obj/__SolutionName__.Application.Tests.csproj.nuget.g.props +0 -26
- package/template/dotnet-scaffold/tests/__SolutionName__.Application.Tests/obj/__SolutionName__.Application.Tests.csproj.nuget.g.targets +0 -11
- package/template/dotnet-scaffold/tests/__SolutionName__.Application.Tests/obj/project.assets.json +0 -1662
- package/template/dotnet-scaffold/tests/__SolutionName__.Application.Tests/obj/project.nuget.cache +0 -30
- package/template/dotnet-scaffold/tests/__SolutionName__.Domain.Tests/bin/Debug/net10.0/.msCoverageSourceRootsMapping___SolutionName__.Domain.Tests +0 -0
- package/template/dotnet-scaffold/tests/__SolutionName__.Domain.Tests/obj/Debug/net10.0/__SolutionName__.Domain.Tests.assets.cache +0 -0
- package/template/dotnet-scaffold/tests/__SolutionName__.Domain.Tests/obj/Debug/net10.0/__SolutionName__.Domain.Tests.csproj.AssemblyReference.cache +0 -0
- package/template/dotnet-scaffold/tests/__SolutionName__.Domain.Tests/obj/__SolutionName__.Domain.Tests.csproj.nuget.dgspec.json +0 -712
- package/template/dotnet-scaffold/tests/__SolutionName__.Domain.Tests/obj/__SolutionName__.Domain.Tests.csproj.nuget.g.props +0 -26
- package/template/dotnet-scaffold/tests/__SolutionName__.Domain.Tests/obj/__SolutionName__.Domain.Tests.csproj.nuget.g.targets +0 -11
- package/template/dotnet-scaffold/tests/__SolutionName__.Domain.Tests/obj/project.assets.json +0 -1644
- package/template/dotnet-scaffold/tests/__SolutionName__.Domain.Tests/obj/project.nuget.cache +0 -30
- package/template/dotnet-scaffold/tests/__SolutionName__.Infrastructure.Tests/bin/Debug/net10.0/.msCoverageSourceRootsMapping___SolutionName__.Infrastructure.Tests +0 -0
- package/template/dotnet-scaffold/tests/__SolutionName__.Infrastructure.Tests/obj/Debug/net10.0/__SolutionName__.Infrastructure.Tests.assets.cache +0 -0
- package/template/dotnet-scaffold/tests/__SolutionName__.Infrastructure.Tests/obj/Debug/net10.0/__SolutionName__.Infrastructure.Tests.csproj.AssemblyReference.cache +0 -0
- package/template/dotnet-scaffold/tests/__SolutionName__.Infrastructure.Tests/obj/__SolutionName__.Infrastructure.Tests.csproj.nuget.dgspec.json +0 -1412
- package/template/dotnet-scaffold/tests/__SolutionName__.Infrastructure.Tests/obj/__SolutionName__.Infrastructure.Tests.csproj.nuget.g.props +0 -26
- package/template/dotnet-scaffold/tests/__SolutionName__.Infrastructure.Tests/obj/__SolutionName__.Infrastructure.Tests.csproj.nuget.g.targets +0 -13
- package/template/dotnet-scaffold/tests/__SolutionName__.Infrastructure.Tests/obj/project.assets.json +0 -2130
- package/template/dotnet-scaffold/tests/__SolutionName__.Infrastructure.Tests/obj/project.nuget.cache +0 -38
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// PostToolUse hook: after any `adr` command, rebuild docs/adr/README.md from the
|
|
3
|
-
// ADR files themselves — one row per ADR with its title and current status.
|
|
4
|
-
//
|
|
5
|
-
// The index is fully derived, so it can never drift: every run re-reads the
|
|
6
|
-
// source. That is why there is no need to be clever about which adr subcommand
|
|
7
|
-
// ran, or to protect the file from being rewritten.
|
|
8
|
-
//
|
|
9
|
-
// Also runnable directly: node sync-adr-toc.cjs --write
|
|
10
|
-
//
|
|
11
|
-
// Fails open at exit 0 on any problem — a hook must never block a session.
|
|
12
|
-
|
|
13
|
-
const fs = require('fs');
|
|
14
|
-
const path = require('path');
|
|
15
|
-
|
|
16
|
-
const root = process.env.CLAUDE_PROJECT_DIR || process.cwd();
|
|
17
|
-
const ADR_FILE = /^\d+-.*\.md$/;
|
|
18
|
-
|
|
19
|
-
// adr-tools reads its directory from a committed `.adr-dir` (default `doc/adr`).
|
|
20
|
-
function adrDir() {
|
|
21
|
-
try {
|
|
22
|
-
return fs.readFileSync(path.join(root, '.adr-dir'), 'utf8').trim() || 'doc/adr';
|
|
23
|
-
} catch {
|
|
24
|
-
return 'doc/adr';
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// Was this Bash call an adr command? (`VISUAL=true EDITOR=true adr new …` counts;
|
|
29
|
-
// the internal `adr-new` script name does not, hence the required whitespace.)
|
|
30
|
-
function isAdrCommand() {
|
|
31
|
-
try {
|
|
32
|
-
const payload = JSON.parse(fs.readFileSync(0, 'utf8'));
|
|
33
|
-
return /\badr\s/.test(payload?.tool_input?.command || '');
|
|
34
|
-
} catch {
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// First line, minus the leading "# " and adr-tools' own number prefix — it writes
|
|
40
|
-
// "# 12: Use X over Y" for 0012-….md. Dropping the unpadded 12 keeps the padded
|
|
41
|
-
// stem in the ADR column the only number in the file, so nothing here can be
|
|
42
|
-
// mistaken for the stem `adr new -s` expects.
|
|
43
|
-
function title(body, fallback) {
|
|
44
|
-
const first = body.split(/\r?\n/)[0] || '';
|
|
45
|
-
return first.replace(/^#\s*(\d+\s*[:.]\s*)?/, '').trim() || fallback;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// First non-empty line of the `## Status` section. adr-tools maintains this:
|
|
49
|
-
// "Accepted", or "Superceded by [4: …](0004-….md)" after `adr new -s`.
|
|
50
|
-
function status(body) {
|
|
51
|
-
const lines = body.split(/\r?\n/);
|
|
52
|
-
const start = lines.findIndex((l) => /^##\s+Status\s*$/i.test(l));
|
|
53
|
-
if (start === -1) return 'Unknown';
|
|
54
|
-
for (const line of lines.slice(start + 1)) {
|
|
55
|
-
if (/^##\s/.test(line)) break;
|
|
56
|
-
if (line.trim()) return line.trim();
|
|
57
|
-
}
|
|
58
|
-
return 'Unknown';
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
function render(dir, files) {
|
|
62
|
-
const rows = files.map((name) => {
|
|
63
|
-
const body = fs.readFileSync(path.join(root, dir, name), 'utf8');
|
|
64
|
-
const stem = name.replace(/\.md$/, ''); // padded — what `adr new -s` needs
|
|
65
|
-
const cell = (s) => s.replace(/\|/g, '\\|'); // never break the table
|
|
66
|
-
return `| [${stem}](./${name}) | ${cell(title(body, stem))} | ${cell(status(body))} |`;
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
return [
|
|
70
|
-
'# Architecture Decision Records',
|
|
71
|
-
'',
|
|
72
|
-
'Generated from the ADR files by the `sync-adr-toc` hook — do not hand-edit.',
|
|
73
|
-
'',
|
|
74
|
-
'| ADR | Title | Status |',
|
|
75
|
-
'|-----|-------|--------|',
|
|
76
|
-
...rows,
|
|
77
|
-
'',
|
|
78
|
-
].join('\n');
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function main() {
|
|
82
|
-
if (!process.argv.includes('--write') && !isAdrCommand()) return;
|
|
83
|
-
|
|
84
|
-
const dir = adrDir();
|
|
85
|
-
const files = fs
|
|
86
|
-
.readdirSync(path.join(root, dir))
|
|
87
|
-
.filter((f) => ADR_FILE.test(f))
|
|
88
|
-
.sort();
|
|
89
|
-
if (files.length === 0) return;
|
|
90
|
-
|
|
91
|
-
const target = path.join(root, dir, 'README.md');
|
|
92
|
-
const next = render(dir, files);
|
|
93
|
-
|
|
94
|
-
let current = null;
|
|
95
|
-
try {
|
|
96
|
-
current = fs.readFileSync(target, 'utf8');
|
|
97
|
-
} catch {
|
|
98
|
-
/* no index yet */
|
|
99
|
-
}
|
|
100
|
-
if (current === next) return; // already in sync
|
|
101
|
-
|
|
102
|
-
fs.writeFileSync(target, next);
|
|
103
|
-
process.stdout.write(`Regenerated ${dir}/README.md (${files.length} ADRs).\n`);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
try {
|
|
107
|
-
main();
|
|
108
|
-
} catch {
|
|
109
|
-
/* fail open */
|
|
110
|
-
}
|
|
111
|
-
process.exit(0);
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// PostToolUse hook: after any `adr` command, rebuild docs/adr/README.md from the
|
|
3
|
+
// ADR files themselves — one row per ADR with its title and current status.
|
|
4
|
+
//
|
|
5
|
+
// The index is fully derived, so it can never drift: every run re-reads the
|
|
6
|
+
// source. That is why there is no need to be clever about which adr subcommand
|
|
7
|
+
// ran, or to protect the file from being rewritten.
|
|
8
|
+
//
|
|
9
|
+
// Also runnable directly: node sync-adr-toc.cjs --write
|
|
10
|
+
//
|
|
11
|
+
// Fails open at exit 0 on any problem — a hook must never block a session.
|
|
12
|
+
|
|
13
|
+
const fs = require('fs');
|
|
14
|
+
const path = require('path');
|
|
15
|
+
|
|
16
|
+
const root = process.env.CLAUDE_PROJECT_DIR || process.cwd();
|
|
17
|
+
const ADR_FILE = /^\d+-.*\.md$/;
|
|
18
|
+
|
|
19
|
+
// adr-tools reads its directory from a committed `.adr-dir` (default `doc/adr`).
|
|
20
|
+
function adrDir() {
|
|
21
|
+
try {
|
|
22
|
+
return fs.readFileSync(path.join(root, '.adr-dir'), 'utf8').trim() || 'doc/adr';
|
|
23
|
+
} catch {
|
|
24
|
+
return 'doc/adr';
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Was this Bash call an adr command? (`VISUAL=true EDITOR=true adr new …` counts;
|
|
29
|
+
// the internal `adr-new` script name does not, hence the required whitespace.)
|
|
30
|
+
function isAdrCommand() {
|
|
31
|
+
try {
|
|
32
|
+
const payload = JSON.parse(fs.readFileSync(0, 'utf8'));
|
|
33
|
+
return /\badr\s/.test(payload?.tool_input?.command || '');
|
|
34
|
+
} catch {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// First line, minus the leading "# " and adr-tools' own number prefix — it writes
|
|
40
|
+
// "# 12: Use X over Y" for 0012-….md. Dropping the unpadded 12 keeps the padded
|
|
41
|
+
// stem in the ADR column the only number in the file, so nothing here can be
|
|
42
|
+
// mistaken for the stem `adr new -s` expects.
|
|
43
|
+
function title(body, fallback) {
|
|
44
|
+
const first = body.split(/\r?\n/)[0] || '';
|
|
45
|
+
return first.replace(/^#\s*(\d+\s*[:.]\s*)?/, '').trim() || fallback;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// First non-empty line of the `## Status` section. adr-tools maintains this:
|
|
49
|
+
// "Accepted", or "Superceded by [4: …](0004-….md)" after `adr new -s`.
|
|
50
|
+
function status(body) {
|
|
51
|
+
const lines = body.split(/\r?\n/);
|
|
52
|
+
const start = lines.findIndex((l) => /^##\s+Status\s*$/i.test(l));
|
|
53
|
+
if (start === -1) return 'Unknown';
|
|
54
|
+
for (const line of lines.slice(start + 1)) {
|
|
55
|
+
if (/^##\s/.test(line)) break;
|
|
56
|
+
if (line.trim()) return line.trim();
|
|
57
|
+
}
|
|
58
|
+
return 'Unknown';
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function render(dir, files) {
|
|
62
|
+
const rows = files.map((name) => {
|
|
63
|
+
const body = fs.readFileSync(path.join(root, dir, name), 'utf8');
|
|
64
|
+
const stem = name.replace(/\.md$/, ''); // padded — what `adr new -s` needs
|
|
65
|
+
const cell = (s) => s.replace(/\|/g, '\\|'); // never break the table
|
|
66
|
+
return `| [${stem}](./${name}) | ${cell(title(body, stem))} | ${cell(status(body))} |`;
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
return [
|
|
70
|
+
'# Architecture Decision Records',
|
|
71
|
+
'',
|
|
72
|
+
'Generated from the ADR files by the `sync-adr-toc` hook — do not hand-edit.',
|
|
73
|
+
'',
|
|
74
|
+
'| ADR | Title | Status |',
|
|
75
|
+
'|-----|-------|--------|',
|
|
76
|
+
...rows,
|
|
77
|
+
'',
|
|
78
|
+
].join('\n');
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function main() {
|
|
82
|
+
if (!process.argv.includes('--write') && !isAdrCommand()) return;
|
|
83
|
+
|
|
84
|
+
const dir = adrDir();
|
|
85
|
+
const files = fs
|
|
86
|
+
.readdirSync(path.join(root, dir))
|
|
87
|
+
.filter((f) => ADR_FILE.test(f))
|
|
88
|
+
.sort();
|
|
89
|
+
if (files.length === 0) return;
|
|
90
|
+
|
|
91
|
+
const target = path.join(root, dir, 'README.md');
|
|
92
|
+
const next = render(dir, files);
|
|
93
|
+
|
|
94
|
+
let current = null;
|
|
95
|
+
try {
|
|
96
|
+
current = fs.readFileSync(target, 'utf8');
|
|
97
|
+
} catch {
|
|
98
|
+
/* no index yet */
|
|
99
|
+
}
|
|
100
|
+
if (current === next) return; // already in sync
|
|
101
|
+
|
|
102
|
+
fs.writeFileSync(target, next);
|
|
103
|
+
process.stdout.write(`Regenerated ${dir}/README.md (${files.length} ADRs).\n`);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
try {
|
|
107
|
+
main();
|
|
108
|
+
} catch {
|
|
109
|
+
/* fail open */
|
|
110
|
+
}
|
|
111
|
+
process.exit(0);
|
|
@@ -13,7 +13,7 @@ using System.Reflection;
|
|
|
13
13
|
[assembly: System.Reflection.AssemblyCompanyAttribute("__SolutionName__.Api")]
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
|
16
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+
|
|
16
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+addeb6d651f63e02add936c1b3ac79b7bbed4cc0")]
|
|
17
17
|
[assembly: System.Reflection.AssemblyProductAttribute("__SolutionName__.Api")]
|
|
18
18
|
[assembly: System.Reflection.AssemblyTitleAttribute("__SolutionName__.Api")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4298d8a040ee36c6ecb7c12883cbdc1381c7f7abfe52e4eb6c9292c35d1cfb06
|
|
@@ -13,7 +13,7 @@ using System.Reflection;
|
|
|
13
13
|
[assembly: System.Reflection.AssemblyCompanyAttribute("__SolutionName__.Application")]
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
|
16
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+
|
|
16
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+addeb6d651f63e02add936c1b3ac79b7bbed4cc0")]
|
|
17
17
|
[assembly: System.Reflection.AssemblyProductAttribute("__SolutionName__.Application")]
|
|
18
18
|
[assembly: System.Reflection.AssemblyTitleAttribute("__SolutionName__.Application")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2858fe6c560a4383868ed18aead8a02110a0c12921a1b85eb8ab064e413819cc
|
|
@@ -13,7 +13,7 @@ using System.Reflection;
|
|
|
13
13
|
[assembly: System.Reflection.AssemblyCompanyAttribute("__SolutionName__.Domain")]
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
|
16
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+
|
|
16
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+addeb6d651f63e02add936c1b3ac79b7bbed4cc0")]
|
|
17
17
|
[assembly: System.Reflection.AssemblyProductAttribute("__SolutionName__.Domain")]
|
|
18
18
|
[assembly: System.Reflection.AssemblyTitleAttribute("__SolutionName__.Domain")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
429d4931ac2f73372c96b6ad92f5296a812f4266472e3f1700b41d7ff3f16f41
|
|
@@ -13,7 +13,7 @@ using System.Reflection;
|
|
|
13
13
|
[assembly: System.Reflection.AssemblyCompanyAttribute("__SolutionName__.Infrastructure")]
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
|
16
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+
|
|
16
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+addeb6d651f63e02add936c1b3ac79b7bbed4cc0")]
|
|
17
17
|
[assembly: System.Reflection.AssemblyProductAttribute("__SolutionName__.Infrastructure")]
|
|
18
18
|
[assembly: System.Reflection.AssemblyTitleAttribute("__SolutionName__.Infrastructure")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
efbdd4614b485271e16ce1ca7ad96622df5383e04e0fa32fbbdd4a1558d20291
|
|
@@ -13,7 +13,7 @@ using System.Reflection;
|
|
|
13
13
|
[assembly: System.Reflection.AssemblyCompanyAttribute("__SolutionName__.Api.Tests")]
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
|
16
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+
|
|
16
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+addeb6d651f63e02add936c1b3ac79b7bbed4cc0")]
|
|
17
17
|
[assembly: System.Reflection.AssemblyProductAttribute("__SolutionName__.Api.Tests")]
|
|
18
18
|
[assembly: System.Reflection.AssemblyTitleAttribute("__SolutionName__.Api.Tests")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
92457f55822f171c7b3da491e4d5178c90067407c26c65adf10581c3c6ac96b7
|
|
@@ -13,7 +13,7 @@ using System.Reflection;
|
|
|
13
13
|
[assembly: System.Reflection.AssemblyCompanyAttribute("__SolutionName__.Application.Tests")]
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
|
16
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+
|
|
16
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+addeb6d651f63e02add936c1b3ac79b7bbed4cc0")]
|
|
17
17
|
[assembly: System.Reflection.AssemblyProductAttribute("__SolutionName__.Application.Tests")]
|
|
18
18
|
[assembly: System.Reflection.AssemblyTitleAttribute("__SolutionName__.Application.Tests")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ab5de698211e12b855c41377f80f45c07d828aab22a4c00d93a14cece1c8eac4
|
|
@@ -13,7 +13,7 @@ using System.Reflection;
|
|
|
13
13
|
[assembly: System.Reflection.AssemblyCompanyAttribute("__SolutionName__.Domain.Tests")]
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
|
16
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+
|
|
16
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+addeb6d651f63e02add936c1b3ac79b7bbed4cc0")]
|
|
17
17
|
[assembly: System.Reflection.AssemblyProductAttribute("__SolutionName__.Domain.Tests")]
|
|
18
18
|
[assembly: System.Reflection.AssemblyTitleAttribute("__SolutionName__.Domain.Tests")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ce3c158015ef4927da9002b18c57bb2fb5a0265d0b907e0f6720f86daafbc84a
|
|
@@ -13,7 +13,7 @@ using System.Reflection;
|
|
|
13
13
|
[assembly: System.Reflection.AssemblyCompanyAttribute("__SolutionName__.Infrastructure.Tests")]
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
|
16
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+
|
|
16
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+addeb6d651f63e02add936c1b3ac79b7bbed4cc0")]
|
|
17
17
|
[assembly: System.Reflection.AssemblyProductAttribute("__SolutionName__.Infrastructure.Tests")]
|
|
18
18
|
[assembly: System.Reflection.AssemblyTitleAttribute("__SolutionName__.Infrastructure.Tests")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a0e0dba389287846acaf1c83c8152653d3b51188a2cac1d4afd9692cc3540e23
|