create-fate 1.3.3 → 1.4.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.
- package/bin/create-fate.mjs +11 -2
- package/package.json +1 -1
- package/templates/fate/_shared/vue-app/package.json +14 -16
- package/templates/fate/cloudflare/client/node_modules/.bin/browserslist +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/cf-wrangler +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/drizzle-kit +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/esbuild +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/fate +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/fbtee +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/intent +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/jiti +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/oxfmt +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/oxlint +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/rolldown +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/tsc +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/tsx +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/vitest +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/void +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/vp +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/vpr +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/workerd +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/wrangler +22 -0
- package/templates/fate/cloudflare/client/node_modules/.bin/wrangler2 +22 -0
- package/templates/fate/cloudflare/client/package.json +19 -19
- package/templates/fate/cloudflare/client/src/ui/LocaleSwitcher.tsx +1 -1
- package/templates/fate/cloudflare/client/vite.config.ts +3 -7
- package/templates/fate/cloudflare/package.json +6 -10
- package/templates/fate/cloudflare/pnpm-workspace.yaml +4 -4
- package/templates/fate/cloudflare/server/db/migrations/20260508073357_initial_schema.sql +3 -2
- package/templates/fate/cloudflare/server/db/migrations/20260508120500_seed_cloudflare_demo.sql +10 -10
- package/templates/fate/cloudflare/server/db/migrations/meta/20260508073357_snapshot.json +10 -3
- package/templates/fate/cloudflare/server/db/schema.ts +2 -3
- package/templates/fate/cloudflare/server/node_modules/.bin/cf-wrangler +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/drizzle-kit +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/esbuild +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/fate +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/intent +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/jiti +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/oxfmt +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/oxlint +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/tsc +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/tsx +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/vitest +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/vp +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/vpr +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/workerd +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/wrangler +22 -0
- package/templates/fate/cloudflare/server/node_modules/.bin/wrangler2 +22 -0
- package/templates/fate/cloudflare/server/package.json +3 -3
- package/templates/fate/cloudflare/server/src/fate/server.ts +5 -2
- package/templates/fate/cloudflare/tsconfig.json +1 -10
- package/templates/fate/cloudflare/vite.config.ts +3 -0
- package/templates/fate/drizzle/client/node_modules/.bin/browserslist +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/cf-wrangler +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/drizzle-kit +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/esbuild +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/fate +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/fbtee +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/intent +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/jiti +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/oxfmt +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/oxlint +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/rolldown +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/tsc +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/tsx +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/vitest +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/void +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/vp +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/vpr +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/workerd +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/wrangler +22 -0
- package/templates/fate/drizzle/client/node_modules/.bin/wrangler2 +22 -0
- package/templates/fate/drizzle/client/package.json +22 -22
- package/templates/fate/drizzle/client/src/ui/LocaleSwitcher.tsx +1 -1
- package/templates/fate/drizzle/client/vite.config.ts +3 -7
- package/templates/fate/drizzle/package.json +6 -10
- package/templates/fate/drizzle/pnpm-workspace.yaml +4 -4
- package/templates/fate/drizzle/server/node_modules/.bin/drizzle-kit +22 -0
- package/templates/fate/drizzle/server/node_modules/.bin/esbuild +22 -0
- package/templates/fate/drizzle/server/node_modules/.bin/fate +22 -0
- package/templates/fate/drizzle/server/node_modules/.bin/intent +22 -0
- package/templates/fate/drizzle/server/node_modules/.bin/jiti +22 -0
- package/templates/fate/drizzle/server/node_modules/.bin/nodemon +22 -0
- package/templates/fate/drizzle/server/node_modules/.bin/oxfmt +22 -0
- package/templates/fate/drizzle/server/node_modules/.bin/oxlint +22 -0
- package/templates/fate/drizzle/server/node_modules/.bin/tsc +22 -0
- package/templates/fate/drizzle/server/node_modules/.bin/tsx +22 -0
- package/templates/fate/drizzle/server/node_modules/.bin/vitest +22 -0
- package/templates/fate/drizzle/server/node_modules/.bin/vp +22 -0
- package/templates/fate/drizzle/server/node_modules/.bin/vpr +22 -0
- package/templates/fate/drizzle/server/package.json +9 -9
- package/templates/fate/drizzle/server/src/app.tsx +1 -1
- package/templates/fate/drizzle/server/src/drizzle/schema.ts +2 -3
- package/templates/fate/drizzle/server/src/drizzle/seed.tsx +1 -1
- package/templates/fate/drizzle/tsconfig.json +1 -10
- package/templates/fate/graphql/client/node_modules/.bin/browserslist +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/cf-wrangler +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/drizzle-kit +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/esbuild +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/fate +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/fbtee +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/intent +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/jiti +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/oxfmt +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/oxlint +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/rolldown +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/tsc +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/tsx +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/vitest +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/void +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/vp +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/vpr +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/workerd +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/wrangler +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/wrangler2 +22 -0
- package/templates/fate/graphql/client/node_modules/.bin/yaml +22 -0
- package/templates/fate/graphql/client/package.json +21 -21
- package/templates/fate/graphql/client/src/ui/LocaleSwitcher.tsx +1 -1
- package/templates/fate/graphql/client/src/ui/PostCard.tsx +1 -1
- package/templates/fate/graphql/client/vite.config.ts +3 -7
- package/templates/fate/graphql/package.json +7 -11
- package/templates/fate/graphql/pnpm-workspace.yaml +4 -4
- package/templates/fate/graphql/server/package.json +25 -29
- package/templates/fate/graphql/server/prisma.config.ts +9 -1
- package/templates/fate/graphql/server/scripts/generate-graphql.tsx +1 -1
- package/templates/fate/graphql/server/src/index.tsx +1 -1
- package/templates/fate/graphql/server/src/prisma/schema.prisma +2 -1
- package/templates/fate/graphql/server/src/prisma/seed.tsx +1 -1
- package/templates/fate/graphql/server/tsconfig.json +1 -11
- package/templates/fate/graphql/tsconfig.json +1 -10
- package/templates/fate/graphql-client/package.json +18 -22
- package/templates/fate/graphql-client/pages/index.tsx +49 -23
- package/templates/fate/graphql-client/pnpm-workspace.yaml +6 -4
- package/templates/fate/graphql-client/vite.config.ts +7 -13
- package/templates/fate/http/client/node_modules/.bin/browserslist +22 -0
- package/templates/fate/http/client/node_modules/.bin/cf-wrangler +22 -0
- package/templates/fate/http/client/node_modules/.bin/drizzle-kit +22 -0
- package/templates/fate/http/client/node_modules/.bin/esbuild +22 -0
- package/templates/fate/http/client/node_modules/.bin/fate +22 -0
- package/templates/fate/http/client/node_modules/.bin/fbtee +22 -0
- package/templates/fate/http/client/node_modules/.bin/intent +22 -0
- package/templates/fate/http/client/node_modules/.bin/jiti +22 -0
- package/templates/fate/http/client/node_modules/.bin/oxfmt +22 -0
- package/templates/fate/http/client/node_modules/.bin/oxlint +22 -0
- package/templates/fate/http/client/node_modules/.bin/rolldown +22 -0
- package/templates/fate/http/client/node_modules/.bin/tsc +22 -0
- package/templates/fate/http/client/node_modules/.bin/tsx +22 -0
- package/templates/fate/http/client/node_modules/.bin/vitest +22 -0
- package/templates/fate/http/client/node_modules/.bin/void +22 -0
- package/templates/fate/http/client/node_modules/.bin/vp +22 -0
- package/templates/fate/http/client/node_modules/.bin/vpr +22 -0
- package/templates/fate/http/client/node_modules/.bin/workerd +22 -0
- package/templates/fate/http/client/node_modules/.bin/wrangler +22 -0
- package/templates/fate/http/client/node_modules/.bin/wrangler2 +22 -0
- package/templates/fate/http/client/package.json +20 -20
- package/templates/fate/http/client/src/ui/LocaleSwitcher.tsx +1 -1
- package/templates/fate/http/client/vite.config.ts +3 -7
- package/templates/fate/http/package.json +6 -10
- package/templates/fate/http/pnpm-workspace.yaml +4 -4
- package/templates/fate/http/server/node_modules/.bin/drizzle-kit +22 -0
- package/templates/fate/http/server/node_modules/.bin/esbuild +22 -0
- package/templates/fate/http/server/node_modules/.bin/fate +22 -0
- package/templates/fate/http/server/node_modules/.bin/intent +22 -0
- package/templates/fate/http/server/node_modules/.bin/jiti +22 -0
- package/templates/fate/http/server/node_modules/.bin/nodemon +22 -0
- package/templates/fate/http/server/node_modules/.bin/oxfmt +22 -0
- package/templates/fate/http/server/node_modules/.bin/oxlint +22 -0
- package/templates/fate/http/server/node_modules/.bin/tsc +22 -0
- package/templates/fate/http/server/node_modules/.bin/tsx +22 -0
- package/templates/fate/http/server/node_modules/.bin/vitest +22 -0
- package/templates/fate/http/server/node_modules/.bin/vp +22 -0
- package/templates/fate/http/server/node_modules/.bin/vpr +22 -0
- package/templates/fate/http/server/package.json +8 -8
- package/templates/fate/http/server/src/app.tsx +1 -1
- package/templates/fate/http/server/src/drizzle/schema.ts +2 -3
- package/templates/fate/http/server/src/drizzle/seed.tsx +1 -1
- package/templates/fate/http/tsconfig.json +1 -10
- package/templates/fate/prisma/client/node_modules/.bin/browserslist +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/cf-wrangler +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/drizzle-kit +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/esbuild +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/fate +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/fbtee +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/intent +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/jiti +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/oxfmt +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/oxlint +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/rolldown +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/tsc +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/tsx +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/vitest +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/void +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/vp +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/vpr +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/workerd +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/wrangler +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/wrangler2 +22 -0
- package/templates/fate/prisma/client/node_modules/.bin/yaml +22 -0
- package/templates/fate/prisma/client/package.json +22 -22
- package/templates/fate/prisma/client/src/ui/LocaleSwitcher.tsx +1 -1
- package/templates/fate/prisma/client/vite.config.ts +3 -7
- package/templates/fate/prisma/package.json +7 -11
- package/templates/fate/prisma/pnpm-workspace.yaml +4 -4
- package/templates/fate/prisma/server/node_modules/.bin/esbuild +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/fate +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/intent +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/jiti +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/nft +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/nodemon +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/oxfmt +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/oxlint +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/prisma +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/tsc +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/tsx +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/vitest +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/vp +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/vpr +22 -0
- package/templates/fate/prisma/server/node_modules/.bin/yaml +22 -0
- package/templates/fate/prisma/server/package.json +9 -9
- package/templates/fate/prisma/server/prisma.config.ts +2 -1
- package/templates/fate/prisma/server/src/app.tsx +1 -1
- package/templates/fate/prisma/server/src/prisma/schema.prisma +2 -1
- package/templates/fate/prisma/server/src/prisma/seed.tsx +1 -1
- package/templates/fate/prisma/tsconfig.json +1 -10
- package/templates/fate/void/db/migrations/20260508073357_initial_schema.sql +3 -2
- package/templates/fate/void/db/migrations/20260508120500_seed_void_demo.sql +10 -10
- package/templates/fate/void/db/migrations/meta/20260508073357_snapshot.json +10 -3
- package/templates/fate/void/db/schema.ts +2 -3
- package/templates/fate/void/package.json +21 -23
- package/templates/fate/void/pages/index.tsx +1 -0
- package/templates/fate/void/pnpm-workspace.yaml +4 -4
- package/templates/fate/void/src/fate/server.ts +2 -1
- package/templates/fate/void/vite.config.ts +4 -6
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { join } from 'node:path';
|
|
2
|
-
import
|
|
3
|
-
import babel from '@rolldown/plugin-babel';
|
|
2
|
+
import fbtee from '@nkzw/vite-plugin-fbtee';
|
|
4
3
|
import tailwindcss from '@tailwindcss/vite';
|
|
5
|
-
import { reactCompilerPreset } from '@vitejs/plugin-react';
|
|
6
4
|
import { voidReact } from '@void/react/plugin';
|
|
7
5
|
import dotenv from 'dotenv';
|
|
8
6
|
import { fate } from 'react-fate/vite';
|
|
@@ -25,12 +23,10 @@ export default defineConfig({
|
|
|
25
23
|
build: { outDir: join(root, '../dist/client') },
|
|
26
24
|
plugins: [
|
|
27
25
|
...(lazyPlugins(() => [
|
|
28
|
-
|
|
29
|
-
presets: [fbteePreset, reactCompilerPreset()],
|
|
30
|
-
}),
|
|
26
|
+
fbtee(),
|
|
31
27
|
tailwindcss(),
|
|
32
28
|
voidPlugin(),
|
|
33
|
-
voidReact(),
|
|
29
|
+
voidReact({ react: { compiler: true } }),
|
|
34
30
|
]) ?? []),
|
|
35
31
|
fate({
|
|
36
32
|
module: '@app/server/src/graphql/fate.ts',
|
|
@@ -22,19 +22,15 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@app/server": "workspace:*",
|
|
24
24
|
"@nkzw/eslint-plugin": "^2.0.0",
|
|
25
|
-
"@nkzw/oxlint-config": "^
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"babel-plugin-react-compiler": "^1.0.0",
|
|
25
|
+
"@nkzw/oxlint-config": "^2.0.1",
|
|
26
|
+
"@oxc-node/core": "^0.1.0",
|
|
27
|
+
"@swc/core": "^1.16.1",
|
|
28
|
+
"@types/node": "^26.4.0",
|
|
30
29
|
"dotenv": "^17.4.2",
|
|
31
30
|
"dotenv-cli": "^11.0.0",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"npm-run-all2": "^8.0.4",
|
|
36
|
-
"prisma": "^7.8.0",
|
|
37
|
-
"ts-node": "^10.9.2",
|
|
31
|
+
"npm-run-all2": "^9.0.3",
|
|
32
|
+
"prisma": "^7.10.0",
|
|
33
|
+
"typescript": "^7.0.2",
|
|
38
34
|
"vite": "catalog:",
|
|
39
35
|
"vite-plus": "catalog:",
|
|
40
36
|
"vitest": "catalog:"
|
|
@@ -12,13 +12,12 @@ allowBuilds:
|
|
|
12
12
|
workerd: true
|
|
13
13
|
|
|
14
14
|
catalog:
|
|
15
|
-
vite: npm:@voidzero-dev/vite-plus-core@^0.
|
|
16
|
-
vite-plus: ^0.
|
|
17
|
-
vitest:
|
|
15
|
+
vite: npm:@voidzero-dev/vite-plus-core@^0.3.0
|
|
16
|
+
vite-plus: ^0.3.0
|
|
17
|
+
vitest: ^4.1.11
|
|
18
18
|
|
|
19
19
|
minimumReleaseAgeExclude:
|
|
20
20
|
- '@voidzero-dev/vite-plus-core'
|
|
21
|
-
- '@voidzero-dev/vite-plus-test'
|
|
22
21
|
- vite-plus
|
|
23
22
|
|
|
24
23
|
onlyBuiltDependencies:
|
|
@@ -32,6 +31,7 @@ onlyBuiltDependencies:
|
|
|
32
31
|
- unrs-resolver
|
|
33
32
|
|
|
34
33
|
overrides:
|
|
34
|
+
better-auth: 1.7.2
|
|
35
35
|
kysely: 0.28.17
|
|
36
36
|
vite: 'catalog:'
|
|
37
37
|
vitest: 'catalog:'
|
|
@@ -10,48 +10,44 @@
|
|
|
10
10
|
"type": "module",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "vp pack",
|
|
13
|
-
"dev": "NODE_ENV=development node_modules/.bin/nodemon -q -I --exec node --no-warnings --experimental-specifier-resolution=node --
|
|
13
|
+
"dev": "NODE_ENV=development node_modules/.bin/nodemon -q -I --exec node --no-warnings --experimental-specifier-resolution=node --import @oxc-node/core/register --env-file .env src/index.tsx",
|
|
14
14
|
"dev:setup": "pnpm prisma generate && pnpm generate-graphql",
|
|
15
|
-
"generate-graphql": "node --no-warnings --experimental-specifier-resolution=node --
|
|
15
|
+
"generate-graphql": "node --no-warnings --experimental-specifier-resolution=node --import @oxc-node/core/register ./scripts/generate-graphql.tsx",
|
|
16
16
|
"prisma": "prisma"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@graphql-tools/utils": "^
|
|
20
|
-
"@graphql-yoga/plugin-graphql-sse": "^3.
|
|
21
|
-
"@hono/node-server": "^2.
|
|
19
|
+
"@graphql-tools/utils": "^12.0.0",
|
|
20
|
+
"@graphql-yoga/plugin-graphql-sse": "^3.22.0",
|
|
21
|
+
"@hono/node-server": "^2.1.1",
|
|
22
22
|
"@nkzw/core": "^1.3.1",
|
|
23
23
|
"@nkzw/define-env": "^1.1.0",
|
|
24
24
|
"@nkzw/fate": "latest",
|
|
25
|
-
"@pothos/core": "^4.
|
|
26
|
-
"@pothos/plugin-complexity": "^4.1
|
|
27
|
-
"@pothos/plugin-directives": "^4.3.
|
|
28
|
-
"@pothos/plugin-prisma": "^4.
|
|
29
|
-
"@pothos/plugin-relay": "^4.7.
|
|
30
|
-
"@pothos/plugin-scope-auth": "^4.1.
|
|
31
|
-
"@prisma/adapter-pg": "^7.
|
|
32
|
-
"@prisma/client": "^7.
|
|
33
|
-
"better-auth": "
|
|
34
|
-
"graphql": "^
|
|
35
|
-
"graphql-yoga": "^5.
|
|
36
|
-
"hono": "^4.
|
|
25
|
+
"@pothos/core": "^4.13.1",
|
|
26
|
+
"@pothos/plugin-complexity": "^4.2.1",
|
|
27
|
+
"@pothos/plugin-directives": "^4.3.1",
|
|
28
|
+
"@pothos/plugin-prisma": "^4.15.0",
|
|
29
|
+
"@pothos/plugin-relay": "^4.7.1",
|
|
30
|
+
"@pothos/plugin-scope-auth": "^4.1.7",
|
|
31
|
+
"@prisma/adapter-pg": "^7.10.0",
|
|
32
|
+
"@prisma/client": "^7.10.0",
|
|
33
|
+
"better-auth": "1.7.2",
|
|
34
|
+
"graphql": "^17.0.2",
|
|
35
|
+
"graphql-yoga": "^5.22.0",
|
|
36
|
+
"hono": "^4.13.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@nkzw/eslint-plugin": "^2.0.0",
|
|
40
|
-
"@nkzw/oxlint-config": "^
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
40
|
+
"@nkzw/oxlint-config": "^2.0.1",
|
|
41
|
+
"@oxc-node/core": "^0.1.0",
|
|
42
|
+
"@swc/core": "^1.16.1",
|
|
43
|
+
"@types/node": "^26.4.0",
|
|
44
44
|
"dotenv": "^17.4.2",
|
|
45
|
-
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
46
|
-
"eslint-plugin-perfectionist": "^5.9.0",
|
|
47
|
-
"eslint-plugin-react-hooks": "^7.1.1",
|
|
48
45
|
"glob": "^13.0.6",
|
|
49
46
|
"nodemon": "^3.1.14",
|
|
50
|
-
"oxfmt": "^0.
|
|
51
|
-
"prisma": "^7.
|
|
52
|
-
"prisma-json-types-generator": "^5.
|
|
53
|
-
"
|
|
54
|
-
"typescript": "^6.0.3",
|
|
47
|
+
"oxfmt": "^0.65.0",
|
|
48
|
+
"prisma": "^7.10.0",
|
|
49
|
+
"prisma-json-types-generator": "^5.1.1",
|
|
50
|
+
"typescript": "^7.0.2",
|
|
55
51
|
"vite-plus": "catalog:",
|
|
56
52
|
"vitest": "catalog:"
|
|
57
53
|
},
|
|
@@ -9,9 +9,17 @@ dotenv.config({
|
|
|
9
9
|
quiet: true,
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
+
const databaseUrl = process.env.DATABASE_URL;
|
|
13
|
+
if (!databaseUrl) {
|
|
14
|
+
throw new Error('Missing DATABASE_URL.');
|
|
15
|
+
}
|
|
16
|
+
|
|
12
17
|
export default defineConfig({
|
|
18
|
+
datasource: {
|
|
19
|
+
url: databaseUrl,
|
|
20
|
+
},
|
|
13
21
|
migrations: {
|
|
14
|
-
seed: `node --no-warnings --experimental-specifier-resolution=node --
|
|
22
|
+
seed: `node --no-warnings --experimental-specifier-resolution=node --import @oxc-node/core/register --env-file .env src/prisma/seed.tsx`,
|
|
15
23
|
},
|
|
16
24
|
schema: './src/prisma/schema.prisma',
|
|
17
25
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node --no-warnings --experimental-specifier-resolution=node --
|
|
1
|
+
#!/usr/bin/env node --no-warnings --experimental-specifier-resolution=node --import @oxc-node/core/register
|
|
2
2
|
import { createHash } from 'node:crypto';
|
|
3
3
|
import { writeFileSync } from 'node:fs';
|
|
4
4
|
import { join, posix, relative, sep } from 'node:path';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env NODE_ENV=development node_modules/.bin/nodemon -q -I --exec node --no-warnings --experimental-specifier-resolution=node --
|
|
1
|
+
#!/usr/bin/env NODE_ENV=development node_modules/.bin/nodemon -q -I --exec node --no-warnings --experimental-specifier-resolution=node --import @oxc-node/core/register --env-file .env
|
|
2
2
|
import { parseArgs, styleText } from 'node:util';
|
|
3
3
|
import { serve } from '@hono/node-server';
|
|
4
4
|
import parseInteger from '@nkzw/core/parseInteger.js';
|
|
@@ -69,6 +69,7 @@ model Account {
|
|
|
69
69
|
id String @unique @default(uuid(7))
|
|
70
70
|
accountId String
|
|
71
71
|
providerId String
|
|
72
|
+
issuer String
|
|
72
73
|
userId String
|
|
73
74
|
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
|
74
75
|
accessToken String?
|
|
@@ -81,7 +82,7 @@ model Account {
|
|
|
81
82
|
createdAt DateTime
|
|
82
83
|
updatedAt DateTime
|
|
83
84
|
|
|
84
|
-
@@unique([
|
|
85
|
+
@@unique([issuer, accountId])
|
|
85
86
|
@@map("account")
|
|
86
87
|
}
|
|
87
88
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env NODE_ENV=development node --no-warnings --experimental-specifier-resolution=node --
|
|
1
|
+
#!/usr/bin/env NODE_ENV=development node --no-warnings --experimental-specifier-resolution=node --import @oxc-node/core/register --env-file .env
|
|
2
2
|
import { styleText } from 'node:util';
|
|
3
3
|
import randomEntry from '@nkzw/core/randomEntry.js';
|
|
4
4
|
import { categories, comments, events, posts, tags, users } from '../../../seedData.ts';
|
|
@@ -19,15 +19,5 @@
|
|
|
19
19
|
"target": "es2022"
|
|
20
20
|
},
|
|
21
21
|
"exclude": ["node_modules", "src/prisma/pothos-types.ts", "src/prisma/prisma-client"],
|
|
22
|
-
"include": ["**/*.ts", "**/*.tsx"]
|
|
23
|
-
"ts-node": {
|
|
24
|
-
"transpileOnly": true,
|
|
25
|
-
"transpiler": "ts-node/transpilers/swc",
|
|
26
|
-
"files": true,
|
|
27
|
-
"compilerOptions": {
|
|
28
|
-
"module": "esnext",
|
|
29
|
-
"isolatedModules": false,
|
|
30
|
-
"target": "es2022"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
22
|
+
"include": ["../seedData.ts", "**/*.ts", "**/*.tsx"]
|
|
33
23
|
}
|
|
@@ -20,14 +20,5 @@
|
|
|
20
20
|
"types": ["vite/client"]
|
|
21
21
|
},
|
|
22
22
|
"exclude": ["**/.void/**/*.ts", "node_modules"],
|
|
23
|
-
"include": ["**/.fate/*.ts", "**/*.ts", "**/*.tsx"]
|
|
24
|
-
"ts-node": {
|
|
25
|
-
"transpileOnly": true,
|
|
26
|
-
"transpiler": "ts-node/transpilers/swc",
|
|
27
|
-
"files": true,
|
|
28
|
-
"compilerOptions": {
|
|
29
|
-
"module": "esnext",
|
|
30
|
-
"isolatedModules": false
|
|
31
|
-
}
|
|
32
|
-
}
|
|
23
|
+
"include": ["**/.fate/*.ts", "**/*.ts", "**/*.tsx"]
|
|
33
24
|
}
|
|
@@ -19,32 +19,28 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@nkzw/fate": "latest",
|
|
22
|
-
"@void/react": "^0.
|
|
23
|
-
"graphql-sse": "^2.6.
|
|
24
|
-
"lucide-react": "^1.
|
|
25
|
-
"react": "^19.2.
|
|
26
|
-
"react-dom": "^19.2.
|
|
27
|
-
"react-error-boundary": "^6.1.
|
|
22
|
+
"@void/react": "^0.10.12",
|
|
23
|
+
"graphql-sse": "^2.6.1",
|
|
24
|
+
"lucide-react": "^1.34.0",
|
|
25
|
+
"react": "^19.2.8",
|
|
26
|
+
"react-dom": "^19.2.8",
|
|
27
|
+
"react-error-boundary": "^6.1.3",
|
|
28
28
|
"react-fate": "latest",
|
|
29
|
-
"void": "^0.
|
|
29
|
+
"void": "^0.10.12"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@nkzw/eslint-plugin": "^2.0.0",
|
|
33
|
-
"@nkzw/oxlint-config": "^
|
|
34
|
-
"@
|
|
35
|
-
"@swc/core": "^1.
|
|
36
|
-
"@tailwindcss/vite": "^4.
|
|
37
|
-
"@types/node": "^
|
|
38
|
-
"@types/react": "^19.2.
|
|
39
|
-
"@types/react-dom": "^19.2.
|
|
40
|
-
"@
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"eslint-plugin-perfectionist": "^5.9.0",
|
|
45
|
-
"eslint-plugin-react-hooks": "^7.1.1",
|
|
46
|
-
"tailwindcss": "^4.2.4",
|
|
47
|
-
"ts-node": "^10.9.2",
|
|
33
|
+
"@nkzw/oxlint-config": "^2.0.1",
|
|
34
|
+
"@oxc-node/core": "^0.1.0",
|
|
35
|
+
"@swc/core": "^1.16.1",
|
|
36
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
37
|
+
"@types/node": "^26.4.0",
|
|
38
|
+
"@types/react": "^19.2.18",
|
|
39
|
+
"@types/react-dom": "^19.2.5",
|
|
40
|
+
"@vitejs/plugin-react": "^6.1.0",
|
|
41
|
+
"oxc-transform-react": "^0.147.0",
|
|
42
|
+
"tailwindcss": "^4.3.3",
|
|
43
|
+
"typescript": "^7.0.2",
|
|
48
44
|
"vite": "catalog:",
|
|
49
45
|
"vite-plus": "catalog:",
|
|
50
46
|
"vitest": "catalog:"
|
|
@@ -1,16 +1,59 @@
|
|
|
1
|
-
import { ConnectionRef, useListView, useRequest } from 'react-fate';
|
|
2
|
-
import {
|
|
1
|
+
import { ConnectionRef, useListView, useRequest, useView, view, ViewRef } from 'react-fate';
|
|
2
|
+
import type { Post, User } from '../src/fate/graphql.ts';
|
|
3
|
+
|
|
4
|
+
const UserView = view<User>()({
|
|
5
|
+
id: true,
|
|
6
|
+
name: true,
|
|
7
|
+
username: true,
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
const PostView = view<Post>()({
|
|
11
|
+
author: UserView,
|
|
12
|
+
title: true,
|
|
13
|
+
});
|
|
3
14
|
|
|
4
15
|
const PostConnectionView = {
|
|
5
16
|
args: { first: 10 },
|
|
6
17
|
items: {
|
|
7
|
-
node:
|
|
18
|
+
node: PostView,
|
|
8
19
|
},
|
|
9
20
|
pagination: {
|
|
10
21
|
hasNext: true,
|
|
11
22
|
},
|
|
12
23
|
};
|
|
13
24
|
|
|
25
|
+
const UserName = ({ user: userRef }: { user: ViewRef<'User'> }) => {
|
|
26
|
+
const user = useView(UserView, userRef);
|
|
27
|
+
|
|
28
|
+
return user.name ?? user.username ?? user.id;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
const PostItem = ({ post: postRef }: { post: ViewRef<'Post'> }) => {
|
|
32
|
+
const post = useView(PostView, postRef);
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<article className="rounded-lg border border-slate-200 bg-white p-5 shadow-sm dark:border-slate-800 dark:bg-slate-900">
|
|
36
|
+
<h3 className="text-lg font-semibold">{post.title}</h3>
|
|
37
|
+
{post.author ? (
|
|
38
|
+
<p className="mt-2 text-sm text-slate-500 dark:text-slate-400">
|
|
39
|
+
<UserName user={post.author} />
|
|
40
|
+
</p>
|
|
41
|
+
) : null}
|
|
42
|
+
</article>
|
|
43
|
+
);
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const Viewer = ({ viewer: viewerRef }: { viewer: ViewRef<'User'> }) => {
|
|
47
|
+
return (
|
|
48
|
+
<section className="rounded-lg border border-slate-200 bg-white p-5 shadow-sm dark:border-slate-800 dark:bg-slate-900">
|
|
49
|
+
<h2 className="text-sm font-medium text-slate-500 dark:text-slate-400">Viewer</h2>
|
|
50
|
+
<p className="mt-2 text-lg font-semibold">
|
|
51
|
+
<UserName user={viewerRef} />
|
|
52
|
+
</p>
|
|
53
|
+
</section>
|
|
54
|
+
);
|
|
55
|
+
};
|
|
56
|
+
|
|
14
57
|
const PostList = ({ posts: postsRef }: { posts: ConnectionRef<'Post'> }) => {
|
|
15
58
|
const [posts] = useListView(PostConnectionView, postsRef);
|
|
16
59
|
|
|
@@ -18,17 +61,7 @@ const PostList = ({ posts: postsRef }: { posts: ConnectionRef<'Post'> }) => {
|
|
|
18
61
|
<section className="space-y-4">
|
|
19
62
|
<h2 className="text-2xl font-semibold">Posts</h2>
|
|
20
63
|
{posts.map(({ node }) => (
|
|
21
|
-
<
|
|
22
|
-
className="rounded-lg border border-slate-200 bg-white p-5 shadow-sm dark:border-slate-800 dark:bg-slate-900"
|
|
23
|
-
key={node.id}
|
|
24
|
-
>
|
|
25
|
-
<h3 className="text-lg font-semibold">{node.title}</h3>
|
|
26
|
-
{node.author ? (
|
|
27
|
-
<p className="mt-2 text-sm text-slate-500 dark:text-slate-400">
|
|
28
|
-
{node.author.name ?? node.author.username ?? node.author.id}
|
|
29
|
-
</p>
|
|
30
|
-
) : null}
|
|
31
|
-
</article>
|
|
64
|
+
<PostItem key={node.id} post={node} />
|
|
32
65
|
))}
|
|
33
66
|
</section>
|
|
34
67
|
);
|
|
@@ -37,7 +70,7 @@ const PostList = ({ posts: postsRef }: { posts: ConnectionRef<'Post'> }) => {
|
|
|
37
70
|
export default function HomePage() {
|
|
38
71
|
const { posts, viewer } = useRequest({
|
|
39
72
|
posts: { list: PostConnectionView },
|
|
40
|
-
viewer: { view:
|
|
73
|
+
viewer: { view: UserView },
|
|
41
74
|
});
|
|
42
75
|
|
|
43
76
|
return (
|
|
@@ -55,14 +88,7 @@ export default function HomePage() {
|
|
|
55
88
|
</p>
|
|
56
89
|
</header>
|
|
57
90
|
|
|
58
|
-
{viewer ?
|
|
59
|
-
<section className="rounded-lg border border-slate-200 bg-white p-5 shadow-sm dark:border-slate-800 dark:bg-slate-900">
|
|
60
|
-
<h2 className="text-sm font-medium text-slate-500 dark:text-slate-400">Viewer</h2>
|
|
61
|
-
<p className="mt-2 text-lg font-semibold">
|
|
62
|
-
{viewer.name ?? viewer.username ?? viewer.id}
|
|
63
|
-
</p>
|
|
64
|
-
</section>
|
|
65
|
-
) : null}
|
|
91
|
+
{viewer ? <Viewer viewer={viewer} /> : null}
|
|
66
92
|
<PostList posts={posts} />
|
|
67
93
|
</main>
|
|
68
94
|
);
|
|
@@ -3,29 +3,31 @@ packages:
|
|
|
3
3
|
|
|
4
4
|
allowBuilds:
|
|
5
5
|
'@swc/core': true
|
|
6
|
+
better-sqlite3: true
|
|
6
7
|
esbuild: true
|
|
7
8
|
sharp: true
|
|
8
9
|
workerd: true
|
|
9
10
|
|
|
10
11
|
catalog:
|
|
11
|
-
vite: npm:@voidzero-dev/vite-plus-core@^0.
|
|
12
|
-
vite-plus: ^0.
|
|
13
|
-
vitest:
|
|
12
|
+
vite: npm:@voidzero-dev/vite-plus-core@^0.3.0
|
|
13
|
+
vite-plus: ^0.3.0
|
|
14
|
+
vitest: ^4.1.11
|
|
14
15
|
|
|
15
16
|
minimumReleaseAgeExclude:
|
|
16
17
|
- '@voidzero-dev/vite-plus-core'
|
|
17
|
-
- '@voidzero-dev/vite-plus-test'
|
|
18
18
|
- vite-plus
|
|
19
19
|
|
|
20
20
|
onlyBuiltDependencies:
|
|
21
21
|
- '@swc/core'
|
|
22
22
|
- '@tailwindcss/oxide'
|
|
23
|
+
- better-sqlite3
|
|
23
24
|
- esbuild
|
|
24
25
|
- msgpackr-extract
|
|
25
26
|
- sharp
|
|
26
27
|
- workerd
|
|
27
28
|
|
|
28
29
|
overrides:
|
|
30
|
+
better-auth: 1.7.2
|
|
29
31
|
vite: 'catalog:'
|
|
30
32
|
vitest: 'catalog:'
|
|
31
33
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import nkzw from '@nkzw/oxlint-config';
|
|
2
|
-
import babel from '@rolldown/plugin-babel';
|
|
3
2
|
import tailwindcss from '@tailwindcss/vite';
|
|
4
|
-
import
|
|
3
|
+
import react from '@vitejs/plugin-react';
|
|
5
4
|
import { voidReact } from '@void/react/plugin';
|
|
6
5
|
import { fate } from 'react-fate/vite';
|
|
7
6
|
import { defineConfig, lazyPlugins } from 'vite-plus';
|
|
@@ -61,27 +60,22 @@ export default defineConfig({
|
|
|
61
60
|
},
|
|
62
61
|
plugins: [
|
|
63
62
|
...(lazyPlugins(() => [
|
|
64
|
-
babel({
|
|
65
|
-
presets: [reactCompilerPreset()],
|
|
66
|
-
}),
|
|
67
63
|
tailwindcss(),
|
|
68
|
-
...(isTest
|
|
64
|
+
...(isTest
|
|
65
|
+
? [react({ compiler: true })]
|
|
66
|
+
: [voidPlugin(), voidReact({ react: { compiler: true } })]),
|
|
69
67
|
]) ?? []),
|
|
70
68
|
fate({
|
|
71
69
|
module: './src/fate/graphql.ts',
|
|
72
70
|
transport: 'graphql',
|
|
73
71
|
}),
|
|
74
72
|
],
|
|
75
|
-
run: {
|
|
76
|
-
tasks: {
|
|
77
|
-
'test:all': {
|
|
78
|
-
command: 'vp check && vp test',
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
73
|
server: { port: 6001 },
|
|
83
74
|
ssr: { noExternal: ['@nkzw/fate', 'react-fate'] },
|
|
84
75
|
staged: {
|
|
85
76
|
'*': 'vp check --fix',
|
|
86
77
|
},
|
|
78
|
+
test: {
|
|
79
|
+
passWithNoTests: true,
|
|
80
|
+
},
|
|
87
81
|
});
|
|
@@ -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
|