@icebreakers/monorepo 3.0.2 → 3.0.3

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.23.0",
6
+ "packageManager": "pnpm@10.24.0",
7
7
  "author": "ice breaker <1324318532@qq.com>",
8
8
  "repository": {
9
9
  "type": "git",
@@ -40,8 +40,8 @@
40
40
  "script:mirror": "monorepo mirror"
41
41
  },
42
42
  "devDependencies": {
43
- "@changesets/changelog-github": "^0.5.1",
44
- "@changesets/cli": "^2.29.7",
43
+ "@changesets/changelog-github": "^0.5.2",
44
+ "@changesets/cli": "^2.29.8",
45
45
  "@commitlint/cli": "^20.1.0",
46
46
  "@icebreakers/commitlint-config": "^1.2.2",
47
47
  "@icebreakers/eslint-config": "^1.6.0",
@@ -64,8 +64,8 @@
64
64
  "pathe": "^2.0.3",
65
65
  "pkg-types": "^2.3.0",
66
66
  "rimraf": "^6.1.2",
67
- "stylelint": "^16.26.0",
68
- "tsdown": "^0.16.7",
67
+ "stylelint": "^16.26.1",
68
+ "tsdown": "^0.16.8",
69
69
  "tslib": "^2.8.1",
70
70
  "tsup": "^8.5.1",
71
71
  "tsx": "^4.20.6",
package/dist/cli.cjs CHANGED
@@ -1,4 +1,4 @@
1
- const require_upgrade = require('./upgrade-qy3Wgjgw.cjs');
1
+ const require_upgrade = require('./upgrade-BTMNNTgu.cjs');
2
2
  let node_process = require("node:process");
3
3
  node_process = require_upgrade.__toESM(node_process);
4
4
  let __inquirer_input = require("@inquirer/input");
package/dist/cli.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { E as cleanProjects, T as version, c as getCreateChoices, i as init, k as resolveCommandConfig, n as syncNpmMirror, o as createNewProject, r as setVscodeBinaryMirror, s as defaultTemplate, t as upgradeMonorepo, w as name, y as logger } from "./upgrade-BddyAYEx.mjs";
1
+ import { E as cleanProjects, T as version, c as getCreateChoices, i as init, k as resolveCommandConfig, n as syncNpmMirror, o as createNewProject, r as setVscodeBinaryMirror, s as defaultTemplate, t as upgradeMonorepo, w as name, y as logger } from "./upgrade-CxCmaiou.mjs";
2
2
  import process from "node:process";
3
3
  import input from "@inquirer/input";
4
4
  import select from "@inquirer/select";
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- const require_upgrade = require('./upgrade-qy3Wgjgw.cjs');
1
+ const require_upgrade = require('./upgrade-BTMNNTgu.cjs');
2
2
 
3
3
  exports.GitClient = require_upgrade.GitClient;
4
4
  exports.assetsDir = require_upgrade.assetsDir;
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { A as getWorkspaceData, C as templatesDir, D as defineMonorepoConfig, E as cleanProjects, M as GitClient, O as loadMonorepoConfig, S as rootDir, T as version, _ as toWorkspaceGitignorePath, a as createContext, b as assetsDir, c as getCreateChoices, d as escapeStringRegexp, f as isMatch, g as toPublishGitignorePath, h as isGitignoreFile, i as init, j as getWorkspacePackages, k as resolveCommandConfig, l as getTemplateMap, m as isFileChanged, n as syncNpmMirror, o as createNewProject, p as getFileHash, r as setVscodeBinaryMirror, t as upgradeMonorepo, u as templateMap, v as isIgnorableFsError, w as name, x as packageDir, y as logger } from "./upgrade-BddyAYEx.mjs";
1
+ import { A as getWorkspaceData, C as templatesDir, D as defineMonorepoConfig, E as cleanProjects, M as GitClient, O as loadMonorepoConfig, S as rootDir, T as version, _ as toWorkspaceGitignorePath, a as createContext, b as assetsDir, c as getCreateChoices, d as escapeStringRegexp, f as isMatch, g as toPublishGitignorePath, h as isGitignoreFile, i as init, j as getWorkspacePackages, k as resolveCommandConfig, l as getTemplateMap, m as isFileChanged, n as syncNpmMirror, o as createNewProject, p as getFileHash, r as setVscodeBinaryMirror, t as upgradeMonorepo, u as templateMap, v as isIgnorableFsError, w as name, x as packageDir, y as logger } from "./upgrade-CxCmaiou.mjs";
2
2
 
3
3
  export { GitClient, assetsDir, cleanProjects, createContext, createNewProject, defineMonorepoConfig, escapeStringRegexp, getCreateChoices, getFileHash, getTemplateMap, getWorkspaceData, getWorkspacePackages, init, isFileChanged, isGitignoreFile, isIgnorableFsError, isMatch, loadMonorepoConfig, logger, name, packageDir, resolveCommandConfig, rootDir, setVscodeBinaryMirror, syncNpmMirror, templateMap, templatesDir, toPublishGitignorePath, toWorkspaceGitignorePath, upgradeMonorepo, version };
@@ -5,9 +5,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __commonJS = (cb, mod) => function() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- };
8
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
11
9
  var __copyProps = (to, from, except, desc) => {
12
10
  if (from && typeof from === "object" || typeof from === "function") {
13
11
  for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
@@ -285,12 +283,12 @@ async function getWorkspaceData(cwd, options) {
285
283
  * Copyright (c) 2014-present, Jon Schlinkert.
286
284
  * Released under the MIT License.
287
285
  */
288
- var require_is_primitive = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is-primitive@3.0.1/node_modules/is-primitive/index.js": ((exports, module) => {
286
+ var require_is_primitive = /* @__PURE__ */ __commonJSMin(((exports, module) => {
289
287
  module.exports = function isPrimitive$1(val) {
290
288
  if (typeof val === "object") return val === null;
291
289
  return typeof val !== "function";
292
290
  };
293
- }) });
291
+ }));
294
292
 
