create-weapp-vite 2.3.19 → 2.3.20
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/dist/cli.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as RECOMMENDED_SKILLS_INSTALL_COMMAND, t as createProject } from "./src
|
|
1
|
+
import { n as RECOMMENDED_SKILLS_INSTALL_COMMAND, t as createProject } from "./src-C8j-zqTK.js";
|
|
2
2
|
import logger from "@weapp-core/logger";
|
|
3
3
|
import { fs } from "@weapp-core/shared/fs";
|
|
4
4
|
import process from "node:process";
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as TemplateName, t as createProject } from "./src
|
|
1
|
+
import { r as TemplateName, t as createProject } from "./src-C8j-zqTK.js";
|
|
2
2
|
export { TemplateName, createProject };
|
|
@@ -6,13 +6,13 @@ import https from "node:https";
|
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
7
7
|
import process from "node:process";
|
|
8
8
|
//#region ../../packages-runtime/wevu/package.json
|
|
9
|
-
var version$2 = "6.16.
|
|
9
|
+
var version$2 = "6.16.6";
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region ../dashboard/package.json
|
|
12
|
-
var version$1 = "6.16.
|
|
12
|
+
var version$1 = "6.16.6";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region ../weapp-vite/package.json
|
|
15
|
-
var version = "6.16.
|
|
15
|
+
var version = "6.16.6";
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/enums.ts
|
|
18
18
|
let TemplateName = /* @__PURE__ */ function(TemplateName) {
|
|
@@ -151,13 +151,13 @@ const TEMPLATE_CATALOG = {
|
|
|
151
151
|
merge: "^2.1.1",
|
|
152
152
|
pathe: "^2.0.3",
|
|
153
153
|
postcss: "^8.5.14",
|
|
154
|
-
rolldown: "1.0.0-rc.
|
|
154
|
+
rolldown: "1.0.0-rc.18",
|
|
155
155
|
sass: "^1.99.0",
|
|
156
156
|
stylelint: "^17.11.0",
|
|
157
157
|
tailwindcss: "^4.2.4",
|
|
158
158
|
tslib: "^2.8.1",
|
|
159
159
|
typescript: "^6.0.3",
|
|
160
|
-
vite: "8.0.
|
|
160
|
+
vite: "8.0.11",
|
|
161
161
|
vue: "^3.5.34",
|
|
162
162
|
zod: "^4.4.3"
|
|
163
163
|
};
|
|
@@ -302,17 +302,17 @@ function ensureTrailingNewline(value) {
|
|
|
302
302
|
function mergeGitignore(existing) {
|
|
303
303
|
const normalizedExisting = normalizeLineEndings(existing ?? "");
|
|
304
304
|
const merged = [...normalizedExisting.length ? normalizedExisting.split("\n") : []];
|
|
305
|
-
while (merged.length > 0 && merged.
|
|
305
|
+
while (merged.length > 0 && merged[merged.length - 1] === "") merged.pop();
|
|
306
306
|
const seen = new Set(merged);
|
|
307
307
|
let appendedNonBlank = false;
|
|
308
308
|
for (const line of DEFAULT_GITIGNORE.split("\n")) {
|
|
309
309
|
if (line.length === 0) {
|
|
310
|
-
if (merged.length === 0 || merged.
|
|
310
|
+
if (merged.length === 0 || merged[merged.length - 1] === "") continue;
|
|
311
311
|
merged.push("");
|
|
312
312
|
continue;
|
|
313
313
|
}
|
|
314
314
|
if (seen.has(line)) continue;
|
|
315
|
-
if (!appendedNonBlank && merged.length > 0 && merged.
|
|
315
|
+
if (!appendedNonBlank && merged.length > 0 && merged[merged.length - 1] !== "") merged.push("");
|
|
316
316
|
merged.push(line);
|
|
317
317
|
seen.add(line);
|
|
318
318
|
appendedNonBlank = true;
|
|
@@ -433,7 +433,7 @@ function mergeGitignoreSource(existing, template) {
|
|
|
433
433
|
merged.push(line);
|
|
434
434
|
seen.add(line);
|
|
435
435
|
}
|
|
436
|
-
while (merged.length > 0 && merged.
|
|
436
|
+
while (merged.length > 0 && merged[merged.length - 1] === "") merged.pop();
|
|
437
437
|
return `${merged.join("\n")}\n`;
|
|
438
438
|
}
|
|
439
439
|
async function copyTemplateDir(sourceDir, fallbackDir, targetDir) {
|
package/package.json
CHANGED