create-fate 1.3.3 → 1.5.0

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 (298) hide show
  1. package/bin/create-fate.mjs +41 -3
  2. package/package.json +1 -1
  3. package/templates/fate/_shared/vue-app/package.json +14 -16
  4. package/templates/fate/cloudflare/README.md +11 -0
  5. package/templates/fate/cloudflare/client/node_modules/.bin/browserslist +22 -0
  6. package/templates/fate/cloudflare/client/node_modules/.bin/cf-wrangler +22 -0
  7. package/templates/fate/cloudflare/client/node_modules/.bin/drizzle-kit +22 -0
  8. package/templates/fate/cloudflare/client/node_modules/.bin/esbuild +22 -0
  9. package/templates/fate/cloudflare/client/node_modules/.bin/fate +22 -0
  10. package/templates/fate/cloudflare/client/node_modules/.bin/fbtee +22 -0
  11. package/templates/fate/cloudflare/client/node_modules/.bin/intent +22 -0
  12. package/templates/fate/cloudflare/client/node_modules/.bin/jiti +22 -0
  13. package/templates/fate/cloudflare/client/node_modules/.bin/oxfmt +22 -0
  14. package/templates/fate/cloudflare/client/node_modules/.bin/oxlint +22 -0
  15. package/templates/fate/cloudflare/client/node_modules/.bin/rolldown +22 -0
  16. package/templates/fate/cloudflare/client/node_modules/.bin/tsc +22 -0
  17. package/templates/fate/cloudflare/client/node_modules/.bin/tsx +22 -0
  18. package/templates/fate/cloudflare/client/node_modules/.bin/vitest +22 -0
  19. package/templates/fate/cloudflare/client/node_modules/.bin/void +22 -0
  20. package/templates/fate/cloudflare/client/node_modules/.bin/vp +22 -0
  21. package/templates/fate/cloudflare/client/node_modules/.bin/vpr +22 -0
  22. package/templates/fate/cloudflare/client/node_modules/.bin/workerd +22 -0
  23. package/templates/fate/cloudflare/client/node_modules/.bin/wrangler +22 -0
  24. package/templates/fate/cloudflare/client/node_modules/.bin/wrangler2 +22 -0
  25. package/templates/fate/cloudflare/client/package.json +26 -21
  26. package/templates/fate/cloudflare/client/pages/layout.tsx +2 -16
  27. package/templates/fate/cloudflare/client/src/lib/AvailableLanguages.tsx +3 -3
  28. package/templates/fate/cloudflare/client/src/lib/LocaleContext.tsx +61 -0
  29. package/templates/fate/cloudflare/client/src/ui/LocaleSwitcher.tsx +26 -44
  30. package/templates/fate/cloudflare/client/start.mjs +11 -0
  31. package/templates/fate/cloudflare/client/translations/{de_DE.json → de-DE.json} +56 -113
  32. package/templates/fate/{graphql/client/translations/ja_JP.json → cloudflare/client/translations/ja-JP.json} +56 -113
  33. package/templates/fate/cloudflare/client/vite.config.ts +4 -8
  34. package/templates/fate/cloudflare/package.json +6 -10
  35. package/templates/fate/cloudflare/pnpm-workspace.yaml +4 -4
  36. package/templates/fate/cloudflare/server/db/migrations/20260508073357_initial_schema.sql +3 -2
  37. package/templates/fate/cloudflare/server/db/migrations/20260508120500_seed_cloudflare_demo.sql +10 -10
  38. package/templates/fate/cloudflare/server/db/migrations/meta/20260508073357_snapshot.json +10 -3
  39. package/templates/fate/cloudflare/server/db/schema.ts +2 -3
  40. package/templates/fate/cloudflare/server/node_modules/.bin/cf-wrangler +22 -0
  41. package/templates/fate/cloudflare/server/node_modules/.bin/drizzle-kit +22 -0
  42. package/templates/fate/cloudflare/server/node_modules/.bin/esbuild +22 -0
  43. package/templates/fate/cloudflare/server/node_modules/.bin/fate +22 -0
  44. package/templates/fate/cloudflare/server/node_modules/.bin/intent +22 -0
  45. package/templates/fate/cloudflare/server/node_modules/.bin/jiti +22 -0
  46. package/templates/fate/cloudflare/server/node_modules/.bin/oxfmt +22 -0
  47. package/templates/fate/cloudflare/server/node_modules/.bin/oxlint +22 -0
  48. package/templates/fate/cloudflare/server/node_modules/.bin/tsc +22 -0
  49. package/templates/fate/cloudflare/server/node_modules/.bin/tsx +22 -0
  50. package/templates/fate/cloudflare/server/node_modules/.bin/vitest +22 -0
  51. package/templates/fate/cloudflare/server/node_modules/.bin/vp +22 -0
  52. package/templates/fate/cloudflare/server/node_modules/.bin/vpr +22 -0
  53. package/templates/fate/cloudflare/server/node_modules/.bin/workerd +22 -0
  54. package/templates/fate/cloudflare/server/node_modules/.bin/wrangler +22 -0
  55. package/templates/fate/cloudflare/server/node_modules/.bin/wrangler2 +22 -0
  56. package/templates/fate/cloudflare/server/package.json +3 -3
  57. package/templates/fate/cloudflare/server/src/fate/server.ts +5 -2
  58. package/templates/fate/cloudflare/server/src/lib/auth.ts +0 -2
  59. package/templates/fate/cloudflare/server/tsconfig.json +1 -1
  60. package/templates/fate/cloudflare/tsconfig.json +2 -11
  61. package/templates/fate/cloudflare/vite.config.ts +3 -0
  62. package/templates/fate/drizzle/README.md +11 -0
  63. package/templates/fate/drizzle/client/node_modules/.bin/browserslist +22 -0
  64. package/templates/fate/drizzle/client/node_modules/.bin/cf-wrangler +22 -0
  65. package/templates/fate/drizzle/client/node_modules/.bin/drizzle-kit +22 -0
  66. package/templates/fate/drizzle/client/node_modules/.bin/esbuild +22 -0
  67. package/templates/fate/drizzle/client/node_modules/.bin/fate +22 -0
  68. package/templates/fate/drizzle/client/node_modules/.bin/fbtee +22 -0
  69. package/templates/fate/drizzle/client/node_modules/.bin/intent +22 -0
  70. package/templates/fate/drizzle/client/node_modules/.bin/jiti +22 -0
  71. package/templates/fate/drizzle/client/node_modules/.bin/oxfmt +22 -0
  72. package/templates/fate/drizzle/client/node_modules/.bin/oxlint +22 -0
  73. package/templates/fate/drizzle/client/node_modules/.bin/rolldown +22 -0
  74. package/templates/fate/drizzle/client/node_modules/.bin/tsc +22 -0
  75. package/templates/fate/drizzle/client/node_modules/.bin/tsx +22 -0
  76. package/templates/fate/drizzle/client/node_modules/.bin/vitest +22 -0
  77. package/templates/fate/drizzle/client/node_modules/.bin/void +22 -0
  78. package/templates/fate/drizzle/client/node_modules/.bin/vp +22 -0
  79. package/templates/fate/drizzle/client/node_modules/.bin/vpr +22 -0
  80. package/templates/fate/drizzle/client/node_modules/.bin/workerd +22 -0
  81. package/templates/fate/drizzle/client/node_modules/.bin/wrangler +22 -0
  82. package/templates/fate/drizzle/client/node_modules/.bin/wrangler2 +22 -0
  83. package/templates/fate/drizzle/client/package.json +28 -24
  84. package/templates/fate/drizzle/client/pages/layout.tsx +2 -16
  85. package/templates/fate/drizzle/client/src/lib/AvailableLanguages.tsx +3 -3
  86. package/templates/fate/drizzle/client/src/lib/LocaleContext.tsx +61 -0
  87. package/templates/fate/drizzle/client/src/ui/LocaleSwitcher.tsx +26 -44
  88. package/templates/fate/drizzle/client/start.mjs +11 -0
  89. package/templates/fate/{graphql/client/translations/de_DE.json → drizzle/client/translations/de-DE.json} +56 -113
  90. package/templates/fate/{cloudflare/client/translations/ja_JP.json → drizzle/client/translations/ja-JP.json} +56 -113
  91. package/templates/fate/drizzle/client/vite.config.ts +4 -8
  92. package/templates/fate/drizzle/package.json +6 -10
  93. package/templates/fate/drizzle/pnpm-workspace.yaml +4 -4
  94. package/templates/fate/drizzle/server/node_modules/.bin/drizzle-kit +22 -0
  95. package/templates/fate/drizzle/server/node_modules/.bin/esbuild +22 -0
  96. package/templates/fate/drizzle/server/node_modules/.bin/fate +22 -0
  97. package/templates/fate/drizzle/server/node_modules/.bin/intent +22 -0
  98. package/templates/fate/drizzle/server/node_modules/.bin/jiti +22 -0
  99. package/templates/fate/drizzle/server/node_modules/.bin/nodemon +22 -0
  100. package/templates/fate/drizzle/server/node_modules/.bin/oxfmt +22 -0
  101. package/templates/fate/drizzle/server/node_modules/.bin/oxlint +22 -0
  102. package/templates/fate/drizzle/server/node_modules/.bin/tsc +22 -0
  103. package/templates/fate/drizzle/server/node_modules/.bin/tsx +22 -0
  104. package/templates/fate/drizzle/server/node_modules/.bin/vitest +22 -0
  105. package/templates/fate/drizzle/server/node_modules/.bin/vp +22 -0
  106. package/templates/fate/drizzle/server/node_modules/.bin/vpr +22 -0
  107. package/templates/fate/drizzle/server/package.json +9 -9
  108. package/templates/fate/drizzle/server/src/app.tsx +1 -1
  109. package/templates/fate/drizzle/server/src/drizzle/schema.ts +2 -3
  110. package/templates/fate/drizzle/server/src/drizzle/seed.tsx +1 -1
  111. package/templates/fate/drizzle/tsconfig.json +1 -10
  112. package/templates/fate/graphql/README.md +11 -0
  113. package/templates/fate/graphql/client/node_modules/.bin/browserslist +22 -0
  114. package/templates/fate/graphql/client/node_modules/.bin/cf-wrangler +22 -0
  115. package/templates/fate/graphql/client/node_modules/.bin/drizzle-kit +22 -0
  116. package/templates/fate/graphql/client/node_modules/.bin/esbuild +22 -0
  117. package/templates/fate/graphql/client/node_modules/.bin/fate +22 -0
  118. package/templates/fate/graphql/client/node_modules/.bin/fbtee +22 -0
  119. package/templates/fate/graphql/client/node_modules/.bin/intent +22 -0
  120. package/templates/fate/graphql/client/node_modules/.bin/jiti +22 -0
  121. package/templates/fate/graphql/client/node_modules/.bin/oxfmt +22 -0
  122. package/templates/fate/graphql/client/node_modules/.bin/oxlint +22 -0
  123. package/templates/fate/graphql/client/node_modules/.bin/rolldown +22 -0
  124. package/templates/fate/graphql/client/node_modules/.bin/tsc +22 -0
  125. package/templates/fate/graphql/client/node_modules/.bin/tsx +22 -0
  126. package/templates/fate/graphql/client/node_modules/.bin/vitest +22 -0
  127. package/templates/fate/graphql/client/node_modules/.bin/void +22 -0
  128. package/templates/fate/graphql/client/node_modules/.bin/vp +22 -0
  129. package/templates/fate/graphql/client/node_modules/.bin/vpr +22 -0
  130. package/templates/fate/graphql/client/node_modules/.bin/workerd +22 -0
  131. package/templates/fate/graphql/client/node_modules/.bin/wrangler +22 -0
  132. package/templates/fate/graphql/client/node_modules/.bin/wrangler2 +22 -0
  133. package/templates/fate/graphql/client/node_modules/.bin/yaml +22 -0
  134. package/templates/fate/graphql/client/package.json +27 -23
  135. package/templates/fate/graphql/client/pages/layout.tsx +2 -16
  136. package/templates/fate/graphql/client/src/lib/AvailableLanguages.tsx +3 -3
  137. package/templates/fate/graphql/client/src/lib/LocaleContext.tsx +61 -0
  138. package/templates/fate/graphql/client/src/ui/LocaleSwitcher.tsx +26 -44
  139. package/templates/fate/graphql/client/src/ui/PostCard.tsx +1 -1
  140. package/templates/fate/graphql/client/start.mjs +11 -0
  141. package/templates/fate/{drizzle/client/translations/de_DE.json → graphql/client/translations/de-DE.json} +56 -113
  142. package/templates/fate/{http/client/translations/ja_JP.json → graphql/client/translations/ja-JP.json} +56 -113
  143. package/templates/fate/graphql/client/vite.config.ts +4 -8
  144. package/templates/fate/graphql/package.json +7 -11
  145. package/templates/fate/graphql/pnpm-workspace.yaml +4 -4
  146. package/templates/fate/graphql/server/package.json +25 -29
  147. package/templates/fate/graphql/server/prisma.config.ts +9 -1
  148. package/templates/fate/graphql/server/scripts/generate-graphql.tsx +1 -1
  149. package/templates/fate/graphql/server/src/index.tsx +1 -1
  150. package/templates/fate/graphql/server/src/prisma/schema.prisma +2 -1
  151. package/templates/fate/graphql/server/src/prisma/seed.tsx +1 -1
  152. package/templates/fate/graphql/server/tsconfig.json +1 -11
  153. package/templates/fate/graphql/tsconfig.json +1 -10
  154. package/templates/fate/graphql-client/README.md +9 -0
  155. package/templates/fate/graphql-client/_gitignore +3 -0
  156. package/templates/fate/graphql-client/package.json +27 -24
  157. package/templates/fate/graphql-client/pages/index.tsx +61 -27
  158. package/templates/fate/graphql-client/pages/layout.tsx +22 -15
  159. package/templates/fate/graphql-client/pnpm-workspace.yaml +6 -4
  160. package/templates/fate/graphql-client/src/lib/AvailableLanguages.tsx +5 -0
  161. package/templates/fate/graphql-client/src/lib/LocaleContext.tsx +61 -0
  162. package/templates/fate/graphql-client/src/ui/LocaleSwitcher.tsx +34 -0
  163. package/templates/fate/graphql-client/translations/de-DE.json +225 -0
  164. package/templates/fate/graphql-client/translations/ja-JP.json +225 -0
  165. package/templates/fate/graphql-client/vite.config.ts +9 -13
  166. package/templates/fate/http/README.md +11 -0
  167. package/templates/fate/http/client/node_modules/.bin/browserslist +22 -0
  168. package/templates/fate/http/client/node_modules/.bin/cf-wrangler +22 -0
  169. package/templates/fate/http/client/node_modules/.bin/drizzle-kit +22 -0
  170. package/templates/fate/http/client/node_modules/.bin/esbuild +22 -0
  171. package/templates/fate/http/client/node_modules/.bin/fate +22 -0
  172. package/templates/fate/http/client/node_modules/.bin/fbtee +22 -0
  173. package/templates/fate/http/client/node_modules/.bin/intent +22 -0
  174. package/templates/fate/http/client/node_modules/.bin/jiti +22 -0
  175. package/templates/fate/http/client/node_modules/.bin/oxfmt +22 -0
  176. package/templates/fate/http/client/node_modules/.bin/oxlint +22 -0
  177. package/templates/fate/http/client/node_modules/.bin/rolldown +22 -0
  178. package/templates/fate/http/client/node_modules/.bin/tsc +22 -0
  179. package/templates/fate/http/client/node_modules/.bin/tsx +22 -0
  180. package/templates/fate/http/client/node_modules/.bin/vitest +22 -0
  181. package/templates/fate/http/client/node_modules/.bin/void +22 -0
  182. package/templates/fate/http/client/node_modules/.bin/vp +22 -0
  183. package/templates/fate/http/client/node_modules/.bin/vpr +22 -0
  184. package/templates/fate/http/client/node_modules/.bin/workerd +22 -0
  185. package/templates/fate/http/client/node_modules/.bin/wrangler +22 -0
  186. package/templates/fate/http/client/node_modules/.bin/wrangler2 +22 -0
  187. package/templates/fate/http/client/package.json +26 -22
  188. package/templates/fate/http/client/pages/layout.tsx +2 -16
  189. package/templates/fate/http/client/src/lib/AvailableLanguages.tsx +3 -3
  190. package/templates/fate/http/client/src/lib/LocaleContext.tsx +61 -0
  191. package/templates/fate/http/client/src/ui/LocaleSwitcher.tsx +26 -44
  192. package/templates/fate/http/client/start.mjs +11 -0
  193. package/templates/fate/http/client/translations/{de_DE.json → de-DE.json} +56 -113
  194. package/templates/fate/{drizzle/client/translations/ja_JP.json → http/client/translations/ja-JP.json} +56 -113
  195. package/templates/fate/http/client/vite.config.ts +4 -8
  196. package/templates/fate/http/package.json +6 -10
  197. package/templates/fate/http/pnpm-workspace.yaml +4 -4
  198. package/templates/fate/http/server/node_modules/.bin/drizzle-kit +22 -0
  199. package/templates/fate/http/server/node_modules/.bin/esbuild +22 -0
  200. package/templates/fate/http/server/node_modules/.bin/fate +22 -0
  201. package/templates/fate/http/server/node_modules/.bin/intent +22 -0
  202. package/templates/fate/http/server/node_modules/.bin/jiti +22 -0
  203. package/templates/fate/http/server/node_modules/.bin/nodemon +22 -0
  204. package/templates/fate/http/server/node_modules/.bin/oxfmt +22 -0
  205. package/templates/fate/http/server/node_modules/.bin/oxlint +22 -0
  206. package/templates/fate/http/server/node_modules/.bin/tsc +22 -0
  207. package/templates/fate/http/server/node_modules/.bin/tsx +22 -0
  208. package/templates/fate/http/server/node_modules/.bin/vitest +22 -0
  209. package/templates/fate/http/server/node_modules/.bin/vp +22 -0
  210. package/templates/fate/http/server/node_modules/.bin/vpr +22 -0
  211. package/templates/fate/http/server/package.json +8 -8
  212. package/templates/fate/http/server/src/app.tsx +1 -1
  213. package/templates/fate/http/server/src/drizzle/schema.ts +2 -3
  214. package/templates/fate/http/server/src/drizzle/seed.tsx +1 -1
  215. package/templates/fate/http/tsconfig.json +1 -10
  216. package/templates/fate/prisma/README.md +11 -0
  217. package/templates/fate/prisma/client/node_modules/.bin/browserslist +22 -0
  218. package/templates/fate/prisma/client/node_modules/.bin/cf-wrangler +22 -0
  219. package/templates/fate/prisma/client/node_modules/.bin/drizzle-kit +22 -0
  220. package/templates/fate/prisma/client/node_modules/.bin/esbuild +22 -0
  221. package/templates/fate/prisma/client/node_modules/.bin/fate +22 -0
  222. package/templates/fate/prisma/client/node_modules/.bin/fbtee +22 -0
  223. package/templates/fate/prisma/client/node_modules/.bin/intent +22 -0
  224. package/templates/fate/prisma/client/node_modules/.bin/jiti +22 -0
  225. package/templates/fate/prisma/client/node_modules/.bin/oxfmt +22 -0
  226. package/templates/fate/prisma/client/node_modules/.bin/oxlint +22 -0
  227. package/templates/fate/prisma/client/node_modules/.bin/rolldown +22 -0
  228. package/templates/fate/prisma/client/node_modules/.bin/tsc +22 -0
  229. package/templates/fate/prisma/client/node_modules/.bin/tsx +22 -0
  230. package/templates/fate/prisma/client/node_modules/.bin/vitest +22 -0
  231. package/templates/fate/prisma/client/node_modules/.bin/void +22 -0
  232. package/templates/fate/prisma/client/node_modules/.bin/vp +22 -0
  233. package/templates/fate/prisma/client/node_modules/.bin/vpr +22 -0
  234. package/templates/fate/prisma/client/node_modules/.bin/workerd +22 -0
  235. package/templates/fate/prisma/client/node_modules/.bin/wrangler +22 -0
  236. package/templates/fate/prisma/client/node_modules/.bin/wrangler2 +22 -0
  237. package/templates/fate/prisma/client/node_modules/.bin/yaml +22 -0
  238. package/templates/fate/prisma/client/package.json +28 -24
  239. package/templates/fate/prisma/client/pages/layout.tsx +2 -16
  240. package/templates/fate/prisma/client/src/lib/AvailableLanguages.tsx +3 -3
  241. package/templates/fate/prisma/client/src/lib/LocaleContext.tsx +61 -0
  242. package/templates/fate/prisma/client/src/ui/LocaleSwitcher.tsx +26 -44
  243. package/templates/fate/prisma/client/start.mjs +11 -0
  244. package/templates/fate/prisma/client/translations/de-DE.json +632 -0
  245. package/templates/fate/prisma/client/translations/ja-JP.json +632 -0
  246. package/templates/fate/prisma/client/vite.config.ts +4 -8
  247. package/templates/fate/prisma/package.json +7 -11
  248. package/templates/fate/prisma/pnpm-workspace.yaml +4 -4
  249. package/templates/fate/prisma/server/node_modules/.bin/esbuild +22 -0
  250. package/templates/fate/prisma/server/node_modules/.bin/fate +22 -0
  251. package/templates/fate/prisma/server/node_modules/.bin/intent +22 -0
  252. package/templates/fate/prisma/server/node_modules/.bin/jiti +22 -0
  253. package/templates/fate/prisma/server/node_modules/.bin/nft +22 -0
  254. package/templates/fate/prisma/server/node_modules/.bin/nodemon +22 -0
  255. package/templates/fate/prisma/server/node_modules/.bin/oxfmt +22 -0
  256. package/templates/fate/prisma/server/node_modules/.bin/oxlint +22 -0
  257. package/templates/fate/prisma/server/node_modules/.bin/prisma +22 -0
  258. package/templates/fate/prisma/server/node_modules/.bin/tsc +22 -0
  259. package/templates/fate/prisma/server/node_modules/.bin/tsx +22 -0
  260. package/templates/fate/prisma/server/node_modules/.bin/vitest +22 -0
  261. package/templates/fate/prisma/server/node_modules/.bin/vp +22 -0
  262. package/templates/fate/prisma/server/node_modules/.bin/vpr +22 -0
  263. package/templates/fate/prisma/server/node_modules/.bin/yaml +22 -0
  264. package/templates/fate/prisma/server/package.json +9 -9
  265. package/templates/fate/prisma/server/prisma.config.ts +2 -1
  266. package/templates/fate/prisma/server/src/app.tsx +1 -1
  267. package/templates/fate/prisma/server/src/prisma/schema.prisma +2 -1
  268. package/templates/fate/prisma/server/src/prisma/seed.tsx +1 -1
  269. package/templates/fate/prisma/tsconfig.json +1 -10
  270. package/templates/fate/void/README.md +9 -0
  271. package/templates/fate/void/_gitignore +3 -0
  272. package/templates/fate/void/db/migrations/20260508073357_initial_schema.sql +3 -2
  273. package/templates/fate/void/db/migrations/20260508120500_seed_void_demo.sql +10 -10
  274. package/templates/fate/void/db/migrations/meta/20260508073357_snapshot.json +10 -3
  275. package/templates/fate/void/db/schema.ts +2 -3
  276. package/templates/fate/void/middleware/01.shared.ts +3 -0
  277. package/templates/fate/void/package.json +30 -25
  278. package/templates/fate/void/pages/index.tsx +23 -10
  279. package/templates/fate/void/pages/layout.tsx +22 -19
  280. package/templates/fate/void/pages/login.tsx +22 -18
  281. package/templates/fate/void/pages/search.tsx +18 -4
  282. package/templates/fate/void/pnpm-workspace.yaml +4 -4
  283. package/templates/fate/void/src/fate/server.ts +2 -1
  284. package/templates/fate/void/src/lib/AvailableLanguages.tsx +5 -0
  285. package/templates/fate/void/src/lib/LocaleContext.tsx +61 -0
  286. package/templates/fate/void/src/ui/CategoryCard.tsx +22 -4
  287. package/templates/fate/void/src/ui/CreatePost.tsx +12 -7
  288. package/templates/fate/void/src/ui/Error.tsx +4 -2
  289. package/templates/fate/void/src/ui/EventCard.tsx +18 -5
  290. package/templates/fate/void/src/ui/Header.tsx +10 -4
  291. package/templates/fate/void/src/ui/LocaleSwitcher.tsx +34 -0
  292. package/templates/fate/void/src/ui/PostCard.tsx +29 -14
  293. package/templates/fate/void/src/ui/UserCard.tsx +15 -8
  294. package/templates/fate/void/translations/de-DE.json +863 -0
  295. package/templates/fate/void/translations/ja-JP.json +863 -0
  296. package/templates/fate/void/vite.config.ts +6 -6
  297. package/templates/fate/prisma/client/translations/de_DE.json +0 -689
  298. package/templates/fate/prisma/client/translations/ja_JP.json +0 -689
