mandrel 2.80.0 → 2.82.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/.agents/audit-checklists/security.md +15 -1
- package/.agents/docs/agentrc-reference.json +1 -0
- package/.agents/docs/configuration.md +3 -2
- package/.agents/docs/execution-reference.md +25 -5
- package/.agents/docs/workflows.md +1 -1
- package/.agents/schemas/agentrc.schema.json +12 -2
- package/.agents/schemas/audit-rules.json +10 -1
- package/.agents/scripts/deliver-run.js +43 -8
- package/.agents/scripts/lib/audit-to-stories/parse-audit-md.js +49 -24
- package/.agents/scripts/lib/baselines/duplication-scanner.js +16 -6
- package/.agents/scripts/lib/baselines/refresh-service.js +6 -0
- package/.agents/scripts/lib/bootstrap/manifest.js +128 -159
- package/.agents/scripts/lib/cli-args.js +16 -2
- package/.agents/scripts/lib/config/gates/duplication.schema.js +10 -2
- package/.agents/scripts/lib/generated/agentrc-validator.js +1 -1
- package/.agents/scripts/lib/observability/close-telemetry.js +17 -2
- package/.agents/scripts/lib/orchestration/complexity-gate.js +58 -11
- package/.agents/scripts/lib/orchestration/git-cleanup/phases/cli.js +31 -27
- package/.agents/scripts/lib/orchestration/git-cleanup/phases/render.js +25 -21
- package/.agents/scripts/lib/orchestration/plan-persist/run-plan-persist.js +51 -6
- package/.agents/scripts/lib/orchestration/plan-persist/source-rewrite.js +177 -0
- package/.agents/scripts/lib/orchestration/plan-persist/story-ops.js +174 -43
- package/.agents/scripts/lib/orchestration/plan-persist/supersede-ops.js +57 -15
- package/.agents/scripts/lib/orchestration/pr-watch-poll.js +107 -0
- package/.agents/scripts/lib/orchestration/pr-watch.js +168 -235
- package/.agents/scripts/lib/orchestration/reassert-status-column.js +102 -72
- package/.agents/scripts/lib/orchestration/resolve-stories.js +12 -3
- package/.agents/scripts/lib/orchestration/resume-effort.js +121 -0
- package/.agents/scripts/lib/orchestration/single-story-close/phases/options.js +13 -2
- package/.agents/scripts/lib/orchestration/single-story-close/phases/post-land.js +21 -3
- package/.agents/scripts/lib/orchestration/single-story-close/phases/pre-gate-steps.js +44 -2
- package/.agents/scripts/lib/orchestration/single-story-close/runner.js +10 -2
- package/.agents/scripts/lib/orchestration/story-close/duplication-close-rescore.js +257 -0
- package/.agents/scripts/lib/orchestration/story-close/ratchet-shrink-writeback.js +341 -0
- package/.agents/scripts/lib/orchestration/ticketing/reads.js +3 -0
- package/.agents/scripts/lib/orchestration/ticketing.js +0 -9
- package/.agents/scripts/plan-persist.js +20 -6
- package/.agents/scripts/providers/github/tickets.js +2 -1
- package/.agents/scripts/resolve-stories.js +8 -2
- package/.agents/scripts/single-story-close.js +11 -3
- package/.agents/workflows/audit-security.md +136 -49
- package/.agents/workflows/helpers/deliver-reference.md +7 -2
- package/.agents/workflows/helpers/deliver-story.md +5 -3
- package/.agents/workflows/helpers/plan-reference.md +42 -2
- package/.agents/workflows/mandrel-deliver.md +9 -4
- package/.agents/workflows/mandrel-plan.md +7 -1
- package/docs/CHANGELOG.md +35 -0
- package/package.json +2 -1
|
@@ -21,20 +21,6 @@ export const PHASE_GROUPS = Object.freeze({
|
|
|
21
21
|
QUALITY_GATES: 'quality-gates',
|
|
22
22
|
});
|
|
23
23
|
|
|
24
|
-
/** @type {ReadonlySet<string>} */
|
|
25
|
-
export const PHASE_GROUP_VALUES = Object.freeze(
|
|
26
|
-
new Set(Object.values(PHASE_GROUPS)),
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
/** @type {readonly string[]} */
|
|
30
|
-
export const MANIFEST_ENTRY_FIELDS = Object.freeze([
|
|
31
|
-
'phaseGroup',
|
|
32
|
-
'target',
|
|
33
|
-
'action',
|
|
34
|
-
'detail',
|
|
35
|
-
'reversible',
|
|
36
|
-
]);
|
|
37
|
-
|
|
38
24
|
/**
|
|
39
25
|
* @typedef {object} MutationManifestEntry
|
|
40
26
|
* @property {'ide-wiring'|'repo-config'|'github-admin'|'quality-gates'} phaseGroup
|
|
@@ -44,6 +30,128 @@ export const MANIFEST_ENTRY_FIELDS = Object.freeze([
|
|
|
44
30
|
* @property {boolean} reversible — false for remote-admin mutations.
|
|
45
31
|
*/
|
|
46
32
|
|
|
33
|
+
const rel = (...parts) => path.posix.join(...parts);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @param {MutationManifestEntry['phaseGroup']} phaseGroup
|
|
37
|
+
* @param {boolean} reversible
|
|
38
|
+
* @returns {(target: string, action: string, detail: string) => MutationManifestEntry}
|
|
39
|
+
*/
|
|
40
|
+
function entryFor(phaseGroup, reversible) {
|
|
41
|
+
return (target, action, detail) => ({
|
|
42
|
+
phaseGroup,
|
|
43
|
+
target,
|
|
44
|
+
action,
|
|
45
|
+
detail,
|
|
46
|
+
reversible,
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function ideWiringEntries() {
|
|
51
|
+
const e = entryFor(PHASE_GROUPS.IDE_WIRING, true);
|
|
52
|
+
return [
|
|
53
|
+
e(
|
|
54
|
+
rel('AGENTS.md'),
|
|
55
|
+
'merge',
|
|
56
|
+
'Wire the @.agents/instructions.md system-prompt import into AGENTS.md (folding any CLAUDE.md into it) so Claude Code hydrates the framework on cold start.',
|
|
57
|
+
),
|
|
58
|
+
e(
|
|
59
|
+
rel('.claude', 'commands'),
|
|
60
|
+
'run',
|
|
61
|
+
'Generate the flat command surface (/<name>) from .agents/workflows/.',
|
|
62
|
+
),
|
|
63
|
+
e(
|
|
64
|
+
rel('.gitignore'),
|
|
65
|
+
'merge',
|
|
66
|
+
'Ignore the .claude/commands/ and .claude/agents/ projections (generated by prepare), .mcp.json + .env (carry secrets), and the per-clone install ledger.',
|
|
67
|
+
),
|
|
68
|
+
];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function repoConfigEntries() {
|
|
72
|
+
const e = entryFor(PHASE_GROUPS.REPO_CONFIG, true);
|
|
73
|
+
// git-init is the most irreversible local mutation; the ledger must record it.
|
|
74
|
+
const gitInit = entryFor(PHASE_GROUPS.REPO_CONFIG, false)(
|
|
75
|
+
rel('.git'),
|
|
76
|
+
'run',
|
|
77
|
+
'Initialize the local git repository (git init + first commit) when absent. No-op when already a git repo.',
|
|
78
|
+
);
|
|
79
|
+
return [
|
|
80
|
+
gitInit,
|
|
81
|
+
e(
|
|
82
|
+
rel('package.json'),
|
|
83
|
+
'merge',
|
|
84
|
+
'Seed/merge the sync:commands, sync:agents, prepare, and bootstrap npm scripts. `prepare` is guarded: it exits 0 without writing when .agents/scripts/ is absent (a manifest-only container `npm ci`), and otherwise regenerates the .claude/commands/ and .claude/agents/ projections — both gitignored.',
|
|
85
|
+
),
|
|
86
|
+
e(
|
|
87
|
+
rel('.agentrc.json'),
|
|
88
|
+
'create',
|
|
89
|
+
'Seed .agentrc.json from the bundled starter with the operator-supplied owner/repo/handle/base-branch.',
|
|
90
|
+
),
|
|
91
|
+
e(
|
|
92
|
+
rel('.github', 'ISSUE_TEMPLATE'),
|
|
93
|
+
'create',
|
|
94
|
+
'Generate the Story/Epic GitHub Issue Forms from the body SSOT so human-filed tickets round-trip through story-body.parse(). Operator-edited forms are preserved.',
|
|
95
|
+
),
|
|
96
|
+
];
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function qualityGateEntries() {
|
|
100
|
+
const e = entryFor(PHASE_GROUPS.QUALITY_GATES, true);
|
|
101
|
+
return [
|
|
102
|
+
e(
|
|
103
|
+
rel('.husky', 'pre-commit'),
|
|
104
|
+
'configure',
|
|
105
|
+
'Install the quality:preview pre-commit hook that blocks MI/CRAP drift at commit time.',
|
|
106
|
+
),
|
|
107
|
+
e(
|
|
108
|
+
rel('package.json'),
|
|
109
|
+
'merge',
|
|
110
|
+
'Add the quality:preview and quality:watch npm scripts.',
|
|
111
|
+
),
|
|
112
|
+
e(
|
|
113
|
+
rel('.agentrc.json'),
|
|
114
|
+
'merge',
|
|
115
|
+
'Seed delivery.quality coding-guardrails and auto-refresh defaults.',
|
|
116
|
+
),
|
|
117
|
+
];
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
function githubAdminEntries(answers) {
|
|
121
|
+
const repoSlug =
|
|
122
|
+
answers?.owner && answers?.repo
|
|
123
|
+
? `${answers.owner}/${answers.repo}`
|
|
124
|
+
: 'the GitHub repository';
|
|
125
|
+
const e = entryFor(PHASE_GROUPS.GITHUB_ADMIN, false);
|
|
126
|
+
return [
|
|
127
|
+
e(
|
|
128
|
+
`${repoSlug} (repo)`,
|
|
129
|
+
'create',
|
|
130
|
+
'Create the GitHub repository (gh repo create --source=. --push) when absent. No-op when already pushed.',
|
|
131
|
+
),
|
|
132
|
+
e(
|
|
133
|
+
`${repoSlug} labels`,
|
|
134
|
+
'create',
|
|
135
|
+
'Create the framework ticket-lifecycle labels (type::*, agent::*, meta::*, …).',
|
|
136
|
+
),
|
|
137
|
+
e(
|
|
138
|
+
`${repoSlug} Projects V2`,
|
|
139
|
+
'configure',
|
|
140
|
+
'Create/adopt the Projects V2 board, status field, and saved views.',
|
|
141
|
+
),
|
|
142
|
+
e(
|
|
143
|
+
`${repoSlug} branch protection`,
|
|
144
|
+
'configure',
|
|
145
|
+
'Apply the required-status-check branch-protection rule to the base branch.',
|
|
146
|
+
),
|
|
147
|
+
e(
|
|
148
|
+
`${repoSlug} merge methods`,
|
|
149
|
+
'configure',
|
|
150
|
+
'Set the allowed pull-request merge methods to the framework stance (squash-only, auto-merge enabled).',
|
|
151
|
+
),
|
|
152
|
+
];
|
|
153
|
+
}
|
|
154
|
+
|
|
47
155
|
/**
|
|
48
156
|
* File targets are POSIX paths so output is platform-identical; the group
|
|
49
157
|
* set honours the same flags the executing pipeline does.
|
|
@@ -55,149 +163,10 @@ export const MANIFEST_ENTRY_FIELDS = Object.freeze([
|
|
|
55
163
|
* @returns {MutationManifestEntry[]}
|
|
56
164
|
*/
|
|
57
165
|
export function buildMutationManifest(ctx = {}) {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
phaseGroup: PHASE_GROUPS.IDE_WIRING,
|
|
65
|
-
target: rel('AGENTS.md'),
|
|
66
|
-
action: 'merge',
|
|
67
|
-
detail:
|
|
68
|
-
'Wire the @.agents/instructions.md system-prompt import into AGENTS.md (folding any CLAUDE.md into it) so Claude Code hydrates the framework on cold start.',
|
|
69
|
-
reversible: true,
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
phaseGroup: PHASE_GROUPS.IDE_WIRING,
|
|
73
|
-
target: rel('.claude', 'commands'),
|
|
74
|
-
action: 'run',
|
|
75
|
-
detail:
|
|
76
|
-
'Generate the flat command surface (/<name>) from .agents/workflows/.',
|
|
77
|
-
reversible: true,
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
phaseGroup: PHASE_GROUPS.IDE_WIRING,
|
|
81
|
-
target: rel('.gitignore'),
|
|
82
|
-
action: 'merge',
|
|
83
|
-
detail:
|
|
84
|
-
'Ignore the .claude/commands/ and .claude/agents/ projections (generated by prepare), .mcp.json + .env (carry secrets), and the per-clone install ledger.',
|
|
85
|
-
reversible: true,
|
|
86
|
-
},
|
|
87
|
-
);
|
|
88
|
-
|
|
89
|
-
// git-init is the most irreversible local mutation; the ledger must record it.
|
|
90
|
-
entries.push(
|
|
91
|
-
{
|
|
92
|
-
phaseGroup: PHASE_GROUPS.REPO_CONFIG,
|
|
93
|
-
target: rel('.git'),
|
|
94
|
-
action: 'run',
|
|
95
|
-
detail:
|
|
96
|
-
'Initialize the local git repository (git init + first commit) when absent. No-op when already a git repo.',
|
|
97
|
-
reversible: false,
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
phaseGroup: PHASE_GROUPS.REPO_CONFIG,
|
|
101
|
-
target: rel('package.json'),
|
|
102
|
-
action: 'merge',
|
|
103
|
-
detail:
|
|
104
|
-
'Seed/merge the sync:commands, sync:agents, prepare, and bootstrap npm scripts. `prepare` is guarded: it exits 0 without writing when .agents/scripts/ is absent (a manifest-only container `npm ci`), and otherwise regenerates the .claude/commands/ and .claude/agents/ projections — both gitignored.',
|
|
105
|
-
reversible: true,
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
phaseGroup: PHASE_GROUPS.REPO_CONFIG,
|
|
109
|
-
target: rel('.agentrc.json'),
|
|
110
|
-
action: 'create',
|
|
111
|
-
detail:
|
|
112
|
-
'Seed .agentrc.json from the bundled starter with the operator-supplied owner/repo/handle/base-branch.',
|
|
113
|
-
reversible: true,
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
phaseGroup: PHASE_GROUPS.REPO_CONFIG,
|
|
117
|
-
target: rel('.github', 'ISSUE_TEMPLATE'),
|
|
118
|
-
action: 'create',
|
|
119
|
-
detail:
|
|
120
|
-
'Generate the Story/Epic GitHub Issue Forms from the body SSOT so human-filed tickets round-trip through story-body.parse(). Operator-edited forms are preserved.',
|
|
121
|
-
reversible: true,
|
|
122
|
-
},
|
|
123
|
-
);
|
|
124
|
-
|
|
125
|
-
if (ctx.withQuality) {
|
|
126
|
-
entries.push(
|
|
127
|
-
{
|
|
128
|
-
phaseGroup: PHASE_GROUPS.QUALITY_GATES,
|
|
129
|
-
target: rel('.husky', 'pre-commit'),
|
|
130
|
-
action: 'configure',
|
|
131
|
-
detail:
|
|
132
|
-
'Install the quality:preview pre-commit hook that blocks MI/CRAP drift at commit time.',
|
|
133
|
-
reversible: true,
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
phaseGroup: PHASE_GROUPS.QUALITY_GATES,
|
|
137
|
-
target: rel('package.json'),
|
|
138
|
-
action: 'merge',
|
|
139
|
-
detail: 'Add the quality:preview and quality:watch npm scripts.',
|
|
140
|
-
reversible: true,
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
phaseGroup: PHASE_GROUPS.QUALITY_GATES,
|
|
144
|
-
target: rel('.agentrc.json'),
|
|
145
|
-
action: 'merge',
|
|
146
|
-
detail:
|
|
147
|
-
'Seed delivery.quality coding-guardrails and auto-refresh defaults.',
|
|
148
|
-
reversible: true,
|
|
149
|
-
},
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
if (!ctx.skipGithub) {
|
|
154
|
-
const repoSlug =
|
|
155
|
-
ctx.answers?.owner && ctx.answers?.repo
|
|
156
|
-
? `${ctx.answers.owner}/${ctx.answers.repo}`
|
|
157
|
-
: 'the GitHub repository';
|
|
158
|
-
entries.push(
|
|
159
|
-
{
|
|
160
|
-
phaseGroup: PHASE_GROUPS.GITHUB_ADMIN,
|
|
161
|
-
target: `${repoSlug} (repo)`,
|
|
162
|
-
action: 'create',
|
|
163
|
-
detail:
|
|
164
|
-
'Create the GitHub repository (gh repo create --source=. --push) when absent. No-op when already pushed.',
|
|
165
|
-
reversible: false,
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
phaseGroup: PHASE_GROUPS.GITHUB_ADMIN,
|
|
169
|
-
target: `${repoSlug} labels`,
|
|
170
|
-
action: 'create',
|
|
171
|
-
detail:
|
|
172
|
-
'Create the framework ticket-lifecycle labels (type::*, agent::*, meta::*, …).',
|
|
173
|
-
reversible: false,
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
phaseGroup: PHASE_GROUPS.GITHUB_ADMIN,
|
|
177
|
-
target: `${repoSlug} Projects V2`,
|
|
178
|
-
action: 'configure',
|
|
179
|
-
detail:
|
|
180
|
-
'Create/adopt the Projects V2 board, status field, and saved views.',
|
|
181
|
-
reversible: false,
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
phaseGroup: PHASE_GROUPS.GITHUB_ADMIN,
|
|
185
|
-
target: `${repoSlug} branch protection`,
|
|
186
|
-
action: 'configure',
|
|
187
|
-
detail:
|
|
188
|
-
'Apply the required-status-check branch-protection rule to the base branch.',
|
|
189
|
-
reversible: false,
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
phaseGroup: PHASE_GROUPS.GITHUB_ADMIN,
|
|
193
|
-
target: `${repoSlug} merge methods`,
|
|
194
|
-
action: 'configure',
|
|
195
|
-
detail:
|
|
196
|
-
'Set the allowed pull-request merge methods to the framework stance (squash-only, auto-merge enabled).',
|
|
197
|
-
reversible: false,
|
|
198
|
-
},
|
|
199
|
-
);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
return entries;
|
|
166
|
+
return [
|
|
167
|
+
...ideWiringEntries(),
|
|
168
|
+
...repoConfigEntries(),
|
|
169
|
+
...(ctx.withQuality ? qualityGateEntries() : []),
|
|
170
|
+
...(ctx.skipGithub ? [] : githubAdminEntries(ctx.answers)),
|
|
171
|
+
];
|
|
203
172
|
}
|
|
@@ -177,6 +177,20 @@ export function parseWorkerModel(value) {
|
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
+
/**
|
|
181
|
+
* The story-worker figures close records, raw — validated by the runner.
|
|
182
|
+
*
|
|
183
|
+
* @param {Record<string, unknown>} values
|
|
184
|
+
* @returns {{ workerTokens: unknown, workerModel: unknown, workerEffort: unknown }}
|
|
185
|
+
*/
|
|
186
|
+
function workerFields(values) {
|
|
187
|
+
return {
|
|
188
|
+
workerTokens: values['worker-tokens'],
|
|
189
|
+
workerModel: values['worker-model'],
|
|
190
|
+
workerEffort: values['worker-effort'],
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
|
|
180
194
|
/**
|
|
181
195
|
* Throws when a validating flag parser rejects a value; error handlers use
|
|
182
196
|
* {@link parseSprintArgsTolerant} instead of re-calling this.
|
|
@@ -210,6 +224,7 @@ export function parseSprintArgs(
|
|
|
210
224
|
'override-review-block': { type: 'string' },
|
|
211
225
|
'worker-tokens': { type: 'string' },
|
|
212
226
|
'worker-model': { type: 'string' },
|
|
227
|
+
'worker-effort': { type: 'string' },
|
|
213
228
|
executor: { type: 'string' },
|
|
214
229
|
cwd: { type: 'string' },
|
|
215
230
|
'recut-of': { type: 'string' },
|
|
@@ -240,8 +255,7 @@ export function parseSprintArgs(
|
|
|
240
255
|
overrideReviewBlock: tolerant
|
|
241
256
|
? tolerantOverrideReviewBlock(values['override-review-block'])
|
|
242
257
|
: parseOverrideReviewBlock(values['override-review-block']),
|
|
243
|
-
|
|
244
|
-
workerModel: values['worker-model'],
|
|
258
|
+
...workerFields(values),
|
|
245
259
|
executor: values.executor ?? null,
|
|
246
260
|
cwd:
|
|
247
261
|
(typeof values.cwd === 'string' && values.cwd.trim()) ||
|
|
@@ -5,7 +5,7 @@ import { gateBase, LIST_OR_EXTENDER_OF_STRINGS } from './shared.js';
|
|
|
5
5
|
export const DUPLICATION_GATE = {
|
|
6
6
|
type: 'object',
|
|
7
7
|
description:
|
|
8
|
-
'Code-duplication (DRY) gate (Story #3664). Shares the gate base and adds the scan-scope extras: the `targetDirs` the duplication scanner walks and `ignoreGlobs` to exclude files from the scan.',
|
|
8
|
+
'Code-duplication (DRY) gate (Story #3664). Shares the gate base and adds the scan-scope extras: the `targetDirs` the duplication scanner walks, the jscpd `formats` it reads there, and `ignoreGlobs` to exclude files from the scan.',
|
|
9
9
|
properties: {
|
|
10
10
|
...gateBase({
|
|
11
11
|
enabled: false,
|
|
@@ -16,9 +16,17 @@ export const DUPLICATION_GATE = {
|
|
|
16
16
|
targetDirs: {
|
|
17
17
|
...LIST_OR_EXTENDER_OF_STRINGS,
|
|
18
18
|
description:
|
|
19
|
-
"Directories whose
|
|
19
|
+
"Directories whose sources — the languages `formats` selects — the duplication (DRY) gate scans for copy-paste clones. Mandrel ships a `src/`-centric default; projects whose executable code lives elsewhere (e.g. this repo's `.agents/scripts/`) override here. The framework default is intentionally not auto-discovered, so an override is the explicit, auditable signal (Story #3664).",
|
|
20
20
|
default: ['src'],
|
|
21
21
|
},
|
|
22
|
+
formats: {
|
|
23
|
+
type: 'array',
|
|
24
|
+
items: { type: 'string', minLength: 1 },
|
|
25
|
+
minItems: 1,
|
|
26
|
+
description:
|
|
27
|
+
"jscpd format names the duplication (DRY) gate scans under `targetDirs`. The default covers JavaScript, JSX, TypeScript and TSX; jscpd's `javascript` format alone reads only `.js`/`.es`/`.es6`/`.mjs`/`.cjs`. Names are jscpd's own vocabulary and are not restricted here. Widening the set adds rows, so re-seat the baseline with `npm run duplication:reanchor` after changing it.",
|
|
28
|
+
default: ['javascript', 'jsx', 'typescript', 'tsx'],
|
|
29
|
+
},
|
|
22
30
|
ignoreGlobs: {
|
|
23
31
|
type: 'array',
|
|
24
32
|
items: { type: 'string', minLength: 1 },
|