@batijs/cli 0.0.108 → 0.0.110

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 (136) hide show
  1. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +70 -1
  2. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +68 -1
  3. package/dist/boilerplates/@batijs/express/files/$package.json.js +85 -1
  4. package/dist/boilerplates/@batijs/express/files/express-entry.ts +19 -0
  5. package/dist/boilerplates/@batijs/express/types/express-entry.d.ts +1 -0
  6. package/dist/boilerplates/@batijs/h3/files/$package.json.js +86 -1
  7. package/dist/boilerplates/@batijs/h3/files/h3-entry.ts +25 -1
  8. package/dist/boilerplates/@batijs/h3/types/h3-entry.d.ts +1 -0
  9. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +87 -1
  10. package/dist/boilerplates/@batijs/hattip/files/hattip-entry.ts +22 -1
  11. package/dist/boilerplates/@batijs/hattip/types/hattip-entry.d.ts +3 -0
  12. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +64 -1
  13. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +65 -1
  14. package/dist/boilerplates/@batijs/react/files/$package.json.js +162 -2
  15. package/dist/boilerplates/@batijs/react/files/layouts/LayoutDefault.tsx +2 -1
  16. package/dist/boilerplates/@batijs/react/types/components/Link.d.ts +4 -0
  17. package/dist/boilerplates/@batijs/react/types/layouts/HeadDefault.d.ts +1 -0
  18. package/dist/boilerplates/@batijs/react/types/layouts/LayoutDefault.d.ts +6 -0
  19. package/dist/boilerplates/@batijs/react/types/pages/+config.h.d.ts +41 -0
  20. package/dist/boilerplates/@batijs/react/types/pages/_error/+Page.d.ts +4 -0
  21. package/dist/boilerplates/@batijs/react/types/pages/index/+Page.d.ts +1 -0
  22. package/dist/boilerplates/@batijs/react/types/pages/index/Counter.d.ts +1 -0
  23. package/dist/boilerplates/@batijs/react/types/pages/star-wars/@id/+Page.d.ts +4 -0
  24. package/dist/boilerplates/@batijs/react/types/pages/star-wars/@id/+onBeforeRender.d.ts +10 -0
  25. package/dist/boilerplates/@batijs/react/types/pages/star-wars/filterMovieData.d.ts +2 -0
  26. package/dist/boilerplates/@batijs/react/types/pages/star-wars/index/+Page.d.ts +4 -0
  27. package/dist/boilerplates/@batijs/react/types/pages/star-wars/index/+onBeforeRender.d.ts +9 -0
  28. package/dist/boilerplates/@batijs/react/types/pages/star-wars/types.d.ts +12 -0
  29. package/dist/boilerplates/@batijs/react-telefunc/files/pages/todo/+Page.tsx +1 -2
  30. package/dist/boilerplates/@batijs/react-telefunc/files/pages/todo/+onBeforeRender.ts +1 -1
  31. package/dist/boilerplates/@batijs/react-telefunc/files/pages/todo/TodoList.telefunc.ts +1 -1
  32. package/dist/boilerplates/@batijs/react-telefunc/files/pages/todo/TodoList.tsx +1 -2
  33. package/dist/boilerplates/@batijs/react-telefunc/types/pages/todo/+Page.d.ts +4 -0
  34. package/dist/boilerplates/@batijs/react-telefunc/types/pages/todo/+config.h.d.ts +4 -0
  35. package/dist/boilerplates/@batijs/react-telefunc/types/pages/todo/+onBeforeRender.d.ts +7 -0
  36. package/dist/boilerplates/@batijs/react-telefunc/types/pages/todo/TodoList.d.ts +4 -0
  37. package/dist/boilerplates/@batijs/react-telefunc/types/pages/todo/TodoList.telefunc.d.ts +4 -0
  38. package/dist/boilerplates/@batijs/react-trpc/files/pages/todo-trpc/+Page.tsx +25 -0
  39. package/dist/boilerplates/@batijs/react-trpc/files/pages/todo-trpc/+config.h.ts +5 -0
  40. package/dist/boilerplates/@batijs/react-trpc/files/pages/todo-trpc/+onBeforeRender.ts +13 -0
  41. package/dist/boilerplates/@batijs/react-trpc/files/pages/todo-trpc/TodoList.tsx +30 -0
  42. package/dist/boilerplates/@batijs/react-trpc/types/pages/todo-trpc/+Page.d.ts +4 -0
  43. package/dist/boilerplates/@batijs/react-trpc/types/pages/todo-trpc/+config.h.d.ts +4 -0
  44. package/dist/boilerplates/@batijs/react-trpc/types/pages/todo-trpc/+onBeforeRender.d.ts +7 -0
  45. package/dist/boilerplates/@batijs/react-trpc/types/pages/todo-trpc/TodoList.d.ts +4 -0
  46. package/dist/boilerplates/@batijs/shared/files/$index.html.js +2 -6
  47. package/dist/boilerplates/@batijs/shared/types/vite.config.d.ts +2 -0
  48. package/dist/boilerplates/@batijs/shared-db/types/database/todoItems.d.ts +6 -0
  49. package/dist/boilerplates/@batijs/solid/files/$package.json.js +168 -2
  50. package/dist/boilerplates/@batijs/solid/files/layouts/LayoutDefault.tsx +2 -1
  51. package/dist/boilerplates/@batijs/solid/types/components/Link.d.ts +4 -0
  52. package/dist/boilerplates/@batijs/solid/types/layouts/HeadDefault.d.ts +1 -0
  53. package/dist/boilerplates/@batijs/solid/types/layouts/LayoutDefault.d.ts +6 -0
  54. package/dist/boilerplates/@batijs/solid/types/pages/+config.h.d.ts +40 -0
  55. package/dist/boilerplates/@batijs/solid/types/pages/_error/+Page.d.ts +4 -0
  56. package/dist/boilerplates/@batijs/solid/types/pages/index/+Page.d.ts +1 -0
  57. package/dist/boilerplates/@batijs/solid/types/pages/index/Counter.d.ts +2 -0
  58. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/@id/+Page.d.ts +4 -0
  59. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/@id/+onBeforeRender.d.ts +11 -0
  60. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/filterMovieData.d.ts +3 -0
  61. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/+Page.d.ts +4 -0
  62. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/+onBeforePrerenderStart.d.ts +18 -0
  63. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/+onBeforeRender.d.ts +10 -0
  64. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/getStarWarsMovies.d.ts +7 -0
  65. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/types.d.ts +12 -0
  66. package/dist/boilerplates/@batijs/solid-telefunc/files/pages/todo/+Page.tsx +1 -1
  67. package/dist/boilerplates/@batijs/solid-telefunc/files/pages/todo/+onBeforeRender.ts +2 -2
  68. package/dist/boilerplates/@batijs/solid-telefunc/files/pages/todo/TodoList.telefunc.ts +2 -2
  69. package/dist/boilerplates/@batijs/solid-telefunc/files/pages/todo/TodoList.tsx +1 -1
  70. package/dist/boilerplates/@batijs/solid-telefunc/types/pages/todo/+Page.d.ts +4 -0
  71. package/dist/boilerplates/@batijs/solid-telefunc/types/pages/todo/+config.h.d.ts +4 -0
  72. package/dist/boilerplates/@batijs/solid-telefunc/types/pages/todo/+onBeforeRender.d.ts +8 -0
  73. package/dist/boilerplates/@batijs/solid-telefunc/types/pages/todo/TodoList.d.ts +4 -0
  74. package/dist/boilerplates/@batijs/solid-telefunc/types/pages/todo/TodoList.telefunc.d.ts +5 -0
  75. package/dist/boilerplates/@batijs/solid-trpc/files/pages/todo-trpc/+Page.tsx +25 -0
  76. package/dist/boilerplates/@batijs/solid-trpc/files/pages/todo-trpc/+config.h.ts +3 -0
  77. package/dist/boilerplates/@batijs/solid-trpc/files/pages/todo-trpc/+onBeforeRender.ts +15 -0
  78. package/dist/boilerplates/@batijs/solid-trpc/files/pages/todo-trpc/TodoList.tsx +28 -0
  79. package/dist/boilerplates/@batijs/solid-trpc/types/pages/todo-trpc/+Page.d.ts +4 -0
  80. package/dist/boilerplates/@batijs/solid-trpc/types/pages/todo-trpc/+config.h.d.ts +4 -0
  81. package/dist/boilerplates/@batijs/solid-trpc/types/pages/todo-trpc/+onBeforeRender.d.ts +8 -0
  82. package/dist/boilerplates/@batijs/solid-trpc/types/pages/todo-trpc/TodoList.d.ts +4 -0
  83. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +85 -1
  84. package/dist/boilerplates/@batijs/tailwindcss/types/postcss.config.d.ts +7 -0
  85. package/dist/boilerplates/@batijs/tailwindcss/types/tailwind.config.d.ts +2 -0
  86. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +65 -1
  87. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +100 -0
  88. package/dist/boilerplates/@batijs/trpc/files/$vite.config.ts.js +13 -0
  89. package/dist/boilerplates/@batijs/trpc/files/trpc/client.ts +10 -0
  90. package/dist/boilerplates/@batijs/trpc/files/trpc/server.ts +34 -0
  91. package/dist/boilerplates/@batijs/trpc/files/trpc/vite-plugin.ts +49 -0
  92. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +38 -0
  93. package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.ts +64 -0
  94. package/dist/boilerplates/@batijs/trpc/types/trpc/vite-plugin.d.ts +12 -0
  95. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +66 -1
  96. package/dist/boilerplates/@batijs/vue/files/$package.json.js +111 -2
  97. package/dist/boilerplates/@batijs/vue/files/layouts/LayoutDefault.vue +5 -1
  98. package/dist/boilerplates/@batijs/vue/types/pages/+config.h.d.ts +43 -0
  99. package/dist/boilerplates/@batijs/vue/types/pages/star-wars/@id/+onBeforeRender.d.ts +11 -0
  100. package/dist/boilerplates/@batijs/vue/types/pages/star-wars/filterMovieData.d.ts +3 -0
  101. package/dist/boilerplates/@batijs/vue/types/pages/star-wars/index/+onBeforeRender.d.ts +10 -0
  102. package/dist/boilerplates/@batijs/vue/types/pages/star-wars/types.d.ts +12 -0
  103. package/dist/boilerplates/@batijs/vue-telefunc/files/components/TodoList.telefunc.ts +2 -2
  104. package/dist/boilerplates/@batijs/vue-telefunc/files/components/TodoList.vue +5 -13
  105. package/dist/boilerplates/@batijs/vue-telefunc/files/pages/todo/+Page.vue +2 -3
  106. package/dist/boilerplates/@batijs/vue-telefunc/files/pages/todo/+onBeforeRender.ts +2 -2
  107. package/dist/boilerplates/@batijs/vue-telefunc/types/components/TodoList.telefunc.d.ts +5 -0
  108. package/dist/boilerplates/@batijs/vue-telefunc/types/pages/todo/+config.h.d.ts +4 -0
  109. package/dist/boilerplates/@batijs/vue-telefunc/types/pages/todo/+onBeforeRender.d.ts +8 -0
  110. package/dist/boilerplates/@batijs/vue-trpc/files/components/TodoListTrpc.vue +29 -0
  111. package/dist/boilerplates/@batijs/vue-trpc/files/pages/todo-trpc/+Page.vue +19 -0
  112. package/dist/boilerplates/@batijs/vue-trpc/files/pages/todo-trpc/+config.h.ts +3 -0
  113. package/dist/boilerplates/@batijs/vue-trpc/files/pages/todo-trpc/+onBeforeRender.ts +15 -0
  114. package/dist/boilerplates/@batijs/vue-trpc/types/pages/todo-trpc/+config.h.d.ts +4 -0
  115. package/dist/boilerplates/@batijs/vue-trpc/types/pages/todo-trpc/+onBeforeRender.d.ts +8 -0
  116. package/dist/boilerplates/boilerplates.json +75 -0
  117. package/dist/{chunk-chunk-HOVHXSZ5.js → chunk-P3F3WO2D.js} +1 -1
  118. package/dist/index.js +4 -4
  119. package/dist/{chunk-prompt-LPA56PA5.js → prompt-QGA753QE.js} +1 -1
  120. package/package.json +5 -5
  121. package/dist/boilerplates/@batijs/edgedb/package-BD3G47NI.js +0 -64
  122. package/dist/boilerplates/@batijs/eslint/package-L5KZG4F3.js +0 -62
  123. package/dist/boilerplates/@batijs/express/package-KV3NAHNP.js +0 -69
  124. package/dist/boilerplates/@batijs/h3/package-TUTMSCQF.js +0 -70
  125. package/dist/boilerplates/@batijs/hattip/package-VKEJY76G.js +0 -69
  126. package/dist/boilerplates/@batijs/prettier/package-MCK4YCPP.js +0 -62
  127. package/dist/boilerplates/@batijs/prisma/package-JDCZNZLS.js +0 -63
  128. package/dist/boilerplates/@batijs/react/package-O2DZQ5DB.js +0 -75
  129. package/dist/boilerplates/@batijs/react-telefunc/files/database/todoItems.ts +0 -9
  130. package/dist/boilerplates/@batijs/solid/package-2AEIPM6V.js +0 -69
  131. package/dist/boilerplates/@batijs/tailwindcss/package-CMMRUVWD.js +0 -65
  132. package/dist/boilerplates/@batijs/telefunc/package-NGJ3M2KO.js +0 -63
  133. package/dist/boilerplates/@batijs/vercel/package-QY45OGDN.js +0 -64
  134. package/dist/boilerplates/@batijs/vue/package-7RHEEZZN.js +0 -72
  135. package/dist/boilerplates/@batijs/vue-telefunc/files/database/todoItems.ts +0 -12
  136. package/dist/boilerplates/@batijs/{solid-telefunc → shared-db}/files/database/todoItems.ts +3 -3