@@ -0,0 +1,225 @@
1
+ {
2
+ "fb-locale": "de-DE",
3
+ "translations": {
4
+ "IYUmtYxQtGdt1MucjXrsVA==": {
5
+ "description": "Label with meaning 'at least number'",
6
+ "tokens": [],
7
+ "translations": [
8
+ {
9
+ "translation": "{number}+",
10
+ "variations": {}
11
+ }
12
+ ],
13
+ "types": []
14
+ },
15
+ "ZIF1WhVQwt7WZJvFTEbMWw==": {
16
+ "description": "Label with meaning 'less than number'",
17
+ "tokens": [],
18
+ "translations": [
19
+ {
20
+ "translation": "<{number}",
21
+ "variations": {}
22
+ }
23
+ ],
24
+ "types": []
25
+ },
26
+ "Oc/9PrbjfyLHS60BXceD1A==": {
27
+ "description": "A list of items of various types, for example: \"San Francisco; London; Tokyo\". {previous items} and {following items} are themselves lists that contain one or more items.",
28
+ "tokens": [],
29
+ "translations": [
30
+ {
31
+ "translation": "{previous items}; {following items}",
32
+ "variations": {}
33
+ }
34
+ ],
35
+ "types": []
36
+ },
37
+ "AXXbKEUZuc0ji1IClRrOOw==": {
38
+ "description": "A list of items of various types separated by bullets, for example: \"San Francisco \\u2022 London \\u2022 Tokyo\". {previous items} and {following items} are themselves lists that contain one or more items.",
39
+ "tokens": [],
40
+ "translations": [
41
+ {
42
+ "translation": "{previous items} • {following items}",
43
+ "variations": {}
44
+ }
45
+ ],
46
+ "types": []
47
+ },
48
+ "89ACgPMtnwlLDSeqhLBx2Q==": {
49
+ "description": "A list of items of various types separated by commas, for example: \"San Francisco, London, Tokyo\". {previous items} and {following items} are themselves lists that contain one or more items.",
50
+ "tokens": [],
51
+ "translations": [
52
+ {
53
+ "translation": "{previous items}, {following items}",
54
+ "variations": {}
55
+ }
56
+ ],
57
+ "types": []
58
+ },
59
+ "5hL7VXOBVnetm46YAjpX0g==": {
60
+ "description": "A list of items of various types with a serial comma, for example: \"item1, item2, and item3\"",
61
+ "tokens": [],
62
+ "translations": [
63
+ {
64
+ "translation": "{list of items} und {last item}",
65
+ "variations": {}
66
+ }
67
+ ],
68
+ "types": []
69
+ },
70
+ "icNetEL/crQv/PS6yhySVQ==": {
71
+ "description": "A list of items of various types, for example: \"item1, item2, item3 and item4\"",
72
+ "tokens": [],
73
+ "translations": [
74
+ {
75
+ "translation": "{list of items} und {last item}",
76
+ "variations": {}
77
+ }
78
+ ],
79
+ "types": []
80
+ },
81
+ "8kLAQ3ffiiFnQ/bWPqXfuQ==": {
82
+ "description": "A list of items of various types with a serial comma, for example: \"item1, item2, or item3\"",
83
+ "tokens": [],
84
+ "translations": [
85
+ {
86
+ "translation": "{list of items} oder {last item}",
87
+ "variations": {}
88
+ }
89
+ ],
90
+ "types": []
91
+ },
92
+ "8eSaAzrWtAqn9ktNKfkaEg==": {
93
+ "description": "A list of items of various types, for example: \"item1, item2, item3 or item4\"",
94
+ "tokens": [],
95
+ "translations": [
96
+ {
97
+ "translation": "{list of items} oder {last item}",
98
+ "variations": {}
99
+ }
100
+ ],
101
+ "types": []
102
+ },
103
+ "+IBI7kr/mMKdzp+3stDvkw==": {
104
+ "description": "A list of items of various types, for example: \"San Francisco; London; Tokyo\". {previous items} itself contains one or more items.",
105
+ "tokens": [],
106
+ "translations": [
107
+ {
108
+ "translation": "{previous items}; {last item}",
109
+ "variations": {}
110
+ }
111
+ ],
112
+ "types": []
113
+ },
114
+ "55IeE8c0qqtjTU0lo7q9AA==": {
115
+ "description": "A list of items of various types separated by bullets, for example: \"San Francisco \\u2022 London \\u2022 Tokyo\". {previous items} contains one or more items.",
116
+ "tokens": [],
117
+ "translations": [
118
+ {
119
+ "translation": "{list of items} • {last item}",
120
+ "variations": {}
121
+ }
122
+ ],
123
+ "types": []
124
+ },
125
+ "6PRJS0QalZfvaN8CkKCUCw==": {
126
+ "description": "A list of items of various types, for example: \"item1, item2, item3, item4\"",
127
+ "tokens": [],
128
+ "translations": [
129
+ {
130
+ "translation": "{list of items}, {last item}",
131
+ "variations": {}
132
+ }
133
+ ],
134
+ "types": []
135
+ },
136
+ "6/ZbJcEx19aXKls64qknkg==": {
137
+ "description": "Locale switcher button",
138
+ "tokens": [],
139
+ "translations": [
140
+ {
141
+ "translation": "Sprache ändern",
142
+ "variations": {}
143
+ }
144
+ ],
145
+ "types": []
146
+ },
147
+ "wfNswo3mwqgq+8bQUCJAPA==": {
148
+ "description": "index: Viewer",
149
+ "tokens": [],
150
+ "translations": [
151
+ {
152
+ "translation": "Angemeldete Person",
153
+ "variations": {}
154
+ }
155
+ ],
156
+ "types": []
157
+ },
158
+ "mMgxQsJPII8/aJtwXOPsNw==": {
159
+ "description": "index: Posts",
160
+ "tokens": [],
161
+ "translations": [
162
+ {
163
+ "translation": "Beiträge",
164
+ "variations": {}
165
+ }
166
+ ],
167
+ "types": []
168
+ },
169
+ "LyADov8X2C8AsE0BOJ73Mg==": {
170
+ "description": "index: Use fate with an existing GraphQL server",
171
+ "tokens": [],
172
+ "translations": [
173
+ {
174
+ "translation": "fate mit einem bestehenden GraphQL-Server verwenden",
175
+ "variations": {}
176
+ }
177
+ ],
178
+ "types": []
179
+ },
180
+ "wlLz2xe9I3pIUzeg46KuVw==": {
181
+ "description": "layout: Loading...",
182
+ "tokens": [],
183
+ "translations": [
184
+ {
185
+ "translation": "Lädt…",
186
+ "variations": {}
187
+ }
188
+ ],
189
+ "types": []
190
+ },
191
+ "4QjroIHQHerlYYiN65OAqQ==": {
192
+ "description": "GraphQL client setup instructions",
193
+ "tokens": [],
194
+ "translations": [
195
+ {
196
+ "translation": "Ersetze die Beispiel-Views in {=src/fate/graphql.ts} durch deine Schematypen und setze {=VITE_GRAPHQL_URL} auf deine API.",
197
+ "variations": {}
198
+ }
199
+ ],
200
+ "types": []
201
+ },
202
+ "wDeH760jWvob7b0UD/ldjw==": {
203
+ "description": "In the phrase: \"Replace the sample views in {=src/fate/graphql.ts} with your schema types and point {=VITE_GRAPHQL_URL} at your API.\"",
204
+ "tokens": [],
205
+ "translations": [
206
+ {
207
+ "translation": "src/fate/graphql.ts",
208
+ "variations": {}
209
+ }
210
+ ],
211
+ "types": []
212
+ },
213
+ "T4saJreAWC68v2UUSToqoA==": {
214
+ "description": "In the phrase: \"Replace the sample views in {=src/fate/graphql.ts} with your schema types and point {=VITE_GRAPHQL_URL} at your API.\"",
215
+ "tokens": [],
216
+ "translations": [
217
+ {
218
+ "translation": "VITE_GRAPHQL_URL",
219
+ "variations": {}
220
+ }
221
+ ],
222
+ "types": []
223
+ }
224
+ }
225
+ }
@@ -0,0 +1,225 @@
1
+ {
2
+ "fb-locale": "ja-JP",
3
+ "translations": {
4
+ "IYUmtYxQtGdt1MucjXrsVA==": {
5
+ "description": "Label with meaning 'at least number'",
6
+ "tokens": [],
7
+ "translations": [
8
+ {
9
+ "translation": "{number}+",
10
+ "variations": {}
11
+ }
12
+ ],
13
+ "types": []
14
+ },
15
+ "ZIF1WhVQwt7WZJvFTEbMWw==": {
16
+ "description": "Label with meaning 'less than number'",
17
+ "tokens": [],
18
+ "translations": [
19
+ {
20
+ "translation": "<{number}",
21
+ "variations": {}
22
+ }
23
+ ],
24
+ "types": []
25
+ },
26
+ "Oc/9PrbjfyLHS60BXceD1A==": {
27
+ "description": "A list of items of various types, for example: \"San Francisco; London; Tokyo\". {previous items} and {following items} are themselves lists that contain one or more items.",
28
+ "tokens": [],
29
+ "translations": [
30
+ {
31
+ "translation": "{previous items}; {following items}",
32
+ "variations": {}
33
+ }
34
+ ],
35
+ "types": []
36
+ },
37
+ "AXXbKEUZuc0ji1IClRrOOw==": {
38
+ "description": "A list of items of various types separated by bullets, for example: \"San Francisco \\u2022 London \\u2022 Tokyo\". {previous items} and {following items} are themselves lists that contain one or more items.",
39
+ "tokens": [],
40
+ "translations": [
41
+ {
42
+ "translation": "{previous items} • {following items}",
43
+ "variations": {}
44
+ }
45
+ ],
46
+ "types": []
47
+ },
48
+ "89ACgPMtnwlLDSeqhLBx2Q==": {
49
+ "description": "A list of items of various types separated by commas, for example: \"San Francisco, London, Tokyo\". {previous items} and {following items} are themselves lists that contain one or more items.",
50
+ "tokens": [],
51
+ "translations": [
52
+ {
53
+ "translation": "{previous items}, {following items}",
54
+ "variations": {}
55
+ }
56
+ ],
57
+ "types": []
58
+ },
59
+ "5hL7VXOBVnetm46YAjpX0g==": {
60
+ "description": "A list of items of various types with a serial comma, for example: \"item1, item2, and item3\"",
61
+ "tokens": [],
62
+ "translations": [
63
+ {
64
+ "translation": "{list of items}、そして {last item}",
65
+ "variations": {}
66
+ }
67
+ ],
68
+ "types": []
69
+ },
70
+ "icNetEL/crQv/PS6yhySVQ==": {
71
+ "description": "A list of items of various types, for example: \"item1, item2, item3 and item4\"",
72
+ "tokens": [],
73
+ "translations": [
74
+ {
75
+ "translation": "{list of items} と {last item}",
76
+ "variations": {}
77
+ }
78
+ ],
79
+ "types": []
80
+ },
81
+ "8kLAQ3ffiiFnQ/bWPqXfuQ==": {
82
+ "description": "A list of items of various types with a serial comma, for example: \"item1, item2, or item3\"",
83
+ "tokens": [],
84
+ "translations": [
85
+ {
86
+ "translation": "{list of items}、または {last item}",
87
+ "variations": {}
88
+ }
89
+ ],
90
+ "types": []
91
+ },
92
+ "8eSaAzrWtAqn9ktNKfkaEg==": {
93
+ "description": "A list of items of various types, for example: \"item1, item2, item3 or item4\"",
94
+ "tokens": [],
95
+ "translations": [
96
+ {
97
+ "translation": "{list of items} または {last item}",
98
+ "variations": {}
99
+ }
100
+ ],
101
+ "types": []
102
+ },
103
+ "+IBI7kr/mMKdzp+3stDvkw==": {
104
+ "description": "A list of items of various types, for example: \"San Francisco; London; Tokyo\". {previous items} itself contains one or more items.",
105
+ "tokens": [],
106
+ "translations": [
107
+ {
108
+ "translation": "{previous items}; {last item}",
109
+ "variations": {}
110
+ }
111
+ ],
112
+ "types": []
113
+ },
114
+ "55IeE8c0qqtjTU0lo7q9AA==": {
115
+ "description": "A list of items of various types separated by bullets, for example: \"San Francisco \\u2022 London \\u2022 Tokyo\". {previous items} contains one or more items.",
116
+ "tokens": [],
117
+ "translations": [
118
+ {
119
+ "translation": "{list of items} • {last item}",
120
+ "variations": {}
121
+ }
122
+ ],
123
+ "types": []
124
+ },
125
+ "6PRJS0QalZfvaN8CkKCUCw==": {
126
+ "description": "A list of items of various types, for example: \"item1, item2, item3, item4\"",
127
+ "tokens": [],
128
+ "translations": [
129
+ {
130
+ "translation": "{list of items}、{last item}",
131
+ "variations": {}
132
+ }
133
+ ],
134
+ "types": []
135
+ },
136
+ "6/ZbJcEx19aXKls64qknkg==": {
137
+ "description": "Locale switcher button",
138
+ "tokens": [],
139
+ "translations": [
140
+ {
141
+ "translation": "言語を変更",
142
+ "variations": {}
143
+ }
144
+ ],
145
+ "types": []
146
+ },
147
+ "wfNswo3mwqgq+8bQUCJAPA==": {
148
+ "description": "index: Viewer",
149
+ "tokens": [],
150
+ "translations": [
151
+ {
152
+ "translation": "ログインユーザー",
153
+ "variations": {}
154
+ }
155
+ ],
156
+ "types": []
157
+ },
158
+ "mMgxQsJPII8/aJtwXOPsNw==": {
159
+ "description": "index: Posts",
160
+ "tokens": [],
161
+ "translations": [
162
+ {
163
+ "translation": "投稿",
164
+ "variations": {}
165
+ }
166
+ ],
167
+ "types": []
168
+ },
169
+ "LyADov8X2C8AsE0BOJ73Mg==": {
170
+ "description": "index: Use fate with an existing GraphQL server",
171
+ "tokens": [],
172
+ "translations": [
173
+ {
174
+ "translation": "既存の GraphQL サーバーで fate を使う",
175
+ "variations": {}
176
+ }
177
+ ],
178
+ "types": []
179
+ },
180
+ "wlLz2xe9I3pIUzeg46KuVw==": {
181
+ "description": "layout: Loading...",
182
+ "tokens": [],
183
+ "translations": [
184
+ {
185
+ "translation": "読み込み中…",
186
+ "variations": {}
187
+ }
188
+ ],
189
+ "types": []
190
+ },
191
+ "4QjroIHQHerlYYiN65OAqQ==": {
192
+ "description": "GraphQL client setup instructions",
193
+ "tokens": [],
194
+ "translations": [
195
+ {
196
+ "translation": "{=src/fate/graphql.ts} のサンプルビューを自分のスキーマ型に置き換え、{=VITE_GRAPHQL_URL} を自分の API に設定してください。",
197
+ "variations": {}
198
+ }
199
+ ],
200
+ "types": []
201
+ },
202
+ "wDeH760jWvob7b0UD/ldjw==": {
203
+ "description": "In the phrase: \"Replace the sample views in {=src/fate/graphql.ts} with your schema types and point {=VITE_GRAPHQL_URL} at your API.\"",
204
+ "tokens": [],
205
+ "translations": [
206
+ {
207
+ "translation": "src/fate/graphql.ts",
208
+ "variations": {}
209
+ }
210
+ ],
211
+ "types": []
212
+ },
213
+ "T4saJreAWC68v2UUSToqoA==": {
214
+ "description": "In the phrase: \"Replace the sample views in {=src/fate/graphql.ts} with your schema types and point {=VITE_GRAPHQL_URL} at your API.\"",
215
+ "tokens": [],
216
+ "translations": [
217
+ {
218
+ "translation": "VITE_GRAPHQL_URL",
219
+ "variations": {}
220
+ }
221
+ ],
222
+ "types": []
223
+ }
224
+ }
225
+ }
@@ -1,7 +1,7 @@
1
1
  import nkzw from '@nkzw/oxlint-config';
