@batijs/cli 0.0.306 → 0.0.308
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/boilerplates/@batijs/auth0/files/$.env.js +5 -5
- package/dist/boilerplates/@batijs/auth0/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/eslint/files/eslint.config.js +2 -0
- package/dist/boilerplates/@batijs/express/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +4 -4
- package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +95 -0
- package/dist/boilerplates/@batijs/panda-css/files/layouts/panda.css +1 -0
- package/dist/boilerplates/@batijs/panda-css/files/panda.config.ts +32 -0
- package/dist/boilerplates/@batijs/panda-css/files/postcss.config.js +5 -0
- package/dist/boilerplates/@batijs/panda-css/types/panda.config.d.ts +4 -0
- package/dist/boilerplates/@batijs/panda-css/types/postcss.config.d.ts +6 -0
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/prettier/files/.prettierignore +4 -0
- package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$package.json.js +9 -7
- package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/react/files/layouts/LayoutDefault.tsx +26 -12
- package/dist/boilerplates/@batijs/react/files/pages/index/+Page.tsx +7 -2
- package/dist/boilerplates/@batijs/react/files/pages/index/Counter.tsx +17 -2
- package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +50 -2
- package/dist/boilerplates/@batijs/react/types/layouts/LayoutDefault.d.ts +1 -0
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
- package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/sentry/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
- package/dist/boilerplates/@batijs/shared/files/.gitignore +4 -0
- package/dist/boilerplates/@batijs/shared/files/package.json +2 -2
- package/dist/boilerplates/@batijs/shared/files/tsconfig.json +1 -1
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +8 -6
- package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/solid/files/layouts/LayoutDefault.tsx +26 -12
- package/dist/boilerplates/@batijs/solid/files/pages/index/+Page.tsx +7 -2
- package/dist/boilerplates/@batijs/solid/files/pages/index/Counter.tsx +17 -2
- package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +50 -2
- package/dist/boilerplates/@batijs/solid/types/layouts/LayoutDefault.d.ts +1 -0
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +12 -10
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
- package/dist/boilerplates/@batijs/vue/files/components/Content.vue +8 -2
- package/dist/boilerplates/@batijs/vue/files/components/Counter.vue +24 -10
- package/dist/boilerplates/@batijs/vue/files/components/Logo.vue +10 -2
- package/dist/boilerplates/@batijs/vue/files/components/Sidebar.vue +20 -2
- package/dist/boilerplates/@batijs/vue/files/layouts/LayoutDefault.vue +2 -0
- package/dist/boilerplates/@batijs/vue/files/pages/index/+Page.vue +5 -5
- package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +45 -2
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +6 -6
- package/dist/boilerplates/boilerplates.json +11 -0
- package/dist/{chunk-R2K4MHLU.js → chunk-O2DQVJZQ.js} +90260 -89070
- package/dist/index.js +34 -19
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
consola
|
|
5
5
|
} from "./chunk-FWD3UPBV.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
B5e,
|
|
8
|
+
Rps,
|
|
9
|
+
WTs,
|
|
10
|
+
XXr,
|
|
10
11
|
export_which,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./chunk-R2K4MHLU.js";
|
|
12
|
+
git
|
|
13
|
+
} from "./chunk-O2DQVJZQ.js";
|
|
14
14
|
import "./chunk-LU7IBQI7.js";
|
|
15
15
|
|
|
16
16
|
// index.ts
|
|
@@ -34,8 +34,8 @@ async function mergeDts({
|
|
|
34
34
|
filepath,
|
|
35
35
|
meta
|
|
36
36
|
}) {
|
|
37
|
-
const previousAst =
|
|
38
|
-
const currentAst =
|
|
37
|
+
const previousAst = B5e(previousContent);
|
|
38
|
+
const currentAst = B5e(fileContent);
|
|
39
39
|
for (const imp of previousAst.imports.$items) {
|
|
40
40
|
currentAst.imports[imp.local] = imp;
|
|
41
41
|
}
|
|
@@ -52,7 +52,7 @@ async function mergeDts({
|
|
|
52
52
|
currentAst.$ast.body.splice(index, 0, node);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
const res = await
|
|
55
|
+
const res = await Rps(currentAst.generate().code, meta, {
|
|
56
56
|
filepath
|
|
57
57
|
});
|
|
58
58
|
return res.code;
|
|
@@ -63,7 +63,7 @@ async function executeOperationFile(op, {
|
|
|
63
63
|
}) {
|
|
64
64
|
const code = await readFile(op.sourceAbsolute, { encoding: "utf-8" });
|
|
65
65
|
const filepath = relative(op.source, op.sourceAbsolute);
|
|
66
|
-
const result = await
|
|
66
|
+
const result = await Rps(code, meta, {
|
|
67
67
|
filepath
|
|
68
68
|
});
|
|
69
69
|
let fileContent = result.code;
|
|
@@ -97,7 +97,7 @@ async function transformFileAfterExec(filepath, fileContent) {
|
|
|
97
97
|
case ".js":
|
|
98
98
|
case ".tsx":
|
|
99
99
|
case ".jsx":
|
|
100
|
-
return
|
|
100
|
+
return git(fileContent, {
|
|
101
101
|
filepath
|
|
102
102
|
});
|
|
103
103
|
case ".env":
|
|
@@ -388,7 +388,7 @@ Please report this issue to https://github.com/vikejs/bati`
|
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
// ../features/dist/chunk-
|
|
391
|
+
// ../features/dist/chunk-3C57PNCJ.js
|
|
392
392
|
var features = [
|
|
393
393
|
// Vike
|
|
394
394
|
{
|
|
@@ -513,6 +513,21 @@ var features = [
|
|
|
513
513
|
}
|
|
514
514
|
]
|
|
515
515
|
},
|
|
516
|
+
{
|
|
517
|
+
category: "CSS",
|
|
518
|
+
label: "PandaCSS",
|
|
519
|
+
flag: "panda-css",
|
|
520
|
+
image: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHNoYXBlLXJlbmRlcmluZz0nZ2VvbWV0cmljUHJlY2lzaW9uJyB0ZXh0LXJlbmRlcmluZz0nZ2VvbWV0cmljUHJlY2lzaW9uJyBpbWFnZS1yZW5kZXJpbmc9J29wdGltaXplUXVhbGl0eScgZmlsbC1ydWxlPSdldmVub2RkJyBjbGlwLXJ1bGU9J2V2ZW5vZGQnIHZpZXdCb3g9JzAgMCA1MDcgNTEyLjMzJz48ZyBmaWxsLXJ1bGU9J25vbnplcm8nPjxwYXRoIGZpbGw9JyNGNkU0NTgnIGQ9J00wIDU4LjdDMCAyNi4yOCAyNi4yOCAwIDU4LjcxIDBoMzg5LjU4QzQ4MC43MiAwIDUwNyAyNi4yOCA1MDcgNTguN3YzOTQuOTNjMCAzMi40Mi0yNi4yOCA1OC43LTU4LjcxIDU4LjdINTguNzFDMjYuMjggNTEyLjMzIDAgNDg2LjA1IDAgNDUzLjYzVjU4Ljd6J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uMDggMS4xMi4wMy42OC4wNiAxLjI2LjIgMS44My42IDIuNDIgMS4xOCA0Ljg1IDEuNzUgNy4yOCAxLjM5IDUuODYgMi43NyAxMS43MiA0LjU1IDE3LjQ1IDMuNDkgMTEuMjcgNy41NSAyMi4yNSAxMi4xNiAzMi45OCAzMi44Mi0yLjU2IDYzLjA2LTEwLjcyIDk1LjE1LTI5Ljk4LjQ4LS4zLjkyLS41OCAxLjM2LS44NSAxMy43OS04LjU5IDI0Ljk0LTE5LjcyIDMyLjY0LTM0LjA5IDEyLjQ2LTIzLjI4IDE0Ljg5LTQ4LjE3IDExLjE4LTczLjg3LTMuODItMjYuNTItMTUuNzItNDguNzgtMzYuMi02Ni4yNC0xNC4yMS0xMi4xMS0zMC42NC0yMC4wNC00OC40Ny0yNS4xNnonLz48L2c+PC9zdmc+",
|
|
521
|
+
url: "https://panda-css.com/",
|
|
522
|
+
tagline: "Write type-safe styles with ease using panda",
|
|
523
|
+
repo: "chakra-ui/panda",
|
|
524
|
+
links: [
|
|
525
|
+
{
|
|
526
|
+
label: "Docs",
|
|
527
|
+
href: "https://panda-css.com/docs/overview/getting-started"
|
|
528
|
+
}
|
|
529
|
+
]
|
|
530
|
+
},
|
|
516
531
|
// UI Component Libraries
|
|
517
532
|
{
|
|
518
533
|
category: "UI Component Libraries",
|
|
@@ -2542,7 +2557,7 @@ var createDefaultQueryTester = function(query, options) {
|
|
|
2542
2557
|
// package.json
|
|
2543
2558
|
var package_default = {
|
|
2544
2559
|
name: "@batijs/cli",
|
|
2545
|
-
version: "0.0.
|
|
2560
|
+
version: "0.0.308",
|
|
2546
2561
|
type: "module",
|
|
2547
2562
|
scripts: {
|
|
2548
2563
|
"check-types": "tsc --noEmit",
|
|
@@ -2569,7 +2584,7 @@ var package_default = {
|
|
|
2569
2584
|
tsup: "^8.3.5",
|
|
2570
2585
|
typescript: "^5.6.3",
|
|
2571
2586
|
"unplugin-purge-polyfills": "^0.0.7",
|
|
2572
|
-
vite: "^5.4.
|
|
2587
|
+
vite: "^5.4.11"
|
|
2573
2588
|
},
|
|
2574
2589
|
dependencies: {
|
|
2575
2590
|
"@batijs/core": "workspace:*",
|
|
@@ -2646,7 +2661,7 @@ Choose one of them, or simply remove selected Server`
|
|
|
2646
2661
|
var __filename = fileURLToPath(import.meta.url);
|
|
2647
2662
|
var __dirname = dirname(__filename);
|
|
2648
2663
|
var isWin2 = process.platform === "win32";
|
|
2649
|
-
var pm =
|
|
2664
|
+
var pm = WTs();
|
|
2650
2665
|
function boilerplatesDir() {
|
|
2651
2666
|
if (existsSync2(join(__dirname, "boilerplates", "boilerplates.json"))) {
|
|
2652
2667
|
return join(__dirname, "boilerplates");
|
|
@@ -2680,10 +2695,10 @@ function findDescription(key) {
|
|
|
2680
2695
|
}
|
|
2681
2696
|
}
|
|
2682
2697
|
function printOK(dist, flags2) {
|
|
2683
|
-
const arrow0 =
|
|
2684
|
-
const book0 =
|
|
2685
|
-
const list3 =
|
|
2686
|
-
const cmd3 =
|
|
2698
|
+
const arrow0 = XXr("\u2192", blueBright);
|
|
2699
|
+
const book0 = XXr("\u{1F4DA}", blueBright);
|
|
2700
|
+
const list3 = XXr("-", void 0, 3);
|
|
2701
|
+
const cmd3 = XXr("$", gray, 3);
|
|
2687
2702
|
console.log(bold(`${green("\u2713")} Project created at ${cyan(dist)} with:`));
|
|
2688
2703
|
console.log(list3(green("Vike")));
|
|
2689
2704
|
for (const key of flags2) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.308",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"description": "Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"tsup": "^8.3.5",
|
|
20
20
|
"typescript": "^5.6.3",
|
|
21
21
|
"unplugin-purge-polyfills": "^0.0.7",
|
|
22
|
-
"vite": "^5.4.
|
|
23
|
-
"@batijs/
|
|
24
|
-
"@batijs/
|
|
22
|
+
"vite": "^5.4.11",
|
|
23
|
+
"@batijs/compile": "0.0.308",
|
|
24
|
+
"@batijs/build": "0.0.308"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@batijs/
|
|
28
|
-
"@batijs/
|
|
27
|
+
"@batijs/core": "0.0.308",
|
|
28
|
+
"@batijs/features": "0.0.308"
|
|
29
29
|
},
|
|
30
30
|
"bin": "./dist/index.js",
|
|
31
31
|
"exports": {
|