create-rue 0.0.14 → 0.0.16
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/bundle.js +4 -19
- package/package.json +2 -2
- package/template/base/app/pages/TodoApp.tsx +563 -198
- package/template/base/app/pages/components/Layout.tsx +131 -27
- package/template/base/package-lock.json +617 -432
- package/template/base/package.json +19 -17
- package/template/base/pnpm-lock.yaml +550 -480
- package/template/base/tsconfig.json +1 -2
package/bundle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/*! create-rue v0.0.
|
|
2
|
+
/*! create-rue v0.0.16 | MIT */
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import * as fs from "node:fs";
|
|
5
5
|
import "node:fs";
|
|
@@ -688,20 +688,7 @@ function Ze() {
|
|
|
688
688
|
return P.platform !== "win32" ? P.env.TERM !== "linux" : !!P.env.CI || !!P.env.WT_SESSION || !!P.env.TERMINUS_SUBLIME || P.env.ConEmuTask === "{cmd::Cmder}" || P.env.TERM_PROGRAM === "Terminus-Sublime" || P.env.TERM_PROGRAM === "vscode" || P.env.TERM === "xterm-256color" || P.env.TERM === "alacritty" || P.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
689
689
|
}
|
|
690
690
|
const ee = Ze(), w = (e, i) => ee ? e : i, _e = w("◆", "*"), oe = w("■", "x"), ue = w("▲", "x"), F = w("◇", "o"), le = w("┌", "T"), d = w("│", "|"), E = w("└", "—");
|
|
691
|
-
w("
|
|
692
|
-
w("┘", "—");
|
|
693
|
-
const z = w("●", ">"), H = w("○", " ");
|
|
694
|
-
w("◻", "[•]");
|
|
695
|
-
w("◼", "[+]");
|
|
696
|
-
w("◻", "[ ]");
|
|
697
|
-
w("▪", "•");
|
|
698
|
-
w("─", "-");
|
|
699
|
-
w("╮", "+");
|
|
700
|
-
w("├", "+");
|
|
701
|
-
w("╯", "+");
|
|
702
|
-
w("╰", "+");
|
|
703
|
-
w("╭", "+");
|
|
704
|
-
const he = w("●", "•"), pe = w("◆", "*"), me = w("▲", "!"), ge = w("■", "x"), V = (e) => {
|
|
691
|
+
const z = w("●", ">"), H = w("○", " "), he = w("●", "•"), pe = w("◆", "*"), me = w("▲", "!"), ge = w("■", "x"), V = (e) => {
|
|
705
692
|
switch (e) {
|
|
706
693
|
case "initial":
|
|
707
694
|
case "active": return styleText("cyan", _e);
|
|
@@ -801,9 +788,7 @@ ${styleText("gray", E)} ` : "";
|
|
|
801
788
|
s.write(`${r}${e}
|
|
802
789
|
|
|
803
790
|
`);
|
|
804
|
-
}
|
|
805
|
-
w("─", "-"), w("━", "="), w("█", "#");
|
|
806
|
-
const je = `${styleText("gray", d)} `, K = {
|
|
791
|
+
}, je = `${styleText("gray", d)} `, K = {
|
|
807
792
|
message: async (e, { symbol: i = styleText("gray", d) } = {}) => {
|
|
808
793
|
process.stdout.write(`${styleText("gray", d)}
|
|
809
794
|
${i} `);
|
|
@@ -2052,7 +2037,7 @@ function inferPackageManager() {
|
|
|
2052
2037
|
//#endregion
|
|
2053
2038
|
//#region package.json
|
|
2054
2039
|
var name = "create-rue";
|
|
2055
|
-
var version = "0.0.
|
|
2040
|
+
var version = "0.0.16";
|
|
2056
2041
|
//#endregion
|
|
2057
2042
|
//#region index.ts
|
|
2058
2043
|
const language = await getLanguage(fileURLToPath(new URL("./locales", import.meta.url)));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "🛠️ The recommended way to start a Vite-powered Rue project",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/hunzhiwange/create-rue#readme",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@types/node": "^24.12.2",
|
|
34
34
|
"ejs": "^3.1.10",
|
|
35
35
|
"picocolors": "^1.1.1",
|
|
36
|
-
"rolldown": "1.0.0
|
|
36
|
+
"rolldown": "^1.0.0",
|
|
37
37
|
"rollup-plugin-license": "^3.7.1",
|
|
38
38
|
"vite-plus": "latest",
|
|
39
39
|
"vitest": "npm:@voidzero-dev/vite-plus-test@latest",
|