2
- import babel from '@rolldown/plugin-babel';
2
+ import fbtee from '@nkzw/vite-plugin-fbtee';
3
3
  import tailwindcss from '@tailwindcss/vite';
4
- import { reactCompilerPreset } from '@vitejs/plugin-react';
4
+ import react from '@vitejs/plugin-react';
5
5
  import { voidReact } from '@void/react/plugin';
6
6
  import { fate } from 'react-fate/vite';
7
7
  import { defineConfig, lazyPlugins } from 'vite-plus';
@@ -61,27 +61,23 @@ export default defineConfig({
61
61
  },
62
62
  plugins: [
63
63
  ...(lazyPlugins(() => [
64
- babel({
65
- presets: [reactCompilerPreset()],
66
- }),
64
+ fbtee(),
67
65
  tailwindcss(),
68
- ...(isTest ? [] : [voidPlugin(), voidReact()]),
66
+ ...(isTest
67
+ ? [react({ compiler: true })]
68
+ : [voidPlugin(), voidReact({ react: { compiler: true } })]),
69
69
  ]) ?? []),
70
70
  fate({
71
71
  module: './src/fate/graphql.ts',
72
72
  transport: 'graphql',
73
73
  }),
74
74
  ],
75
- run: {
76
- tasks: {
77
- 'test:all': {
78
- command: 'vp check && vp test',
79
- },
80
- },
81
- },
82
75
  server: { port: 6001 },
83
76
  ssr: { noExternal: ['@nkzw/fate', 'react-fate'] },
84
77
  staged: {
85
78
  '*': 'vp check --fix',
86
79
  },
80
+ test: {
81
+ passWithNoTests: true,
82
+ },
87
83
  });
