@batijs/cli 0.0.110 → 0.0.112
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/edgedb/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/express/files/$package.json.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/react/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/shared/files/$index.html.js +9 -1
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +4 -3
- package/dist/boilerplates/@batijs/tailwindcss/files/tailwind.config.ts +10 -0
- package/dist/boilerplates/@batijs/tailwindcss/types/tailwind.config.d.ts +11 -2
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +2 -2
- package/dist/index.js +9 -2
- package/package.json +5 -5
- package/dist/boilerplates/@batijs/tailwindcss/files/tailwind.config.js +0 -8
|
@@ -42,11 +42,11 @@ var require_package = __commonJS({
|
|
|
42
42
|
license: "MIT",
|
|
43
43
|
devDependencies: {
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
|
-
"@edgedb/generate": "^0.
|
|
45
|
+
"@edgedb/generate": "^0.4.1",
|
|
46
46
|
"@prisma/client": "^5.5.2",
|
|
47
47
|
"@types/node": "^16.18.40",
|
|
48
48
|
colorette: "^2.0.20",
|
|
49
|
-
edgedb: "^1.
|
|
49
|
+
edgedb: "^1.4.0"
|
|
50
50
|
},
|
|
51
51
|
dependencies: {
|
|
52
52
|
"@batijs/core": "workspace:*"
|
|
@@ -42,9 +42,9 @@ var require_package = __commonJS({
|
|
|
42
42
|
},
|
|
43
43
|
devDependencies: {
|
|
44
44
|
"@batijs/compile": "workspace:^",
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "^6.9.
|
|
46
|
-
"@typescript-eslint/parser": "^6.9.
|
|
47
|
-
eslint: "^8.
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
|
46
|
+
"@typescript-eslint/parser": "^6.9.1",
|
|
47
|
+
eslint: "^8.53.0"
|
|
48
48
|
},
|
|
49
49
|
dependencies: {
|
|
50
50
|
"@batijs/core": "workspace:*"
|
|
@@ -45,7 +45,7 @@ var require_package = __commonJS({
|
|
|
45
45
|
"@batijs/trpc": "workspace:*",
|
|
46
46
|
"@batijs/compile": "workspace:*",
|
|
47
47
|
"@hattip/adapter-node": "^0.0.35",
|
|
48
|
-
"@trpc/server": "^10.43.
|
|
48
|
+
"@trpc/server": "^10.43.1",
|
|
49
49
|
"@types/express": "^4.17.20",
|
|
50
50
|
"@types/node": "^16.18.40",
|
|
51
51
|
esno: "^0.17.0",
|
|
@@ -45,7 +45,7 @@ var require_package = __commonJS({
|
|
|
45
45
|
"@batijs/trpc": "workspace:^",
|
|
46
46
|
"@batijs/compile": "workspace:*",
|
|
47
47
|
"@hattip/polyfills": "^0.0.35",
|
|
48
|
-
"@trpc/server": "^10.43.
|
|
48
|
+
"@trpc/server": "^10.43.1",
|
|
49
49
|
"@types/node": "^16.18.40",
|
|
50
50
|
"@types/serve-static": "^1.15.4",
|
|
51
51
|
esno: "^0.17.0",
|
|
@@ -48,7 +48,7 @@ var require_package = __commonJS({
|
|
|
48
48
|
"@hattip/core": "^0.0.35",
|
|
49
49
|
"@hattip/router": "^0.0.35",
|
|
50
50
|
"@hattip/vite": "^0.0.35",
|
|
51
|
-
"@trpc/server": "^10.43.
|
|
51
|
+
"@trpc/server": "^10.43.1",
|
|
52
52
|
"@types/node": "^16.18.40",
|
|
53
53
|
hattip: "^0.0.33",
|
|
54
54
|
telefunc: "^0.1.62",
|
|
@@ -46,9 +46,9 @@ var require_package = __commonJS({
|
|
|
46
46
|
"@babel/plugin-transform-react-jsx": "^7.22.15",
|
|
47
47
|
"@batijs/compile": "workspace:*",
|
|
48
48
|
"@types/node": "^16.18.40",
|
|
49
|
-
"@types/react": "^18.2.
|
|
49
|
+
"@types/react": "^18.2.35",
|
|
50
50
|
"@types/react-dom": "^18.2.14",
|
|
51
|
-
"@vitejs/plugin-react": "^4.1.
|
|
51
|
+
"@vitejs/plugin-react": "^4.1.1",
|
|
52
52
|
"cross-fetch": "^4.0.0",
|
|
53
53
|
"eslint-config-react-app": "^7.0.1",
|
|
54
54
|
react: "^18.2.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../packages/features/dist/chunk-
|
|
1
|
+
// ../../packages/features/dist/chunk-QZOLFOKK.js
|
|
2
2
|
var features = [
|
|
3
3
|
// Framework
|
|
4
4
|
{
|
|
@@ -30,6 +30,14 @@ var features = [
|
|
|
30
30
|
image: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxLjY3ZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjU2IDE1NCI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJsb2dvc1RhaWx3aW5kY3NzSWNvbjAiIHgxPSItMi43NzglIiB4Mj0iMTAwJSIgeTE9IjMyJSIgeTI9IjY3LjU1NiUiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMyMjk4QkQiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwRUQ3QjUiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cGF0aCBmaWxsPSJ1cmwoI2xvZ29zVGFpbHdpbmRjc3NJY29uMCkiIGQ9Ik0xMjggMEM5My44NjcgMCA3Mi41MzMgMTcuMDY3IDY0IDUxLjJDNzYuOCAzNC4xMzMgOTEuNzMzIDI3LjczMyAxMDguOCAzMmM5LjczNyAyLjQzNCAxNi42OTcgOS40OTkgMjQuNDAxIDE3LjMxOEMxNDUuNzUxIDYy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nIHI9JzEzMCcgZmlsbD0nYmxhY2snIGZpbGwtb3BhY2l0eT0nLjMnPjwvY2lyY2xlPjxjaXJjbGUgY3g9JzIwNy41JyBjeT0nMTM1JyByPScxMjUnIGZpbGw9J3doaXRlJz48L2NpcmNsZT48Y2lyY2xlIGN4PScyMDcuNScgY3k9JzEzNScgcj0nNTYnIGZpbGw9JyNGRjk5MDMnPjwvY2lyY2xlPjwvc3ZnPg==",
|
|
39
|
+
url: "https://daisyui.com"
|
|
40
|
+
},
|
|
33
41
|
// Auth
|
|
34
42
|
{
|
|
35
43
|
category: "Auth",
|
|
@@ -44,10 +44,11 @@ var require_package = __commonJS({
|
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
45
|
"@types/node": "^16.18.40",
|
|
46
46
|
autoprefixer: "^10.4.16",
|
|
47
|
+
daisyui: "^3.9.4",
|
|
47
48
|
postcss: "^8.4.31",
|
|
48
49
|
tailwindcss: "^3.3.5",
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
vike: "^0.4.144",
|
|
51
|
+
vite: "^4.5.0"
|
|
51
52
|
},
|
|
52
53
|
dependencies: {
|
|
53
54
|
"@batijs/core": "workspace:*"
|
|
@@ -87,7 +88,7 @@ import { addDependency, loadAsJson } from "@batijs/core";
|
|
|
87
88
|
async function getPackageJson(props) {
|
|
88
89
|
const packageJson = await loadAsJson(props);
|
|
89
90
|
return addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)), {
|
|
90
|
-
devDependencies: ["tailwindcss", "postcss", "autoprefixer"]
|
|
91
|
+
devDependencies: ["tailwindcss", "postcss", "autoprefixer", ...props.meta.BATI.has("daisyui") ? ["daisyui"] : []]
|
|
91
92
|
});
|
|
92
93
|
}
|
|
93
94
|
export {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import daisyui from "daisyui";
|
|
2
|
+
import type { Config } from "tailwindcss";
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
content: ["./{pages,layouts,components,src}/**/*.{html,js,jsx,ts,tsx,vue}"],
|
|
6
|
+
theme: {
|
|
7
|
+
extend: {},
|
|
8
|
+
},
|
|
9
|
+
plugins: BATI.has("daisyui") ? [daisyui] : [],
|
|
10
|
+
} satisfies Config;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
content: string[];
|
|
3
|
+
theme: {
|
|
4
|
+
extend: {};
|
|
5
|
+
};
|
|
6
|
+
plugins: {
|
|
7
|
+
handler: import("tailwindcss/types/config").PluginCreator;
|
|
8
|
+
config?: Partial<import("tailwindcss/types/config").Config> | undefined;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -43,8 +43,8 @@ var require_package = __commonJS({
|
|
|
43
43
|
devDependencies: {
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
45
|
"@batijs/shared-db": "workspace:*",
|
|
46
|
-
"@trpc/client": "^10.43.
|
|
47
|
-
"@trpc/server": "^10.43.
|
|
46
|
+
"@trpc/client": "^10.43.1",
|
|
47
|
+
"@trpc/server": "^10.43.1",
|
|
48
48
|
"@types/node": "^16.18.40",
|
|
49
49
|
vite: "^4.5.0"
|
|
50
50
|
},
|
package/dist/index.js
CHANGED
|
@@ -573,7 +573,7 @@ Please report this issue to https://github.com/magne4000/bati`
|
|
|
573
573
|
// package.json
|
|
574
574
|
var package_default = {
|
|
575
575
|
name: "@batijs/cli",
|
|
576
|
-
version: "0.0.
|
|
576
|
+
version: "0.0.112",
|
|
577
577
|
type: "module",
|
|
578
578
|
scripts: {
|
|
579
579
|
"check-types": "tsc --noEmit",
|
|
@@ -1711,7 +1711,14 @@ async function run() {
|
|
|
1711
1711
|
await checkArguments(args);
|
|
1712
1712
|
const sources = [];
|
|
1713
1713
|
const hooks = [];
|
|
1714
|
-
const flags = Object.entries(args).filter(([, val]) => val === true).map(([key]) =>
|
|
1714
|
+
const flags = Object.entries(args).filter(([, val]) => val === true).map(([key]) => {
|
|
1715
|
+
const flag = [key];
|
|
1716
|
+
const dependsOn = features.find((f) => f.flag === key)?.dependsOn;
|
|
1717
|
+
if (dependsOn) {
|
|
1718
|
+
flag.push(...dependsOn);
|
|
1719
|
+
}
|
|
1720
|
+
return flag;
|
|
1721
|
+
}).flat(1);
|
|
1715
1722
|
checkRules(flags);
|
|
1716
1723
|
boilerplates.sort((b1, b2) => {
|
|
1717
1724
|
if (b1.config.enforce === "pre")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.112",
|
|
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,12 +19,12 @@
|
|
|
19
19
|
"tsup": "^7.2.0",
|
|
20
20
|
"typescript": "^5.2.2",
|
|
21
21
|
"vite": "^4.5.0",
|
|
22
|
-
"@batijs/build": "0.0.
|
|
23
|
-
"@batijs/compile": "0.0.
|
|
22
|
+
"@batijs/build": "0.0.112",
|
|
23
|
+
"@batijs/compile": "0.0.112"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@batijs/core": "0.0.
|
|
27
|
-
"@batijs/features": "0.0.
|
|
26
|
+
"@batijs/core": "0.0.112",
|
|
27
|
+
"@batijs/features": "0.0.112"
|
|
28
28
|
},
|
|
29
29
|
"bin": "./dist/index.js",
|
|
30
30
|
"exports": {
|