@icebreakers/monorepo 2.0.6 → 2.0.7

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.
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "version": "0.0.0",
5
5
  "private": true,
6
- "packageManager": "pnpm@10.18.1",
6
+ "packageManager": "pnpm@10.18.2",
7
7
  "author": "ice breaker <1324318532@qq.com>",
8
8
  "repository": {
9
9
  "type": "git",
@@ -48,7 +48,7 @@
48
48
  "@icebreakers/monorepo": "workspace:*",
49
49
  "@icebreakers/stylelint-config": "^1.2.1",
50
50
  "@types/fs-extra": "^11.0.4",
51
- "@types/node": "^24.7.0",
51
+ "@types/node": "^24.7.1",
52
52
  "@vitest/coverage-v8": "~3.2.4",
53
53
  "ci-info": "^4.3.1",
54
54
  "cross-env": "^10.1.0",
@@ -58,7 +58,7 @@
58
58
  "execa": "^9.6.0",
59
59
  "fs-extra": "^11.3.2",
60
60
  "husky": "^9.1.7",
61
- "lint-staged": "^16.2.3",
61
+ "lint-staged": "^16.2.4",
62
62
  "only-allow": "^1.2.1",
63
63
  "pathe": "^2.0.3",
64
64
  "pkg-types": "^2.3.0",
@@ -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.12_@types+node@24.7.0__jiti@2.6.1_postcss@8.5._b4f9d8f68386a20c7951c45e6370b42b/node_modules/tsup/assets/esm_shims.js
30
+ // ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.12_@types+node@24.7.1__jiti@2.6.1_postcss@8.5._774264c818cedeeab3a8372a2229f237/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.12_@types+node@24.7.0__jiti@2.6.1_postcss@8.5._b4f9d8f68386a20c7951c45e6370b42b/node_modules/tsup/assets/esm_shims.js"() {
34
+ "../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.12_@types+node@24.7.1__jiti@2.6.1_postcss@8.5._774264c818cedeeab3a8372a2229f237/node_modules/tsup/assets/esm_shims.js"() {
35
35
  "use strict";
36
36
  }
37
37
  });
@@ -578,7 +578,7 @@ async function cleanProjects(cwd) {
578
578
 
579
579
  // package.json
580
580
  var name = "@icebreakers/monorepo";
581
- var version = "2.0.6";
581
+ var version = "2.0.7";
582
582
 
583
583
  // src/constants.ts
584
584
  init_esm_shims();
@@ -1207,6 +1207,9 @@ async function upgradeMonorepo(opts) {
1207
1207
  }
1208
1208
  continue;
1209
1209
  }
1210
+ if (relPath === "LICENSE" && await fs7.pathExists(targetPath)) {
1211
+ continue;
1212
+ }
1210
1213
  if (await shouldWriteFile(targetPath, { skipOverwrite, source: await fs7.readFile(file.path), promptLabel: relPath })) {
1211
1214
  await fs7.copy(file.path, targetPath);
1212
1215
  logger.success(targetPath);
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.12_@types+node@24.7.0__jiti@2.6.1_postcss@8.5._b4f9d8f68386a20c7951c45e6370b42b/node_modules/tsup/assets/cjs_shims.js
31
+ // ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.12_@types+node@24.7.1__jiti@2.6.1_postcss@8.5._774264c818cedeeab3a8372a2229f237/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.12_@types+node@24.7.0__jiti@2.6.1_postcss@8.5._b4f9d8f68386a20c7951c45e6370b42b/node_modules/tsup/assets/cjs_shims.js"() {
34
+ "../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.12_@types+node@24.7.1__jiti@2.6.1_postcss@8.5._774264c818cedeeab3a8372a2229f237/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();
@@ -605,7 +605,7 @@ var import_node_url = require("url");
605
605
 
606
606
  // package.json
607
607
  var name = "@icebreakers/monorepo";
608
- var version = "2.0.6";
608
+ var version = "2.0.7";
609
609
 
610
610
  // src/constants.ts
611
611
  var packageJsonPath = (0, import_node_url.fileURLToPath)(new URL("../package.json", importMetaUrl));
@@ -1225,6 +1225,9 @@ async function upgradeMonorepo(opts) {
1225
1225
  }
1226
1226
  continue;
1227
1227
  }
1228
+ if (relPath === "LICENSE" && await import_fs_extra7.default.pathExists(targetPath)) {
1229
+ continue;
1230
+ }
1228
1231
  if (await shouldWriteFile(targetPath, { skipOverwrite, source: await import_fs_extra7.default.readFile(file.path), promptLabel: relPath })) {
1229
1232
  await import_fs_extra7.default.copy(file.path, targetPath);
1230
1233
  logger.success(targetPath);
package/dist/cli.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  syncNpmMirror,
13
13
  upgradeMonorepo,
14
14
  version
15
- } from "./chunk-PYHLZLUK.js";
15
+ } from "./chunk-EXEZ5XAV.js";
16
16
 
17
17
  // src/cli.ts
18
18
  init_esm_shims();
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.12_@types+node@24.7.0__jiti@2.6.1_postcss@8.5._b4f9d8f68386a20c7951c45e6370b42b/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.12_@types+node@24.7.1__jiti@2.6.1_postcss@8.5._774264c818cedeeab3a8372a2229f237/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.12_@types+node@24.7.0__jiti@2.6.1_postcss@8.5._b4f9d8f68386a20c7951c45e6370b42b/node_modules/tsup/assets/cjs_shims.js"() {
39
+ "../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.12_@types+node@24.7.1__jiti@2.6.1_postcss@8.5._774264c818cedeeab3a8372a2229f237/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();
@@ -637,7 +637,7 @@ var import_node_url = require("url");
637
637
 
