@mark1russell7/conventions 0.11.0 → 0.12.1
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/README.md +1 -1
- package/build/cli.js +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -1
- package/build/{run-BRZBN04H.js → run-CKf71WQx.js} +78 -16
- package/build/run-CKf71WQx.js.map +1 -0
- package/package.json +1 -1
- package/build/run-BRZBN04H.js.map +0 -1
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ The rules come from the invariants audit of 2026-10-26 (strategy item s38). The
|
|
|
55
55
|
| `runner-budget` | All repositories of the account share 40 runners. Each `strategy` with a `matrix` has a `max-parallel` of 3 or less. Each workflow has a concurrency group at the top or in each job. A job that calls a shared workflow of the option `grouped` gets its group from that workflow, and each job of that workflow has a group. The minute of each `cron` comes from a hash of the repository and the file (1 to 59), so the schedules of the repositories do not start together. The repository comes from `GITHUB_REPOSITORY` or from the remote `origin`. | fleet `runner-slots` (STRATEGY.md, 2026-10-30). |
|
|
56
56
|
| `gate-trigger` | No workflow has `paths` or `paths-ignore` on `on.pull_request` or `on.pull_request_target`. The ruleset needs the summary check `<Name> OK` of each gate, and a workflow with a path filter does not start on each pull request. Then its check is not there, the ruleset cannot ask for it, and a pull request can merge before the gate ends. A gate uses the actions `changes` and `gate-summary` of the template (`CI.md`, "A gate with paths"). | fleet `gate-trigger` (STRATEGY.md, 2026-11-02). |
|
|
57
57
|
|
|
58
|
-
The rule `release-files` needs the base of the change. On a pull request, the checkout is a merge commit, and the rule reads its two parents (`fetch-depth` 2 or more). In other runs, give `--base <ref>`. Without a base, the rule shows `skip`.
|
|
58
|
+
The rule `release-files` needs the base of the change. On a pull request, the checkout is a merge commit, and the rule reads its two parents (`fetch-depth` 2 or more). In other runs, give `--base <ref>`. Without a base, the rule shows `skip`. The rule also needs each commit of the change. A shallow checkout can end inside the change. Then the authors and the messages that the rule reads are not those of the change, so the rule shows `error`. A pull request of one commit is complete at depth 2. For a longer one, the CI of the template deepens the checkout to the merge base.
|
|
59
59
|
|
|
60
60
|
## Configuration
|
|
61
61
|
|
package/build/cli.js
CHANGED
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/rule.ts","../src/config.ts","../src/rules/cue-preset.ts","../src/rules/gate-trigger.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/rules/no-local-paths.ts","../src/rules/pinned-git-deps.ts","../src/rules/release-files.ts","../src/rules/required-scripts.ts","../src/rules/roadmap-parses.ts","../src/rules/runner-budget.ts","../src/rules/source-main.ts","../src/rules/tests-required.ts","../src/rules/tsconfig-test.ts","../src/rules/typed-files.ts","../src/rules/typed-scripts.ts","../src/rules/trust-policy.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/run.ts","../src/workspace.ts"],"mappings":";UASiB;WACN;WACA;WACA;;;UAIM;;WAEN;;WAEA;WACA;;WAEA;;WAEA,iBAAiB;;;;;;UAOX;;WAEN;;WAEA;;WAEA;;;wBAIK,YAAY,cAAc,cAAc;;KAQ5C;;KAGA,UAAU,SAAS,eAAe;;UAG7B;WACN;WACA,SAAS;WACT;;;KAIC,WAAW,SAAS;;UAGf;;WAEN;;WAEA;;WAEA;;WAEA;WACA,UAAU;;;UAIJ;;WAEN;;WAEA,aAAa;;WAEb,mBAAmB;;WAEnB,KAAK,SAAS;;WAEd;;EAET;;EAEA,IAAI;;;KAIM,uBAAuB;WAAqB;;;UAGvC;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB,SAAS,SAAS,eAAe;EAC1C,MAAM,SAAS,aAAa,SAAS,UAAU;;;qBAIpC;;wBAGG,aAAa,UAAU,UAAU;;wBAOjC,OAAO,cAAc,gBAAgB;;wBAOrC,QAAQ,cAAc,eAAe;;qBAMxC,WAAY,gBAAgB;;qBAG5B,YAAa;;wBAGV,WAAW,cAAc;;;;;;wBASzB,WAAW;;wBA2BX,UAAU;;wBAUV,OAAO,cAAc;;qBAOxB,UAAW,aAAa;;;;;wBAMrB,aAAa,SAAS,KAAK,oDAAoD;;UCrM9E;;WAEN;;WAEA;;WAEA;;WAEA,SAAS;;;UAIH;;WAEN;;WAEA,OAAO,SAAS,eAAe;;;wBAW1B,eAAe,MAAM,OAAO;;;;;;;wBAU5B,YAAY,gBAAgB,gBAAgB,SAAS;;qBCnCxD;qBA2FA,WAAW;;UCtFP;WACN;WACA;WACA;;;wBAIK,cAAc,eAAe;;qBAoBhC;;wBAgCG,YAAY;;;;;;;wBAkBZ,YAAY,cAAc,cAAc;EAAoC;;EAAmB;;qBA8IlG,aAAa;;qBC1Nb;;wBA6BG,kBAAkB;qBAiFrB,WAAW;qBCxHX,eAAe;;qBCYf;;qBAGA,wBAAwB;qBAOxB,cAAc;;wBCnBX,eAAe;;;;;wBAaf,SAAS,cAAc;qBAqB1B,eAAe;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/rule.ts","../src/config.ts","../src/rules/cue-preset.ts","../src/rules/gate-trigger.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/rules/no-local-paths.ts","../src/rules/pinned-git-deps.ts","../src/rules/release-files.ts","../src/rules/required-scripts.ts","../src/rules/roadmap-parses.ts","../src/rules/runner-budget.ts","../src/rules/source-main.ts","../src/rules/tests-required.ts","../src/rules/tsconfig-test.ts","../src/rules/typed-files.ts","../src/rules/typed-scripts.ts","../src/rules/trust-policy.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/run.ts","../src/workspace.ts"],"mappings":";UASiB;WACN;WACA;WACA;;;UAIM;;WAEN;;WAEA;WACA;;WAEA;;WAEA,iBAAiB;;;;;;UAOX;;WAEN;;WAEA;;WAEA;;;wBAIK,YAAY,cAAc,cAAc;;KAQ5C;;KAGA,UAAU,SAAS,eAAe;;UAG7B;WACN;WACA,SAAS;WACT;;;KAIC,WAAW,SAAS;;UAGf;;WAEN;;WAEA;;WAEA;;WAEA;WACA,UAAU;;;UAIJ;;WAEN;;WAEA,aAAa;;WAEb,mBAAmB;;WAEnB,KAAK,SAAS;;WAEd;;EAET;;EAEA,IAAI;;;KAIM,uBAAuB;WAAqB;;;UAGvC;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB,SAAS,SAAS,eAAe;EAC1C,MAAM,SAAS,aAAa,SAAS,UAAU;;;qBAIpC;;wBAGG,aAAa,UAAU,UAAU;;wBAOjC,OAAO,cAAc,gBAAgB;;wBAOrC,QAAQ,cAAc,eAAe;;qBAMxC,WAAY,gBAAgB;;qBAG5B,YAAa;;wBAGV,WAAW,cAAc;;;;;;wBASzB,WAAW;;wBA2BX,UAAU;;wBAUV,OAAO,cAAc;;qBAOxB,UAAW,aAAa;;;;;wBAMrB,aAAa,SAAS,KAAK,oDAAoD;;UCrM9E;;WAEN;;WAEA;;WAEA;;WAEA,SAAS;;;UAIH;;WAEN;;WAEA,OAAO,SAAS,eAAe;;;wBAW1B,eAAe,MAAM,OAAO;;;;;;;wBAU5B,YAAY,gBAAgB,gBAAgB,SAAS;;qBCnCxD;qBA2FA,WAAW;;UCtFP;WACN;WACA;WACA;;;wBAIK,cAAc,eAAe;;qBAoBhC;;wBAgCG,YAAY;;;;;;;wBAkBZ,YAAY,cAAc,cAAc;EAAoC;;EAAmB;;qBA8IlG,aAAa;;qBC1Nb;;wBA6BG,kBAAkB;qBAiFrB,WAAW;qBCxHX,eAAe;;qBCYf;;qBAGA,wBAAwB;qBAOxB,cAAc;;wBCnBX,eAAe;;;;;wBAaf,SAAS,cAAc;qBAqB1B,eAAe;qBCcf,cAAc;qBCjCd,iBAAiB;;wBCqCd,cAAc;qBAajB,eAAe;;;;;;wBC3DZ,eAAe,oBAAoB;;wBAUnC,mBAAmB;qBAsJtB,cAAc;;wBCrKX,QAAQ;;wBAQR,aAAa;qBAKhB,YAAY;qBCkBZ,eAAe;;wBCpBZ,SAAS,0BAA0B;qBAKtC,cAAc;;wBCmDX,gBAAgB;;;;;wBAmChB,UACd,SAAS,SAAS,0BAClB,cACA,OAAM;qBAuOK,YAAY;qBCpTZ,cAAc;;qBC3Bd;;qBAGA;qBA6DA,aAAa;qBCnEb,mBAAmB;;qBCenB,gBAAgB;;UCXZ;WACN;WACA;WACA;;WAEA;WACA,iBAAiB;;WAEjB;;WAEA;;;UAIM;WACN,gBAAgB;;WAEhB;;;UAIM;;WAEN;;WAEA;;WAEA;WACA,MAAM,SAAS;;WAEf,iBAAiB;;;wBAaZ,WAAW,cAAc,iBAAgB,SAAiB;;wBAO1D,cAAc,cAAc,QAAQ,mBAAmB,UAAS,KAAK,gCAAqC;;wBAwB1G,UAAU,SAAS,eAAe;;UAoCjC;;WAEN;;WAEA;;WAEA,QAAQ;;;;;;;wBAWH,OAAO,SAAS,eAAe;;wBAyC/B,aAAa,QAAQ;;wBA0BrB,gBAAgB,QAAQ;;wBAsBxB,YAAY,QAAQ;;wBAYpB,UAAU,QAAQ,+BAA+B,iBAAgB;;UAkBhE;WACN;WACA,KAAK,SAAS;WACd,SAAS;WACT,SAAS;;;qBAIP;;wBA0BG,OAAO,yBAAyB,IAAI;;;;;;wBC9QpC,aAAa,eAAe;;;;;wBAsD5B,YAAY,cAAc;;;;;;wBA8B1B,eAAe;;;;;;;wBAwCf,eAAe,cAAc"}
|
package/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { U as ACTIONS_COMMIT, I as DEFAULT_ALLOWED, X as DEPENDENCY_FIELDS, L as HOME_PATTERNS, p as IGNORE_AFTER, B as REAL_COMPARE, d as RULES, J as STRICT_OPTIONS, m as TRAIN_SCOPES, t as USAGE, n as annotations, Z as cleanPath, Q as codePackages, _ as configsOfScript, W as convertGate, r as createContext, Y as cuePreset, pt as defaultOptions, i as formatResult, G as gateTrigger, lt as globFolders, ut as globToRegExp, $ as hasFile, V as hasImportMetaMain, x as hasTests, et as inFolder, N as isGitSpecifier, P as isPinned, C as isSourcePath, tt as keyLine, nt as lineOf, a as listRules, H as mainCheck, rt as matchesAny, z as noBuildOutput, R as noLocalPaths, dt as packageFolders, mt as parseConfig, it as parseJsonc, w as pathsOf, F as pinnedGitDeps, K as prPathFilters, o as readConfig, at as readJsonc, M as releaseFiles, ot as replaceLine, E as repositoryOfRemote, j as requiredScripts, k as roadmapOfLine, A as roadmapParses, s as runChecks, c as runCli, l as runFix, st as runGit, D as runnerBudget, O as scheduleMinute, v as scriptsOf, T as sourceMain, ct as specifiersOf, u as summaryMarkdown, q as summaryName, b as testsRequired, h as trustPolicy, S as tsconfigTest, y as typedFiles, g as typedScripts, ft as workspaceGlobs, f as workspaceProtocol } from "./run-
|
|
1
|
+
export { U as ACTIONS_COMMIT, I as DEFAULT_ALLOWED, X as DEPENDENCY_FIELDS, L as HOME_PATTERNS, p as IGNORE_AFTER, B as REAL_COMPARE, d as RULES, J as STRICT_OPTIONS, m as TRAIN_SCOPES, t as USAGE, n as annotations, Z as cleanPath, Q as codePackages, _ as configsOfScript, W as convertGate, r as createContext, Y as cuePreset, pt as defaultOptions, i as formatResult, G as gateTrigger, lt as globFolders, ut as globToRegExp, $ as hasFile, V as hasImportMetaMain, x as hasTests, et as inFolder, N as isGitSpecifier, P as isPinned, C as isSourcePath, tt as keyLine, nt as lineOf, a as listRules, H as mainCheck, rt as matchesAny, z as noBuildOutput, R as noLocalPaths, dt as packageFolders, mt as parseConfig, it as parseJsonc, w as pathsOf, F as pinnedGitDeps, K as prPathFilters, o as readConfig, at as readJsonc, M as releaseFiles, ot as replaceLine, E as repositoryOfRemote, j as requiredScripts, k as roadmapOfLine, A as roadmapParses, s as runChecks, c as runCli, l as runFix, st as runGit, D as runnerBudget, O as scheduleMinute, v as scriptsOf, T as sourceMain, ct as specifiersOf, u as summaryMarkdown, q as summaryName, b as testsRequired, h as trustPolicy, S as tsconfigTest, y as typedFiles, g as typedScripts, ft as workspaceGlobs, f as workspaceProtocol } from "./run-CKf71WQx.js";
|
|
@@ -1337,7 +1337,8 @@ function rangeOf(context) {
|
|
|
1337
1337
|
]) === void 0) return { skipped: `git does not know the base ${context.base}` };
|
|
1338
1338
|
return {
|
|
1339
1339
|
diff: [`${context.base}...HEAD`],
|
|
1340
|
-
log: [`${context.base}..HEAD`]
|
|
1340
|
+
log: [`${context.base}..HEAD`],
|
|
1341
|
+
ends: [context.base, "HEAD"]
|
|
1341
1342
|
};
|
|
1342
1343
|
}
|
|
1343
1344
|
const event = context.env["GITHUB_EVENT_NAME"];
|
|
@@ -1356,18 +1357,24 @@ function rangeOf(context) {
|
|
|
1356
1357
|
]) === void 0) return { skipped: "the checkout has no parent of HEAD: set fetch-depth to 2 or more" };
|
|
1357
1358
|
return {
|
|
1358
1359
|
diff: ["HEAD^1", "HEAD"],
|
|
1359
|
-
log: ["HEAD^1..HEAD"]
|
|
1360
|
+
log: ["HEAD^1..HEAD"],
|
|
1361
|
+
ends: ["HEAD^1", "HEAD^2"]
|
|
1360
1362
|
};
|
|
1361
1363
|
}
|
|
1362
|
-
/** This function gives the
|
|
1363
|
-
function
|
|
1364
|
+
/** This function gives the pull request of the event file of GitHub Actions. With no event file, the body is empty. */
|
|
1365
|
+
function pullRequestOf(context) {
|
|
1364
1366
|
const file = context.env["GITHUB_EVENT_PATH"];
|
|
1365
|
-
if (file === void 0 || file === "" || !existsSync(file)) return "";
|
|
1367
|
+
if (file === void 0 || file === "" || !existsSync(file)) return { body: "" };
|
|
1366
1368
|
try {
|
|
1367
1369
|
const event = JSON.parse(readFileSync(file, "utf8"));
|
|
1368
|
-
|
|
1370
|
+
const body = typeof event.pull_request?.body === "string" ? event.pull_request.body : "";
|
|
1371
|
+
const commits = event.pull_request?.commits;
|
|
1372
|
+
return typeof commits === "number" ? {
|
|
1373
|
+
body,
|
|
1374
|
+
commits
|
|
1375
|
+
} : { body };
|
|
1369
1376
|
} catch {
|
|
1370
|
-
return "";
|
|
1377
|
+
return { body: "" };
|
|
1371
1378
|
}
|
|
1372
1379
|
}
|
|
1373
1380
|
/** This function escapes the special characters of a regular expression. */
|
|
@@ -1438,13 +1445,21 @@ const releaseFiles = {
|
|
|
1438
1445
|
if (changed.length === 0) return [];
|
|
1439
1446
|
const trailer = typeof options["trailer"] === "string" ? options["trailer"] : "Release-Edit";
|
|
1440
1447
|
const line = new RegExp(`^${escape(trailer)}:[ \\t]*\\S`, "im");
|
|
1448
|
+
const pullRequest = pullRequestOf(context);
|
|
1449
|
+
if (line.test(pullRequest.body)) return [];
|
|
1450
|
+
if (!(pullRequest.commits === 1 && context.git([
|
|
1451
|
+
"rev-parse",
|
|
1452
|
+
"--verify",
|
|
1453
|
+
"--quiet",
|
|
1454
|
+
`${range.ends[1]}^2`
|
|
1455
|
+
]) === void 0) && context.git(["merge-base", ...range.ends]) === void 0) throw new Error(`The checkout does not have the merge base of ${range.ends.join(" and ")}, so the rule cannot read each commit of the change. Use fetch-depth 0, or the CI of the template, which deepens the checkout of a pull request to its merge base.`);
|
|
1441
1456
|
const messages = context.git([
|
|
1442
1457
|
"log",
|
|
1443
1458
|
"--no-merges",
|
|
1444
1459
|
"--format=%B",
|
|
1445
1460
|
...range.log
|
|
1446
1461
|
]) ?? "";
|
|
1447
|
-
if (line.test(messages)
|
|
1462
|
+
if (line.test(messages)) return [];
|
|
1448
1463
|
const authors = new Set(Array.isArray(options["authors"]) ? options["authors"] : []);
|
|
1449
1464
|
const changers = (context.git([
|
|
1450
1465
|
"log",
|
|
@@ -2991,10 +3006,40 @@ const ROOT_DIRS = /* @__PURE__ */ new Set([
|
|
|
2991
3006
|
"${configDir}/"
|
|
2992
3007
|
]);
|
|
2993
3008
|
/**
|
|
3009
|
+
* This function gives the `rootDir` that a tsconfig gets from the configs it extends, as an absolute path. It gives
|
|
3010
|
+
* `null` when no config of the chain sets it. It gives `undefined` when it cannot read a config of the chain, for example
|
|
3011
|
+
* a package that is not installed.
|
|
3012
|
+
*/
|
|
3013
|
+
function inheritedRootDir(tsconfig, leaf = tsconfig, seen = /* @__PURE__ */ new Set()) {
|
|
3014
|
+
const json = readJsonc(tsconfig);
|
|
3015
|
+
if (json === void 0 || seen.has(tsconfig)) return void 0;
|
|
3016
|
+
const specs = Array.isArray(json.extends) ? json.extends : json.extends === void 0 ? [] : [json.extends];
|
|
3017
|
+
let found = null;
|
|
3018
|
+
for (const spec of specs) {
|
|
3019
|
+
if (typeof spec !== "string") return void 0;
|
|
3020
|
+
let file;
|
|
3021
|
+
try {
|
|
3022
|
+
file = spec.startsWith(".") || spec.startsWith("/") ? resolve(dirname(tsconfig), spec) : createRequire(tsconfig).resolve(spec);
|
|
3023
|
+
} catch {
|
|
3024
|
+
return;
|
|
3025
|
+
}
|
|
3026
|
+
if (!existsSync(file) && existsSync(`${file}.json`)) file = `${file}.json`;
|
|
3027
|
+
const parent = readJsonc(file);
|
|
3028
|
+
if (parent === void 0) return void 0;
|
|
3029
|
+
const own = parent.compilerOptions?.rootDir;
|
|
3030
|
+
const rootDir = typeof own === "string" ? own.startsWith("${configDir}") ? resolve(dirname(leaf), `.${own.slice(12)}`) : resolve(dirname(file), own) : inheritedRootDir(file, leaf, /* @__PURE__ */ new Set([...seen, tsconfig]));
|
|
3031
|
+
if (rootDir === void 0) return void 0;
|
|
3032
|
+
if (rootDir !== null) found = rootDir;
|
|
3033
|
+
}
|
|
3034
|
+
return found;
|
|
3035
|
+
}
|
|
3036
|
+
/**
|
|
2994
3037
|
* This function gives the edit that adds the config files at the root of a package to its `tsconfig.test.json`. It adds
|
|
2995
|
-
* the include `*.config.ts`. When the `rootDir` is a subfolder, it sets `rootDir: "."`.
|
|
2996
|
-
*
|
|
2997
|
-
*
|
|
3038
|
+
* the include `*.config.ts`. When the `rootDir` is a subfolder, it sets `rootDir: "."`. It also does this when the file
|
|
3039
|
+
* gets the `rootDir` from a config that it extends, or when it cannot read that config. A `rootDir` of the folder does
|
|
3040
|
+
* no harm to a test config that does not emit. The edit changes only these values and keeps the format of the file. It
|
|
3041
|
+
* gives no edit for a tsconfig with comments, so that no comment goes. It also gives no edit when the changed text does
|
|
3042
|
+
* not parse as the intended config.
|
|
2998
3043
|
*/
|
|
2999
3044
|
function configEdit(root, tsconfig, extension) {
|
|
3000
3045
|
const text = readFileSync(tsconfig, "utf8");
|
|
@@ -3016,16 +3061,33 @@ function configEdit(root, tsconfig, extension) {
|
|
|
3016
3061
|
const indent = kept.includes("\n") ? /\n([ \t]*)[^\n]*$/.exec(kept)?.[1] ?? "" : void 0;
|
|
3017
3062
|
return `${start}${kept},${indent === void 0 ? " " : `${eol}${indent}`}${JSON.stringify(glob)}${end}]`;
|
|
3018
3063
|
});
|
|
3019
|
-
const
|
|
3064
|
+
const options = json.compilerOptions;
|
|
3065
|
+
const rootDir = options?.["rootDir"];
|
|
3020
3066
|
const moveRoot = typeof rootDir === "string" && !ROOT_DIRS.has(rootDir);
|
|
3021
3067
|
if (moveRoot) after = after.replace(/("rootDir"\s*:\s*)"(?:[^"\\]|\\.)*"/, "$1\".\"");
|
|
3022
|
-
const
|
|
3068
|
+
const inherited = rootDir === void 0 && after !== text ? inheritedRootDir(tsconfig) : null;
|
|
3069
|
+
const addRoot = inherited !== null && (inherited === void 0 || resolve(inherited) !== resolve(dirname(tsconfig)));
|
|
3070
|
+
if (addRoot && options !== void 0) after = Object.keys(options).length === 0 ? after.replace(/("compilerOptions"\s*:\s*\{)\s*\}/, "$1 \"rootDir\": \".\" }") : after.replace(/("compilerOptions"\s*:\s*\{)(\s*)/, (_all, start, space) => `${start}${space}"rootDir": ".",${space}`);
|
|
3071
|
+
else if (addRoot) after = after.replace(/^(\s*\{)(\s*)/, (_all, start, space) => `${start}${space}"compilerOptions": { "rootDir": "." },${space}`);
|
|
3072
|
+
const include = globs.includes(glob) ? globs : [...globs, glob];
|
|
3073
|
+
const intended = addRoot ? options === void 0 ? {
|
|
3074
|
+
compilerOptions: { rootDir: "." },
|
|
3075
|
+
...json,
|
|
3076
|
+
include
|
|
3077
|
+
} : {
|
|
3078
|
+
...json,
|
|
3079
|
+
compilerOptions: {
|
|
3080
|
+
rootDir: ".",
|
|
3081
|
+
...options
|
|
3082
|
+
},
|
|
3083
|
+
include
|
|
3084
|
+
} : {
|
|
3023
3085
|
...json,
|
|
3024
3086
|
...moveRoot ? { compilerOptions: {
|
|
3025
|
-
...
|
|
3087
|
+
...options,
|
|
3026
3088
|
rootDir: "."
|
|
3027
3089
|
} } : {},
|
|
3028
|
-
include
|
|
3090
|
+
include
|
|
3029
3091
|
};
|
|
3030
3092
|
let parsed;
|
|
3031
3093
|
try {
|
|
@@ -3825,4 +3887,4 @@ function runCli(args, io) {
|
|
|
3825
3887
|
}
|
|
3826
3888
|
export { hasFile as $, roadmapParses as A, REAL_COMPARE as B, isSourcePath as C, runnerBudget as D, repositoryOfRemote as E, pinnedGitDeps as F, gateTrigger as G, mainCheck as H, DEFAULT_ALLOWED as I, STRICT_OPTIONS as J, prPathFilters as K, HOME_PATTERNS as L, releaseFiles as M, isGitSpecifier as N, scheduleMinute as O, isPinned as P, codePackages as Q, noLocalPaths as R, tsconfigTest as S, sourceMain as T, ACTIONS_COMMIT as U, hasImportMetaMain as V, convertGate as W, DEPENDENCY_FIELDS as X, cuePreset as Y, cleanPath as Z, configsOfScript as _, listRules as a, readJsonc as at, testsRequired as b, runCli as c, specifiersOf as ct, RULES as d, packageFolders as dt, inFolder as et, workspaceProtocol as f, workspaceGlobs as ft, typedScripts as g, trustPolicy as h, formatResult as i, parseJsonc as it, requiredScripts as j, roadmapOfLine as k, runFix as l, globFolders as lt, TRAIN_SCOPES as m, parseConfig as mt, annotations as n, lineOf as nt, readConfig as o, replaceLine as ot, IGNORE_AFTER as p, defaultOptions as pt, summaryName as q, createContext as r, matchesAny as rt, runChecks as s, runGit as st, USAGE as t, keyLine as tt, summaryMarkdown as u, globToRegExp as ut, scriptsOf as v, pathsOf as w, hasTests as x, typedFiles as y, noBuildOutput as z };
|
|
3827
3889
|
|
|
3828
|
-
//# sourceMappingURL=run-
|
|
3890
|
+
//# sourceMappingURL=run-CKf71WQx.js.map
|