@@ -1,10 +1,74 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJS = (cb, mod) => function __require() {
8
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
+ // If the importer is in node compatibility mode or this is not an ESM
20
+ // file that has been converted to a CommonJS file using a Babel-
21
+ // compatible transform (i.e. "__esModule" has not been set), then set
22
+ // "default" to the CommonJS "module.exports" for node compatibility.
23
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
+ mod
25
+ ));
26
+
27
+ // package.json
28
+ var require_package = __commonJS({
29
+ "package.json"(exports, module) {
30
+ module.exports = {
31
+ name: "@batijs/prisma",
32
+ private: true,
33
+ version: "0.0.92",
34
+ description: "",
35
+ type: "module",
36
+ scripts: {
37
+ "check-types": "tsc --noEmit",
38
+ build: "bati-compile-boilerplate"
39
+ },
40
+ keywords: [],
41
+ author: "",
42
+ license: "MIT",
43
+ devDependencies: {
44
+ "@batijs/compile": "workspace:*",
45
+ "@prisma/client": "^5.5.2",
46
+ "@types/node": "^16.18.40",
47
+ colorette: "^2.0.20",
48
+ prisma: "^5.5.2"
49
+ },
50
+ dependencies: {
51
+ "@batijs/core": "workspace:*"
52
+ },
53
+ files: [
54
+ "dist/"
55
+ ],
56
+ bati: {
57
+ if: {
58
+ flag: "prisma"
59
+ }
60
+ }
61
+ };
62
+ }
63
+ });
64
+
1
65
  // files/$package.json.ts
