@icebreakers/monorepo 1.2.2 → 1.2.4
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/gitignore +36 -0
- package/assets/package.json +2 -2
- package/dist/{chunk-SC5QBYJ5.js → chunk-MGL2NBGH.js} +6 -3
- package/dist/cli.cjs +6 -3
- package/dist/cli.js +1 -1
- package/dist/index.cjs +6 -3
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/templates/apps/cli/gitignore +2 -0
- package/templates/apps/client/gitignore +28 -0
- package/templates/apps/client/package.json +7 -6
- package/templates/apps/client/wrangler.jsonc +1 -1
- package/templates/apps/server/gitignore +2 -0
- package/templates/apps/server/package.json +4 -3
- package/templates/apps/website/gitignore +1 -0
- package/templates/packages/vue-lib-template/gitignore +1 -0
- package/templates/packages/vue-lib-template/package.json +2 -2
- package/templates/apps/client/worker-configuration.d.ts +0 -7688
- package/templates/apps/server/worker-configuration.d.ts +0 -7688
package/assets/gitignore
ADDED
|
@@ -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
|
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.17.
|
|
6
|
+
"packageManager": "pnpm@10.17.1",
|
|
7
7
|
"author": "ice breaker <1324318532@qq.com>",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"execa": "^9.6.0",
|
|
61
61
|
"fs-extra": "^11.3.2",
|
|
62
62
|
"husky": "^9.1.7",
|
|
63
|
-
"lint-staged": "^16.
|
|
63
|
+
"lint-staged": "^16.2.0",
|
|
64
64
|
"only-allow": "^1.2.1",
|
|
65
65
|
"pathe": "^2.0.3",
|
|
66
66
|
"pkg-types": "^2.3.0",
|
|
@@ -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.
|
|
378
|
+
var version = "1.2.4";
|
|
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
|
-
|
|
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.
|
|
237
|
+
var version = "1.2.4";
|
|
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
|
-
|
|
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
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.
|
|
410
|
+
var version = "1.2.4";
|
|
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
|
-
|
|
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
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/monorepo",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.4",
|
|
5
5
|
"description": "The icebreaker's monorepo manager",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@pnpm/logger": "^1001.0.0",
|
|
43
43
|
"@pnpm/types": "^1000.8.0",
|
|
44
44
|
"@pnpm/worker": "^1000.1.13",
|
|
45
|
-
"@pnpm/workspace.find-packages": "^1000.0.
|
|
45
|
+
"@pnpm/workspace.find-packages": "^1000.0.38",
|
|
46
46
|
"@pnpm/workspace.read-manifest": "^1000.2.4",
|
|
47
47
|
"commander": "^14.0.1",
|
|
48
48
|
"comment-json": "^4.2.5",
|
|
@@ -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,11 +8,12 @@
|
|
|
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",
|
|
15
|
-
"@tanstack/vue-query": "^5.
|
|
16
|
+
"@tanstack/vue-query": "^5.90.1",
|
|
16
17
|
"@tanstack/vue-table": "^8.21.3",
|
|
17
18
|
"@tanstack/vue-virtual": "^3.13.12",
|
|
18
19
|
"@trpc/client": "^11.5.1",
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
},
|
|
24
25
|
"devDependencies": {
|
|
25
26
|
"@cloudflare/vite-plugin": "^1.13.3",
|
|
26
|
-
"@hono/node-server": "^1.19.
|
|
27
|
+
"@hono/node-server": "^1.19.4",
|
|
27
28
|
"@hono/trpc-server": "^0.4.0",
|
|
28
29
|
"@tailwindcss/vite": "^4.1.13",
|
|
29
30
|
"@trpc/server": "^11.5.1",
|
|
@@ -34,11 +35,11 @@
|
|
|
34
35
|
"tailwindcss": "^4.1.13",
|
|
35
36
|
"typescript": "~5.9.2",
|
|
36
37
|
"unplugin-vue-router": "^0.15.0",
|
|
37
|
-
"vite": "^7.1.
|
|
38
|
+
"vite": "^7.1.7",
|
|
38
39
|
"vite-plugin-vue-devtools": "^8.0.2",
|
|
39
40
|
"vite-tsconfig-paths": "^5.1.4",
|
|
40
|
-
"vue-tsc": "3.0.
|
|
41
|
+
"vue-tsc": "3.0.8",
|
|
41
42
|
"wrangler": "^4.38.0",
|
|
42
|
-
"zod": "^4.1.
|
|
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-
|
|
4
|
+
"compatibility_date": "2025-09-17",
|
|
5
5
|
"main": "./worker/fetch-entry.ts",
|
|
6
6
|
"assets": {
|
|
7
7
|
"not_found_handling": "single-page-application"
|
|
@@ -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": {
|
|
@@ -50,9 +51,9 @@
|
|
|
50
51
|
"types": "./dist/index.d.ts"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
|
-
"@hono/node-server": "^1.19.
|
|
54
|
+
"@hono/node-server": "^1.19.4",
|
|
54
55
|
"hono": "^4.9.8",
|
|
55
56
|
"wrangler": "^4.38.0",
|
|
56
|
-
"zod": "^4.1.
|
|
57
|
+
"zod": "^4.1.11"
|
|
57
58
|
}
|
|
58
59
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vitepress/cache
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
types
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"jsdom": "^27.0.0",
|
|
53
53
|
"tailwindcss": "^4.1.13",
|
|
54
54
|
"unplugin-vue-router": "^0.15.0",
|
|
55
|
-
"vite": "^7.1.
|
|
55
|
+
"vite": "^7.1.7",
|
|
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.8"
|
|
60
60
|
}
|
|
61
61
|
}
|