@batijs/cli 0.0.307 → 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 +1 -1
- package/dist/boilerplates/@batijs/auth0/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +3 -3
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +3 -3
- package/dist/boilerplates/@batijs/d1/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/eslint/files/eslint.config.js +2 -0
- package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +3 -3
- package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
- 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 +1 -1
- package/dist/boilerplates/@batijs/prettier/files/.prettierignore +4 -0
- package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$package.json.js +3 -1
- package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +3 -3
- 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 +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +4 -4
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shared/files/.gitignore +4 -0
- package/dist/boilerplates/@batijs/shared/files/tsconfig.json +1 -1
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +3 -1
- package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +3 -3
- 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 +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +3 -3
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +3 -1
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +4 -4
- 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 +1 -1
- package/dist/boilerplates/boilerplates.json +11 -0
- package/dist/{chunk-ACADSV35.js → chunk-O2DQVJZQ.js} +17629 -17621
- package/dist/index.js +20 -5
- package/package.json +5 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
LXs,
|
|
4
|
-
|
|
5
|
-
} from "../../../../chunk-
|
|
4
|
+
vTs
|
|
5
|
+
} from "../../../../chunk-O2DQVJZQ.js";
|
|
6
6
|
import "../../../../chunk-LU7IBQI7.js";
|
|
7
7
|
|
|
8
8
|
// ../../boilerplates/cloudflare/dist/files/$vite.config.ts.js
|
|
@@ -17,7 +17,7 @@ async function getViteConfig(props) {
|
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
vTs(mod, {
|
|
21
21
|
from: "vike-cloudflare",
|
|
22
22
|
constructor: "pages",
|
|
23
23
|
imported: "pages",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
LXs,
|
|
4
|
-
|
|
5
|
-
} from "../../../../chunk-
|
|
4
|
+
vTs
|
|
5
|
+
} from "../../../../chunk-O2DQVJZQ.js";
|
|
6
6
|
import "../../../../chunk-LU7IBQI7.js";
|
|
7
7
|
|
|
8
8
|
// ../../boilerplates/compiled/dist/files/$vite.config.ts.js
|
|
9
9
|
async function getViteConfig(props) {
|
|
10
10
|
const mod = await LXs(props);
|
|
11
|
-
|
|
11
|
+
vTs(mod, {
|
|
12
12
|
from: "vite-plugin-compiled-react",
|
|
13
13
|
constructor: "compiled",
|
|
14
14
|
imported: "compiled",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
LXs,
|
|
4
|
-
|
|
5
|
-
} from "../../../../chunk-
|
|
4
|
+
vTs
|
|
5
|
+
} from "../../../../chunk-O2DQVJZQ.js";
|
|
6
6
|
import "../../../../chunk-LU7IBQI7.js";
|
|
7
7
|
|
|
8
8
|
// ../../boilerplates/hono/dist/files/$vite.config.ts.js
|
|
9
9
|
async function getViteConfig(props) {
|
|
10
10
|
const mod = await LXs(props);
|
|
11
|
-
|
|
11
|
+
vTs(mod, {
|
|
12
12
|
from: "@hono/vite-dev-server",
|
|
13
13
|
constructor: "devServer",
|
|
14
14
|
options: {
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
OXs
|
|
4
|
+
} from "../../../../chunk-O2DQVJZQ.js";
|
|
5
|
+
import "../../../../chunk-LU7IBQI7.js";
|
|
6
|
+
|
|
7
|
+
// ../../boilerplates/panda-css/dist/files/$package.json.js
|
|
8
|
+
var __create = Object.create;
|
|
9
|
+
var __defProp = Object.defineProperty;
|
|
10
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
11
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
12
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
13
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
15
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
16
|
+
};
|
|
17
|
+
var __copyProps = (to, from, except, desc) => {
|
|
18
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
19
|
+
for (let key of __getOwnPropNames(from))
|
|
20
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
21
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
22
|
+
}
|
|
23
|
+
return to;
|
|
24
|
+
};
|
|
25
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
26
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
27
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
28
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
29
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
30
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
31
|
+
mod
|
|
32
|
+
));
|
|
33
|
+
var require_package = __commonJS({
|
|
34
|
+
"package.json"(exports, module) {
|
|
35
|
+
module.exports = {
|
|
36
|
+
name: "@batijs/panda-css",
|
|
37
|
+
private: true,
|
|
38
|
+
version: "0.0.1",
|
|
39
|
+
description: "",
|
|
40
|
+
type: "module",
|
|
41
|
+
scripts: {
|
|
42
|
+
"check-types": "tsc --noEmit",
|
|
43
|
+
build: "bati-compile-boilerplate"
|
|
44
|
+
},
|
|
45
|
+
keywords: [],
|
|
46
|
+
author: "",
|
|
47
|
+
license: "MIT",
|
|
48
|
+
devDependencies: {
|
|
49
|
+
"@batijs/compile": "workspace:*",
|
|
50
|
+
"@pandacss/dev": "^0.47.1",
|
|
51
|
+
"@types/node": "^18.19.64",
|
|
52
|
+
postcss: "^8.4.47"
|
|
53
|
+
},
|
|
54
|
+
dependencies: {
|
|
55
|
+
"@batijs/core": "workspace:*"
|
|
56
|
+
},
|
|
57
|
+
files: [
|
|
58
|
+
"dist/"
|
|
59
|
+
],
|
|
60
|
+
bati: {
|
|
61
|
+
if: {
|
|
62
|
+
flag: "panda-css"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
exports: {
|
|
66
|
+
"./panda.config": {
|
|
67
|
+
types: "./dist/types/panda.config.d.ts"
|
|
68
|
+
},
|
|
69
|
+
"./postcss.config": {
|
|
70
|
+
types: "./dist/types/postcss.config.d.ts"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
typesVersions: {
|
|
74
|
+
"*": {
|
|
75
|
+
"panda.config": [
|
|
76
|
+
"./dist/types/panda.config.d.ts"
|
|
77
|
+
],
|
|
78
|
+
"postcss.config": [
|
|
79
|
+
"./dist/types/postcss.config.d.ts"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
async function getPackageJson(props) {
|
|
87
|
+
const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
88
|
+
return packageJson.setScript("prepare", {
|
|
89
|
+
value: "panda codegen",
|
|
90
|
+
precedence: 20
|
|
91
|
+
}).addDevDependencies(["@pandacss/dev", "postcss"]).addDependencies([]);
|
|
92
|
+
}
|
|
93
|
+
export {
|
|
94
|
+
getPackageJson as default
|
|
95
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer reset, base, tokens, recipes, utilities;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineConfig } from "@pandacss/dev";
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
// Whether to use css reset
|
|
5
|
+
preflight: true,
|
|
6
|
+
|
|
7
|
+
// Where to look for your css declarations
|
|
8
|
+
include: BATI.has("vue")
|
|
9
|
+
? [
|
|
10
|
+
"./components/**/*.{js,jsx,ts,tsx,vue}",
|
|
11
|
+
"./layouts/**/*.{js,jsx,ts,tsx,vue}",
|
|
12
|
+
"./pages/**/*.{js,jsx,ts,tsx,vue}",
|
|
13
|
+
"./src/**/*.{js,jsx,ts,tsx,vue}",
|
|
14
|
+
]
|
|
15
|
+
: [
|
|
16
|
+
"./components/**/*.{js,jsx,ts,tsx}",
|
|
17
|
+
"./layouts/**/*.{js,jsx,ts,tsx}",
|
|
18
|
+
"./pages/**/*.{js,jsx,ts,tsx}",
|
|
19
|
+
"./src/**/*.{js,jsx,ts,tsx}",
|
|
20
|
+
],
|
|
21
|
+
|
|
22
|
+
// Files to exclude
|
|
23
|
+
exclude: [],
|
|
24
|
+
|
|
25
|
+
// Useful for theme customization
|
|
26
|
+
theme: {
|
|
27
|
+
extend: {},
|
|
28
|
+
},
|
|
29
|
+
|
|
30
|
+
// The output directory for your css system
|
|
31
|
+
outdir: "styled-system",
|
|
32
|
+
});
|