2
66
  import { addDependency, loadAsJson } from "@batijs/core";
3
67
  async function getPackageJson(props) {
4
68
  const packageJson = await loadAsJson(props);
5
69
  packageJson.scripts["prisma:studio"] = "prisma studio";
6
70
  packageJson.scripts["prisma:generate"] = "prisma generate";
7
- return addDependency(packageJson, await import("../package-JDCZNZLS.js"), {
71
+ return addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)), {
8
72
  devDependencies: ["prisma"],
9
73
  dependencies: ["@prisma/client"]
10
74
  });
@@ -1,13 +1,173 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJS = (cb, mod) => function __require() {
8
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
+ // If the importer is in node compatibility mode or this is not an ESM
20
+ // file that has been converted to a CommonJS file using a Babel-
21
+ // compatible transform (i.e. "__esModule" has not been set), then set
22
+ // "default" to the CommonJS "module.exports" for node compatibility.
23
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
+ mod
25
+ ));
26
+
27
+ // package.json
28
+ var require_package = __commonJS({
29
+ "package.json"(exports, module) {
30
+ module.exports = {
31
+ name: "@batijs/react",
32
+ private: true,
33
+ version: "0.0.92",
34
+ description: "",
35
+ type: "module",
36
+ scripts: {
37
+ "check-types": "tsc --noEmit",
38
+ build: "bati-compile-boilerplate"
39
+ },
40
+ keywords: [],
41
+ author: "",
42
+ license: "MIT",
43
+ devDependencies: {
44
+ "@babel/core": "^7.23.2",
45
+ "@babel/plugin-syntax-flow": "^7.22.5",
46
+ "@babel/plugin-transform-react-jsx": "^7.22.15",
47
+ "@batijs/compile": "workspace:*",
48
+ "@types/node": "^16.18.40",
49
+ "@types/react": "^18.2.33",
50
+ "@types/react-dom": "^18.2.14",
51
+ "@vitejs/plugin-react": "^4.1.0",
52
+ "cross-fetch": "^4.0.0",
53
+ "eslint-config-react-app": "^7.0.1",
54
+ react: "^18.2.0",
55
+ "react-dom": "^18.2.0",
56
+ tailwindcss: "^3.3.5",
57
+ typescript: "^5.2.2",
58
+ vike: "^0.4.144",
59
+ "vike-react": "^0.3.0",
60
+ vite: "^4.5.0"
61
+ },
62
+ dependencies: {
63
+ "@batijs/core": "workspace:*"
64
+ },
65
+ files: [
66
+ "dist/"
67
+ ],
68
+ bati: {
69
+ if: {
70
+ flag: "react"
71
+ }
72
+ },
73
+ exports: {
74
+ "./components/Link": {
75
+ types: "./dist/types/components/Link.d.ts"
76
+ },
77
+ "./layouts/HeadDefault": {
78
+ types: "./dist/types/layouts/HeadDefault.d.ts"
79
+ },
80
+ "./layouts/LayoutDefault": {
81
+ types: "./dist/types/layouts/LayoutDefault.d.ts"
82
+ },
83
+ "./pages/+config.h": {
84
+ types: "./dist/types/pages/+config.h.d.ts"
85
+ },
86
+ "./pages/_error/+Page": {
87
+ types: "./dist/types/pages/_error/+Page.d.ts"
88
+ },
89
+ "./pages/index/Counter": {
90
+ types: "./dist/types/pages/index/Counter.d.ts"
91
+ },
92
+ "./pages/index/+Page": {
93
+ types: "./dist/types/pages/index/+Page.d.ts"
94
+ },
95
+ "./pages/star-wars/types": {
96
+ types: "./dist/types/pages/star-wars/types.d.ts"
97
+ },
98
+ "./pages/star-wars/filterMovieData": {
99
+ types: "./dist/types/pages/star-wars/filterMovieData.d.ts"
100
+ },
101
+ "./pages/star-wars/@id/+Page": {
102
+ types: "./dist/types/pages/star-wars/@id/+Page.d.ts"
103
+ },
104
+ "./pages/star-wars/@id/+onBeforeRender": {
105
+ types: "./dist/types/pages/star-wars/@id/+onBeforeRender.d.ts"
106
+ },
107
+ "./pages/star-wars/index/+Page": {
108
+ types: "./dist/types/pages/star-wars/index/+Page.d.ts"
109
+ },
110
+ "./pages/star-wars/index/+onBeforeRender": {
111
+ types: "./dist/types/pages/star-wars/index/+onBeforeRender.d.ts"
112
+ }
113
+ },
114
+ typesVersions: {
115
+ "*": {
116
+ "components/Link": [
117
+ "./dist/types/components/Link.d.ts"
118
+ ],
119
+ "layouts/HeadDefault": [
120
+ "./dist/types/layouts/HeadDefault.d.ts"
121
+ ],
122
+ "layouts/LayoutDefault": [
123
+ "./dist/types/layouts/LayoutDefault.d.ts"
124
+ ],
125
+ "pages/+config.h": [
126
+ "./dist/types/pages/+config.h.d.ts"
127
+ ],
128
+ "pages/_error/+Page": [
129
+ "./dist/types/pages/_error/+Page.d.ts"
130
+ ],
131
+ "pages/index/Counter": [
132
+ "./dist/types/pages/index/Counter.d.ts"
133
+ ],
134
+ "pages/index/+Page": [
135
+ "./dist/types/pages/index/+Page.d.ts"
136
+ ],
137
+ "pages/star-wars/types": [
138
+ "./dist/types/pages/star-wars/types.d.ts"
139
+ ],
140
+ "pages/star-wars/filterMovieData": [
141
+ "./dist/types/pages/star-wars/filterMovieData.d.ts"
142
+ ],
143
+ "pages/star-wars/@id/+Page": [
144
+ "./dist/types/pages/star-wars/@id/+Page.d.ts"
145
+ ],
146
+ "pages/star-wars/@id/+onBeforeRender": [
147
+ "./dist/types/pages/star-wars/@id/+onBeforeRender.d.ts"
148
+ ],
149
+ "pages/star-wars/index/+Page": [
150
+ "./dist/types/pages/star-wars/index/+Page.d.ts"
151
+ ],
152
+ "pages/star-wars/index/+onBeforeRender": [
153
+ "./dist/types/pages/star-wars/index/+onBeforeRender.d.ts"
154
+ ]
155
+ }
156
+ }
157
+ };
158
+ }
159
+ });
160
+
1
161
  // files/$package.json.ts