295
293
  //#endregion
296
294
  //#region ../../node_modules/.pnpm/isobject@3.0.1/node_modules/isobject/index.js
@@ -300,11 +298,11 @@ var require_is_primitive = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
300
298
  * Copyright (c) 2014-2017, Jon Schlinkert.
301
299
  * Released under the MIT License.
302
300
  */
303
- var require_isobject = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isobject@3.0.1/node_modules/isobject/index.js": ((exports, module) => {
301
+ var require_isobject = /* @__PURE__ */ __commonJSMin(((exports, module) => {
304
302
  module.exports = function isObject$3(val) {
305
303
  return val != null && typeof val === "object" && Array.isArray(val) === false;
306
304
  };
307
- }) });
305
+ }));
308
306
 
309
307
  //#endregion
310
308
  //#region ../../node_modules/.pnpm/is-plain-object@2.0.4/node_modules/is-plain-object/index.js
@@ -314,7 +312,7 @@ var require_isobject = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is
314
312
  * Copyright (c) 2014-2017, Jon Schlinkert.
315
313
  * Released under the MIT License.
316
314
  */
317
- var require_is_plain_object = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is-plain-object@2.0.4/node_modules/is-plain-object/index.js": ((exports, module) => {
315
+ var require_is_plain_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
318
316
  var isObject$1 = require_isobject();
319
317
  function isObjectObject(o) {
320
318
  return isObject$1(o) === true && Object.prototype.toString.call(o) === "[object Object]";
@@ -329,7 +327,7 @@ var require_is_plain_object = /* @__PURE__ */ __commonJS({ "../../node_modules/.
329
327
  if (prot.hasOwnProperty("isPrototypeOf") === false) return false;
330
328
  return true;
331
329
  };
332
- }) });
330
+ }));
333
331
 
334
332
  //#endregion
335
333
  //#region ../../node_modules/.pnpm/set-value@4.1.0/node_modules/set-value/index.js
