@icebreakers/monorepo 5.1.1 → 5.3.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 +241 -214
- package/dist/{commands-DwvtvWjz.mjs → commands-D7bVEzen.mjs} +482 -375
- package/dist/{create-flow-D-_VjRtz.mjs → create-flow-DbgrqNec.mjs} +32 -32
- package/dist/{index-cBqxgIwY.d.mts → index-G16qsfde.d.mts} +35 -3
- package/dist/index.d.mts +14 -8
- package/dist/index.mjs +3 -3
- 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-CGwtAKfx.mjs +416 -0
- package/package.json +9 -9
- package/dist/types-CLzhRYdV.mjs +0 -215
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as getCreateChoices, M as resolveCreateNewProjectPlan, O as createNewProject, k as defaultTemplate } from "./commands-
|
|
2
|
-
import { d as
|
|
1
|
+
import { A as getCreateChoices, M as resolveCreateNewProjectPlan, O as createNewProject, k as defaultTemplate } from "./commands-D7bVEzen.mjs";
|
|
2
|
+
import { b as fs, d as localize, h as logger } from "./types-CGwtAKfx.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
|
});
|
|
@@ -591,6 +591,37 @@ interface HuskyToolingConfig {
|
|
|
591
591
|
*/
|
|
592
592
|
commitMsgCommand?: string;
|
|
593
593
|
}
|
|
594
|
+
interface ReleaseCommandConfig {
|
|
595
|
+
/**
|
|
596
|
+
* version 与 publish 阶段执行的根 package.json 校验脚本。
|
|
597
|
+
* 配置后完整替换内置的 build、lint、test。
|
|
598
|
+
* @default ['build', 'lint', 'test']
|
|
599
|
+
*/
|
|
600
|
+
qualityScripts?: string[];
|
|
601
|
+
hooks?: {
|
|
602
|
+
/**
|
|
603
|
+
* pnpm version 前执行的根 package.json 脚本。
|
|
604
|
+
* @default []
|
|
605
|
+
*/
|
|
606
|
+
beforeVersion?: string[];
|
|
607
|
+
/**
|
|
608
|
+
* pnpm version 后执行的根 package.json 脚本。
|
|
609
|
+
* @default []
|
|
610
|
+
*/
|
|
611
|
+
afterVersion?: string[];
|
|
612
|
+
/**
|
|
613
|
+
* pnpm publish 前执行的根 package.json 脚本。
|
|
614
|
+
* @default []
|
|
615
|
+
*/
|
|
616
|
+
beforePublish?: string[];
|
|
617
|
+
/**
|
|
618
|
+
* npm metadata 与 GitHub Release 处理完成后执行的根 package.json 脚本。
|
|
619
|
+
* 即使没有 npm 包发布也会执行。
|
|
620
|
+
* @default []
|
|
621
|
+
*/
|
|
622
|
+
afterPublish?: string[];
|
|
623
|
+
};
|
|
624
|
+
}
|
|
594
625
|
/**
|
|
595
626
|
* `repoctl.config.ts` 中 `tooling` 总配置。
|
|
596
627
|
*
|
|
@@ -622,6 +653,7 @@ interface MonorepoConfig {
|
|
|
622
653
|
upgrade?: UpgradeCommandConfig;
|
|
623
654
|
init?: InitCommandConfig;
|
|
624
655
|
mirror?: MirrorCommandConfig;
|
|
656
|
+
release?: ReleaseCommandConfig;
|
|
625
657
|
};
|
|
626
658
|
/**
|
|
627
659
|
* 按工程化能力分类的可选配置。
|
|
@@ -859,8 +891,8 @@ declare function defineTsconfigConfig(input?: DefineConfigOptions<TsconfigToolin
|
|
|
859
891
|
* 默认行为:
|
|
860
892
|
* - `*.{js,jsx,mjs,ts,tsx,mts,cts}` 运行 `eslint --fix`
|
|
861
893
|
* - `*.vue` 同时运行 `eslint --fix` 与 `stylelint --fix --allow-empty-input`
|
|
862
|
-
* -
|
|
863
|
-
*
|
|
894
|
+
* - TypeScript/Vue files and workspace `package.json` files share one
|
|
895
|
+
* `pnpm exec repo verify staged-typecheck` task to avoid concurrent builds
|
|
864
896
|
* - 样式文件运行 `stylelint --fix --allow-empty-input`
|
|
865
897
|
*
|
|
866
898
|
* @param options 可配置 `repoCommand`,默认值为 `pnpm exec repo`
|
|
@@ -971,4 +1003,4 @@ declare function createMonorepoVitestProjectConfig(options?: MonorepoVitestProje
|
|
|
971
1003
|
*/
|
|
972
1004
|
declare function defineVitestProjectConfig(input?: DefineVitestProjectConfigOptions): Promise<MonorepoVitestProjectConfigResult>;
|
|
973
1005
|
//#endregion
|
|
974
|
-
export {
|
|
1006
|
+
export { initMetadata as $, loadMonorepoToolingConfig as A, HuskyToolingConfig as B, defineCommitlintConfig as C, defineTsconfigConfig as D, defineStylelintConfig as E, CleanCommandConfig as F, ReleaseCommandConfig as G, LintStagedToolingConfig as H, CommitlintToolingConfig as I, TsconfigToolingConfig as J, StylelintToolingConfig as K, CreateChoiceOption as L, SimpleGit as M, SimpleGitOptions as N, defineVitestConfig as O, AiCommandConfig as P, init as Q, CreateCommandConfig as R, createMonorepoVitestProjectConfig as S, defineLintStagedConfig as T, MirrorCommandConfig as U, InitCommandConfig as V, MonorepoConfig as W, VitestProjectToolingConfig as X, UpgradeCommandConfig as Y, VitestToolingConfig as Z, createMonorepoEslintConfig as _, loadAgenticTasks as _t, MonorepoCommitlintConfig as a, CreateNewProjectPlan as at, createMonorepoTsconfig as b, MonorepoLintStagedConfigOptions as c, resolveCreateNewProjectPlan as ct, MonorepoVitestConfigOptions as d, AgenticTemplateTask as dt, initTooling as et, MonorepoVitestConfigOverrides as f, GenerateAgenticTemplateOptions as ft, createMonorepoCommitlintConfig as g, generateAgenticTemplates as gt, MonorepoVitestProjectConfigResult as h, generateAgenticTemplate as ht, DefineVitestProjectConfigOptions as i, CreateNewProjectOptions as it, ConfigValues as j, defineVitestProjectConfig as k, MonorepoStylelintConfig as l, templateMap as lt, MonorepoVitestProjectConfigOptions as m, defaultAgenticBaseDir as mt, DefineEslintConfigOptions as n, initToolingTargets as nt, MonorepoEslintConfig as o, getCreateChoices as ot, MonorepoVitestConfigResult as p, createTimestampFolderName as pt, ToolingConfig as q, DefineVitestConfigOptions as r, createNewProject as rt, MonorepoLintStagedConfig as s, getTemplateMap as st, DefineConfigOptions as t, normalizeInitToolingTargets as tt, MonorepoTsconfig as u, AgenticTemplateFormat as ut, createMonorepoLintStagedConfig as v, CliOpts as vt, defineEslintConfig as w, createMonorepoVitestConfig as x, createMonorepoStylelintConfig as y, EslintToolingConfig as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as initMetadata, A as loadMonorepoToolingConfig, B as HuskyToolingConfig, C as defineCommitlintConfig, D as defineTsconfigConfig, E as defineStylelintConfig, F as CleanCommandConfig, G as ReleaseCommandConfig, H as LintStagedToolingConfig, I as CommitlintToolingConfig, J as TsconfigToolingConfig, K as StylelintToolingConfig, L as CreateChoiceOption, M as SimpleGit, N as SimpleGitOptions, O as defineVitestConfig, P as AiCommandConfig, Q as init, R as CreateCommandConfig, S as createMonorepoVitestProjectConfig, T as defineLintStagedConfig, U as MirrorCommandConfig, V as InitCommandConfig, W as MonorepoConfig, X as VitestProjectToolingConfig, Y as UpgradeCommandConfig, Z as VitestToolingConfig, _ as createMonorepoEslintConfig, _t as loadAgenticTasks, a as MonorepoCommitlintConfig, at as CreateNewProjectPlan, b as createMonorepoTsconfig, c as MonorepoLintStagedConfigOptions, ct as resolveCreateNewProjectPlan, d as MonorepoVitestConfigOptions, dt as AgenticTemplateTask, et as initTooling, f as MonorepoVitestConfigOverrides, ft as GenerateAgenticTemplateOptions, g as createMonorepoCommitlintConfig, gt as generateAgenticTemplates, h as MonorepoVitestProjectConfigResult, ht as generateAgenticTemplate, i as DefineVitestProjectConfigOptions, it as CreateNewProjectOptions, j as ConfigValues, k as defineVitestProjectConfig, l as MonorepoStylelintConfig, lt as templateMap, m as MonorepoVitestProjectConfigOptions, mt as defaultAgenticBaseDir, n as DefineEslintConfigOptions, nt as initToolingTargets, o as MonorepoEslintConfig, ot as getCreateChoices, p as MonorepoVitestConfigResult, pt as createTimestampFolderName, q as ToolingConfig, r as DefineVitestConfigOptions, rt as createNewProject, s as MonorepoLintStagedConfig, st as getTemplateMap, t as DefineConfigOptions, tt as normalizeInitToolingTargets, u as MonorepoTsconfig, ut as AgenticTemplateFormat, v as createMonorepoLintStagedConfig, vt as CliOpts, w as defineEslintConfig, x as createMonorepoVitestConfig, y as createMonorepoStylelintConfig, z as EslintToolingConfig } from "./index-G16qsfde.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;
|
|
@@ -363,6 +368,7 @@ interface ReleaseOptions {
|
|
|
363
368
|
branch?: string;
|
|
364
369
|
spawn?: typeof spawnSync;
|
|
365
370
|
env?: NodeJS.ProcessEnv;
|
|
371
|
+
config?: ReleaseCommandConfig;
|
|
366
372
|
}
|
|
367
373
|
interface ReleaseCiOptions extends ReleaseOptions {
|
|
368
374
|
mode?: ReleaseMode;
|
|
@@ -377,11 +383,11 @@ interface PublishedPackage {
|
|
|
377
383
|
//#endregion
|
|
378
384
|
//#region src/commands/release/ci.d.ts
|
|
379
385
|
declare function createReleasePullRequest(options: ReleaseCiOptions): Promise<boolean>;
|
|
380
|
-
declare function recoverUnpublished(options: ReleaseCiOptions): Promise<
|
|
381
|
-
declare function releaseCi(options: ReleaseCiOptions): Promise<
|
|
386
|
+
declare function recoverUnpublished(options: ReleaseCiOptions): Promise<PublishedPackage[]>;
|
|
387
|
+
declare function releaseCi(options: ReleaseCiOptions): Promise<PublishedPackage[] | undefined>;
|
|
382
388
|
//#endregion
|
|
383
389
|
//#region src/commands/release/prerelease.d.ts
|
|
384
|
-
declare function releasePrerelease(options: ReleaseOptions): Promise<
|
|
390
|
+
declare function releasePrerelease(options: ReleaseOptions): Promise<PublishedPackage[] | undefined>;
|
|
385
391
|
declare function enterPrerelease(tag: string, options: ReleaseOptions): Promise<void>;
|
|
386
392
|
declare function exitPrerelease(options: ReleaseOptions): Promise<void>;
|
|
387
393
|
//#endregion
|
|
@@ -402,9 +408,9 @@ declare function parsePublishSummary(content: string): PublishedPackage[];
|
|
|
402
408
|
//#endregion
|
|
403
409
|
//#region src/commands/release/stable.d.ts
|
|
404
410
|
declare function prepareStable(options: ReleaseOptions): Promise<boolean>;
|
|
405
|
-
declare function publishStable(options: ReleaseOptions): Promise<
|
|
411
|
+
declare function publishStable(options: ReleaseOptions): Promise<PublishedPackage[]>;
|
|
406
412
|
/** Compatibility entry point retained for existing generated repositories. */
|
|
407
|
-
declare function releaseStable(options: ReleaseOptions): Promise<
|
|
413
|
+
declare function releaseStable(options: ReleaseOptions): Promise<PublishedPackage[]>;
|
|
408
414
|
//#endregion
|
|
409
415
|
//#region src/commands/skills.d.ts
|
|
410
416
|
/**
|
|
@@ -866,4 +872,4 @@ declare function escapeStringRegexp(str: string): string;
|
|
|
866
872
|
*/
|
|
867
873
|
declare function isMatch(str: string, arr: RegExp[]): boolean;
|
|
868
874
|
//#endregion
|
|
869
|
-
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, 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 };
|
|
875
|
+
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, ReleaseCommandConfig, 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 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-
|
|
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-D7bVEzen.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 { A as writeJson, C as outputJSON, D as readJson, E as readJSON, O as remove, S as outputFile, T as pathExists, _ as ensureDir, a as rootDir, g as copy, h as logger, i as packageDir, k as writeJSON, l as name, n as assetsDir, o as templatesDir, r as cliName, t as initToolingTargets, u as version, v as ensureFile, w as outputJson, x as isIgnorableFsError, y as exists } from "./types-CGwtAKfx.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-
|
|
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
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-G16qsfde.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 };
|