2
162
  import { addDependency, loadAsJson } from "@batijs/core";
3
163
  async function getPackageJson(props) {
4
164
  const packageJson = await loadAsJson(props);
5
165
  if (props.meta.BATI.has("eslint")) {
6
- addDependency(packageJson, await import("../package-O2DZQ5DB.js"), {
166
+ addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)), {
7
167
  devDependencies: ["eslint-config-react-app"]
8
168
  });
9
169
  }
10
- return addDependency(packageJson, await import("../package-O2DZQ5DB.js"), {
170
+ return addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)), {
11
171
  devDependencies: ["vite", "@types/react", "@types/react-dom"],
12
172
  dependencies: ["@vitejs/plugin-react", "cross-fetch", "react", "react-dom", "vike", "vike-react"]
13
173
  });
@@ -20,7 +20,8 @@ export default function LayoutDefault({ children }: { children: React.ReactNode
20
20
  <Sidebar>
21
21
  <Logo />
22
22
  <Link href="/">Welcome</Link>
23
- {BATI.has("telefunc") ? <Link href="/todo">Todo</Link> : undefined}
23
+ {BATI.has("telefunc") ? <Link href="/todo">Todo (telefunc)</Link> : undefined}
24
+ {BATI.has("trpc") ? <Link href="/todo-trpc">Todo (tRPC)</Link> : undefined}
24
25
  <Link href="/star-wars">Data Fetching</Link>
25
26
  </Sidebar>
26
27
  <Content>{children}</Content>
@@ -0,0 +1,4 @@
1
+ export declare function Link({ href, children }: {
2
+ href: string;
3
+ children: string;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function HeadDefault(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import "./style.css";
2
+ import "./tailwind.css";
3
+ import React from "react";
4
+ export default function LayoutDefault({ children }: {
5
+ children: React.ReactNode;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,41 @@
1
+ import Layout from "../layouts/LayoutDefault";
2
+ import Head from "../layouts/HeadDefault";
3
+ declare const _default: {
4
+ Layout: typeof Layout;
5
+ Head: typeof Head;
6
+ title: string;
7
+ description: string;
8
+ favicon: string;
9
+ extends: {
10
+ onRenderHtml: "import:vike-react/renderer/onRenderHtml";
11
+ onRenderClient: "import:vike-react/renderer/onRenderClient";
12
+ passToClient: string[];
13
+ clientRouting: true;
14
+ hydrationCanBeAborted: true;
15
+ meta: {
16
+ Head: {
17
+ env: "server-only";
18
+ };
19
+ Layout: {
20
+ env: "server-and-client";
21
+ };
22
+ title: {
23
+ env: "server-and-client";
24
+ };
25
+ description: {
26
+ env: "server-only";
27
+ };
28
+ favicon: {
29
+ env: "server-only";
30
+ };
31
+ lang: {
32
+ env: "server-only";
33
+ };
34
+ ssr: {
35
+ env: "config-only";
36
+ effect: import("vike/dist/esm/node/plugin/plugins/importUserCode/v1-design/getVikeConfig/configDefinitionsBuiltIn").ConfigEffect;
37
+ };
38
+ };
39
+ };
40
+ };
41
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export default function Page({ is404, errorInfo }: {
2
+ is404: boolean;
3
+ errorInfo?: string;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function Page(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function Counter(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import type { MovieDetails } from "../types";
2
+ export default function Page({ movie }: {
3
+ movie: MovieDetails;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import type { PageContextBuiltInServer } from "vike/types";
2
+ import type { MovieDetails } from "../types";
3
+ export default function onBeforeRender(pageContext: PageContextBuiltInServer): Promise<{
4
+ pageContext: {
5
+ pageProps: {
6
+ movie: MovieDetails;
7
+ };
8
+ title: string;
9
+ };
10
+ }>;
@@ -0,0 +1,2 @@
1
+ import type { MovieDetails } from "./types";
2
+ export declare function filterMovieData(movie: MovieDetails & Record<string, unknown>): MovieDetails;
@@ -0,0 +1,4 @@
1
+ import type { Movie } from "../types";
2
+ export default function Page({ movies }: {
3
+ movies: Movie[];
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import type { Movie } from "../types";
2
+ export default function onBeforeRender(): Promise<{
3
+ pageContext: {
4
+ pageProps: {
5
+ movies: Movie[];
6
+ };
7
+ title: string;
8
+ };
9
+ }>;
@@ -0,0 +1,12 @@
1
+ export type Movie = {
2
+ id: string;
3
+ title: string;
4
+ release_date: string;
5
+ };
6
+ export type MovieDetails = {
7
+ id: string;
8
+ title: string;
9
+ release_date: string;
10
+ director: string;
11
+ producer: string;
12
+ };
@@ -1,7 +1,6 @@
1
+ import type { TodoItem } from "@batijs/shared-db/database/todoItems";
1
2
  import React, { useState } from "react";
2
-
3
3
  import { TodoList } from "./TodoList";
4
- import type { TodoItem } from "../../database/todoItems";
5
4
 
6
5
  export default function Page({ todoItemsInitial }: { todoItemsInitial: TodoItem[] }) {
7
6
  return (
@@ -1,5 +1,5 @@
1
1
  // https://vike.dev/onBeforeRender
2
- import { todoItems } from "../../database/todoItems";
2
+ import { todoItems } from "@batijs/shared-db/database/todoItems";
3
3
 
4
4
  export default function onBeforeRender() {
5
5
  const todoItemsInitial = todoItems;
@@ -1,4 +1,4 @@
1
- import { todoItems, type TodoItem } from "../../database/todoItems";
1
+ import { todoItems, type TodoItem } from "@batijs/shared-db/database/todoItems";
2
2
 
3
3
  export async function onNewTodo({ text }: TodoItem) {
4
4
  todoItems.push({ text });
@@ -1,7 +1,6 @@
1
+ import type { TodoItem } from "@batijs/shared-db/database/todoItems";
1
2
  import React, { useState } from "react";
2
-
3
3
  import { onNewTodo } from "./TodoList.telefunc.js";
4
- import type { TodoItem } from "../../database/todoItems.js";
5
4
 
6
5
  export function TodoList({ todoItemsInitial }: { todoItemsInitial: TodoItem[] }) {
7
6
  const [todoItems, setTodoItems] = useState(todoItemsInitial);
@@ -0,0 +1,4 @@
1
+ import type { TodoItem } from "@batijs/shared-db/database/todoItems";
2
+ export default function Page({ todoItemsInitial }: {
3
+ todoItemsInitial: TodoItem[];
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ declare const config: {
2
+ prerender: boolean;
3
+ };
4
+ export default config;
@@ -0,0 +1,7 @@
1
+ export default function onBeforeRender(): {
2
+ pageContext: {
3
+ pageProps: {
4
+ todoItemsInitial: import("@batijs/shared-db/database/todoItems").TodoItem[];
5
+ };
6
+ };
7
+ };
@@ -0,0 +1,4 @@
1
+ import type { TodoItem } from "@batijs/shared-db/database/todoItems";
2
+ export declare function TodoList({ todoItemsInitial }: {
3
+ todoItemsInitial: TodoItem[];
4
+ }): import("react/jsx-runtime.js").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { type TodoItem } from "@batijs/shared-db/database/todoItems";
2
+ export declare function onNewTodo({ text }: TodoItem): Promise<{
3
+ todoItems: TodoItem[];
4
+ }>;
@@ -0,0 +1,25 @@
1
+ import type { TodoItem } from "@batijs/shared-db/database/todoItems";
2
+ import React, { useState } from "react";
3
+ import { TodoList } from "./TodoList";
4
+
5
+ export default function Page({ todoItemsInitial }: { todoItemsInitial: TodoItem[] }) {
6
+ return (
7
+ <>
8
+ <h1>To-do List</h1>
9
+ <TodoList todoItemsInitial={todoItemsInitial} />
10
+ <Counter />
11
+ </>
12
+ );
13
+ }
14
+
15
+ function Counter() {
16
+ const [count, setCount] = useState(0);
17
+ return (
18
+ <div>
19
+ This page is interactive:
20
+ <button type="button" onClick={() => setCount((count) => count + 1)}>
21
+ Counter {count}
22
+ </button>
23
+ </div>
24
+ );
25
+ }
@@ -0,0 +1,5 @@
1
+ const config = {
2
+ prerender: false,
3
+ };
4
+
5
+ export default config;
@@ -0,0 +1,13 @@
1
+ // https://vike.dev/onBeforeRender
2
+ import { todoItems } from "@batijs/shared-db/database/todoItems";
3
+
4
+ export default function onBeforeRender() {
5
+ const todoItemsInitial = todoItems;
6
+ return {
7
+ pageContext: {
8
+ pageProps: {
9
+ todoItemsInitial,
10
+ },
11
+ },
12
+ };
13
+ }
@@ -0,0 +1,30 @@
1
+ import type { TodoItem } from "@batijs/shared-db/database/todoItems";
2
+ import { trpc } from "@batijs/trpc/trpc/client";
3
+ import React, { useState } from "react";
4
+
5
+ export function TodoList({ todoItemsInitial }: { todoItemsInitial: TodoItem[] }) {
6
+ const [todoItems, setTodoItems] = useState(todoItemsInitial);
7
+ const [draft, setDraft] = useState("");
8
+ return (
9
+ <>
10
+ <ul>
11
+ {todoItems.map((todoItem, i) => (
12
+ <li key={i}>{todoItem.text}</li>
13
+ ))}
14
+ <li>
15
+ <form
16
+ onSubmit={async (ev) => {
17
+ ev.preventDefault();
18
+ const { todoItems } = await trpc.onNewTodo.mutate(draft);
19
+ setDraft("");
20
+ setTodoItems(todoItems);
21
+ }}
22
+ >
23
+ <input type="text" onChange={(ev) => setDraft(ev.target.value)} value={draft} />{" "}
24
+ <button type="submit">Add to-do</button>
25
+ </form>
26
+ </li>
27
+ </ul>
28
+ </>
29
+ );
30
+ }
@@ -0,0 +1,4 @@
1
+ import type { TodoItem } from "@batijs/shared-db/database/todoItems";
2
+ export default function Page({ todoItemsInitial }: {
3
+ todoItemsInitial: TodoItem[];
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ declare const config: {
2
+ prerender: boolean;
3
+ };
4
+ export default config;
@@ -0,0 +1,7 @@
1
+ export default function onBeforeRender(): {
2
+ pageContext: {
3
+ pageProps: {
4
+ todoItemsInitial: import("@batijs/shared-db/database/todoItems").TodoItem[];
5
+ };
6
+ };
7
+ };
@@ -0,0 +1,4 @@
1
+ import type { TodoItem } from "@batijs/shared-db/database/todoItems";
2
+ export declare function TodoList({ todoItemsInitial }: {
3
+ todoItemsInitial: TodoItem[];
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,4 @@
1
- // files/$index.html.ts
2
- import "@batijs/core";
3
-
4
- // ../../packages/features/dist/chunk-6565AZKR.js
1
+ // ../../packages/features/dist/chunk-OYURNQWD.js
5
2
  var features = [
6
3
  // Framework
7
4
  {
@@ -70,8 +67,7 @@ var features = [
70
67
  label: "tRPC",
71
68
  flag: "trpc",
72
69
  image: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIwLjg0ZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjU2IDMwNSI+PHBhdGggZmlsbD0iIzM5OENDQiIgZD0iTTI4LjU3IDI0NC40ODRoMjEuOTgydjExLjE1M0gyOC41NzF2MjUuMzA4YTE2Ljg4IDE2Ljg4IDAgMCAwIC43MzggNS4zNjRhOC4xNTIgOC4xNTIgMCAwIDAgMi4wODggMy40YTcuODE1IDcuODE1IDAgMCAwIDMuMyAxLjg1MWMxLjIzNS4zMyAyLjUwNC41MSAzLjc4LjUzNmwuNTQ3LjAwMmMxLjE1IDAgMi4zMzggMCAzLjU2My0uMTYybC43MjctLjA5bDEuNDA5LS4xNmMuNDYxLS4wNTQuOTE1LS4xMTMgMS4zNjYtLjE4OGwuNjYtLjEwNWwxLjI0LS4xODRjLjQwMS0uMDYuNzktLjEyNCAxLjE3NS0uMTk5bC45MTgtLjE4NGwuNDI3LS4wOWwuNzktLjE3NmwuMzY2LS4wODdsMS40NzYgMTAuMzlhMTguNTA1IDE4LjUwNSAwIDAgMS0zLjc1MiAxLjZhMzUuOSAzNS45IDAgMCAxLTQuNTEzIDEuMTEzYy0xLjYuMy0zLjI2NC41Mj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0xMy41NTRabS0xMTYuNzcyLS4wMzdsLTIzLjQ4MiAxMy41OTFsMjMuNDgyIDEzLjUzbDIzLjQ4Mi0xMy41M2wtMjMuNDgyLTEzLjU5MVptMTkuMTQzLTY4LjkydjExLjU0bC0zNS42MSAyMC41N3YzNC43NzJsLTEwLjAwMyA1Ljc3N1Y2MS4zNTVMODguNzUgMzUuMDIzWk0xMjcuMjM3IDBsMzguNTEyIDIyLjIxOXYxMi4yMTlsNDYuNjEzIDI2LjkxN3Y0Ni4wMzlsLTEwLjAwMy01Ljc3N1Y2Ny4xMzJsLTM2LjYxLTIxLjE0MXYyMC42NjZsLTM4LjQ4NyAyMi4yMTlsLTM4LjQ4Ni0yMi4yMTlWMjIuMjE5TDEyNy4yMzcgMFpNOTguNzggMzMuNzZ2MjcuMTJsMjMuNDU3IDEzLjU1NFY0Ny4zMjZMOTguNzc5IDMzLjc2Wm01Ni45NDIgMGwtMjMuNDU3IDEzLjU2NnYyNy4wOTZMMTU1LjcyIDYwLjg4VjMzLjc2Wm0tMjguNDg0LTIyLjIwN0wxMDMuNzggMjUuMTA3bDIzLjQ1NyAxMy41NTRsMjMuNDgyLTEzLjU1NGwtMjMuNDgyLTEzLjU1NFoiLz48L3N2Zz4=",
73
- url: "https://trpc.io",
74
- disabled: true
70
+ url: "https://trpc.io"
75
71
  },
76
72
  // Server
77
73
  {
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vite").UserConfig;
2
+ export default _default;
@@ -0,0 +1,6 @@
1
+ type TodoItem = {
2
+ text: string;
3
+ };
4
+ declare const todoItems: TodoItem[];
5
+ export { todoItems };
6
+ export type { TodoItem };