@icebreakers/monorepo 1.1.4 → 1.1.6
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/assets/package.json +3 -2
- package/dist/{chunk-HU33NSNV.js → chunk-AVMWTAHK.js} +4 -3
- package/dist/cli.cjs +3 -3
- package/dist/cli.js +1 -1
- package/dist/index.cjs +5 -3
- package/dist/index.d.cts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +3 -1
- package/package.json +7 -7
- package/templates/vue-lib-template/package.json +2 -2
package/assets/package.json
CHANGED
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@commitlint/config-conventional": "^19.8.1",
|
|
47
47
|
"@commitlint/prompt-cli": "^19.8.1",
|
|
48
48
|
"@commitlint/types": "^19.8.1",
|
|
49
|
-
"@icebreakers/eslint-config": "^1.4.
|
|
49
|
+
"@icebreakers/eslint-config": "^1.4.2",
|
|
50
50
|
"@icebreakers/monorepo": "workspace:*",
|
|
51
|
-
"@icebreakers/stylelint-config": "^1.1.
|
|
51
|
+
"@icebreakers/stylelint-config": "^1.1.4",
|
|
52
52
|
"@types/fs-extra": "^11.0.4",
|
|
53
53
|
"@types/node": "^24.3.1",
|
|
54
54
|
"@vitest/coverage-v8": "~3.2.4",
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"tsup": "^8.5.0",
|
|
70
70
|
"tsx": "^4.20.5",
|
|
71
71
|
"turbo": "^2.5.6",
|
|
72
|
+
"type-fest": "^4.41.0",
|
|
72
73
|
"typescript": "^5.9.2",
|
|
73
74
|
"unbuild": "^3.6.1",
|
|
74
75
|
"vitest": "~3.2.4",
|
|
@@ -27,11 +27,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
mod
|
|
28
28
|
));
|
|
29
29
|
|
|
30
|
-
// ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.12_@types+node@24.3.1__jiti@2.5.1_postcss@8.5._ebe75d8f563d45fdb619723dc367e732/node_modules/tsup/assets/esm_shims.js
|
|
31
31
|
import path from "path";
|
|
32
32
|
import { fileURLToPath } from "url";
|
|
33
33
|
var init_esm_shims = __esm({
|
|
34
|
-
"../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.
|
|
34
|
+
"../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.12_@types+node@24.3.1__jiti@2.5.1_postcss@8.5._ebe75d8f563d45fdb619723dc367e732/node_modules/tsup/assets/esm_shims.js"() {
|
|
35
35
|
"use strict";
|
|
36
36
|
}
|
|
37
37
|
});
|
|
@@ -781,7 +781,7 @@ init_esm_shims();
|
|
|
781
781
|
|
|
782
782
|
// package.json
|
|
783
783
|
var name = "@icebreakers/monorepo";
|
|
784
|
-
var version = "1.1.
|
|
784
|
+
var version = "1.1.6";
|
|
785
785
|
|
|
786
786
|
// src/scripts.ts
|
|
787
787
|
init_esm_shims();
|
|
@@ -957,6 +957,7 @@ export {
|
|
|
957
957
|
require_set_value,
|
|
958
958
|
logger,
|
|
959
959
|
getWorkspacePackages,
|
|
960
|
+
getWorkspaceData,
|
|
960
961
|
cleanProjects,
|
|
961
962
|
GitClient,
|
|
962
963
|
init,
|
package/dist/cli.cjs
CHANGED
|
@@ -28,10 +28,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
mod
|
|
29
29
|
));
|
|
30
30
|
|
|
31
|
-
// ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.
|
|
31
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.12_@types+node@24.3.1__jiti@2.5.1_postcss@8.5._ebe75d8f563d45fdb619723dc367e732/node_modules/tsup/assets/cjs_shims.js
|
|
32
32
|
var getImportMetaUrl, importMetaUrl;
|
|
33
33
|
var init_cjs_shims = __esm({
|
|
34
|
-
"../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.
|
|
34
|
+
"../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.12_@types+node@24.3.1__jiti@2.5.1_postcss@8.5._ebe75d8f563d45fdb619723dc367e732/node_modules/tsup/assets/cjs_shims.js"() {
|
|
35
35
|
"use strict";
|
|
36
36
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
37
37
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -232,7 +232,7 @@ init_cjs_shims();
|
|
|
232
232
|
|
|
233
233
|
// package.json
|
|
234
234
|
var name = "@icebreakers/monorepo";
|
|
235
|
-
var version = "1.1.
|
|
235
|
+
var version = "1.1.6";
|
|
236
236
|
|
|
237
237
|
// src/create.ts
|
|
238
238
|
init_cjs_shims();
|
package/dist/cli.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.12_@types+node@24.3.1__jiti@2.5.1_postcss@8.5._ebe75d8f563d45fdb619723dc367e732/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.12_@types+node@24.3.1__jiti@2.5.1_postcss@8.5._ebe75d8f563d45fdb619723dc367e732/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
"use strict";
|
|
41
41
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
42
42
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -229,6 +229,7 @@ __export(index_exports, {
|
|
|
229
229
|
cleanProjects: () => cleanProjects,
|
|
230
230
|
escapeStringRegexp: () => escapeStringRegexp,
|
|
231
231
|
getFileHash: () => getFileHash,
|
|
232
|
+
getWorkspaceData: () => getWorkspaceData,
|
|
232
233
|
getWorkspacePackages: () => getWorkspacePackages,
|
|
233
234
|
init: () => init,
|
|
234
235
|
isFileChanged: () => isFileChanged,
|
|
@@ -776,7 +777,7 @@ init_cjs_shims();
|
|
|
776
777
|
|
|
777
778
|
// package.json
|
|
778
779
|
var name = "@icebreakers/monorepo";
|
|
779
|
-
var version = "1.1.
|
|
780
|
+
var version = "1.1.6";
|
|
780
781
|
|
|
781
782
|
// src/scripts.ts
|
|
782
783
|
init_cjs_shims();
|
|
@@ -981,6 +982,7 @@ async function upgradeMonorepo(opts) {
|
|
|
981
982
|
cleanProjects,
|
|
982
983
|
escapeStringRegexp,
|
|
983
984
|
getFileHash,
|
|
985
|
+
getWorkspaceData,
|
|
984
986
|
getWorkspacePackages,
|
|
985
987
|
init,
|
|
986
988
|
isFileChanged,
|
package/dist/index.d.cts
CHANGED
|
@@ -18,6 +18,18 @@ declare function getWorkspacePackages(workspaceDir: string, options?: GetWorkspa
|
|
|
18
18
|
manifest: _pnpm_types.ProjectManifest;
|
|
19
19
|
writeProjectManifest: (manifest: _pnpm_types.ProjectManifest, force?: boolean | undefined) => Promise<void>;
|
|
20
20
|
}[]>;
|
|
21
|
+
declare function getWorkspaceData(cwd: string, options?: GetWorkspacePackagesOptions): Promise<{
|
|
22
|
+
cwd: string;
|
|
23
|
+
workspaceDir: string;
|
|
24
|
+
packages: {
|
|
25
|
+
pkgJsonPath: string;
|
|
26
|
+
rootDir: _pnpm_types.ProjectRootDir;
|
|
27
|
+
rootDirRealPath: _pnpm_types.ProjectRootDirRealPath;
|
|
28
|
+
modulesDir?: string;
|
|
29
|
+
manifest: _pnpm_types.ProjectManifest;
|
|
30
|
+
writeProjectManifest: (manifest: _pnpm_types.ProjectManifest, force?: boolean | undefined) => Promise<void>;
|
|
31
|
+
}[];
|
|
32
|
+
}>;
|
|
21
33
|
|
|
22
34
|
declare function cleanProjects(cwd: string): Promise<void>;
|
|
23
35
|
|
|
@@ -59,4 +71,4 @@ declare function isFileChanged(src: crypto.BinaryLike, dest: crypto.BinaryLike):
|
|
|
59
71
|
declare function escapeStringRegexp(str: string): string;
|
|
60
72
|
declare function isMatch(str: string, arr: RegExp[]): boolean;
|
|
61
73
|
|
|
62
|
-
export { type GetWorkspacePackagesOptions, GitClient, cleanProjects, escapeStringRegexp, getFileHash, getWorkspacePackages, init, isFileChanged, isMatch, setPkgJson, setVscodeBinaryMirror, syncNpmMirror, upgradeMonorepo };
|
|
74
|
+
export { type GetWorkspacePackagesOptions, GitClient, cleanProjects, escapeStringRegexp, getFileHash, getWorkspaceData, getWorkspacePackages, init, isFileChanged, isMatch, setPkgJson, setVscodeBinaryMirror, syncNpmMirror, upgradeMonorepo };
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,18 @@ declare function getWorkspacePackages(workspaceDir: string, options?: GetWorkspa
|
|
|
18
18
|
manifest: _pnpm_types.ProjectManifest;
|
|
19
19
|
writeProjectManifest: (manifest: _pnpm_types.ProjectManifest, force?: boolean | undefined) => Promise<void>;
|
|
20
20
|
}[]>;
|
|
21
|
+
declare function getWorkspaceData(cwd: string, options?: GetWorkspacePackagesOptions): Promise<{
|
|
22
|
+
cwd: string;
|
|
23
|
+
workspaceDir: string;
|
|
24
|
+
packages: {
|
|
25
|
+
pkgJsonPath: string;
|
|
26
|
+
rootDir: _pnpm_types.ProjectRootDir;
|
|
27
|
+
rootDirRealPath: _pnpm_types.ProjectRootDirRealPath;
|
|
28
|
+
modulesDir?: string;
|
|
29
|
+
manifest: _pnpm_types.ProjectManifest;
|
|
30
|
+
writeProjectManifest: (manifest: _pnpm_types.ProjectManifest, force?: boolean | undefined) => Promise<void>;
|
|
31
|
+
}[];
|
|
32
|
+
}>;
|
|
21
33
|
|
|
22
34
|
declare function cleanProjects(cwd: string): Promise<void>;
|
|
23
35
|
|
|
@@ -59,4 +71,4 @@ declare function isFileChanged(src: crypto.BinaryLike, dest: crypto.BinaryLike):
|
|
|
59
71
|
declare function escapeStringRegexp(str: string): string;
|
|
60
72
|
declare function isMatch(str: string, arr: RegExp[]): boolean;
|
|
61
73
|
|
|
62
|
-
export { type GetWorkspacePackagesOptions, GitClient, cleanProjects, escapeStringRegexp, getFileHash, getWorkspacePackages, init, isFileChanged, isMatch, setPkgJson, setVscodeBinaryMirror, syncNpmMirror, upgradeMonorepo };
|
|
74
|
+
export { type GetWorkspacePackagesOptions, GitClient, cleanProjects, escapeStringRegexp, getFileHash, getWorkspaceData, getWorkspacePackages, init, isFileChanged, isMatch, setPkgJson, setVscodeBinaryMirror, syncNpmMirror, upgradeMonorepo };
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
cleanProjects,
|
|
4
4
|
escapeStringRegexp,
|
|
5
5
|
getFileHash,
|
|
6
|
+
getWorkspaceData,
|
|
6
7
|
getWorkspacePackages,
|
|
7
8
|
init,
|
|
8
9
|
init_esm_shims,
|
|
@@ -12,7 +13,7 @@ import {
|
|
|
12
13
|
setVscodeBinaryMirror,
|
|
13
14
|
syncNpmMirror,
|
|
14
15
|
upgradeMonorepo
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AVMWTAHK.js";
|
|
16
17
|
|
|
17
18
|
// src/index.ts
|
|
18
19
|
init_esm_shims();
|
|
@@ -21,6 +22,7 @@ export {
|
|
|
21
22
|
cleanProjects,
|
|
22
23
|
escapeStringRegexp,
|
|
23
24
|
getFileHash,
|
|
25
|
+
getWorkspaceData,
|
|
24
26
|
getWorkspacePackages,
|
|
25
27
|
init,
|
|
26
28
|
isFileChanged,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/monorepo",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.6",
|
|
5
5
|
"description": "The icebreaker's monorepo manager",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -40,18 +40,18 @@
|
|
|
40
40
|
"@inquirer/select": "^4.3.2",
|
|
41
41
|
"@pnpm/find-workspace-dir": "^1000.1.2",
|
|
42
42
|
"@pnpm/logger": "^1001.0.0",
|
|
43
|
-
"@pnpm/types": "^1000.
|
|
44
|
-
"@pnpm/worker": "^1000.1.
|
|
45
|
-
"@pnpm/workspace.find-packages": "^1000.0.
|
|
46
|
-
"@pnpm/workspace.read-manifest": "^1000.2.
|
|
47
|
-
"commander": "^14.0.
|
|
43
|
+
"@pnpm/types": "^1000.8.0",
|
|
44
|
+
"@pnpm/worker": "^1000.1.12",
|
|
45
|
+
"@pnpm/workspace.find-packages": "^1000.0.35",
|
|
46
|
+
"@pnpm/workspace.read-manifest": "^1000.2.3",
|
|
47
|
+
"commander": "^14.0.1",
|
|
48
48
|
"comment-json": "^4.2.5",
|
|
49
49
|
"consola": "^3.4.2",
|
|
50
50
|
"execa": "^9.6.0",
|
|
51
51
|
"fs-extra": "^11.3.1",
|
|
52
52
|
"git-url-parse": "^16.1.0",
|
|
53
53
|
"klaw": "^4.1.0",
|
|
54
|
-
"p-queue": "^8.1.
|
|
54
|
+
"p-queue": "^8.1.1",
|
|
55
55
|
"pathe": "^2.0.3",
|
|
56
56
|
"picocolors": "^1.1.1",
|
|
57
57
|
"simple-git": "^3.28.0"
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"jsdom": "^26.1.0",
|
|
53
53
|
"tailwindcss": "^4.1.13",
|
|
54
54
|
"unplugin-vue-router": "^0.15.0",
|
|
55
|
-
"vite": "^7.1.
|
|
55
|
+
"vite": "^7.1.5",
|
|
56
56
|
"vite-plugin-dts": "^4.5.4",
|
|
57
57
|
"vue": "^3.5.21",
|
|
58
58
|
"vue-router": "^4.5.1",
|
|
59
|
-
"vue-tsc": "^3.0.
|
|
59
|
+
"vue-tsc": "^3.0.7"
|
|
60
60
|
}
|
|
61
61
|
}
|