@batijs/cli 0.0.87 → 0.0.90

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.
Files changed (84) hide show
  1. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +3 -3
  2. package/dist/boilerplates/@batijs/edgedb/{package-HMOHSPQH.js → package-GNDOJELP.js} +4 -4
  3. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +17 -0
  4. package/dist/boilerplates/@batijs/eslint/files/.eslintignore +7 -0
  5. package/dist/boilerplates/@batijs/eslint/files/.eslintrc.json +10 -0
  6. package/dist/boilerplates/@batijs/eslint/package-5LDRGH5F.js +61 -0
  7. package/dist/boilerplates/@batijs/express/files/$package.json.js +4 -4
  8. package/dist/boilerplates/@batijs/express/files/express-entry.ts +11 -11
  9. package/dist/boilerplates/@batijs/express/{package-LVAF3GMH.js → package-RZJTUW3J.js} +4 -4
  10. package/dist/boilerplates/@batijs/h3/files/$package.json.js +4 -4
  11. package/dist/boilerplates/@batijs/h3/files/h3-entry.ts +2 -2
  12. package/dist/boilerplates/@batijs/h3/{package-OCNH7HWJ.js → package-BKHMKPRT.js} +4 -4
  13. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +4 -4
  14. package/dist/boilerplates/@batijs/hattip/files/$vite.config.ts.js +2 -2
  15. package/dist/boilerplates/@batijs/hattip/files/hattip-entry.ts +4 -4
  16. package/dist/boilerplates/@batijs/hattip/{package-FDRQH742.js → package-OYV3342B.js} +4 -4
  17. package/dist/boilerplates/@batijs/prisma/files/$.env.js +2 -2
  18. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
  19. package/dist/boilerplates/@batijs/prisma/{package-JX35CIXF.js → package-ODDEEC2P.js} +4 -4
  20. package/dist/boilerplates/@batijs/react/files/$.eslintrc.json.js +16 -0
  21. package/dist/boilerplates/@batijs/react/files/$package.json.js +8 -3
  22. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +2 -2
  23. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +3 -3
  24. package/dist/boilerplates/@batijs/react/files/components/Link.tsx +8 -10
  25. package/dist/boilerplates/@batijs/react/files/layouts/HeadDefault.tsx +1 -1
  26. package/dist/boilerplates/@batijs/react/files/layouts/LayoutDefault.tsx +11 -11
  27. package/dist/boilerplates/@batijs/react/files/pages/_error/+Page.tsx +1 -3
  28. package/dist/boilerplates/@batijs/react/files/pages/index/+Page.tsx +1 -1
  29. package/dist/boilerplates/@batijs/react/files/pages/index/Counter.tsx +2 -4
  30. package/dist/boilerplates/@batijs/react/files/pages/star-wars/@id/+Page.tsx +1 -3
  31. package/dist/boilerplates/@batijs/react/files/pages/star-wars/@id/+onBeforeRender.ts +2 -4
  32. package/dist/boilerplates/@batijs/react/files/pages/star-wars/filterMovieData.ts +1 -5
  33. package/dist/boilerplates/@batijs/react/files/pages/star-wars/index/+Page.tsx +1 -3
  34. package/dist/boilerplates/@batijs/react/files/pages/star-wars/index/+onBeforeRender.ts +2 -5
  35. package/dist/boilerplates/@batijs/react/{package-5YB3UKUO.js → package-EPEDDI5A.js} +10 -6
  36. package/dist/boilerplates/@batijs/react-telefunc/files/database/todoItems.ts +2 -5
  37. package/dist/boilerplates/@batijs/react-telefunc/files/pages/todo/+config.h.ts +3 -1
  38. package/dist/boilerplates/@batijs/react-telefunc/files/pages/todo/+onBeforeRender.ts +1 -3
  39. package/dist/boilerplates/@batijs/react-telefunc/files/pages/todo/TodoList.telefunc.ts +2 -4
  40. package/dist/boilerplates/@batijs/shared/files/$index.html.js +188 -2
  41. package/dist/boilerplates/@batijs/solid/files/$.eslintrc.json.js +13 -0
  42. package/dist/boilerplates/@batijs/solid/files/$package.json.js +8 -3
  43. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +2 -2
  44. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +3 -3
  45. package/dist/boilerplates/@batijs/solid/files/layouts/HeadDefault.tsx +2 -2
  46. package/dist/boilerplates/@batijs/solid/files/layouts/LayoutDefault.tsx +11 -11
  47. package/dist/boilerplates/@batijs/solid/files/pages/_error/+Page.tsx +17 -16
  48. package/dist/boilerplates/@batijs/solid/files/pages/index/+Page.tsx +1 -1
  49. package/dist/boilerplates/@batijs/solid/files/pages/index/Counter.tsx +1 -1
  50. package/dist/boilerplates/@batijs/solid/files/pages/star-wars/index/+Page.tsx +1 -1
  51. package/dist/boilerplates/@batijs/solid/files/pages/star-wars/index/+onBeforeRender.ts +3 -2
  52. package/dist/boilerplates/@batijs/solid/{package-BLWCB4NH.js → package-GTL3FIFH.js} +7 -6
  53. package/dist/boilerplates/@batijs/solid-telefunc/files/pages/todo/+Page.tsx +3 -4
  54. package/dist/boilerplates/@batijs/solid-telefunc/files/pages/todo/+onBeforeRender.ts +2 -2
  55. package/dist/boilerplates/@batijs/solid-telefunc/files/pages/todo/TodoList.tsx +3 -4
  56. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +3 -3
  57. package/dist/boilerplates/@batijs/tailwindcss/{package-34V34OFJ.js → package-2PEXROGS.js} +4 -4
  58. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +3 -3
  59. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +2 -2
  60. package/dist/boilerplates/@batijs/telefunc/{package-LPS6TFJV.js → package-YBU74HVR.js} +4 -4
  61. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +3 -3
  62. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +2 -2
  63. package/dist/boilerplates/@batijs/vercel/{package-EAL6NF5P.js → package-75BTKTCC.js} +4 -4
  64. package/dist/boilerplates/@batijs/vue/files/$.eslintrc.json.js +16 -0
  65. package/dist/boilerplates/@batijs/vue/files/$package.json.js +15 -4
  66. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +2 -2
  67. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +2 -2
  68. package/dist/boilerplates/@batijs/vue/files/components/Content.vue +1 -1
  69. package/dist/boilerplates/@batijs/vue/files/components/Counter.vue +3 -3
  70. package/dist/boilerplates/@batijs/vue/files/components/Link.vue +13 -11
  71. package/dist/boilerplates/@batijs/vue/files/components/Logo.vue +6 -2
  72. package/dist/boilerplates/@batijs/vue/files/components/Sidebar.vue +1 -1
  73. package/dist/boilerplates/@batijs/vue/files/layouts/HeadDefault.vue +10 -3
  74. package/dist/boilerplates/@batijs/vue/files/layouts/LayoutDefault.vue +11 -5
  75. package/dist/boilerplates/@batijs/vue/files/pages/index/+Page.vue +1 -1
  76. package/dist/boilerplates/@batijs/vue/files/pages/star-wars/@id/+Page.vue +8 -3
  77. package/dist/boilerplates/@batijs/vue/files/pages/star-wars/index/+Page.vue +10 -2
  78. package/dist/boilerplates/@batijs/vue/files/pages/star-wars/index/+onBeforeRender.ts +3 -2
  79. package/dist/boilerplates/@batijs/vue/{package-HDC4A5UP.js → package-7JAOIAC3.js} +6 -5
  80. package/dist/boilerplates/@batijs/vue-telefunc/files/components/TodoList.vue +15 -4
  81. package/dist/boilerplates/@batijs/vue-telefunc/files/pages/todo/+Page.vue +3 -2
  82. package/dist/boilerplates/boilerplates.json +70 -80
  83. package/dist/index.js +901 -74
  84. package/package.json +6 -4