@@ -339,7 +337,7 @@ var require_is_plain_object = /* @__PURE__ */ __commonJS({ "../../node_modules/.
339
337
  * Copyright (c) Jon Schlinkert (https://github.com/jonschlinkert).
340
338
  * Released under the MIT License.
341
339
  */
342
- var require_set_value = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/set-value@4.1.0/node_modules/set-value/index.js": ((exports, module) => {
340
+ var require_set_value = /* @__PURE__ */ __commonJSMin(((exports, module) => {
343
341
  const { deleteProperty } = Reflect;
344
342
  const isPrimitive = require_is_primitive();
345
343
  const isPlainObject = require_is_plain_object();
@@ -443,7 +441,7 @@ var require_set_value = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/s
443
441
  setValue.cache = /* @__PURE__ */ new Map();
444
442
  };
445
443
  module.exports = setValue;
446
- }) });
444
+ }));
447
445
 
448
446
  //#endregion
449
447
  //#region src/core/config.ts
@@ -531,7 +529,7 @@ async function cleanProjects(cwd) {
531
529
  //#endregion
532
530
  //#region package.json
533
531
  var name = "@icebreakers/monorepo";
534
- var version = "3.0.2";
532
+ var version = "3.0.3";
535
533
 
536
534
  //#endregion
537
535
  //#region src/constants.ts
@@ -29,9 +29,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
29
29
  var __getOwnPropNames = Object.getOwnPropertyNames;
30
30
  var __getProtoOf = Object.getPrototypeOf;
31
31
  var __hasOwnProp = Object.prototype.hasOwnProperty;
32
- var __commonJS = (cb, mod) => function() {
33
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
34
- };
32
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
35
33
  var __copyProps = (to, from, except, desc) => {
36
34
  if (from && typeof from === "object" || typeof from === "function") {
37
35
  for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
@@ -274,12 +272,12 @@ async function getWorkspaceData(cwd, options) {
274
272
  * Copyright (c) 2014-present, Jon Schlinkert.
275
273
  * Released under the MIT License.
276
274
  */
277
- var require_is_primitive = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is-primitive@3.0.1/node_modules/is-primitive/index.js": ((exports, module) => {
275
+ var require_is_primitive = /* @__PURE__ */ __commonJSMin(((exports, module) => {
278
276
  module.exports = function isPrimitive$1(val) {
279
277
  if (typeof val === "object") return val === null;
280
278
  return typeof val !== "function";
281
279
  };
282
- }) });
280
+ }));
283
281
 
284
282
  //#endregion
285
283
  //#region ../../node_modules/.pnpm/isobject@3.0.1/node_modules/isobject/index.js
@@ -289,11 +287,11 @@ var require_is_primitive = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
289
287
  * Copyright (c) 2014-2017, Jon Schlinkert.
290
288
  * Released under the MIT License.
291
289
  */
292
- var require_isobject = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/isobject@3.0.1/node_modules/isobject/index.js": ((exports, module) => {
290
+ var require_isobject = /* @__PURE__ */ __commonJSMin(((exports, module) => {
293
291
  module.exports = function isObject$3(val) {
294
292
  return val != null && typeof val === "object" && Array.isArray(val) === false;
295
293
  };
296
- }) });
294
+ }));
297
295
 
298
296
  //#endregion
299
297
  //#region ../../node_modules/.pnpm/is-plain-object@2.0.4/node_modules/is-plain-object/index.js
@@ -303,7 +301,7 @@ var require_isobject = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is
303
301
  * Copyright (c) 2014-2017, Jon Schlinkert.
304
302
  * Released under the MIT License.
305
303
  */
306
- var require_is_plain_object = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is-plain-object@2.0.4/node_modules/is-plain-object/index.js": ((exports, module) => {
304
+ var require_is_plain_object = /* @__PURE__ */ __commonJSMin(((exports, module) => {
307
305
  var isObject$1 = require_isobject();
308
306
  function isObjectObject(o) {
309
307
  return isObject$1(o) === true && Object.prototype.toString.call(o) === "[object Object]";
@@ -318,7 +316,7 @@ var require_is_plain_object = /* @__PURE__ */ __commonJS({ "../../node_modules/.
318
316
  if (prot.hasOwnProperty("isPrototypeOf") === false) return false;
319
317
  return true;
320
318
  };
321
- }) });
319
+ }));
322
320
 
323
321
  //#endregion
324
322
  //#region ../../node_modules/.pnpm/set-value@4.1.0/node_modules/set-value/index.js
