create-fate 1.5.1 → 1.5.2

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.
@@ -352,7 +352,7 @@ const removePackageEntries = (record, names) => {
352
352
 
353
353
  const reactPackageEntries = [
354
354
  '@nkzw/babel-preset-fbtee',
355
- '@nkzw/fbtee-cli',
355
+ '@nkzw/fbtee-compiler',
356
356
  '@radix-ui/react-slot',
357
357
  '@nkzw/stack',
358
358
  '@nkzw/vite-plugin-fbtee',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fate",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Create a new fate app.",
5
5
  "homepage": "https://github.com/nkzw-tech/fate",
6
6
  "license": "MIT",
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "type": "module",
24
24
  "dependencies": {
25
- "@clack/prompts": "^1.7.0"
25
+ "@clack/prompts": "^1.8.1"
26
26
  },
27
27
  "engines": {
28
28
  "node": ">=24.0.0"
@@ -127,7 +127,7 @@ If you deploy the client to a hosted origin, add that origin to `server/src/lib/
127
127
 
128
128
  ## Translations
129
129
 
130
- The React app uses fbtee 4 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
130
+ The React app uses fbtee 5 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
131
131
 
132
132
  - Wrap UI text in `<fbt desc="Translator context">Text</fbt>`; use `fbs('Text', 'Translator context')` from `fbtee` for string attributes such as placeholders.
133
133
  - 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/`.
@@ -24,6 +24,7 @@
24
24
  "@hono/node-server": "^2.1.1",
25
25
  "@nkzw/core": "^1.3.1",
26
26
  "@nkzw/define-env": "^1.1.0",
27
+ "@nkzw/fate": "latest",
27
28
  "@nkzw/stack": "^2.3.2",
28
29
  "@radix-ui/react-slot": "^1.3.3",
29
30
  "@void/react": "^0.10.12",
@@ -31,7 +32,7 @@
31
32
  "cf-fate": "latest",
32
33
  "class-variance-authority": "^0.7.1",
33
34
  "clsx": "^2.1.1",
34
- "fbtee": "^4.0.0",
35
+ "fbtee": "^5.0.0",
35
36
  "lucide-react": "^1.34.0",
36
37
  "react": "^19.2.8",
37
38
  "react-dom": "^19.2.8",
@@ -41,8 +42,8 @@
41
42
  "void": "^0.10.12"
42
43
  },
43
44
  "devDependencies": {
44
- "@nkzw/fbtee-cli": "^4.0.0",
45
- "@nkzw/vite-plugin-fbtee": "^4.0.0",
45
+ "@nkzw/fbtee-compiler": "^5.0.0",
46
+ "@nkzw/vite-plugin-fbtee": "^5.0.0",
46
47
  "@tailwindcss/vite": "^4.3.3",
47
48
  "@types/node": "^26.4.0",
48
49
  "@types/react": "^19.2.18",
@@ -107,7 +107,7 @@ Common commands from the project root:
107
107
 
108
108
  ## Translations
109
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.
110
+ The React app uses fbtee 5 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
111
111
 
112
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
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/`.
@@ -31,7 +31,7 @@
31
31
  "better-auth": "1.7.2",
32
32
  "class-variance-authority": "^0.7.1",
33
33
  "clsx": "^2.1.1",
34
- "fbtee": "^4.0.0",
34
+ "fbtee": "^5.0.0",
35
35
  "lucide-react": "^1.34.0",
36
36
  "react": "^19.2.8",
37
37
  "react-dom": "^19.2.8",
@@ -41,8 +41,8 @@
41
41
  "void": "^0.10.12"
42
42
  },
43
43
  "devDependencies": {
44
- "@nkzw/fbtee-cli": "^4.0.0",
45
- "@nkzw/vite-plugin-fbtee": "^4.0.0",
44
+ "@nkzw/fbtee-compiler": "^5.0.0",
45
+ "@nkzw/vite-plugin-fbtee": "^5.0.0",
46
46
  "@tailwindcss/vite": "^4.3.3",
47
47
  "@trpc/server": "^11.18.0",
48
48
  "@types/node": "^26.4.0",
@@ -2,6 +2,7 @@ import { defineConfig } from 'vite-plus';
2
2
 
3
3
  export default defineConfig({
4
4
  pack: {
5
+ deps: { resolveDepSubpath: true },
5
6
  entry: ['./src/app.tsx'],
6
7
  outputOptions: { codeSplitting: false, entryFileNames: 'index.js' },
7
8
  },
@@ -122,7 +122,7 @@ Common commands from the project root:
122
122
 
123
123
  ## Translations
124
124
 
125
- The React app uses fbtee 4 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
125
+ The React app uses fbtee 5 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
126
126
 
127
127
  - Wrap UI text in `<fbt desc="Translator context">Text</fbt>`; use `fbs('Text', 'Translator context')` from `fbtee` for string attributes such as placeholders.
128
128
  - 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/`.
@@ -30,7 +30,7 @@
30
30
  "better-auth": "1.7.2",
31
31
  "class-variance-authority": "^0.7.1",
32
32
  "clsx": "^2.1.1",
33
- "fbtee": "^4.0.0",
33
+ "fbtee": "^5.0.0",
34
34
  "graphql-sse": "^2.6.1",
35
35
  "lucide-react": "^1.34.0",
36
36
  "react": "^19.2.8",
@@ -41,8 +41,8 @@
41
41
  "void": "^0.10.12"
42
42
  },
43
43
  "devDependencies": {
44
- "@nkzw/fbtee-cli": "^4.0.0",
45
- "@nkzw/vite-plugin-fbtee": "^4.0.0",
44
+ "@nkzw/fbtee-compiler": "^5.0.0",
45
+ "@nkzw/vite-plugin-fbtee": "^5.0.0",
46
46
  "@tailwindcss/vite": "^4.3.3",
47
47
  "@types/node": "^26.4.0",
48
48
  "@types/react": "^19.2.18",
@@ -39,6 +39,7 @@ export default defineConfig({
39
39
  },
40
40
  },
41
41
  pack: {
42
+ deps: { resolveDepSubpath: true },
42
43
  entry: ['./src/app.tsx'],
43
44
  outputOptions: { codeSplitting: false, entryFileNames: 'index.js' },
44
45
  },
@@ -70,7 +70,7 @@ Common commands:
70
70
 
71
71
  ## Translations
72
72
 
73
- The React app uses fbtee 4 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
73
+ The React app uses fbtee 5 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
74
74
 
75
75
  - Wrap UI text in `<fbt desc="Translator context">Text</fbt>`; use `fbs('Text', 'Translator context')` from `fbtee` for string attributes such as placeholders.
76
76
  - Run `vp run fbtee:collect` in the app root to extract strings, then `vp run fbtee:prepare` to update the editable German and Japanese files in `translations/`.
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@nkzw/fate": "latest",
26
26
  "@void/react": "^0.10.12",
27
- "fbtee": "^4.0.0",
27
+ "fbtee": "^5.0.0",
28
28
  "graphql-sse": "^2.6.1",
29
29
  "lucide-react": "^1.34.0",
30
30
  "react": "^19.2.8",
@@ -35,9 +35,9 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@nkzw/eslint-plugin": "^2.0.0",
38
- "@nkzw/fbtee-cli": "^4.0.0",
38
+ "@nkzw/fbtee-compiler": "^5.0.0",
39
39
  "@nkzw/oxlint-config": "^2.0.1",
40
- "@nkzw/vite-plugin-fbtee": "^4.0.0",
40
+ "@nkzw/vite-plugin-fbtee": "^5.0.0",
41
41
  "@oxc-node/core": "^0.1.0",
42
42
  "@swc/core": "^1.16.1",
43
43
  "@tailwindcss/vite": "^4.3.3",
@@ -107,7 +107,7 @@ Common commands from the project root:
107
107
 
108
108
  ## Translations
109
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.
110
+ The React app uses fbtee 5 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
111
111
 
112
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
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/`.
@@ -30,7 +30,7 @@
30
30
  "better-auth": "1.7.2",
31
31
  "class-variance-authority": "^0.7.1",
32
32
  "clsx": "^2.1.1",
33
- "fbtee": "^4.0.0",
33
+ "fbtee": "^5.0.0",
34
34
  "lucide-react": "^1.34.0",
35
35
  "react": "^19.2.8",
36
36
  "react-dom": "^19.2.8",
@@ -40,8 +40,8 @@
40
40
  "void": "^0.10.12"
41
41
  },
42
42
  "devDependencies": {
43
- "@nkzw/fbtee-cli": "^4.0.0",
44
- "@nkzw/vite-plugin-fbtee": "^4.0.0",
43
+ "@nkzw/fbtee-compiler": "^5.0.0",
44
+ "@nkzw/vite-plugin-fbtee": "^5.0.0",
45
45
  "@tailwindcss/vite": "^4.3.3",
46
46
  "@types/node": "^26.4.0",
47
47
  "@types/react": "^19.2.18",
@@ -2,6 +2,7 @@ import { defineConfig } from 'vite-plus';
2
2
 
3
3
  export default defineConfig({
4
4
  pack: {
5
+ deps: { resolveDepSubpath: true },
5
6
  entry: ['./src/app.tsx'],
6
7
  outputOptions: { codeSplitting: false, entryFileNames: 'index.js' },
7
8
  },
@@ -121,7 +121,7 @@ Common commands from the project root:
121
121
 
122
122
  ## Translations
123
123
 
124
- The React app uses fbtee 4 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
124
+ The React app uses fbtee 5 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
125
125
 
126
126
  - Wrap UI text in `<fbt desc="Translator context">Text</fbt>`; use `fbs('Text', 'Translator context')` from `fbtee` for string attributes such as placeholders.
127
127
  - 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/`.
@@ -31,7 +31,7 @@
31
31
  "better-auth": "1.7.2",
32
32
  "class-variance-authority": "^0.7.1",
33
33
  "clsx": "^2.1.1",
34
- "fbtee": "^4.0.0",
34
+ "fbtee": "^5.0.0",
35
35
  "lucide-react": "^1.34.0",
36
36
  "react": "^19.2.8",
37
37
  "react-dom": "^19.2.8",
@@ -41,8 +41,8 @@
41
41
  "void": "^0.10.12"
42
42
  },
43
43
  "devDependencies": {
44
- "@nkzw/fbtee-cli": "^4.0.0",
45
- "@nkzw/vite-plugin-fbtee": "^4.0.0",
44
+ "@nkzw/fbtee-compiler": "^5.0.0",
45
+ "@nkzw/vite-plugin-fbtee": "^5.0.0",
46
46
  "@tailwindcss/vite": "^4.3.3",
47
47
  "@trpc/server": "^11.18.0",
48
48
  "@types/node": "^26.4.0",
@@ -2,6 +2,7 @@ import { defineConfig } from 'vite-plus';
2
2
 
3
3
  export default defineConfig({
4
4
  pack: {
5
+ deps: { resolveDepSubpath: true },
5
6
  entry: ['./src/app.tsx'],
6
7
  outputOptions: { codeSplitting: false, entryFileNames: 'index.js' },
7
8
  },
@@ -56,7 +56,7 @@ Common commands from the project root:
56
56
 
57
57
  ## Translations
58
58
 
59
- The React app uses fbtee 4 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
59
+ The React app uses fbtee 5 with its native Oxc Vite plugin and CLI. Setup and builds generate the runtime translation files automatically.
60
60
 
61
61
  - Wrap UI text in `<fbt desc="Translator context">Text</fbt>`; use `fbs('Text', 'Translator context')` from `fbtee` for string attributes such as placeholders.
62
62
  - Run `vp run fbtee:collect` in the app root to extract strings, then `vp run fbtee:prepare` to update the editable German and Japanese files in `translations/`.
@@ -34,7 +34,7 @@
34
34
  "class-variance-authority": "^0.7.1",
35
35
  "clsx": "^2.1.1",
36
36
  "drizzle-orm": "^0.45.2",
37
- "fbtee": "^4.0.0",
37
+ "fbtee": "^5.0.0",
38
38
  "lucide-react": "^1.34.0",
39
39
  "react": "^19.2.8",
40
40
  "react-dom": "^19.2.8",
@@ -48,9 +48,9 @@
48
48
  "devDependencies": {
49
49
  "@cloudflare/workers-types": "4.20260702.1",
50
50
  "@nkzw/eslint-plugin": "^2.0.0",
51
- "@nkzw/fbtee-cli": "^4.0.0",
51
+ "@nkzw/fbtee-compiler": "^5.0.0",
52
52
  "@nkzw/oxlint-config": "^2.0.1",
53
- "@nkzw/vite-plugin-fbtee": "^4.0.0",
53
+ "@nkzw/vite-plugin-fbtee": "^5.0.0",
54
54
  "@oxc-node/core": "^0.1.0",
55
55
  "@tailwindcss/vite": "^4.3.3",
56
56
  "@types/node": "^26.4.0",