@icebreakers/monorepo 1.0.1 → 1.0.2
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 +3 -3
- package/assets/turbo.json +1 -1
- package/assets/vitest.config.ts +3 -0
- package/dist/{chunk-OIMX7CDP.js → chunk-L7MRLUKD.js} +6 -6
- package/dist/cli.cjs +44 -28
- package/dist/cli.js +21 -5
- package/dist/index.cjs +6 -6
- package/dist/index.js +1 -1
- package/package.json +3 -1
- package/templates/{bar → tsup-template}/package.json +3 -3
- package/templates/{foo → unbuild-template}/package.json +3 -3
- package/templates/{vue-ui → vue-lib-template}/package.json +3 -3
- /package/templates/{bar → tsup-template}/src/index.ts +0 -0
- /package/templates/{bar → tsup-template}/test/index.test.ts +0 -0
- /package/templates/{bar → tsup-template}/tsconfig.json +0 -0
- /package/templates/{bar → tsup-template}/tsup.config.ts +0 -0
- /package/templates/{bar → tsup-template}/vitest.config.ts +0 -0
- /package/templates/{foo → unbuild-template}/build.config.ts +0 -0
- /package/templates/{foo → unbuild-template}/src/index.ts +0 -0
- /package/templates/{foo → unbuild-template}/src/utils.ts +0 -0
- /package/templates/{foo → unbuild-template}/test/index.test.ts +0 -0
- /package/templates/{foo → unbuild-template}/tsconfig.json +0 -0
- /package/templates/{foo → unbuild-template}/vitest.config.ts +0 -0
- /package/templates/{vue-ui → vue-lib-template}/eslint.config.js +0 -0
- /package/templates/{vue-ui → vue-lib-template}/index.html +0 -0
- /package/templates/{vue-ui → vue-lib-template}/lib/HelloWorld.vue +0 -0
- /package/templates/{vue-ui → vue-lib-template}/lib/index.ts +0 -0
- /package/templates/{vue-ui → vue-lib-template}/src/App.vue +0 -0
- /package/templates/{vue-ui → vue-lib-template}/src/main.ts +0 -0
- /package/templates/{vue-ui → vue-lib-template}/src/style.css +0 -0
- /package/templates/{vue-ui → vue-lib-template}/src/vite-env.d.ts +0 -0
- /package/templates/{vue-ui → vue-lib-template}/test/index.test.ts +0 -0
- /package/templates/{vue-ui → vue-lib-template}/tsconfig.app.json +0 -0
- /package/templates/{vue-ui → vue-lib-template}/tsconfig.json +0 -0
- /package/templates/{vue-ui → vue-lib-template}/tsconfig.node.json +0 -0
- /package/templates/{vue-ui → vue-lib-template}/tsconfig.test.json +0 -0
- /package/templates/{vue-ui → vue-lib-template}/vite.config.ts +0 -0
- /package/templates/{vue-ui → vue-lib-template}/vite.shared.config.ts +0 -0
- /package/templates/{vue-ui → vue-lib-template}/vitest.config.ts +0 -0
package/assets/package.json
CHANGED
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"@icebreakers/monorepo": "workspace:*",
|
|
43
43
|
"@icebreakers/stylelint-config": "^1.0.1",
|
|
44
44
|
"@types/fs-extra": "^11.0.4",
|
|
45
|
-
"@types/node": "^22.15.
|
|
45
|
+
"@types/node": "^22.15.29",
|
|
46
46
|
"@vitest/coverage-v8": "~3.1.4",
|
|
47
47
|
"ci-info": "^4.2.0",
|
|
48
48
|
"cross-env": "^7.0.3",
|
|
49
49
|
"defu": "^6.1.4",
|
|
50
50
|
"es-toolkit": "^1.38.0",
|
|
51
|
-
"eslint": "^9.
|
|
51
|
+
"eslint": "^9.28.0",
|
|
52
52
|
"execa": "^9.5.2",
|
|
53
53
|
"fs-extra": "^11.3.0",
|
|
54
54
|
"husky": "^9.1.6",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"tslib": "^2.8.0",
|
|
61
61
|
"tsup": "^8.5.0",
|
|
62
62
|
"tsx": "^4.19.4",
|
|
63
|
-
"turbo": "^2.5.
|
|
63
|
+
"turbo": "^2.5.3",
|
|
64
64
|
"typescript": "^5.8.2",
|
|
65
65
|
"unbuild": "^3.5.0",
|
|
66
66
|
"vitest": "~3.1.4",
|
package/assets/turbo.json
CHANGED
package/assets/vitest.config.ts
CHANGED
|
@@ -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.8_@types+node@22.15.
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.8_@types+node@22.15.29__jiti@2.4.2_postcss@8.5_1b01dd7c5f88cff18274d17a466843ec/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.8_@types+node@22.15.
|
|
34
|
+
"../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.8_@types+node@22.15.29__jiti@2.4.2_postcss@8.5_1b01dd7c5f88cff18274d17a466843ec/node_modules/tsup/assets/esm_shims.js"() {
|
|
35
35
|
"use strict";
|
|
36
36
|
}
|
|
37
37
|
});
|
|
@@ -282,8 +282,8 @@ import fs2 from "fs-extra";
|
|
|
282
282
|
import path3 from "pathe";
|
|
283
283
|
var cleanDirs = [
|
|
284
284
|
"packages/monorepo",
|
|
285
|
-
"packages/
|
|
286
|
-
"packages/
|
|
285
|
+
"packages/tsup-template",
|
|
286
|
+
"packages/vue-lib-template",
|
|
287
287
|
// 'packages/foo',
|
|
288
288
|
// 'apps/cli',
|
|
289
289
|
// 'apps/website',
|
|
@@ -324,7 +324,7 @@ var split = /* @__PURE__ */ __name((path11, splitChar, options) => {
|
|
|
324
324
|
return path11.split(splitChar);
|
|
325
325
|
}, "split");
|
|
326
326
|
var isValid = /* @__PURE__ */ __name((key, target = {}, options) => {
|
|
327
|
-
if (typeof options
|
|
327
|
+
if (typeof (options == null ? void 0 : options.isValid) === "function") {
|
|
328
328
|
return options.isValid(key, target);
|
|
329
329
|
}
|
|
330
330
|
return true;
|
|
@@ -767,7 +767,7 @@ init_esm_shims();
|
|
|
767
767
|
|
|
768
768
|
// package.json
|
|
769
769
|
var name = "@icebreakers/monorepo";
|
|
770
|
-
var version = "1.0.
|
|
770
|
+
var version = "1.0.2";
|
|
771
771
|
|
|
772
772
|
// src/scripts.ts
|
|
773
773
|
init_esm_shims();
|
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.8_@types+node@22.15.
|
|
31
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.8_@types+node@22.15.29__jiti@2.4.2_postcss@8.5_1b01dd7c5f88cff18274d17a466843ec/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.8_@types+node@22.15.
|
|
34
|
+
"../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.8_@types+node@22.15.29__jiti@2.4.2_postcss@8.5_1b01dd7c5f88cff18274d17a466843ec/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();
|
|
@@ -109,12 +109,12 @@ var require_set_value = __commonJS({
|
|
|
109
109
|
throw new Error(`Cannot set unsafe key: "${key}"`);
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
|
-
var toStringKey = (
|
|
113
|
-
return Array.isArray(
|
|
112
|
+
var toStringKey = (input2) => {
|
|
113
|
+
return Array.isArray(input2) ? input2.flat().map(String).join(",") : input2;
|
|
114
114
|
};
|
|
115
|
-
var createMemoKey = (
|
|
116
|
-
if (typeof
|
|
117
|
-
let key =
|
|
115
|
+
var createMemoKey = (input2, options) => {
|
|
116
|
+
if (typeof input2 !== "string" || !options) return input2;
|
|
117
|
+
let key = input2 + ";";
|
|
118
118
|
if (options.arrays !== void 0) key += `arrays=${options.arrays};`;
|
|
119
119
|
if (options.separator !== void 0) key += `separator=${options.separator};`;
|
|
120
120
|
if (options.split !== void 0) key += `split=${options.split};`;
|
|
@@ -122,18 +122,18 @@ var require_set_value = __commonJS({
|
|
|
122
122
|
if (options.preservePaths !== void 0) key += `preservePaths=${options.preservePaths};`;
|
|
123
123
|
return key;
|
|
124
124
|
};
|
|
125
|
-
var memoize = (
|
|
126
|
-
const key = toStringKey(options ? createMemoKey(
|
|
125
|
+
var memoize = (input2, options, fn) => {
|
|
126
|
+
const key = toStringKey(options ? createMemoKey(input2, options) : input2);
|
|
127
127
|
validateKey(key);
|
|
128
128
|
const value = setValue.cache.get(key) || fn();
|
|
129
129
|
setValue.cache.set(key, value);
|
|
130
130
|
return value;
|
|
131
131
|
};
|
|
132
|
-
var splitString = (
|
|
132
|
+
var splitString = (input2, options = {}) => {
|
|
133
133
|
const sep = options.separator || ".";
|
|
134
134
|
const preserve = sep === "/" ? false : options.preservePaths;
|
|
135
|
-
if (typeof
|
|
136
|
-
return [
|
|
135
|
+
if (typeof input2 === "string" && preserve !== false && /\//.test(input2)) {
|
|
136
|
+
return [input2];
|
|
137
137
|
}
|
|
138
138
|
const parts = [];
|
|
139
139
|
let part = "";
|
|
@@ -145,10 +145,10 @@ var require_set_value = __commonJS({
|
|
|
145
145
|
parts.push(part2);
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
|
-
for (let i = 0; i <
|
|
149
|
-
const value =
|
|
148
|
+
for (let i = 0; i < input2.length; i++) {
|
|
149
|
+
const value = input2[i];
|
|
150
150
|
if (value === "\\") {
|
|
151
|
-
part +=
|
|
151
|
+
part += input2[++i];
|
|
152
152
|
continue;
|
|
153
153
|
}
|
|
154
154
|
if (value === sep) {
|
|
@@ -163,11 +163,11 @@ var require_set_value = __commonJS({
|
|
|
163
163
|
}
|
|
164
164
|
return parts;
|
|
165
165
|
};
|
|
166
|
-
var split2 = (
|
|
167
|
-
if (options && typeof options.split === "function") return options.split(
|
|
168
|
-
if (typeof
|
|
169
|
-
if (Array.isArray(
|
|
170
|
-
return memoize(
|
|
166
|
+
var split2 = (input2, options) => {
|
|
167
|
+
if (options && typeof options.split === "function") return options.split(input2);
|
|
168
|
+
if (typeof input2 === "symbol") return [input2];
|
|
169
|
+
if (Array.isArray(input2)) return input2;
|
|
170
|
+
return memoize(input2, options, () => splitString(input2, options));
|
|
171
171
|
};
|
|
172
172
|
var assignProp = (obj, prop, value, options) => {
|
|
173
173
|
validateKey(prop);
|
|
@@ -223,6 +223,8 @@ init_cjs_shims();
|
|
|
223
223
|
// src/program.ts
|
|
224
224
|
init_cjs_shims();
|
|
225
225
|
var import_node_process3 = __toESM(require("process"), 1);
|
|
226
|
+
var import_input = __toESM(require("@inquirer/input"), 1);
|
|
227
|
+
var import_select = __toESM(require("@inquirer/select"), 1);
|
|
226
228
|
var import_commander = require("commander");
|
|
227
229
|
|
|
228
230
|
// src/constants.ts
|
|
@@ -230,7 +232,7 @@ init_cjs_shims();
|
|
|
230
232
|
|
|
231
233
|
// package.json
|
|
232
234
|
var name = "@icebreakers/monorepo";
|
|
233
|
-
var version = "1.0.
|
|
235
|
+
var version = "1.0.2";
|
|
234
236
|
|
|
235
237
|
// src/create.ts
|
|
236
238
|
init_cjs_shims();
|
|
@@ -323,9 +325,9 @@ var __dirname = import_pathe.default.dirname(__filename2);
|
|
|
323
325
|
var templatesDir = import_pathe.default.join(__dirname, "../templates");
|
|
324
326
|
var defaultTemplate = "unbuild";
|
|
325
327
|
var fromMap = {
|
|
326
|
-
"tsup": "
|
|
327
|
-
"unbuild": "
|
|
328
|
-
"vue-
|
|
328
|
+
"tsup": "tsup-template",
|
|
329
|
+
"unbuild": "unbuild-template",
|
|
330
|
+
"vue-lib": "vue-lib-template"
|
|
329
331
|
};
|
|
330
332
|
async function createNewProject(options) {
|
|
331
333
|
const { name: targetName, renameJson, cwd: cwd2, type } = defu(options, {
|
|
@@ -421,8 +423,8 @@ var import_pathe3 = __toESM(require("pathe"), 1);
|
|
|
421
423
|
var import_set_value3 = __toESM(require_set_value(), 1);
|
|
422
424
|
var cleanDirs = [
|
|
423
425
|
"packages/monorepo",
|
|
424
|
-
"packages/
|
|
425
|
-
"packages/
|
|
426
|
+
"packages/tsup-template",
|
|
427
|
+
"packages/vue-lib-template",
|
|
426
428
|
// 'packages/foo',
|
|
427
429
|
// 'apps/cli',
|
|
428
430
|
// 'apps/website',
|
|
@@ -463,7 +465,7 @@ var split = /* @__PURE__ */ __name((path11, splitChar, options) => {
|
|
|
463
465
|
return path11.split(splitChar);
|
|
464
466
|
}, "split");
|
|
465
467
|
var isValid = /* @__PURE__ */ __name((key, target = {}, options) => {
|
|
466
|
-
if (typeof options
|
|
468
|
+
if (typeof (options == null ? void 0 : options.isValid) === "function") {
|
|
467
469
|
return options.isValid(key, target);
|
|
468
470
|
}
|
|
469
471
|
return true;
|
|
@@ -1008,14 +1010,28 @@ import_commander.program.command("mirror").description("\u8BBE\u7F6E VscodeBinar
|
|
|
1008
1010
|
logger.success("set vscode binary mirror finished!");
|
|
1009
1011
|
});
|
|
1010
1012
|
import_commander.program.command("new").description("\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u5B50\u5305").alias("create").argument("[name]").option("--tsup", "create a tsup library").option("--unbuild", "create a unbuild library").option("--vue-ui", "create a vue ui library").action(async (name2, options) => {
|
|
1013
|
+
if (!name2) {
|
|
1014
|
+
name2 = await (0, import_input.default)({
|
|
1015
|
+
message: "\u8BF7\u8F93\u5165\u5305\u540D",
|
|
1016
|
+
default: "my-package"
|
|
1017
|
+
});
|
|
1018
|
+
}
|
|
1011
1019
|
let type;
|
|
1012
1020
|
if (options.tsup) {
|
|
1013
1021
|
type = "tsup";
|
|
1014
1022
|
} else if (options.unbuild) {
|
|
1015
1023
|
type = "unbuild";
|
|
1016
1024
|
} else if (options.vueUi) {
|
|
1017
|
-
type = "vue-
|
|
1025
|
+
type = "vue-lib";
|
|
1018
1026
|
}
|
|
1027
|
+
type ??= await (0, import_select.default)({
|
|
1028
|
+
message: "\u8BF7\u9009\u62E9\u6A21\u677F\u7C7B\u578B",
|
|
1029
|
+
choices: [
|
|
1030
|
+
{ name: "tsup \u6253\u5305", value: "tsup" },
|
|
1031
|
+
{ name: "unbuild \u6253\u5305", value: "unbuild" },
|
|
1032
|
+
{ name: "vue \u7EC4\u4EF6", value: "vue-lib" }
|
|
1033
|
+
]
|
|
1034
|
+
});
|
|
1019
1035
|
await createNewProject({
|
|
1020
1036
|
name: name2,
|
|
1021
1037
|
cwd,
|
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-L7MRLUKD.js";
|
|
15
15
|
|
|
16
16
|
// src/cli.ts
|
|
17
17
|
init_esm_shims();
|
|
@@ -19,6 +19,8 @@ init_esm_shims();
|
|
|
19
19
|
// src/program.ts
|
|
20
20
|
init_esm_shims();
|
|
21
21
|
import process2 from "process";
|
|
22
|
+
import input from "@inquirer/input";
|
|
23
|
+
import select from "@inquirer/select";
|
|
22
24
|
import { program } from "commander";
|
|
23
25
|
|
|
24
26
|
// src/create.ts
|
|
@@ -34,9 +36,9 @@ var __dirname = path.dirname(__filename);
|
|
|
34
36
|
var templatesDir = path.join(__dirname, "../templates");
|
|
35
37
|
var defaultTemplate = "unbuild";
|
|
36
38
|
var fromMap = {
|
|
37
|
-
"tsup": "
|
|
38
|
-
"unbuild": "
|
|
39
|
-
"vue-
|
|
39
|
+
"tsup": "tsup-template",
|
|
40
|
+
"unbuild": "unbuild-template",
|
|
41
|
+
"vue-lib": "vue-lib-template"
|
|
40
42
|
};
|
|
41
43
|
async function createNewProject(options) {
|
|
42
44
|
const { name: targetName, renameJson, cwd: cwd2, type } = defu(options, {
|
|
@@ -86,14 +88,28 @@ program.command("mirror").description("\u8BBE\u7F6E VscodeBinaryMirror").action(
|
|
|
86
88
|
logger.success("set vscode binary mirror finished!");
|
|
87
89
|
});
|
|
88
90
|
program.command("new").description("\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u5B50\u5305").alias("create").argument("[name]").option("--tsup", "create a tsup library").option("--unbuild", "create a unbuild library").option("--vue-ui", "create a vue ui library").action(async (name2, options) => {
|
|
91
|
+
if (!name2) {
|
|
92
|
+
name2 = await input({
|
|
93
|
+
message: "\u8BF7\u8F93\u5165\u5305\u540D",
|
|
94
|
+
default: "my-package"
|
|
95
|
+
});
|
|
96
|
+
}
|
|
89
97
|
let type;
|
|
90
98
|
if (options.tsup) {
|
|
91
99
|
type = "tsup";
|
|
92
100
|
} else if (options.unbuild) {
|
|
93
101
|
type = "unbuild";
|
|
94
102
|
} else if (options.vueUi) {
|
|
95
|
-
type = "vue-
|
|
103
|
+
type = "vue-lib";
|
|
96
104
|
}
|
|
105
|
+
type ??= await select({
|
|
106
|
+
message: "\u8BF7\u9009\u62E9\u6A21\u677F\u7C7B\u578B",
|
|
107
|
+
choices: [
|
|
108
|
+
{ name: "tsup \u6253\u5305", value: "tsup" },
|
|
109
|
+
{ name: "unbuild \u6253\u5305", value: "unbuild" },
|
|
110
|
+
{ name: "vue \u7EC4\u4EF6", value: "vue-lib" }
|
|
111
|
+
]
|
|
112
|
+
});
|
|
97
113
|
await createNewProject({
|
|
98
114
|
name: name2,
|
|
99
115
|
cwd,
|
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.8_@types+node@22.15.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.8_@types+node@22.15.29__jiti@2.4.2_postcss@8.5_1b01dd7c5f88cff18274d17a466843ec/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.8_@types+node@22.15.
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.8_@types+node@22.15.29__jiti@2.4.2_postcss@8.5_1b01dd7c5f88cff18274d17a466843ec/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();
|
|
@@ -311,8 +311,8 @@ var import_pathe2 = __toESM(require("pathe"), 1);
|
|
|
311
311
|
var import_set_value2 = __toESM(require_set_value(), 1);
|
|
312
312
|
var cleanDirs = [
|
|
313
313
|
"packages/monorepo",
|
|
314
|
-
"packages/
|
|
315
|
-
"packages/
|
|
314
|
+
"packages/tsup-template",
|
|
315
|
+
"packages/vue-lib-template",
|
|
316
316
|
// 'packages/foo',
|
|
317
317
|
// 'apps/cli',
|
|
318
318
|
// 'apps/website',
|
|
@@ -353,7 +353,7 @@ var split = /* @__PURE__ */ __name((path10, splitChar, options) => {
|
|
|
353
353
|
return path10.split(splitChar);
|
|
354
354
|
}, "split");
|
|
355
355
|
var isValid = /* @__PURE__ */ __name((key, target = {}, options) => {
|
|
356
|
-
if (typeof options
|
|
356
|
+
if (typeof (options == null ? void 0 : options.isValid) === "function") {
|
|
357
357
|
return options.isValid(key, target);
|
|
358
358
|
}
|
|
359
359
|
return true;
|
|
@@ -762,7 +762,7 @@ init_cjs_shims();
|
|
|
762
762
|
|
|
763
763
|
// package.json
|
|
764
764
|
var name = "@icebreakers/monorepo";
|
|
765
|
-
var version = "1.0.
|
|
765
|
+
var version = "1.0.2";
|
|
766
766
|
|
|
767
767
|
// src/scripts.ts
|
|
768
768
|
init_cjs_shims();
|
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.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"description": "icebreaker's monorepo config generator",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -36,6 +36,8 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@inquirer/checkbox": "^4.1.8",
|
|
38
38
|
"@inquirer/confirm": "^5.1.12",
|
|
39
|
+
"@inquirer/input": "^4.1.12",
|
|
40
|
+
"@inquirer/select": "^4.2.3",
|
|
39
41
|
"@pnpm/logger": "^1001.0.0",
|
|
40
42
|
"@pnpm/types": "^1000.5.0",
|
|
41
43
|
"@pnpm/worker": "^1000.1.5",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@icebreakers/
|
|
2
|
+
"name": "@icebreakers/tsup-template",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.0.0",
|
|
5
5
|
"description": "tsup build package template",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/sonofmagic/monorepo-template.git",
|
|
11
|
-
"directory": "packages/
|
|
11
|
+
"directory": "packages/tsup-template"
|
|
12
12
|
},
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/sonofmagic/monorepo-template/issues"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@icebreakers/
|
|
2
|
+
"name": "@icebreakers/unbuild-template",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.0.0",
|
|
5
5
|
"description": "esbuild build package template",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "ISC",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/sonofmagic/monorepo-template.git",
|
|
11
|
-
"directory": "packages/
|
|
11
|
+
"directory": "packages/unbuild-template"
|
|
12
12
|
},
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/sonofmagic/monorepo-template/issues"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@icebreakers/vue-
|
|
2
|
+
"name": "@icebreakers/vue-lib-template",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"version": "0.0.0",
|
|
5
|
-
"description": "vue
|
|
5
|
+
"description": "vue lib vite lib mode template",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "ISC",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/sonofmagic/monorepo-template.git",
|
|
11
|
-
"directory": "packages/
|
|
11
|
+
"directory": "packages/vue-lib-template"
|
|
12
12
|
},
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/sonofmagic/monorepo-template/issues"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|