@icebreakers/monorepo 5.1.0 → 5.2.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/README.md +16 -209
- package/README.zh-CN.md +23 -0
- package/dist/cli.mjs +228 -207
- package/dist/{commands-BD9u8I6D.mjs → commands-BqUFCJA_.mjs} +552 -354
- package/dist/{create-flow-D_SecUxo.mjs → create-flow-BE4Nd902.mjs} +32 -32
- package/dist/{index-cBqxgIwY.d.mts → index-B0fwhqup.d.mts} +2 -2
- package/dist/index.d.mts +33 -3
- package/dist/index.mjs +4 -4
- package/dist/{tooling-Bn3XOfO0.mjs → tooling-CdZRpvYw.mjs} +3 -8
- package/dist/tooling-entry.d.mts +1 -1
- package/dist/tooling-entry.mjs +1 -1
- package/dist/types-BS9l6MOk.mjs +416 -0
- package/package.json +9 -9
- package/dist/types-S6igCe0w.mjs +0 -215
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as logger,
|
|
1
|
+
import { A as getCreateChoices, M as resolveCreateNewProjectPlan, O as createNewProject, k as defaultTemplate } from "./commands-BqUFCJA_.mjs";
|
|
2
|
+
import { d as localize, m as logger, y as fs } from "./types-BS9l6MOk.mjs";
|
|
3
3
|
import { s as resolveCommandConfig } from "./config-p842Knhq.mjs";
|
|
4
4
|
import path from "pathe";
|
|
5
5
|
import process from "node:process";
|
|
@@ -9,35 +9,35 @@ const createIntentChoices = [
|
|
|
9
9
|
{
|
|
10
10
|
value: "library",
|
|
11
11
|
name: "Library",
|
|
12
|
-
description: "创建一个可发布的库包",
|
|
12
|
+
description: localize("Create a publishable library package", "创建一个可发布的库包"),
|
|
13
13
|
defaultTemplate: "tsdown",
|
|
14
14
|
defaultBaseDir: "packages"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
value: "web-app",
|
|
18
18
|
name: "Web App",
|
|
19
|
-
description: "创建一个前后端一体的 Web 应用",
|
|
19
|
+
description: localize("Create a full-stack web application", "创建一个前后端一体的 Web 应用"),
|
|
20
20
|
defaultTemplate: "vue-hono",
|
|
21
21
|
defaultBaseDir: "apps"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
value: "api-service",
|
|
25
25
|
name: "API Service",
|
|
26
|
-
description: "创建一个 Hono API 服务",
|
|
26
|
+
description: localize("Create a Hono API service", "创建一个 Hono API 服务"),
|
|
27
27
|
defaultTemplate: "hono-server",
|
|
28
28
|
defaultBaseDir: "apps"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
value: "docs-site",
|
|
32
32
|
name: "Docs Site",
|
|
33
|
-
description: "创建一个文档站点",
|
|
33
|
+
description: localize("Create a documentation site", "创建一个文档站点"),
|
|
34
34
|
defaultTemplate: "vitepress",
|
|
35
35
|
defaultBaseDir: "apps"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
value: "cli-tool",
|
|
39
39
|
name: "CLI Tool",
|
|
40
|
-
description: "创建一个命令行工具",
|
|
40
|
+
description: localize("Create a command-line tool", "创建一个命令行工具"),
|
|
41
41
|
defaultTemplate: "cli",
|
|
42
42
|
defaultBaseDir: "apps"
|
|
43
43
|
}
|
|
@@ -63,30 +63,30 @@ function formatPlanPath(cwd, targetPath) {
|
|
|
63
63
|
}
|
|
64
64
|
function printCreatePlan(plan) {
|
|
65
65
|
logger.log("");
|
|
66
|
-
logger.log("Create preview:");
|
|
67
|
-
logger.log(` template: ${plan.template}${plan.usedFallback ? ` (fallback from ${plan.requestedTemplate})` : ""}`);
|
|
68
|
-
logger.log(` source: ${formatPlanPath(plan.cwd, plan.sourceDir)}`);
|
|
69
|
-
logger.log(` target: ${formatPlanPath(plan.cwd, plan.targetDir)}${plan.targetExists ? " (already exists)" : ""}`);
|
|
70
|
-
logger.log(` package: ${plan.packageName}`);
|
|
71
|
-
logger.log(` package json: ${plan.hasPackageJson ? plan.packageJsonFileName : "not included in template"}`);
|
|
72
|
-
logger.log(` workspace manifest: pnpm-workspace.yaml will include ${plan.targetName.includes("/") ? `${plan.targetName.split("/")[0]}/*` : "packages/*"}`);
|
|
66
|
+
logger.log(localize("Create preview:", "创建预览:"));
|
|
67
|
+
logger.log(localize(` template: ${plan.template}${plan.usedFallback ? ` (fallback from ${plan.requestedTemplate})` : ""}`, ` 模板:${plan.template}${plan.usedFallback ? `(从 ${plan.requestedTemplate} 回退)` : ""}`));
|
|
68
|
+
logger.log(localize(` source: ${formatPlanPath(plan.cwd, plan.sourceDir)}`, ` 源目录:${formatPlanPath(plan.cwd, plan.sourceDir)}`));
|
|
69
|
+
logger.log(localize(` target: ${formatPlanPath(plan.cwd, plan.targetDir)}${plan.targetExists ? " (already exists)" : ""}`, ` 目标目录:${formatPlanPath(plan.cwd, plan.targetDir)}${plan.targetExists ? "(已存在)" : ""}`));
|
|
70
|
+
logger.log(localize(` package: ${plan.packageName}`, ` 包名:${plan.packageName}`));
|
|
71
|
+
logger.log(localize(` package json: ${plan.hasPackageJson ? plan.packageJsonFileName : "not included in template"}`, ` package json:${plan.hasPackageJson ? plan.packageJsonFileName : "模板中未包含"}`));
|
|
72
|
+
logger.log(localize(` workspace manifest: pnpm-workspace.yaml will include ${plan.targetName.includes("/") ? `${plan.targetName.split("/")[0]}/*` : "packages/*"}`, ` workspace 清单:pnpm-workspace.yaml 将包含 ${plan.targetName.includes("/") ? `${plan.targetName.split("/")[0]}/*` : "packages/*"}`));
|
|
73
73
|
logger.log("");
|
|
74
|
-
logger.info("
|
|
74
|
+
logger.info(localize("Dry run only; no files were written.", "仅执行预览;未写入任何文件。"));
|
|
75
75
|
}
|
|
76
76
|
function printCreatePlanJson(plan) {
|
|
77
77
|
logger.log(JSON.stringify(plan, null, 2));
|
|
78
78
|
}
|
|
79
79
|
function formatCreatePlan(plan) {
|
|
80
80
|
return [
|
|
81
|
-
"Create preview:",
|
|
82
|
-
` template: ${plan.template}${plan.usedFallback ? ` (fallback from ${plan.requestedTemplate})` : ""}`,
|
|
83
|
-
` source: ${formatPlanPath(plan.cwd, plan.sourceDir)}`,
|
|
84
|
-
` target: ${formatPlanPath(plan.cwd, plan.targetDir)}${plan.targetExists ? " (already exists)" : ""}`,
|
|
85
|
-
` package: ${plan.packageName}`,
|
|
86
|
-
` package json: ${plan.hasPackageJson ? plan.packageJsonFileName : "not included in template"}`,
|
|
87
|
-
` workspace manifest: pnpm-workspace.yaml will include ${plan.targetName.includes("/") ? `${plan.targetName.split("/")[0]}/*` : "packages/*"}`,
|
|
81
|
+
localize("Create preview:", "创建预览:"),
|
|
82
|
+
localize(` template: ${plan.template}${plan.usedFallback ? ` (fallback from ${plan.requestedTemplate})` : ""}`, ` 模板:${plan.template}${plan.usedFallback ? `(从 ${plan.requestedTemplate} 回退)` : ""}`),
|
|
83
|
+
localize(` source: ${formatPlanPath(plan.cwd, plan.sourceDir)}`, ` 源目录:${formatPlanPath(plan.cwd, plan.sourceDir)}`),
|
|
84
|
+
localize(` target: ${formatPlanPath(plan.cwd, plan.targetDir)}${plan.targetExists ? " (already exists)" : ""}`, ` 目标目录:${formatPlanPath(plan.cwd, plan.targetDir)}${plan.targetExists ? "(已存在)" : ""}`),
|
|
85
|
+
localize(` package: ${plan.packageName}`, ` 包名:${plan.packageName}`),
|
|
86
|
+
localize(` package json: ${plan.hasPackageJson ? plan.packageJsonFileName : "not included in template"}`, ` package json:${plan.hasPackageJson ? plan.packageJsonFileName : "模板中未包含"}`),
|
|
87
|
+
localize(` workspace manifest: pnpm-workspace.yaml will include ${plan.targetName.includes("/") ? `${plan.targetName.split("/")[0]}/*` : "packages/*"}`, ` workspace 清单:pnpm-workspace.yaml 将包含 ${plan.targetName.includes("/") ? `${plan.targetName.split("/")[0]}/*` : "packages/*"}`),
|
|
88
88
|
"",
|
|
89
|
-
"
|
|
89
|
+
localize("Dry run only; no files were written.", "仅执行预览;未写入任何文件。")
|
|
90
90
|
].join("\n");
|
|
91
91
|
}
|
|
92
92
|
function canPrompt() {
|
|
@@ -101,7 +101,7 @@ async function emitCreatePlan(plan, options, cwd) {
|
|
|
101
101
|
const content = options.json ? JSON.stringify(plan, null, 2) : formatCreatePlan(plan);
|
|
102
102
|
const outFile = path.resolve(cwd, options.out);
|
|
103
103
|
await fs.outputFile(outFile, `${content}\n`, "utf8");
|
|
104
|
-
logger.success(`
|
|
104
|
+
logger.success(localize(`Wrote ${path.relative(cwd, outFile)}`, `已写入 ${path.relative(cwd, outFile)}`));
|
|
105
105
|
}
|
|
106
106
|
function handleCreateFlowError(error, json = false) {
|
|
107
107
|
const message = error instanceof Error ? error.message : String(error);
|
|
@@ -134,27 +134,27 @@ async function runCreateFlow(cwd, inputName, options = {}) {
|
|
|
134
134
|
}
|
|
135
135
|
if (!explicitTemplate) {
|
|
136
136
|
const intent = await select({
|
|
137
|
-
message: "你要创建什么?",
|
|
137
|
+
message: localize("What do you want to create?", "你要创建什么?"),
|
|
138
138
|
choices: createIntentChoices,
|
|
139
139
|
default: "library"
|
|
140
140
|
});
|
|
141
141
|
const intentChoice = createIntentChoices.find((item) => item.value === intent);
|
|
142
|
-
if (!intentChoice) throw new Error(
|
|
142
|
+
if (!intentChoice) throw new Error(localize(`Unknown create intent: ${intent}`, `未找到创建意图:${intent}`));
|
|
143
143
|
if (!packageName) packageName = await input({
|
|
144
|
-
message: "请输入名称",
|
|
144
|
+
message: localize("Enter a name", "请输入名称"),
|
|
145
145
|
default: "my-module"
|
|
146
146
|
});
|
|
147
147
|
let type = intentChoice.defaultTemplate;
|
|
148
148
|
if (intent === "library") type = await select({
|
|
149
|
-
message: "请选择库模板",
|
|
149
|
+
message: localize("Select a library template", "请选择库模板"),
|
|
150
150
|
choices: [{
|
|
151
151
|
name: "TypeScript Library",
|
|
152
152
|
value: "tsdown",
|
|
153
|
-
description: "通用
|
|
153
|
+
description: localize("General-purpose TypeScript library", "通用 TypeScript 库")
|
|
154
154
|
}, {
|
|
155
155
|
name: "Vue Component Library",
|
|
156
156
|
value: "vue-lib",
|
|
157
|
-
description: "Vue 组件库"
|
|
157
|
+
description: localize("Vue component library", "Vue 组件库")
|
|
158
158
|
}],
|
|
159
159
|
default: "tsdown"
|
|
160
160
|
});
|
|
@@ -172,11 +172,11 @@ async function runCreateFlow(cwd, inputName, options = {}) {
|
|
|
172
172
|
}
|
|
173
173
|
if (!packageName && !canPrompt()) packageName = createConfig?.name ?? "my-package";
|
|
174
174
|
else if (!packageName) packageName = await input({
|
|
175
|
-
message: "请输入包名",
|
|
175
|
+
message: localize("Enter the package name", "请输入包名"),
|
|
176
176
|
default: createConfig?.name ?? "my-package"
|
|
177
177
|
});
|
|
178
178
|
const type = explicitTemplate ?? await select({
|
|
179
|
-
message: "请选择模板类型",
|
|
179
|
+
message: localize("Select a template type", "请选择模板类型"),
|
|
180
180
|
choices: getCreateChoices(createConfig?.choices),
|
|
181
181
|
default: "tsdown"
|
|
182
182
|
});
|
|
@@ -859,8 +859,8 @@ declare function defineTsconfigConfig(input?: DefineConfigOptions<TsconfigToolin
|
|
|
859
859
|
* 默认行为:
|
|
860
860
|
* - `*.{js,jsx,mjs,ts,tsx,mts,cts}` 运行 `eslint --fix`
|
|
861
861
|
* - `*.vue` 同时运行 `eslint --fix` 与 `stylelint --fix --allow-empty-input`
|
|
862
|
-
* -
|
|
863
|
-
*
|
|
862
|
+
* - TypeScript/Vue files and workspace `package.json` files share one
|
|
863
|
+
* `pnpm exec repo verify staged-typecheck` task to avoid concurrent builds
|
|
864
864
|
* - 样式文件运行 `stylelint --fix --allow-empty-input`
|
|
865
865
|
*
|
|
866
866
|
* @param options 可配置 `repoCommand`,默认值为 `pnpm exec repo`
|
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { $ as initTooling, A as loadMonorepoToolingConfig, B as HuskyToolingConfig, C as defineCommitlintConfig, D as defineTsconfigConfig, E as defineStylelintConfig, F as CleanCommandConfig, G as StylelintToolingConfig, H as LintStagedToolingConfig, I as CommitlintToolingConfig, J as UpgradeCommandConfig, K as ToolingConfig, L as CreateChoiceOption, M as SimpleGit, N as SimpleGitOptions, O as defineVitestConfig, P as AiCommandConfig, Q as initMetadata, R as CreateCommandConfig, S as createMonorepoVitestProjectConfig, T as defineLintStagedConfig, U as MirrorCommandConfig, V as InitCommandConfig, W as MonorepoConfig, X as VitestToolingConfig, Y as VitestProjectToolingConfig, Z as init, _ as createMonorepoEslintConfig, _t as CliOpts, a as MonorepoCommitlintConfig, at as getCreateChoices, b as createMonorepoTsconfig, c as MonorepoLintStagedConfigOptions, ct as templateMap, d as MonorepoVitestConfigOptions, dt as GenerateAgenticTemplateOptions, et as normalizeInitToolingTargets, f as MonorepoVitestConfigOverrides, ft as createTimestampFolderName, g as createMonorepoCommitlintConfig, gt as loadAgenticTasks, h as MonorepoVitestProjectConfigResult, ht as generateAgenticTemplates, i as DefineVitestProjectConfigOptions, it as CreateNewProjectPlan, j as ConfigValues, k as defineVitestProjectConfig, l as MonorepoStylelintConfig, lt as AgenticTemplateFormat, m as MonorepoVitestProjectConfigOptions, mt as generateAgenticTemplate, n as DefineEslintConfigOptions, nt as createNewProject, o as MonorepoEslintConfig, ot as getTemplateMap, p as MonorepoVitestConfigResult, pt as defaultAgenticBaseDir, q as TsconfigToolingConfig, r as DefineVitestConfigOptions, rt as CreateNewProjectOptions, s as MonorepoLintStagedConfig, st as resolveCreateNewProjectPlan, t as DefineConfigOptions, tt as initToolingTargets, u as MonorepoTsconfig, ut as AgenticTemplateTask, v as createMonorepoLintStagedConfig, w as defineEslintConfig, x as createMonorepoVitestConfig, y as createMonorepoStylelintConfig, z as EslintToolingConfig } from "./index-
|
|
1
|
+
import { $ as initTooling, A as loadMonorepoToolingConfig, B as HuskyToolingConfig, C as defineCommitlintConfig, D as defineTsconfigConfig, E as defineStylelintConfig, F as CleanCommandConfig, G as StylelintToolingConfig, H as LintStagedToolingConfig, I as CommitlintToolingConfig, J as UpgradeCommandConfig, K as ToolingConfig, L as CreateChoiceOption, M as SimpleGit, N as SimpleGitOptions, O as defineVitestConfig, P as AiCommandConfig, Q as initMetadata, R as CreateCommandConfig, S as createMonorepoVitestProjectConfig, T as defineLintStagedConfig, U as MirrorCommandConfig, V as InitCommandConfig, W as MonorepoConfig, X as VitestToolingConfig, Y as VitestProjectToolingConfig, Z as init, _ as createMonorepoEslintConfig, _t as CliOpts, a as MonorepoCommitlintConfig, at as getCreateChoices, b as createMonorepoTsconfig, c as MonorepoLintStagedConfigOptions, ct as templateMap, d as MonorepoVitestConfigOptions, dt as GenerateAgenticTemplateOptions, et as normalizeInitToolingTargets, f as MonorepoVitestConfigOverrides, ft as createTimestampFolderName, g as createMonorepoCommitlintConfig, gt as loadAgenticTasks, h as MonorepoVitestProjectConfigResult, ht as generateAgenticTemplates, i as DefineVitestProjectConfigOptions, it as CreateNewProjectPlan, j as ConfigValues, k as defineVitestProjectConfig, l as MonorepoStylelintConfig, lt as AgenticTemplateFormat, m as MonorepoVitestProjectConfigOptions, mt as generateAgenticTemplate, n as DefineEslintConfigOptions, nt as createNewProject, o as MonorepoEslintConfig, ot as getTemplateMap, p as MonorepoVitestConfigResult, pt as defaultAgenticBaseDir, q as TsconfigToolingConfig, r as DefineVitestConfigOptions, rt as CreateNewProjectOptions, s as MonorepoLintStagedConfig, st as resolveCreateNewProjectPlan, t as DefineConfigOptions, tt as initToolingTargets, u as MonorepoTsconfig, ut as AgenticTemplateTask, v as createMonorepoLintStagedConfig, w as defineEslintConfig, x as createMonorepoVitestConfig, y as createMonorepoStylelintConfig, z as EslintToolingConfig } from "./index-B0fwhqup.mjs";
|
|
2
2
|
import gitUrlParse from "git-url-parse";
|
|
3
3
|
import { mkdtemp, readFile, readdir, stat, writeFile } from "node:fs/promises";
|
|
4
4
|
import { execFileSync, spawnSync } from "node:child_process";
|
|
5
5
|
import { isGitignoreFile, toPublishGitignorePath, toWorkspaceGitignorePath } from "@icebreakers/monorepo-templates";
|
|
6
6
|
import { Buffer } from "node:buffer";
|
|
7
7
|
import crypto from "node:crypto";
|
|
8
|
+
//#region src/i18n/types.d.ts
|
|
9
|
+
type RepoctlLocale = 'en' | 'zh-CN';
|
|
10
|
+
//#endregion
|
|
8
11
|
//#region src/types/package-json.d.ts
|
|
9
12
|
interface PackageJsonPerson {
|
|
10
13
|
name?: string;
|
|
@@ -150,7 +153,7 @@ interface ConfigInspection {
|
|
|
150
153
|
}
|
|
151
154
|
declare function inspectMonorepoConfig(cwd: string): Promise<ConfigInspection>;
|
|
152
155
|
//#endregion
|
|
153
|
-
//#region src/commands/doctor.d.ts
|
|
156
|
+
//#region src/commands/doctor/types.d.ts
|
|
154
157
|
type DoctorStatus = 'pass' | 'warn' | 'fail';
|
|
155
158
|
interface DoctorCheck {
|
|
156
159
|
id: string;
|
|
@@ -171,6 +174,8 @@ interface DoctorReport {
|
|
|
171
174
|
checks: DoctorCheck[];
|
|
172
175
|
summary: DoctorSummary;
|
|
173
176
|
}
|
|
177
|
+
//#endregion
|
|
178
|
+
//#region src/commands/doctor/index.d.ts
|
|
174
179
|
declare function runDoctor(cwd: string): Promise<{
|
|
175
180
|
cwd: string;
|
|
176
181
|
workspaceDir: string;
|
|
@@ -288,6 +293,10 @@ interface GitHubRelease {
|
|
|
288
293
|
id: number;
|
|
289
294
|
html_url: string;
|
|
290
295
|
tag_name: string;
|
|
296
|
+
name?: string;
|
|
297
|
+
body?: string | null;
|
|
298
|
+
draft?: boolean;
|
|
299
|
+
prerelease?: boolean;
|
|
291
300
|
}
|
|
292
301
|
interface GitHubClientOptions {
|
|
293
302
|
token?: string;
|
|
@@ -316,12 +325,19 @@ interface EnsureTagOptions {
|
|
|
316
325
|
tag: string;
|
|
317
326
|
target: string;
|
|
318
327
|
}
|
|
328
|
+
interface UpdateReleaseOptions {
|
|
329
|
+
id: number;
|
|
330
|
+
name: string;
|
|
331
|
+
body: string;
|
|
332
|
+
}
|
|
319
333
|
interface GitHubOperations {
|
|
320
334
|
ensurePullRequest: (options: EnsurePullRequestOptions) => Promise<GitHubPullRequest>;
|
|
321
335
|
closeLegacyReleasePullRequests?: (options: CloseLegacyPullRequestsOptions) => Promise<void>;
|
|
322
336
|
ensureRelease: (options: EnsureReleaseOptions) => Promise<GitHubRelease>;
|
|
323
337
|
ensureTag?: (options: EnsureTagOptions) => Promise<void>;
|
|
324
338
|
enrichReleaseNote?: (document: ReleaseNoteDocument) => Promise<ReleaseNoteDocument>;
|
|
339
|
+
listReleases?: () => Promise<GitHubRelease[]>;
|
|
340
|
+
updateRelease?: (options: UpdateReleaseOptions) => Promise<GitHubRelease>;
|
|
325
341
|
}
|
|
326
342
|
declare class GitHubApiError extends ReleaseCommandError {
|
|
327
343
|
readonly status: number;
|
|
@@ -339,6 +355,8 @@ declare class GitHubClient implements GitHubOperations {
|
|
|
339
355
|
ensurePullRequest(options: EnsurePullRequestOptions): Promise<GitHubPullRequest>;
|
|
340
356
|
closeLegacyReleasePullRequests(options: CloseLegacyPullRequestsOptions): Promise<void>;
|
|
341
357
|
ensureRelease(options: EnsureReleaseOptions): Promise<GitHubRelease>;
|
|
358
|
+
listReleases(): Promise<GitHubRelease[]>;
|
|
359
|
+
updateRelease(options: UpdateReleaseOptions): Promise<GitHubRelease>;
|
|
342
360
|
enrichReleaseNote(document: ReleaseNoteDocument): Promise<ReleaseNoteDocument>;
|
|
343
361
|
ensureTag(options: EnsureTagOptions): Promise<void>;
|
|
344
362
|
}
|
|
@@ -372,6 +390,18 @@ declare function releasePrerelease(options: ReleaseOptions): Promise<void>;
|
|
|
372
390
|
declare function enterPrerelease(tag: string, options: ReleaseOptions): Promise<void>;
|
|
373
391
|
declare function exitPrerelease(options: ReleaseOptions): Promise<void>;
|
|
374
392
|
//#endregion
|
|
393
|
+
//#region src/commands/release/repair.d.ts
|
|
394
|
+
interface RepairReleaseNotesOptions extends ReleaseOptions {
|
|
395
|
+
tag?: string;
|
|
396
|
+
all?: boolean;
|
|
397
|
+
dryRun?: boolean;
|
|
398
|
+
github?: Pick<GitHubOperations, 'listReleases' | 'updateRelease'>;
|
|
399
|
+
}
|
|
400
|
+
declare function repairReleaseNotes(options: RepairReleaseNotesOptions): Promise<{
|
|
401
|
+
repaired: string[];
|
|
402
|
+
skipped: string[];
|
|
403
|
+
}>;
|
|
404
|
+
//#endregion
|
|
375
405
|
//#region src/commands/release/shared.d.ts
|
|
376
406
|
declare function parsePublishSummary(content: string): PublishedPackage[];
|
|
377
407
|
//#endregion
|
|
@@ -841,4 +871,4 @@ declare function escapeStringRegexp(str: string): string;
|
|
|
841
871
|
*/
|
|
842
872
|
declare function isMatch(str: string, arr: RegExp[]): boolean;
|
|
843
873
|
//#endregion
|
|
844
|
-
export { type AgenticTemplateFormat, type AgenticTemplateTask, AiCommandConfig, type CheckTemplatesOptions, CleanCommandConfig, CliOpts, type CommitMsgVerifyOptions, CommitlintToolingConfig, type ConfigInspection, type ConfigValues, Context, CreateChoiceOption, CreateCommandConfig, type CreateNewProjectOptions, type CreateNewProjectPlan, DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, type DoctorCheck, type DoctorReport, type DoctorStatus, type DoctorSummary, type EnsurePullRequestOptions, type EnsureReleaseOptions, type EnsureTagOptions, type EnvInfo, type EnvPathEntry, type EnvPaths, type EnvSnapshot, type EnvSupportBundle, EslintToolingConfig, type GenerateAgenticTemplateOptions, GetWorkspacePackagesOptions, GitClient, GitHubApiError, GitHubClient, type GitHubClientOptions, type GitHubOperations, HuskyToolingConfig, InitCommandConfig, JsonWriteOptions, LintStagedToolingConfig, LoadedMonorepoConfig, MirrorCommandConfig, MonorepoCommitlintConfig, MonorepoConfig, MonorepoEslintConfig, MonorepoLintStagedConfig, MonorepoLintStagedConfigOptions, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, PackageJson, PackageJsonBugs, PackageJsonExports, PackageJsonPerson, PackageJsonRepository, type PreCommitVerifyOptions, type PrePushVerifyOptions, type RecommendedCheckMode, type RecommendedCheckOptions, type RecommendedCheckPlan, type RecommendedCheckPlanCommand, type SimpleGit, type SimpleGitOptions, type SkillTarget, type StagedTypecheckOptions, StylelintToolingConfig, type SyncSkillsOptions, type TemplateHealthCheck, type TemplateHealthReport, type TemplateHealthStatus, type TemplateHealthSummary, ToolingConfig, TsconfigToolingConfig, UpgradeCommandConfig, type VerifyCommandOptions, VitestProjectToolingConfig, VitestToolingConfig, WorkspaceData, WorkspacePackage, WorkspacePackageManifest, WorkspacePackageSummary, WorkspacePackageSummaryData, WorkspacePackageWithJsonPath, assetsDir, checkTemplates, cleanProjects, clearWorkspaceCache, cliName, collectEnvInfo, collectEnvPaths, collectEnvSnapshot, collectEnvSupportBundle, configExtensions, copy, createContext, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePullRequest, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineMonorepoConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, ensureDir, ensureFile, enterPrerelease, escapeStringRegexp, exists, exitPrerelease, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getFileHash, getKnownRepoCheckCommands, getRepoctlConfigCandidates, getSkillTargetPaths, getTemplateMap, getWorkspaceData, getWorkspacePackageSummaries, getWorkspacePackages, init, initMetadata, initTooling, initToolingTargets, inspectMonorepoConfig, isFileChanged, isGitignoreFile, isIgnorableFsError, isMatch, loadAgenticTasks, loadMonorepoConfig, loadMonorepoConfigDetails, loadMonorepoToolingConfig, logger, normalizeInitToolingTargets, outputFile, outputJSON, outputJson, packageDir, name as packageName, parsePublishSummary, pathExists, prepareStable, publishStable, readJSON, readJson, recoverUnpublished, releaseCi, releasePrerelease, releaseStable, remove, resolveCommandConfig, resolveCreateNewProjectPlan, resolveFullWorkspaceCheckPlan, resolveRecommendedCheckPlan, resolveToolingConfig, rootDir, runDoctor, runRecommendedCheck, setByPath, setVscodeBinaryMirror, skillTargets, syncSkills, templateMap, templatesDir, toPublishGitignorePath, toWorkspaceGitignorePath, updateIssueTemplateConfig, upgradeMonorepo, verifyCommitMsg, verifyPreCommit, verifyPrePush, verifyStagedTypecheck, version, writeJSON, writeJson };
|
|
874
|
+
export { type AgenticTemplateFormat, type AgenticTemplateTask, AiCommandConfig, type CheckTemplatesOptions, CleanCommandConfig, CliOpts, type CommitMsgVerifyOptions, CommitlintToolingConfig, type ConfigInspection, type ConfigValues, Context, CreateChoiceOption, CreateCommandConfig, type CreateNewProjectOptions, type CreateNewProjectPlan, DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, type DoctorCheck, type DoctorReport, type DoctorStatus, type DoctorSummary, type EnsurePullRequestOptions, type EnsureReleaseOptions, type EnsureTagOptions, type EnvInfo, type EnvPathEntry, type EnvPaths, type EnvSnapshot, type EnvSupportBundle, EslintToolingConfig, type GenerateAgenticTemplateOptions, GetWorkspacePackagesOptions, GitClient, GitHubApiError, GitHubClient, type GitHubClientOptions, type GitHubOperations, HuskyToolingConfig, InitCommandConfig, JsonWriteOptions, LintStagedToolingConfig, LoadedMonorepoConfig, MirrorCommandConfig, MonorepoCommitlintConfig, MonorepoConfig, MonorepoEslintConfig, MonorepoLintStagedConfig, MonorepoLintStagedConfigOptions, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, PackageJson, PackageJsonBugs, PackageJsonExports, PackageJsonPerson, PackageJsonRepository, type PreCommitVerifyOptions, type PrePushVerifyOptions, type RecommendedCheckMode, type RecommendedCheckOptions, type RecommendedCheckPlan, type RecommendedCheckPlanCommand, type RepoctlLocale, type SimpleGit, type SimpleGitOptions, type SkillTarget, type StagedTypecheckOptions, StylelintToolingConfig, type SyncSkillsOptions, type TemplateHealthCheck, type TemplateHealthReport, type TemplateHealthStatus, type TemplateHealthSummary, ToolingConfig, TsconfigToolingConfig, UpgradeCommandConfig, type VerifyCommandOptions, VitestProjectToolingConfig, VitestToolingConfig, WorkspaceData, WorkspacePackage, WorkspacePackageManifest, WorkspacePackageSummary, WorkspacePackageSummaryData, WorkspacePackageWithJsonPath, assetsDir, checkTemplates, cleanProjects, clearWorkspaceCache, cliName, collectEnvInfo, collectEnvPaths, collectEnvSnapshot, collectEnvSupportBundle, configExtensions, copy, createContext, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePullRequest, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineMonorepoConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, ensureDir, ensureFile, enterPrerelease, escapeStringRegexp, exists, exitPrerelease, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getFileHash, getKnownRepoCheckCommands, getRepoctlConfigCandidates, getSkillTargetPaths, getTemplateMap, getWorkspaceData, getWorkspacePackageSummaries, getWorkspacePackages, init, initMetadata, initTooling, initToolingTargets, inspectMonorepoConfig, isFileChanged, isGitignoreFile, isIgnorableFsError, isMatch, loadAgenticTasks, loadMonorepoConfig, loadMonorepoConfigDetails, loadMonorepoToolingConfig, logger, normalizeInitToolingTargets, outputFile, outputJSON, outputJson, packageDir, name as packageName, parsePublishSummary, pathExists, prepareStable, publishStable, readJSON, readJson, recoverUnpublished, releaseCi, releasePrerelease, releaseStable, remove, repairReleaseNotes, resolveCommandConfig, resolveCreateNewProjectPlan, resolveFullWorkspaceCheckPlan, resolveRecommendedCheckPlan, resolveToolingConfig, rootDir, runDoctor, runRecommendedCheck, setByPath, setVscodeBinaryMirror, skillTargets, syncSkills, templateMap, templatesDir, toPublishGitignorePath, toWorkspaceGitignorePath, updateIssueTemplateConfig, upgradeMonorepo, verifyCommitMsg, verifyPreCommit, verifyPrePush, verifyStagedTypecheck, version, writeJSON, writeJson };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as verifyPreCommit, A as getCreateChoices, B as isMatch, C as collectEnvInfo, D as runDoctor, E as collectEnvSupportBundle, F as cleanProjects, G as toPublishGitignorePath, H as getFileHash, I as getSkillTargetPaths, J as getKnownRepoCheckCommands, K as toWorkspaceGitignorePath, L as skillTargets, M as resolveCreateNewProjectPlan, N as templateMap, O as createNewProject, P as inspectMonorepoConfig, Q as verifyCommitMsg, R as syncSkills, S as createContext, T as collectEnvSnapshot, U as isFileChanged, V as setByPath, W as isGitignoreFile, X as resolveRecommendedCheckPlan, Y as resolveFullWorkspaceCheckPlan, Z as runRecommendedCheck, _ as setVscodeBinaryMirror, a as createReleasePullRequest, at as generateAgenticTemplates, b as initTooling, c as prepareStable, d as enterPrerelease, et as verifyPrePush, f as exitPrerelease, g as parsePublishSummary, h as GitHubClient, i as repairReleaseNotes, it as generateAgenticTemplate, j as getTemplateMap, l as publishStable, m as GitHubApiError, n as upgradeMonorepo, nt as createTimestampFolderName, o as recoverUnpublished, ot as loadAgenticTasks, p as releasePrerelease, q as updateIssueTemplateConfig, r as checkTemplates, rt as defaultAgenticBaseDir, s as releaseCi, st as GitClient, tt as verifyStagedTypecheck, u as releaseStable, v as init, w as collectEnvPaths, x as normalizeInitToolingTargets, y as initMetadata, z as escapeStringRegexp } from "./commands-BqUFCJA_.mjs";
|
|
2
2
|
import { i as getWorkspacePackages, n as getWorkspaceData, r as getWorkspacePackageSummaries, t as clearWorkspaceCache } from "./workspace-MCKewElu.mjs";
|
|
3
|
-
import { C as
|
|
3
|
+
import { C as outputJson, D as remove, E as readJson, O as writeJSON, S as outputJSON, T as readJSON, _ as ensureFile, a as rootDir, b as isIgnorableFsError, g as ensureDir, h as copy, i as packageDir, k as writeJson, l as name, m as logger, n as assetsDir, o as templatesDir, r as cliName, t as initToolingTargets, u as version, v as exists, w as pathExists, x as outputFile } from "./types-BS9l6MOk.mjs";
|
|
4
4
|
import { a as loadMonorepoConfig, c as resolveToolingConfig, i as getRepoctlConfigCandidates, o as loadMonorepoConfigDetails, r as defineMonorepoConfig, s as resolveCommandConfig, t as configExtensions } from "./config-p842Knhq.mjs";
|
|
5
|
-
import { a as createMonorepoTsconfig, c as defineCommitlintConfig, d as defineStylelintConfig, f as defineTsconfigConfig, h as loadMonorepoToolingConfig, i as createMonorepoStylelintConfig, l as defineEslintConfig, m as defineVitestProjectConfig, n as createMonorepoEslintConfig, o as createMonorepoVitestConfig, p as defineVitestConfig, r as createMonorepoLintStagedConfig, s as createMonorepoVitestProjectConfig, t as createMonorepoCommitlintConfig, u as defineLintStagedConfig } from "./tooling-
|
|
6
|
-
export { GitClient, GitHubApiError, GitHubClient, assetsDir, checkTemplates, cleanProjects, clearWorkspaceCache, cliName, collectEnvInfo, collectEnvPaths, collectEnvSnapshot, collectEnvSupportBundle, configExtensions, copy, createContext, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePullRequest, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineMonorepoConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, ensureDir, ensureFile, enterPrerelease, escapeStringRegexp, exists, exitPrerelease, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getFileHash, getKnownRepoCheckCommands, getRepoctlConfigCandidates, getSkillTargetPaths, getTemplateMap, getWorkspaceData, getWorkspacePackageSummaries, getWorkspacePackages, init, initMetadata, initTooling, initToolingTargets, inspectMonorepoConfig, isFileChanged, isGitignoreFile, isIgnorableFsError, isMatch, loadAgenticTasks, loadMonorepoConfig, loadMonorepoConfigDetails, loadMonorepoToolingConfig, logger, normalizeInitToolingTargets, outputFile, outputJSON, outputJson, packageDir, name as packageName, parsePublishSummary, pathExists, prepareStable, publishStable, readJSON, readJson, recoverUnpublished, releaseCi, releasePrerelease, releaseStable, remove, resolveCommandConfig, resolveCreateNewProjectPlan, resolveFullWorkspaceCheckPlan, resolveRecommendedCheckPlan, resolveToolingConfig, rootDir, runDoctor, runRecommendedCheck, setByPath, setVscodeBinaryMirror, skillTargets, syncSkills, templateMap, templatesDir, toPublishGitignorePath, toWorkspaceGitignorePath, updateIssueTemplateConfig, upgradeMonorepo, verifyCommitMsg, verifyPreCommit, verifyPrePush, verifyStagedTypecheck, version, writeJSON, writeJson };
|
|
5
|
+
import { a as createMonorepoTsconfig, c as defineCommitlintConfig, d as defineStylelintConfig, f as defineTsconfigConfig, h as loadMonorepoToolingConfig, i as createMonorepoStylelintConfig, l as defineEslintConfig, m as defineVitestProjectConfig, n as createMonorepoEslintConfig, o as createMonorepoVitestConfig, p as defineVitestConfig, r as createMonorepoLintStagedConfig, s as createMonorepoVitestProjectConfig, t as createMonorepoCommitlintConfig, u as defineLintStagedConfig } from "./tooling-CdZRpvYw.mjs";
|
|
6
|
+
export { GitClient, GitHubApiError, GitHubClient, assetsDir, checkTemplates, cleanProjects, clearWorkspaceCache, cliName, collectEnvInfo, collectEnvPaths, collectEnvSnapshot, collectEnvSupportBundle, configExtensions, copy, createContext, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePullRequest, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineMonorepoConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, ensureDir, ensureFile, enterPrerelease, escapeStringRegexp, exists, exitPrerelease, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getFileHash, getKnownRepoCheckCommands, getRepoctlConfigCandidates, getSkillTargetPaths, getTemplateMap, getWorkspaceData, getWorkspacePackageSummaries, getWorkspacePackages, init, initMetadata, initTooling, initToolingTargets, inspectMonorepoConfig, isFileChanged, isGitignoreFile, isIgnorableFsError, isMatch, loadAgenticTasks, loadMonorepoConfig, loadMonorepoConfigDetails, loadMonorepoToolingConfig, logger, normalizeInitToolingTargets, outputFile, outputJSON, outputJson, packageDir, name as packageName, parsePublishSummary, pathExists, prepareStable, publishStable, readJSON, readJson, recoverUnpublished, releaseCi, releasePrerelease, releaseStable, remove, repairReleaseNotes, resolveCommandConfig, resolveCreateNewProjectPlan, resolveFullWorkspaceCheckPlan, resolveRecommendedCheckPlan, resolveToolingConfig, rootDir, runDoctor, runRecommendedCheck, setByPath, setVscodeBinaryMirror, skillTargets, syncSkills, templateMap, templatesDir, toPublishGitignorePath, toWorkspaceGitignorePath, updateIssueTemplateConfig, upgradeMonorepo, verifyCommitMsg, verifyPreCommit, verifyPrePush, verifyStagedTypecheck, version, writeJSON, writeJson };
|
|
@@ -263,8 +263,8 @@ async function defineTsconfigConfig(input = {}) {
|
|
|
263
263
|
* 默认行为:
|
|
264
264
|
* - `*.{js,jsx,mjs,ts,tsx,mts,cts}` 运行 `eslint --fix`
|
|
265
265
|
* - `*.vue` 同时运行 `eslint --fix` 与 `stylelint --fix --allow-empty-input`
|
|
266
|
-
* -
|
|
267
|
-
*
|
|
266
|
+
* - TypeScript/Vue files and workspace `package.json` files share one
|
|
267
|
+
* `pnpm exec repo verify staged-typecheck` task to avoid concurrent builds
|
|
268
268
|
* - 样式文件运行 `stylelint --fix --allow-empty-input`
|
|
269
269
|
*
|
|
270
270
|
* @param options 可配置 `repoCommand`,默认值为 `pnpm exec repo`
|
|
@@ -285,12 +285,7 @@ function createMonorepoLintStagedConfig(options = {}) {
|
|
|
285
285
|
return {
|
|
286
286
|
"*.{js,jsx,mjs,ts,tsx,mts,cts}": ["eslint --fix"],
|
|
287
287
|
"*.vue": ["eslint --fix", "stylelint --fix --allow-empty-input"],
|
|
288
|
-
"*.{ts,tsx,mts,cts,vue}": (files) => {
|
|
289
|
-
const uniqueFiles = [...new Set(files)];
|
|
290
|
-
if (uniqueFiles.length === 0) return [];
|
|
291
|
-
return `${repoCommand} verify staged-typecheck ${uniqueFiles.map(escapeForShell).join(" ")}`;
|
|
292
|
-
},
|
|
293
|
-
"**/package.json": (files) => {
|
|
288
|
+
"*.{ts,tsx,mts,cts,vue,json}": (files) => {
|
|
294
289
|
const uniqueFiles = [...new Set(files)];
|
|
295
290
|
if (uniqueFiles.length === 0) return [];
|
|
296
291
|
return `${repoCommand} verify staged-typecheck ${uniqueFiles.map(escapeForShell).join(" ")}`;
|
package/dist/tooling-entry.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as loadMonorepoToolingConfig, C as defineCommitlintConfig, D as defineTsconfigConfig, E as defineStylelintConfig, O as defineVitestConfig, S as createMonorepoVitestProjectConfig, T as defineLintStagedConfig, _ as createMonorepoEslintConfig, a as MonorepoCommitlintConfig, b as createMonorepoTsconfig, c as MonorepoLintStagedConfigOptions, d as MonorepoVitestConfigOptions, f as MonorepoVitestConfigOverrides, g as createMonorepoCommitlintConfig, h as MonorepoVitestProjectConfigResult, i as DefineVitestProjectConfigOptions, k as defineVitestProjectConfig, l as MonorepoStylelintConfig, m as MonorepoVitestProjectConfigOptions, n as DefineEslintConfigOptions, o as MonorepoEslintConfig, p as MonorepoVitestConfigResult, r as DefineVitestConfigOptions, s as MonorepoLintStagedConfig, t as DefineConfigOptions, u as MonorepoTsconfig, v as createMonorepoLintStagedConfig, w as defineEslintConfig, x as createMonorepoVitestConfig, y as createMonorepoStylelintConfig } from "./index-
|
|
1
|
+
import { A as loadMonorepoToolingConfig, C as defineCommitlintConfig, D as defineTsconfigConfig, E as defineStylelintConfig, O as defineVitestConfig, S as createMonorepoVitestProjectConfig, T as defineLintStagedConfig, _ as createMonorepoEslintConfig, a as MonorepoCommitlintConfig, b as createMonorepoTsconfig, c as MonorepoLintStagedConfigOptions, d as MonorepoVitestConfigOptions, f as MonorepoVitestConfigOverrides, g as createMonorepoCommitlintConfig, h as MonorepoVitestProjectConfigResult, i as DefineVitestProjectConfigOptions, k as defineVitestProjectConfig, l as MonorepoStylelintConfig, m as MonorepoVitestProjectConfigOptions, n as DefineEslintConfigOptions, o as MonorepoEslintConfig, p as MonorepoVitestConfigResult, r as DefineVitestConfigOptions, s as MonorepoLintStagedConfig, t as DefineConfigOptions, u as MonorepoTsconfig, v as createMonorepoLintStagedConfig, w as defineEslintConfig, x as createMonorepoVitestConfig, y as createMonorepoStylelintConfig } from "./index-B0fwhqup.mjs";
|
|
2
2
|
export { DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, MonorepoCommitlintConfig, MonorepoEslintConfig, MonorepoLintStagedConfig, MonorepoLintStagedConfigOptions, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, loadMonorepoToolingConfig };
|
package/dist/tooling-entry.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as createMonorepoTsconfig, c as defineCommitlintConfig, d as defineStylelintConfig, f as defineTsconfigConfig, h as loadMonorepoToolingConfig, i as createMonorepoStylelintConfig, l as defineEslintConfig, m as defineVitestProjectConfig, n as createMonorepoEslintConfig, o as createMonorepoVitestConfig, p as defineVitestConfig, r as createMonorepoLintStagedConfig, s as createMonorepoVitestProjectConfig, t as createMonorepoCommitlintConfig, u as defineLintStagedConfig } from "./tooling-
|
|
1
|
+
import { a as createMonorepoTsconfig, c as defineCommitlintConfig, d as defineStylelintConfig, f as defineTsconfigConfig, h as loadMonorepoToolingConfig, i as createMonorepoStylelintConfig, l as defineEslintConfig, m as defineVitestProjectConfig, n as createMonorepoEslintConfig, o as createMonorepoVitestConfig, p as defineVitestConfig, r as createMonorepoLintStagedConfig, s as createMonorepoVitestProjectConfig, t as createMonorepoCommitlintConfig, u as defineLintStagedConfig } from "./tooling-CdZRpvYw.mjs";
|
|
2
2
|
export { createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, loadMonorepoToolingConfig };
|