@@ -104,3 +104,14 @@ Common commands from the project root:
104
104
  - `vp check --fix` formats, lints, and type-checks the workspace.
105
105
  - `vp test` runs the test suite.
106
106
  - `vp run build` builds the client and server.
107
+
108
+ ## Translations
109
+
110
+ The React app uses fbtee 4 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
111
+
112
+ - Wrap UI text in `<fbt desc="Translator context">Text</fbt>`; use `fbs('Text', 'Translator context')` from `fbtee` for string attributes such as placeholders.
113
+ - Run `vp run fbtee:collect` in `client/` to extract strings, then `vp run fbtee:prepare` to update the editable German and Japanese files in `translations/`.
114
+ - Translate entries marked `"status": "new"`, remove that status when finished, and run `vp run fbtee:translate` (or `vp run fbtee:all`). Commit `translations/`; runtime files in `src/translations/` are generated and ignored.
115
+ - Add locales to `src/lib/AvailableLanguages.tsx` and the `fbtee:prepare` script. The language selector remembers the choice. Server rendering starts in English and restores the browser preference after hydration.
116
+
117
+ Run `vp run start` in `client/` to serve the built frontend. Set `PORT` to change its default port of 3000, and run the backend separately.
@@ -0,0 +1,22 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/browserslist@4.28.8/node_modules/browserslist/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/browserslist@4.28.8/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/browserslist@4.28.8/node_modules/browserslist/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/browserslist@4.28.8/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../../../node_modules/.pnpm/browserslist@4.28.8/node_modules/browserslist/cli.js" "$@"
19
+ else
20
+ exec node "$basedir/../../../node_modules/.pnpm/browserslist@4.28.8/node_modules/browserslist/cli.js" "$@"
21
+ fi
22
+ # cmd-shim-target=/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/browserslist@4.28.8/node_modules/browserslist/cli.js
@@ -0,0 +1,22 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/wrangler@4.126.0_@cloudflare+workers-types@4.20260702.1/node_modules/wrangler/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/wrangler@4.126.0_@cloudflare+workers-types@4.20260702.1/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/wrangler@4.126.0_@cloudflare+workers-types@4.20260702.1/node_modules/wrangler/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/wrangler@4.126.0_@cloudflare+workers-types@4.20260702.1/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../../../node_modules/.pnpm/wrangler@4.126.0_@cloudflare+workers-types@4.20260702.1/node_modules/wrangler/bin/cf-wrangler.js" "$@"
19
+ else
20
+ exec node "$basedir/../../../node_modules/.pnpm/wrangler@4.126.0_@cloudflare+workers-types@4.20260702.1/node_modules/wrangler/bin/cf-wrangler.js" "$@"
21
+ fi
22
+ # cmd-shim-target=/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/wrangler@4.126.0_@cloudflare+workers-types@4.20260702.1/node_modules/wrangler/bin/cf-wrangler.js
@@ -0,0 +1,22 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/drizzle-kit@0.31.10/node_modules/drizzle-kit/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/drizzle-kit@0.31.10/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/drizzle-kit@0.31.10/node_modules/drizzle-kit/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/drizzle-kit@0.31.10/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../../../node_modules/.pnpm/drizzle-kit@0.31.10/node_modules/drizzle-kit/bin.cjs" "$@"
19
+ else
20
+ exec node "$basedir/../../../node_modules/.pnpm/drizzle-kit@0.31.10/node_modules/drizzle-kit/bin.cjs" "$@"
21
+ fi
22
+ # cmd-shim-target=/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/drizzle-kit@0.31.10/node_modules/drizzle-kit/bin.cjs
@@ -0,0 +1,22 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/esbuild@0.28.2/node_modules/esbuild/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/esbuild@0.28.2/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/esbuild@0.28.2/node_modules/esbuild/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/esbuild@0.28.2/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../../../node_modules/.pnpm/esbuild@0.28.2/node_modules/esbuild/bin/esbuild" "$@"
19
+ else
20
+ exec node "$basedir/../../../node_modules/.pnpm/esbuild@0.28.2/node_modules/esbuild/bin/esbuild" "$@"
21
+ fi
22
+ # cmd-shim-target=/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/esbuild@0.28.2/node_modules/esbuild/bin/esbuild
@@ -0,0 +1,22 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/react-fate@1.3.3_@trpc+client@11.18.0_@trpc+server@11.18.0_typescript@7.0.2__typescript_5e583e30890010e96a1c0b3e2ebce86e/node_modules/react-fate/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/react-fate@1.3.3_@trpc+client@11.18.0_@trpc+server@11.18.0_typescript@7.0.2__typescript_5e583e30890010e96a1c0b3e2ebce86e/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/react-fate@1.3.3_@trpc+client@11.18.0_@trpc+server@11.18.0_typescript@7.0.2__typescript_5e583e30890010e96a1c0b3e2ebce86e/node_modules/react-fate/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/react-fate@1.3.3_@trpc+client@11.18.0_@trpc+server@11.18.0_typescript@7.0.2__typescript_5e583e30890010e96a1c0b3e2ebce86e/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../../../node_modules/.pnpm/react-fate@1.3.3_@trpc+client@11.18.0_@trpc+server@11.18.0_typescript@7.0.2__typescript_5e583e30890010e96a1c0b3e2ebce86e/node_modules/react-fate/lib/cli.mjs" "$@"
19
+ else
20
+ exec node "$basedir/../../../node_modules/.pnpm/react-fate@1.3.3_@trpc+client@11.18.0_@trpc+server@11.18.0_typescript@7.0.2__typescript_5e583e30890010e96a1c0b3e2ebce86e/node_modules/react-fate/lib/cli.mjs" "$@"
21
+ fi
22
+ # cmd-shim-target=/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/react-fate@1.3.3_@trpc+client@11.18.0_@trpc+server@11.18.0_typescript@7.0.2__typescript_5e583e30890010e96a1c0b3e2ebce86e/node_modules/react-fate/lib/cli.mjs
@@ -0,0 +1,22 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/@nkzw+babel-preset-fbtee@3.1.0/node_modules/@nkzw/babel-preset-fbtee/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/@nkzw+babel-preset-fbtee@3.1.0/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/@nkzw+babel-preset-fbtee@3.1.0/node_modules/@nkzw/babel-preset-fbtee/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/@nkzw+babel-preset-fbtee@3.1.0/node_modules:/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" --experimental-strip-types --no-warnings "$basedir/../../../node_modules/.pnpm/@nkzw+babel-preset-fbtee@3.1.0/node_modules/@nkzw/babel-preset-fbtee/lib/bin.mjs" "$@"
19
+ else
20
+ exec node --experimental-strip-types --no-warnings "$basedir/../../../node_modules/.pnpm/@nkzw+babel-preset-fbtee@3.1.0/node_modules/@nkzw/babel-preset-fbtee/lib/bin.mjs" "$@"
21
+ fi
22
+ # cmd-shim-target=/Users/cpojer/Projects/fate/packages/create-fate/templates/fate/http/node_modules/.pnpm/@nkzw+babel-preset-fbtee@3.1.0/node_modules/@nkzw/babel-preset-fbtee/lib/bin.mjs