@icebreakers/monorepo 0.7.8 → 0.7.9
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 +4 -4
- package/dist/{chunk-EPBKLX7A.js → chunk-GJA722VB.js} +1 -1
- package/dist/cli.cjs +2 -2
- package/dist/cli.js +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
- package/templates/bar/package.json +13 -16
- package/templates/bar/tsup.config.ts +7 -2
- package/templates/foo/build.config.ts +0 -1
- package/templates/foo/package.json +13 -16
- package/templates/foo/src/index.ts +2 -0
- package/templates/foo/src/utils.ts +3 -0
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.5
|
|
6
|
+
"packageManager": "pnpm@10.6.5",
|
|
7
7
|
"author": "ice breaker <1324318532@qq.com>",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"@commitlint/config-conventional": "^19.8.0",
|
|
39
39
|
"@commitlint/prompt-cli": "^19.8.0",
|
|
40
40
|
"@commitlint/types": "^19.8.0",
|
|
41
|
-
"@icebreakers/eslint-config": "^1.0.
|
|
41
|
+
"@icebreakers/eslint-config": "^1.0.4",
|
|
42
42
|
"@icebreakers/monorepo": "workspace:*",
|
|
43
43
|
"@icebreakers/stylelint-config": "^1.0.0",
|
|
44
44
|
"@types/fs-extra": "^11.0.4",
|
|
45
45
|
"@types/node": "^22.13.10",
|
|
46
|
-
"@vitest/coverage-v8": "~3.0.
|
|
46
|
+
"@vitest/coverage-v8": "~3.0.9",
|
|
47
47
|
"ci-info": "^4.2.0",
|
|
48
48
|
"cross-env": "^7.0.3",
|
|
49
49
|
"defu": "^6.1.4",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"turbo": "^2.4.4",
|
|
64
64
|
"typescript": "^5.8.2",
|
|
65
65
|
"unbuild": "^3.5.0",
|
|
66
|
-
"vitest": "~3.0.
|
|
66
|
+
"vitest": "~3.0.9",
|
|
67
67
|
"yaml": "^2.7.0"
|
|
68
68
|
},
|
|
69
69
|
"publishConfig": {
|
package/dist/cli.cjs
CHANGED
|
@@ -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.9";
|
|
234
234
|
|
|
235
235
|
// src/create.ts
|
|
236
236
|
init_cjs_shims();
|
|
@@ -321,7 +321,7 @@ var logger = (0, import_consola.createConsola)();
|
|
|
321
321
|
var __filename2 = (0, import_node_url.fileURLToPath)(importMetaUrl);
|
|
322
322
|
var __dirname = import_pathe.default.dirname(__filename2);
|
|
323
323
|
var templatesDir = import_pathe.default.join(__dirname, "../templates");
|
|
324
|
-
var defaultTemplate = "
|
|
324
|
+
var defaultTemplate = "unbuild";
|
|
325
325
|
var fromMap = {
|
|
326
326
|
tsup: "bar",
|
|
327
327
|
unbuild: "foo"
|
package/dist/cli.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
syncNpmMirror,
|
|
12
12
|
upgradeMonorepo,
|
|
13
13
|
version
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GJA722VB.js";
|
|
15
15
|
|
|
16
16
|
// src/cli.ts
|
|
17
17
|
init_esm_shims();
|
|
@@ -32,7 +32,7 @@ import pc from "picocolors";
|
|
|
32
32
|
var __filename = fileURLToPath(import.meta.url);
|
|
33
33
|
var __dirname = path.dirname(__filename);
|
|
34
34
|
var templatesDir = path.join(__dirname, "../templates");
|
|
35
|
-
var defaultTemplate = "
|
|
35
|
+
var defaultTemplate = "unbuild";
|
|
36
36
|
var fromMap = {
|
|
37
37
|
tsup: "bar",
|
|
38
38
|
unbuild: "foo"
|
package/dist/index.cjs
CHANGED
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.9",
|
|
5
5
|
"description": "icebreaker's monorepo config generator",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"templates"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@inquirer/checkbox": "^4.1.
|
|
38
|
-
"@inquirer/confirm": "^5.1.
|
|
37
|
+
"@inquirer/checkbox": "^4.1.4",
|
|
38
|
+
"@inquirer/confirm": "^5.1.8",
|
|
39
39
|
"@pnpm/logger": "^1000.0.0",
|
|
40
40
|
"@pnpm/types": "^1000.2.1",
|
|
41
|
-
"@pnpm/workspace.find-packages": "^1000.0.
|
|
41
|
+
"@pnpm/workspace.find-packages": "^1000.0.17",
|
|
42
42
|
"commander": "^13.1.0",
|
|
43
43
|
"comment-json": "^4.2.5",
|
|
44
|
-
"consola": "^3.4.
|
|
44
|
+
"consola": "^3.4.2",
|
|
45
45
|
"execa": "^9.5.2",
|
|
46
46
|
"fs-extra": "^11.3.0",
|
|
47
47
|
"git-url-parse": "^16.0.1",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/bar",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"description": "tsup
|
|
4
|
+
"version": "0.1.3",
|
|
5
|
+
"description": "tsup build package template",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
@@ -16,13 +16,21 @@
|
|
|
16
16
|
"keywords": [],
|
|
17
17
|
"sideEffects": false,
|
|
18
18
|
"exports": {
|
|
19
|
-
".":
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/index.mjs",
|
|
22
|
+
"require": "./dist/index.cjs"
|
|
23
|
+
}
|
|
20
24
|
},
|
|
25
|
+
"main": "./dist/index.cjs",
|
|
26
|
+
"module": "./dist/index.mjs",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
21
28
|
"files": [
|
|
22
29
|
"dist"
|
|
23
30
|
],
|
|
24
31
|
"scripts": {
|
|
25
|
-
"dev": "
|
|
32
|
+
"dev": "unbuild --stub",
|
|
33
|
+
"build:watch": "tsup --watch --sourcemap",
|
|
26
34
|
"build": "tsup",
|
|
27
35
|
"test": "vitest run",
|
|
28
36
|
"test:dev": "vitest",
|
|
@@ -30,16 +38,5 @@
|
|
|
30
38
|
"lint": "eslint .",
|
|
31
39
|
"lint:fix": "eslint . --fix"
|
|
32
40
|
},
|
|
33
|
-
"publishConfig": {
|
|
34
|
-
"exports": {
|
|
35
|
-
".": {
|
|
36
|
-
"types": "./dist/index.d.ts",
|
|
37
|
-
"import": "./dist/index.js",
|
|
38
|
-
"require": "./dist/index.cjs"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"main": "./dist/index.cjs",
|
|
42
|
-
"module": "./dist/index.js",
|
|
43
|
-
"types": "./dist/index.d.ts"
|
|
44
|
-
}
|
|
41
|
+
"publishConfig": {}
|
|
45
42
|
}
|
|
@@ -8,6 +8,11 @@ export default defineConfig({
|
|
|
8
8
|
dts: true,
|
|
9
9
|
// https://github.com/egoist/tsup/pull/1056
|
|
10
10
|
// https://github.com/egoist/tsup/issues?q=cjsInterop
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
cjsInterop: true,
|
|
12
|
+
splitting: true,
|
|
13
|
+
outExtension({ format }) {
|
|
14
|
+
return {
|
|
15
|
+
js: `.${format === 'esm' ? 'mjs' : 'cjs'}`,
|
|
16
|
+
}
|
|
17
|
+
},
|
|
13
18
|
})
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/foo",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"description": "esbuild
|
|
4
|
+
"version": "0.1.3",
|
|
5
|
+
"description": "esbuild build package template",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "ISC",
|
|
8
8
|
"repository": {
|
|
@@ -16,13 +16,21 @@
|
|
|
16
16
|
"keywords": [],
|
|
17
17
|
"sideEffects": false,
|
|
18
18
|
"exports": {
|
|
19
|
-
".":
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/index.mjs",
|
|
22
|
+
"require": "./dist/index.cjs"
|
|
23
|
+
}
|
|
20
24
|
},
|
|
25
|
+
"main": "./dist/index.cjs",
|
|
26
|
+
"module": "./dist/index.mjs",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
21
28
|
"files": [
|
|
22
29
|
"dist"
|
|
23
30
|
],
|
|
24
31
|
"scripts": {
|
|
25
|
-
"dev": "unbuild --
|
|
32
|
+
"dev": "unbuild --stub",
|
|
33
|
+
"build:watch": "unbuild --watch --sourcemap",
|
|
26
34
|
"build": "unbuild",
|
|
27
35
|
"test": "vitest run",
|
|
28
36
|
"test:dev": "vitest",
|
|
@@ -30,16 +38,5 @@
|
|
|
30
38
|
"lint": "eslint .",
|
|
31
39
|
"lint:fix": "eslint . --fix"
|
|
32
40
|
},
|
|
33
|
-
"publishConfig": {
|
|
34
|
-
"exports": {
|
|
35
|
-
".": {
|
|
36
|
-
"types": "./dist/index.d.ts",
|
|
37
|
-
"import": "./dist/index.mjs",
|
|
38
|
-
"require": "./dist/index.cjs"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"main": "./dist/index.cjs",
|
|
42
|
-
"module": "./dist/index.mjs",
|
|
43
|
-
"types": "./dist/index.d.ts"
|
|
44
|
-
}
|
|
41
|
+
"publishConfig": {}
|
|
45
42
|
}
|