@icebreakers/monorepo 1.2.2 → 1.2.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.
@@ -0,0 +1,36 @@
1
+ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2
+
3
+ # dependencies
4
+ node_modules
5
+ .pnp
6
+ .pnp.js
7
+
8
+ # testing
9
+ coverage
10
+
11
+ # next.js
12
+ .next/
13
+ out/
14
+ build
15
+
16
+ # misc
17
+ .DS_Store
18
+ *.pem
19
+
20
+ # debug
21
+ npm-debug.log*
22
+ yarn-debug.log*
23
+ yarn-error.log*
24
+ .pnpm-debug.log*
25
+
26
+ # local env files
27
+ .env.local
28
+ .env.development.local
29
+ .env.test.local
30
+ .env.production.local
31
+
32
+ # turbo
33
+ .turbo
34
+
35
+ dist
36
+ vite.config.ts.timestamp-*.mjs
@@ -375,7 +375,7 @@ import { fileURLToPath as fileURLToPath2 } from "url";
375
375
 
376
376
  // package.json
377
377
  var name = "@icebreakers/monorepo";
378
- var version = "1.2.2";
378
+ var version = "1.2.3";
379
379
 
380
380
  // src/constants.ts
381
381
  var __filename2 = fileURLToPath2(import.meta.url);
@@ -436,7 +436,7 @@ async function createNewProject(options) {
436
436
  } else {
437
437
  await fs2.copy(
438
438
  path5.resolve(from, filename),
439
- path5.resolve(to, filename)
439
+ path5.resolve(to, filename === "gitignore" ? ".gitignore" : filename)
440
440
  );
441
441
  }
442
442
  }