@@ -328,7 +326,7 @@ var require_is_plain_object = /* @__PURE__ */ __commonJS({ "../../node_modules/.
328
326
  * Copyright (c) Jon Schlinkert (https://github.com/jonschlinkert).
329
327
  * Released under the MIT License.
330
328
  */
331
- var require_set_value = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/set-value@4.1.0/node_modules/set-value/index.js": ((exports, module) => {
329
+ var require_set_value = /* @__PURE__ */ __commonJSMin(((exports, module) => {
332
330
  const { deleteProperty } = Reflect;
333
331
  const isPrimitive = require_is_primitive();
334
332
  const isPlainObject = require_is_plain_object();
@@ -432,7 +430,7 @@ var require_set_value = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/s
432
430
  setValue.cache = /* @__PURE__ */ new Map();
433
431
  };
434
432
  module.exports = setValue;
435
- }) });
433
+ }));
436
434
 
437
435
  //#endregion
438
436
  //#region src/core/config.ts
@@ -520,7 +518,7 @@ async function cleanProjects(cwd) {
520
518
  //#endregion
521
519
  //#region package.json
522
520
  var name = "@icebreakers/monorepo";
523
- var version = "3.0.2";
521
+ var version = "3.0.3";
524
522
 
525
523
  //#endregion
526
524
  //#region src/constants.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/monorepo",
3
3
  "type": "module",
4
- "version": "3.0.2",
4
+ "version": "3.0.3",
5
5
  "description": "The icebreaker's monorepo manager",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -64,8 +64,8 @@
64
64
  "@pnpm/find-workspace-dir": "^1000.1.3",
65
65
  "@pnpm/logger": "^1001.0.1",
66
66
  "@pnpm/types": "^1001.0.1",
67
- "@pnpm/worker": "^1000.3.3",
68
- "@pnpm/workspace.find-packages": "^1000.0.46",
67
+ "@pnpm/worker": "^1000.4.0",
68
+ "@pnpm/workspace.find-packages": "^1000.0.47",
69
69
  "@pnpm/workspace.read-manifest": "^1000.2.7",
70
70
  "c12": "^3.3.2",
71
71
  "commander": "^14.0.2",
@@ -40,7 +40,7 @@
40
40
  "hono": "^4.10.7",
41
41
  "tailwindcss": "^4.1.17",
42
42
  "typescript": "~5.9.3",
43
- "unplugin-vue-router": "^0.17.1",
43
+ "unplugin-vue-router": "^0.18.0",
44
44
  "vite": "^7.2.4",
45
45
  "vite-plugin-vue-devtools": "^8.0.5",
46
46
  "vite-tsconfig-paths": "^5.1.4",
@@ -24,10 +24,11 @@
24
24
  "dist"
25
25
  ],
26
26
  "scripts": {
27
- "dev": "tsx watch src/node-entry.ts",
28
- "start": "node dist/node-entry.js",
29
- "build:watch": "tsup --watch --sourcemap",
30
- "build": "tsup",
27
+ "dev": "wrangler dev",
28
+ "node:build:watch": "tsup --watch --sourcemap",
29
+ "node:build": "tsup",
30
+ "node:dev": "tsx watch src/node-entry.ts",
31
+ "node:start": "node dist/node-entry.js",
31
32
  "test": "vitest run",
32
33
  "test:dev": "vitest",
33
34
  "release": "pnpm publish",
@@ -35,7 +36,6 @@
35
36
  "lint:fix": "eslint . --fix",
36
37
  "deploy": "wrangler deploy",
37
38
  "cf-typegen": "wrangler types",
38
- "worker:dev": "wrangler dev",
39
39
  "postinstall": "pnpm cf-typegen"
40
40
  },
41
41
  "publishConfig": {
@@ -51,7 +51,7 @@
51
51
  "@vue/tsconfig": "^0.8.1",
52
52
  "jsdom": "^27.2.0",
53
53
  "tailwindcss": "^4.1.17",
54
- "unplugin-vue-router": "^0.17.1",
54
+ "unplugin-vue-router": "^0.18.0",
55
55
  "vite": "^7.2.4",
56
56
  "vite-plugin-dts": "^4.5.4",
57
57
  "vue": "^3.5.25",