@batijs/cli 0.0.194 → 0.0.196
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 -9
- package/dist/boilerplates/@batijs/auth0/files/$README.md.js +8 -17
- package/dist/boilerplates/@batijs/authjs/files/server/authjs-handler.ts +100 -0
- package/dist/boilerplates/@batijs/authjs/types/server/authjs-handler.d.ts +16 -0
- package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/eslint/files/.eslintrc.json +15 -2
- package/dist/boilerplates/@batijs/express/files/$package.json.js +10 -11
- package/dist/boilerplates/@batijs/express/files/express-entry.ts +51 -144
- package/dist/boilerplates/@batijs/express/types/express-entry.d.ts +5 -0
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +8 -12
- package/dist/boilerplates/@batijs/fastify/files/fastify-entry.ts +63 -149
- package/dist/boilerplates/@batijs/fastify/types/fastify-entry.d.ts +6 -0
- package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +11 -3
- package/dist/boilerplates/@batijs/firebase-auth/files/libs/firebaseAdmin.ts +2 -1
- package/dist/boilerplates/@batijs/firebase-auth/files/server/firebase-auth-middleware.ts +72 -0
- package/dist/boilerplates/@batijs/firebase-auth/types/libs/firebaseAdmin.d.ts +2 -1
- package/dist/boilerplates/@batijs/firebase-auth/types/server/firebase-auth-middleware.d.ts +4 -0
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +6 -8
- package/dist/boilerplates/@batijs/h3/files/h3-entry.ts +36 -175
- package/dist/boilerplates/@batijs/h3/types/h3-entry.d.ts +5 -0
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +8 -4
- package/dist/boilerplates/@batijs/hattip/files/hattip-entry.ts +40 -60
- package/dist/boilerplates/@batijs/hattip/types/hattip-entry.d.ts +1 -0
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +8 -6
- package/dist/boilerplates/@batijs/hono/files/hono-entry.ts +54 -116
- package/dist/boilerplates/@batijs/hono/types/hono-entry.d.ts +5 -0
- package/dist/boilerplates/@batijs/react/files/$.eslintrc.json.js +0 -4
- package/dist/boilerplates/@batijs/react/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/react-telefunc/files/pages/todo/TodoList.tsx +4 -4
- package/dist/boilerplates/@batijs/shared/files/package.json +2 -1
- package/dist/boilerplates/@batijs/shared-server/files/server/vike-handler.ts +15 -0
- package/dist/boilerplates/@batijs/shared-server/types/server/vike-handler.d.ts +2 -0
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/solid-telefunc/files/pages/todo/+Page.tsx +6 -3
- package/dist/boilerplates/@batijs/solid-telefunc/files/pages/todo/+data.ts +9 -0
- package/dist/boilerplates/@batijs/solid-telefunc/files/pages/todo/TodoList.tsx +4 -4
- package/dist/boilerplates/@batijs/solid-telefunc/types/pages/todo/+Page.d.ts +1 -4
- package/dist/boilerplates/@batijs/solid-telefunc/types/pages/todo/+data.d.ts +2 -0
- package/dist/boilerplates/@batijs/solid-trpc/files/pages/todo-trpc/+Page.tsx +6 -3
- package/dist/boilerplates/@batijs/solid-trpc/files/pages/todo-trpc/+data.ts +9 -0
- package/dist/boilerplates/@batijs/solid-trpc/files/pages/todo-trpc/TodoList.tsx +4 -4
- package/dist/boilerplates/@batijs/solid-trpc/types/pages/todo-trpc/+Page.d.ts +1 -4
- package/dist/boilerplates/@batijs/solid-trpc/types/pages/todo-trpc/+data.d.ts +2 -0
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +13 -1
- package/dist/boilerplates/@batijs/telefunc/files/server/telefunc-handler.ts +20 -0
- package/dist/boilerplates/@batijs/telefunc/types/server/telefunc-handler.d.ts +2 -0
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vue-telefunc/files/components/TodoList.vue +6 -6
- package/dist/boilerplates/@batijs/vue-trpc/files/components/TodoListTrpc.vue +6 -6
- package/dist/boilerplates/boilerplates.json +35 -0
- package/dist/index.js +3 -6
- package/package.json +7 -7
- package/dist/boilerplates/@batijs/solid-telefunc/files/pages/todo/+onBeforeRender.ts +0 -15
- package/dist/boilerplates/@batijs/solid-telefunc/types/pages/todo/+onBeforeRender.d.ts +0 -8
- package/dist/boilerplates/@batijs/solid-trpc/files/pages/todo-trpc/+onBeforeRender.ts +0 -15
- package/dist/boilerplates/@batijs/solid-trpc/types/pages/todo-trpc/+onBeforeRender.d.ts +0 -8
package/dist/index.js
CHANGED
|
@@ -1564,7 +1564,7 @@ var import_which_pm_runs = __toESM(require_which_pm_runs(), 1);
|
|
|
1564
1564
|
// package.json
|
|
1565
1565
|
var package_default = {
|
|
1566
1566
|
name: "@batijs/cli",
|
|
1567
|
-
version: "0.0.
|
|
1567
|
+
version: "0.0.196",
|
|
1568
1568
|
type: "module",
|
|
1569
1569
|
scripts: {
|
|
1570
1570
|
"check-types": "tsc --noEmit",
|
|
@@ -1585,8 +1585,8 @@ var package_default = {
|
|
|
1585
1585
|
"@types/which-pm-runs": "^1.0.2",
|
|
1586
1586
|
citty: "^0.1.6",
|
|
1587
1587
|
colorette: "^2.0.20",
|
|
1588
|
-
esbuild: "^0.21.
|
|
1589
|
-
execa: "^
|
|
1588
|
+
esbuild: "^0.21.4",
|
|
1589
|
+
execa: "^9.1.0",
|
|
1590
1590
|
rimraf: "^5.0.7",
|
|
1591
1591
|
sift: "^17.1.3",
|
|
1592
1592
|
tsup: "^8.0.2",
|
|
@@ -1630,9 +1630,6 @@ var rulesMessages = {
|
|
|
1630
1630
|
[RulesMessage.ERROR_COMPILED_R_REACT]: error(
|
|
1631
1631
|
`${inverse(bold("React"))} is required when using ${inverse(bold("Compiled"))}.`
|
|
1632
1632
|
),
|
|
1633
|
-
[RulesMessage.ERROR_AUTH0_E_HONO]: error(
|
|
1634
|
-
`${inverse(bold("Auth0"))} does not support running on ${inverse(bold("Hono"))} with official plugins. Check https://batijs.dev for details`
|
|
1635
|
-
),
|
|
1636
1633
|
[RulesMessage.INFO_HATTIP]: info(`${inverse(bold("HatTip"))} is an experimental project`)
|
|
1637
1634
|
};
|
|
1638
1635
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.196",
|
|
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",
|
|
@@ -13,20 +13,20 @@
|
|
|
13
13
|
"@types/which-pm-runs": "^1.0.2",
|
|
14
14
|
"citty": "^0.1.6",
|
|
15
15
|
"colorette": "^2.0.20",
|
|
16
|
-
"esbuild": "^0.21.
|
|
17
|
-
"execa": "^
|
|
16
|
+
"esbuild": "^0.21.4",
|
|
17
|
+
"execa": "^9.1.0",
|
|
18
18
|
"rimraf": "^5.0.7",
|
|
19
19
|
"sift": "^17.1.3",
|
|
20
20
|
"tsup": "^8.0.2",
|
|
21
21
|
"typescript": "^5.4.5",
|
|
22
22
|
"vite": "^5.2.11",
|
|
23
23
|
"which-pm-runs": "^1.1.0",
|
|
24
|
-
"@batijs/
|
|
25
|
-
"@batijs/
|
|
24
|
+
"@batijs/build": "0.0.196",
|
|
25
|
+
"@batijs/compile": "0.0.196"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@batijs/core": "0.0.
|
|
29
|
-
"@batijs/features": "0.0.
|
|
28
|
+
"@batijs/core": "0.0.196",
|
|
29
|
+
"@batijs/features": "0.0.196"
|
|
30
30
|
},
|
|
31
31
|
"bin": "./dist/index.js",
|
|
32
32
|
"exports": {
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { todoItems } from "@batijs/shared-db/database/todoItems";
|
|
2
|
-
|
|
3
|
-
// https://vike.dev/onBeforeRender
|
|
4
|
-
export default onBeforeRender;
|
|
5
|
-
|
|
6
|
-
function onBeforeRender() {
|
|
7
|
-
const initialTodoItems = todoItems;
|
|
8
|
-
return {
|
|
9
|
-
pageContext: {
|
|
10
|
-
pageProps: {
|
|
11
|
-
initialTodoItems,
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
};
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { todoItems } from "@batijs/shared-db/database/todoItems";
|
|
2
|
-
|
|
3
|
-
// https://vike.dev/onBeforeRender
|
|
4
|
-
export default onBeforeRender;
|
|
5
|
-
|
|
6
|
-
function onBeforeRender() {
|
|
7
|
-
const initialTodoItems = todoItems;
|
|
8
|
-
return {
|
|
9
|
-
pageContext: {
|
|
10
|
-
pageProps: {
|
|
11
|
-
initialTodoItems,
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
};
|
|
15
|
-
}
|