@icebreakers/monorepo 0.7.5 → 0.7.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 +8 -8
- package/dist/{chunk-ORGG42AD.js → chunk-M6XRTHKD.js} +5 -5
- package/dist/cli.cjs +5 -5
- package/dist/cli.js +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/assets/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
6
|
-
"packageManager": "pnpm@10.
|
|
6
|
+
"packageManager": "pnpm@10.5.2",
|
|
7
7
|
"author": "ice breaker <1324318532@qq.com>",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"@icebreakers/monorepo": "workspace:*",
|
|
43
43
|
"@icebreakers/stylelint-config": "^1.0.0",
|
|
44
44
|
"@types/fs-extra": "^11.0.4",
|
|
45
|
-
"@types/node": "^22.13.
|
|
46
|
-
"@vitest/coverage-v8": "~3.0.
|
|
45
|
+
"@types/node": "^22.13.8",
|
|
46
|
+
"@vitest/coverage-v8": "~3.0.7",
|
|
47
47
|
"ci-info": "^4.1.0",
|
|
48
48
|
"cross-env": "^7.0.3",
|
|
49
49
|
"defu": "^6.1.4",
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"lint-staged": "^15.4.3",
|
|
56
56
|
"only-allow": "^1.2.1",
|
|
57
57
|
"pathe": "^2.0.3",
|
|
58
|
-
"pkg-types": "^1.
|
|
58
|
+
"pkg-types": "^2.1.0",
|
|
59
59
|
"rimraf": "^6.0.1",
|
|
60
60
|
"tslib": "^2.8.0",
|
|
61
61
|
"tsup": "^8.3.6",
|
|
62
62
|
"tsx": "^4.19.3",
|
|
63
|
-
"turbo": "^2.4.
|
|
64
|
-
"typescript": "^5.
|
|
65
|
-
"unbuild": "^3.
|
|
66
|
-
"vitest": "~3.0.
|
|
63
|
+
"turbo": "^2.4.4",
|
|
64
|
+
"typescript": "^5.8.2",
|
|
65
|
+
"unbuild": "^3.5.0",
|
|
66
|
+
"vitest": "~3.0.7",
|
|
67
67
|
"yaml": "^2.7.0"
|
|
68
68
|
},
|
|
69
69
|
"publishConfig": {
|
|
@@ -27,9 +27,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
mod
|
|
28
28
|
));
|
|
29
29
|
|
|
30
|
-
// ../../node_modules/.pnpm/tsup@8.
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_jiti@2.4.2_postcss@8.5.1_tsx@4.19.3_typescript@5.8.2_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js
|
|
31
31
|
var init_esm_shims = __esm({
|
|
32
|
-
"../../node_modules/.pnpm/tsup@8.
|
|
32
|
+
"../../node_modules/.pnpm/tsup@8.4.0_jiti@2.4.2_postcss@8.5.1_tsx@4.19.3_typescript@5.8.2_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
33
|
"use strict";
|
|
34
34
|
}
|
|
35
35
|
});
|
|
@@ -665,8 +665,8 @@ import { createConsola } from "consola";
|
|
|
665
665
|
var logger = createConsola();
|
|
666
666
|
|
|
667
667
|
// src/monorepo/sync.ts
|
|
668
|
-
async function syncNpmMirror(cwd) {
|
|
669
|
-
const packages = await getWorkspacePackages(cwd);
|
|
668
|
+
async function syncNpmMirror(cwd, options) {
|
|
669
|
+
const packages = await getWorkspacePackages(cwd, options);
|
|
670
670
|
logger.info(`[\u5F53\u524D\u5DE5\u4F5C\u533ARepo]:
|
|
671
671
|
${packages.map((x) => `- ${pc.green(x.manifest.name)} : ${path7.relative(cwd, x.rootDir)}`).join("\n")}
|
|
672
672
|
`);
|
|
@@ -741,7 +741,7 @@ init_esm_shims();
|
|
|
741
741
|
|
|
742
742
|
// package.json
|
|
743
743
|
var name = "@icebreakers/monorepo";
|
|
744
|
-
var version = "0.7.
|
|
744
|
+
var version = "0.7.6";
|
|
745
745
|
|
|
746
746
|
// src/scripts.ts
|
|
747
747
|
init_esm_shims();
|
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.
|
|
31
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_jiti@2.4.2_postcss@8.5.1_tsx@4.19.3_typescript@5.8.2_yaml@2.7.0/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.
|
|
34
|
+
"../../node_modules/.pnpm/tsup@8.4.0_jiti@2.4.2_postcss@8.5.1_tsx@4.19.3_typescript@5.8.2_yaml@2.7.0/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();
|
|
@@ -230,7 +230,7 @@ init_cjs_shims();
|
|
|
230
230
|
|
|
231
231
|
// package.json
|
|
232
232
|
var name = "@icebreakers/monorepo";
|
|
233
|
-
var version = "0.7.
|
|
233
|
+
var version = "0.7.6";
|
|
234
234
|
|
|
235
235
|
// src/create.ts
|
|
236
236
|
init_cjs_shims();
|
|
@@ -729,8 +729,8 @@ var import_execa = require("execa");
|
|
|
729
729
|
var import_p_queue = __toESM(require("p-queue"), 1);
|
|
730
730
|
var import_pathe8 = __toESM(require("pathe"), 1);
|
|
731
731
|
var import_picocolors2 = __toESM(require("picocolors"), 1);
|
|
732
|
-
async function syncNpmMirror(cwd2) {
|
|
733
|
-
const packages = await getWorkspacePackages(cwd2);
|
|
732
|
+
async function syncNpmMirror(cwd2, options) {
|
|
733
|
+
const packages = await getWorkspacePackages(cwd2, options);
|
|
734
734
|
logger.info(`[\u5F53\u524D\u5DE5\u4F5C\u533ARepo]:
|
|
735
735
|
${packages.map((x) => `- ${import_picocolors2.default.green(x.manifest.name)} : ${import_pathe8.default.relative(cwd2, x.rootDir)}`).join("\n")}
|
|
736
736
|
`);
|
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.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_jiti@2.4.2_postcss@8.5.1_tsx@4.19.3_typescript@5.8.2_yaml@2.7.0/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.
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.4.0_jiti@2.4.2_postcss@8.5.1_tsx@4.19.3_typescript@5.8.2_yaml@2.7.0/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();
|
|
@@ -698,8 +698,8 @@ var import_consola = require("consola");
|
|
|
698
698
|
var logger = (0, import_consola.createConsola)();
|
|
699
699
|
|
|
700
700
|
// src/monorepo/sync.ts
|
|
701
|
-
async function syncNpmMirror(cwd) {
|
|
702
|
-
const packages = await getWorkspacePackages(cwd);
|
|
701
|
+
async function syncNpmMirror(cwd, options) {
|
|
702
|
+
const packages = await getWorkspacePackages(cwd, options);
|
|
703
703
|
logger.info(`[\u5F53\u524D\u5DE5\u4F5C\u533ARepo]:
|
|
704
704
|
${packages.map((x) => `- ${import_picocolors.default.green(x.manifest.name)} : ${import_pathe7.default.relative(cwd, x.rootDir)}`).join("\n")}
|
|
705
705
|
`);
|
|
@@ -738,7 +738,7 @@ init_cjs_shims();
|
|
|
738
738
|
|
|
739
739
|
// package.json
|
|
740
740
|
var name = "@icebreakers/monorepo";
|
|
741
|
-
var version = "0.7.
|
|
741
|
+
var version = "0.7.6";
|
|
742
742
|
|
|
743
743
|
// src/scripts.ts
|
|
744
744
|
init_cjs_shims();
|
package/dist/index.d.cts
CHANGED
|
@@ -47,7 +47,7 @@ declare class GitClient {
|
|
|
47
47
|
|
|
48
48
|
declare function init(cwd: string): Promise<void>;
|
|
49
49
|
|
|
50
|
-
declare function syncNpmMirror(cwd: string): Promise<void>;
|
|
50
|
+
declare function syncNpmMirror(cwd: string, options?: GetWorkspacePackagesOptions): Promise<void>;
|
|
51
51
|
|
|
52
52
|
declare function setPkgJson(sourcePkgJson: PackageJson, targetPkgJson: PackageJson): void;
|
|
53
53
|
declare function upgradeMonorepo(opts: CliOpts): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ declare class GitClient {
|
|
|
47
47
|
|
|
48
48
|
declare function init(cwd: string): Promise<void>;
|
|
49
49
|
|
|
50
|
-
declare function syncNpmMirror(cwd: string): Promise<void>;
|
|
50
|
+
declare function syncNpmMirror(cwd: string, options?: GetWorkspacePackagesOptions): Promise<void>;
|
|
51
51
|
|
|
52
52
|
declare function setPkgJson(sourcePkgJson: PackageJson, targetPkgJson: PackageJson): void;
|
|
53
53
|
declare function upgradeMonorepo(opts: CliOpts): Promise<void>;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/monorepo",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.6",
|
|
5
5
|
"description": "icebreaker's monorepo config generator",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@inquirer/checkbox": "^4.1.1",
|
|
38
38
|
"@inquirer/confirm": "^5.1.5",
|
|
39
39
|
"@pnpm/logger": "^1000.0.0",
|
|
40
|
-
"@pnpm/types": "^1000.
|
|
41
|
-
"@pnpm/workspace.find-packages": "^1000.0.
|
|
40
|
+
"@pnpm/types": "^1000.2.0",
|
|
41
|
+
"@pnpm/workspace.find-packages": "^1000.0.12",
|
|
42
42
|
"commander": "^13.1.0",
|
|
43
43
|
"comment-json": "^4.2.5",
|
|
44
44
|
"consola": "^3.4.0",
|