638
638
  // package.json
639
639
  var name = "@icebreakers/monorepo";
640
- var version = "2.0.6";
640
+ var version = "2.0.7";
641
641
 
642
642
  // src/constants.ts
643
643
  var packageJsonPath = (0, import_node_url.fileURLToPath)(new URL("../package.json", importMetaUrl));
@@ -1257,6 +1257,9 @@ async function upgradeMonorepo(opts) {
1257
1257
  }
1258
1258
  continue;
1259
1259
  }
1260
+ if (relPath === "LICENSE" && await import_fs_extra7.default.pathExists(targetPath)) {
1261
+ continue;
1262
+ }
1260
1263
  if (await shouldWriteFile(targetPath, { skipOverwrite, source: await import_fs_extra7.default.readFile(file.path), promptLabel: relPath })) {
1261
1264
  await import_fs_extra7.default.copy(file.path, targetPath);
1262
1265
  logger.success(targetPath);
package/dist/index.d.cts CHANGED
@@ -269,7 +269,7 @@ declare function syncNpmMirror(cwd: string, options?: GetWorkspacePackagesOption
269
269
  declare function upgradeMonorepo(opts: CliOpts): Promise<void>;
270
270
 
271
271
  var name = "@icebreakers/monorepo";
272
- var version = "2.0.6";
272
+ var version = "2.0.7";
273
273
 
274
274
  /**
275
275
  * @icebreakers/monorepo 包的根目录,所有模板与资产目录都以此为基准。
package/dist/index.d.ts CHANGED
@@ -269,7 +269,7 @@ declare function syncNpmMirror(cwd: string, options?: GetWorkspacePackagesOption
269
269
  declare function upgradeMonorepo(opts: CliOpts): Promise<void>;
270
270
 
271
271
  var name = "@icebreakers/monorepo";
272
- var version = "2.0.6";
272
+ var version = "2.0.7";
273
273
 
274
274
  /**
275
275
  * @icebreakers/monorepo 包的根目录,所有模板与资产目录都以此为基准。
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  templatesDir,
28
28
  upgradeMonorepo,
29
29
  version
30
- } from "./chunk-PYHLZLUK.js";
30
+ } from "./chunk-EXEZ5XAV.js";
31
31
 
32
32
  // src/index.ts
33
33
  init_esm_shims();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/monorepo",
3
3
  "type": "module",
4
- "version": "2.0.6",
4
+ "version": "2.0.7",
5
5
  "description": "The icebreaker's monorepo manager",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -39,10 +39,10 @@
39
39
  "@inquirer/input": "^4.2.4",
40
40
  "@inquirer/select": "^4.3.4",
41
41
  "@pnpm/find-workspace-dir": "^1000.1.3",
42
- "@pnpm/logger": "^1001.0.0",
42
+ "@pnpm/logger": "^1001.0.1",
43
43
  "@pnpm/types": "^1000.8.0",
44
- "@pnpm/worker": "^1000.1.14",
45
- "@pnpm/workspace.find-packages": "^1000.0.39",
44
+ "@pnpm/worker": "^1000.2.0",
45
+ "@pnpm/workspace.find-packages": "^1000.0.40",
46
46
  "@pnpm/workspace.read-manifest": "^1000.2.4",
47
47
  "c12": "^3.3.0",
48
48
  "commander": "^14.0.1",
@@ -25,7 +25,7 @@
25
25
  "vue-router": "^4.5.1"
26
26
  },
27
27
  "devDependencies": {
28
- "@cloudflare/vite-plugin": "^1.13.11",
28
+ "@cloudflare/vite-plugin": "^1.13.12",
29
29
  "@hono/node-server": "^1.19.5",
30
30
  "@hono/trpc-server": "^0.4.0",
31
31
  "@tailwindcss/vite": "^4.1.14",
@@ -33,7 +33,7 @@
33
33
  "@vitejs/plugin-vue": "^6.0.1",
34
34
  "@vitejs/plugin-vue-jsx": "^5.1.1",
35
35
  "@vue/tsconfig": "^0.8.1",
36
- "hono": "^4.9.10",
36
+ "hono": "^4.9.11",
37
37
  "tailwindcss": "^4.1.14",
38
38
  "typescript": "~5.9.3",
39
39
  "unplugin-vue-router": "^0.15.0",
@@ -41,7 +41,7 @@
41
41
  "vite-plugin-vue-devtools": "^8.0.2",
42
42
  "vite-tsconfig-paths": "^5.1.4",
43
43
  "vue-tsc": "3.1.1",
44
- "wrangler": "^4.42.1",
44
+ "wrangler": "^4.42.2",
45
45
  "zod": "^4.1.12"
46
46
  }
47
47
  }
@@ -52,8 +52,8 @@
52
52
  },
53
53
  "devDependencies": {
54
54
  "@hono/node-server": "^1.19.5",
55
- "hono": "^4.9.10",
56
- "wrangler": "^4.42.1",
55
+ "hono": "^4.9.11",
56
+ "wrangler": "^4.42.2",
57
57
  "zod": "^4.1.12"
58
58
  }
59
59
  }