@@ -1,22 +1,11 @@
1
1
  [
2
2
  {
3
3
  "config": {
4
- "flag": "authjs",
5
- "name": "Auth.js",
6
- "homepage": "https://authjs.dev"
7
- },
8
- "folder": "@batijs/authjs",
9
- "description": "",
10
- "subfolders": []
11
- },
12
- {
13
- "config": {
14
- "flag": "edgedb",
15
- "name": "EdgeDB",
16
- "homepage": "https://www.edgedb.com"
4
+ "if": {
5
+ "flag": "edgedb"
6
+ }
17
7
  },
18
8
  "folder": "@batijs/edgedb",
19
- "description": "",
20
9
  "subfolders": [
21
10
  "files",
22
11
  "hooks"
@@ -24,58 +13,55 @@
24
13
  },
25
14
  {
26
15
  "config": {
27
- "flag": "express",
28
- "name": "Express",
29
- "homepage": "https://expressjs.com"
16
+ "if": {
17
+ "flag": "eslint"
18
+ }
30
19
  },
31
- "folder": "@batijs/express",
32
- "description": "",
20
+ "folder": "@batijs/eslint",
33
21
  "subfolders": [
34
22
  "files"
35
23
  ]
36
24
  },
37
25
  {
38
26
  "config": {
39
- "flag": "h3",
40
- "name": "H3",
41
- "homepage": "https://github.com/unjs/h3"
27
+ "if": {
28
+ "flag": "express"
29
+ }
42
30
  },
43
- "folder": "@batijs/h3",
44
- "description": "",
31
+ "folder": "@batijs/express",
45
32
  "subfolders": [
46
33
  "files"
47
34
  ]
48
35
  },
49
36
  {
50
37
  "config": {
51
- "flag": "hattip",
52
- "name": "Hattip",
53
- "homepage": "https://github.com/hattipjs/hattip"
38
+ "if": {
39
+ "flag": "h3"
40
+ }
54
41
  },
55
- "folder": "@batijs/hattip",
56
- "description": "",
42
+ "folder": "@batijs/h3",
57
43
  "subfolders": [
58
44
  "files"
59
45
  ]
60
46
  },
61
47
  {
62
48
  "config": {
63
- "flag": "plausible.io",
64
- "name": "Plausible Analytics",
65
- "homepage": "https://plausible.io"
49
+ "if": {
50
+ "flag": "hattip"
51
+ }
66
52
  },
67
- "folder": "@batijs/plausible.io",
68
- "description": "",
69
- "subfolders": []
53
+ "folder": "@batijs/hattip",
54
+ "subfolders": [
55
+ "files"
56
+ ]
70
57
  },
71
58
  {
72
59
  "config": {
73
- "flag": "prisma",
74
- "name": "Prisma",
75
- "homepage": "https://www.prisma.io"
60
+ "if": {
61
+ "flag": "prisma"
62
+ }
76
63
  },
77
64
  "folder": "@batijs/prisma",
78
- "description": "",
79
65
  "subfolders": [
80
66
  "files",
81
67
  "hooks"
@@ -83,119 +69,123 @@
83
69
  },
84
70
  {
85
71
  "config": {
86
- "flag": "react",
87
- "name": "ReactJS",
88
- "homepage": "https://react.dev"
72
+ "if": {
73
+ "flag": "react"
74
+ }
89
75
  },
90
76
  "folder": "@batijs/react",
91
- "description": "",
92
77
  "subfolders": [
93
78
  "files"
94
79
  ]
95
80
  },
96
81
  {
97
82
  "config": {
98
- "includeIf": [
99
- "react",
100
- "telefunc"
101
- ]
83
+ "if": {
84
+ "flag": {
85
+ "$all": [
86
+ "react",
87
+ "telefunc"
88
+ ]
89
+ }
90
+ }
102
91
  },
103
92
  "folder": "@batijs/react-telefunc",
104
- "description": "",
105
93
  "subfolders": [
106
94
  "files"
107
95
  ]
108
96
  },
109
97
  {
110
- "config": {},
98
+ "config": {
99
+ "enforce": "pre"
100
+ },
111
101
  "folder": "@batijs/shared",
112
- "description": "",
113
102
  "subfolders": [
114
103
  "files"
115
104
  ]
116
105
  },
117
106
  {
118
107
  "config": {
119
- "flag": "solid",
120
- "name": "SolidJS",
121
- "homepage": "https://www.solidjs.com"
108
+ "if": {
109
+ "flag": "solid"
110
+ }
122
111
  },
123
112
  "folder": "@batijs/solid",
124
- "description": "",
125
113
  "subfolders": [
126
114
  "files"
127
115
  ]
128
116
  },
129
117
  {
130
118
  "config": {
131
- "includeIf": [
132
- "solid",
133
- "telefunc"
134
- ]
119
+ "if": {
120
+ "flag": {
121
+ "$all": [
122
+ "solid",
123
+ "telefunc"
124
+ ]
125
+ }
126
+ }
135
127
  },
136
128
  "folder": "@batijs/solid-telefunc",
137
- "description": "",
138
129
  "subfolders": [
139
130
  "files"
140
131
  ]
141
132
  },
142
133
  {
143
134
  "config": {
144
- "flag": "tailwindcss",
145
- "name": "TailwindCSS",
146
- "homepage": "https://tailwindcss.com"
135
+ "if": {
136
+ "flag": "tailwindcss"
137
+ }
147
138
  },
148
139
  "folder": "@batijs/tailwindcss",
149
- "description": "",
150
140
  "subfolders": [
151
141
  "files"
152
142
  ]
153
143
  },
154
144
  {
155
145
  "config": {
156
- "flag": "telefunc",
157
- "name": "Telefunc",
158
- "homepage": "https://telefunc.com"
146
+ "if": {
147
+ "flag": "telefunc"
148
+ }
159
149
  },
160
150
  "folder": "@batijs/telefunc",
161
- "description": "",
162
151
  "subfolders": [
163
152
  "files"
164
153
  ]
165
154
  },
166
155
  {
167
156
  "config": {
168
- "flag": "vercel",
169
- "name": "Vercel",
170
- "homepage": "https://vercel.com"
157
+ "if": {
158
+ "flag": "vercel"
159
+ }
171
160
  },
172
161
  "folder": "@batijs/vercel",
173
- "description": "",
174
162
  "subfolders": [
175
163
  "files"
176
164
  ]
177
165
  },
178
166
  {
179
167
  "config": {
180
- "flag": "vue",
181
- "name": "VueJS",
182
- "homepage": "https://vuejs.org"
168
+ "if": {
169
+ "flag": "vue"
170
+ }
183
171
  },
184
172
  "folder": "@batijs/vue",
185
- "description": "",
186
173
  "subfolders": [
187
174
  "files"
188
175
  ]
189
176
  },
190
177
  {
191
178
  "config": {
192
- "includeIf": [
193
- "vue",
194
- "telefunc"
195
- ]
179
+ "if": {
180
+ "flag": {
181
+ "$all": [
182
+ "vue",
183
+ "telefunc"
184
+ ]
185
+ }
186
+ }
196
187
  },
197
188
  "folder": "@batijs/vue-telefunc",
198
- "description": "",
199
189
  "subfolders": [
200
190
  "files"
201
191
  ]