@@ -962,7 +962,10 @@ async function upgradeMonorepo(opts) {
962
962
  })) {
963
963
  await queue.add(async () => {
964
964
  if (file.stats.isFile()) {
965
- const relPath = path12.relative(assetsDir, file.path);
965
+ let relPath = path12.relative(assetsDir, file.path);
966
+ if (relPath === "gitignore") {
967
+ relPath = ".gitignore";
968
+ }
966
969
  const targetPath = path12.resolve(absOutDir, relPath);
967
970
  const targetIsExisted = await fs7.exists(targetPath);
968
971
  async function overwriteOrCopy(target) {
package/dist/cli.cjs CHANGED
@@ -234,7 +234,7 @@ var import_node_url = require("url");
234
234
 
235
235
  // package.json
236
236
  var name = "@icebreakers/monorepo";
237
- var version = "1.2.2";
237
+ var version = "1.2.3";
238
238
 
239
239
  // src/constants.ts
240
240
  var __filename2 = (0, import_node_url.fileURLToPath)(importMetaUrl);
@@ -451,7 +451,7 @@ async function createNewProject(options) {
451
451
  } else {
452
452
  await import_fs_extra2.default.copy(
453
453
  import_pathe3.default.resolve(from, filename),
454
- import_pathe3.default.resolve(to, filename)
454
+ import_pathe3.default.resolve(to, filename === "gitignore" ? ".gitignore" : filename)
455
455
  );
456
456
  }
457
457
  }
@@ -977,7 +977,10 @@ async function upgradeMonorepo(opts) {
977
977
  })) {
978
978
  await queue.add(async () => {
979
979
  if (file.stats.isFile()) {
980
- const relPath = import_pathe10.default.relative(assetsDir, file.path);
980
+ let relPath = import_pathe10.default.relative(assetsDir, file.path);
981
+ if (relPath === "gitignore") {
982
+ relPath = ".gitignore";
983
+ }
981
984
  const targetPath = import_pathe10.default.resolve(absOutDir, relPath);
982
985
  const targetIsExisted = await import_fs_extra7.default.exists(targetPath);
983
986
  async function overwriteOrCopy(target) {
package/dist/cli.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  syncNpmMirror,
12
12
  upgradeMonorepo,
13
13
  version
14
- } from "./chunk-SC5QBYJ5.js";
14
+ } from "./chunk-4NCVGJER.js";
15
15
 
16
16
  // src/cli.ts
17
17
  init_esm_shims();
package/dist/index.cjs CHANGED
@@ -407,7 +407,7 @@ var import_node_url = require("url");
407
407
 
408
408
  // package.json
409
409
  var name = "@icebreakers/monorepo";
410
- var version = "1.2.2";
410
+ var version = "1.2.3";
411
411
 
412
412
  // src/constants.ts
413
413
  var __filename2 = (0, import_node_url.fileURLToPath)(importMetaUrl);
@@ -459,7 +459,7 @@ async function createNewProject(options) {
459
459
  } else {
460
460
  await import_fs_extra2.default.copy(
461
461
  import_pathe3.default.resolve(from, filename),
462
- import_pathe3.default.resolve(to, filename)
462
+ import_pathe3.default.resolve(to, filename === "gitignore" ? ".gitignore" : filename)
463
463
  );
464
464
  }
465
465
  }
@@ -985,7 +985,10 @@ async function upgradeMonorepo(opts) {
985
985
  })) {
986
986
  await queue.add(async () => {
987
987
  if (file.stats.isFile()) {
988
- const relPath = import_pathe10.default.relative(assetsDir, file.path);
988
+ let relPath = import_pathe10.default.relative(assetsDir, file.path);
989
+ if (relPath === "gitignore") {
990
+ relPath = ".gitignore";
991
+ }
989
992
  const targetPath = import_pathe10.default.resolve(absOutDir, relPath);
990
993
  const targetIsExisted = await import_fs_extra7.default.exists(targetPath);
991
994
  async function overwriteOrCopy(target) {
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  setVscodeBinaryMirror,
14
14
  syncNpmMirror,
15
15
  upgradeMonorepo
16
- } from "./chunk-SC5QBYJ5.js";
16
+ } from "./chunk-4NCVGJER.js";
17
17
 
18
18
  // src/index.ts
19
19
  init_esm_shims();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/monorepo",
3
3
  "type": "module",
4
- "version": "1.2.2",
4
+ "version": "1.2.3",
5
5
  "description": "The icebreaker's monorepo manager",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -0,0 +1,2 @@
1
+ bar
2
+ t
@@ -0,0 +1,28 @@
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ pnpm-debug.log*
8
+ lerna-debug.log*
9
+
10
+ node_modules
11
+ dist
12
+ dist-ssr
13
+ *.local
14
+
15
+ # Editor directories and files
16
+ .vscode/*
17
+ !.vscode/extensions.json
18
+ .idea
19
+ .DS_Store
20
+ *.suo
21
+ *.ntvs*
22
+ *.njsproj
23
+ *.sln
24
+ *.sw?
25
+ src/types/typed-router.d.ts
26
+ .wrangler
27
+ .dev.vars*
28
+ worker-configuration.d.ts
@@ -8,7 +8,8 @@
8
8
  "build": "vue-tsc -b && vite build",
9
9
  "preview": "vite preview",
10
10
  "deploy": "wrangler deploy",
11
- "cf-typegen": "wrangler types"
11
+ "cf-typegen": "wrangler types",
12
+ "postinstall": "pnpm cf-typegen"
12
13
  },
13
14
  "dependencies": {
14
15
  "@faker-js/faker": "^10.0.0",
@@ -39,6 +40,6 @@
39
40
  "vite-tsconfig-paths": "^5.1.4",
40
41
  "vue-tsc": "3.0.7",
41
42
  "wrangler": "^4.38.0",
42
- "zod": "^4.1.9"
43
+ "zod": "^4.1.11"
43
44
  }
44
45
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "./node_modules/wrangler/config-schema.json",
3
3
  "name": "monorepo-client",
4
- "compatibility_date": "2025-09-13",
4
+ "compatibility_date": "2025-09-21",
5
5
  "main": "./worker/fetch-entry.ts",
6
6
  "assets": {
7
7
  "not_found_handling": "single-page-application"
@@ -0,0 +1,2 @@
1
+ .wrangler
2
+ worker-configuration.d.ts
@@ -35,7 +35,8 @@
35
35
  "lint:fix": "eslint . --fix",
36
36
  "deploy": "wrangler deploy",
37
37
  "cf-typegen": "wrangler types",
38
- "worker:dev": "wrangler dev"
38
+ "worker:dev": "wrangler dev",
39
+ "postinstall": "pnpm cf-typegen"
39
40
  },
40
41
  "publishConfig": {
41
42
  "exports": {
@@ -53,6 +54,6 @@
53
54
  "@hono/node-server": "^1.19.3",
54
55
  "hono": "^4.9.8",
55
56
  "wrangler": "^4.38.0",
56
- "zod": "^4.1.9"
57
+ "zod": "^4.1.11"
57
58
  }
58
59
  }
@@ -0,0 +1 @@
1
+ .vitepress/cache