create-guren-app 1.15.1 → 1.15.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-guren-app",
3
- "version": "1.15.1",
3
+ "version": "1.15.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,9 +20,9 @@
20
20
  "test": "bun test"
21
21
  },
22
22
  "dependencies": {
23
- "@guren/cli": "^2.23.0",
23
+ "@guren/cli": "^2.23.2",
24
24
  "@guren/core": "^1.18.0",
25
- "@guren/orm": "^2.10.0",
25
+ "@guren/orm": "^2.10.1",
26
26
  "drizzle-orm": "1.0.0-rc.4"
27
27
  },
28
28
  "devDependencies": {
@@ -215,7 +215,8 @@ function isSameOrigin(url: string): boolean {
215
215
  * `output` schema type the response: `json()` on the returned `Response`
216
216
  * resolves to that schema's parsed shape. A `resource` response hint types
217
217
  * `json()` the same way from the `Data` types extracted out of
218
- * app/Http/Resources — declared, not validated: the server never checks the
218
+ * app/Http/Resources, at the project root and under modules/* — declared, not
219
+ * validated: the server never checks the
219
220
  * payload against it at runtime. Without either, `json()` resolves to
220
221
  * `unknown` — validate before trusting it. Either way the typed shape
221
222
  * describes the success body only: error statuses carry their own (a 422
@@ -142,7 +142,8 @@ function isSameOrigin(url: string): boolean {
142
142
  * `output` schema type the response: `json()` on the returned `Response`
143
143
  * resolves to that schema's parsed shape. A `resource` response hint types
144
144
  * `json()` the same way from the `Data` types extracted out of
145
- * app/Http/Resources — declared, not validated: the server never checks the
145
+ * app/Http/Resources, at the project root and under modules/* — declared, not
146
+ * validated: the server never checks the
146
147
  * payload against it at runtime. Without either, `json()` resolves to
147
148
  * `unknown` — validate before trusting it. Either way the typed shape
148
149
  * describes the success body only: error statuses carry their own (a 422
@@ -0,0 +1,25 @@
1
+ // Generated from lang/ (locales: en) — DO NOT EDIT
2
+ // Run `guren codegen` to regenerate.
3
+
4
+ /**
5
+ * Every translation key present in at least one locale. Missing-per-locale
6
+ * keys are reported by `guren check --i18n`, not here.
7
+ */
8
+ export type TranslationKey =
9
+ | 'messages.welcome'
10
+
11
+ // Type this app's translation helpers via declaration merging:
12
+ // `this.t()` / `this.tc()` in controllers and `useTranslation()` in pages
13
+ // autocomplete and reject unknown keys. Delete lang/ and regenerate to
14
+ // return them to plain strings.
15
+ declare module '@guren/core' {
16
+ interface GurenTranslationKeys {
17
+ keys: TranslationKey
18
+ }
19
+ }
20
+
21
+ declare module '@guren/inertia-client' {
22
+ interface GurenTranslationKeys {
23
+ keys: TranslationKey
24
+ }
25
+ }
@@ -21,10 +21,10 @@
21
21
  "db:seed": "bunx guren db:seed"
22
22
  },
23
23
  "dependencies": {
24
- "@guren/cli": "^2.23.0",
24
+ "@guren/cli": "^2.23.2",
25
25
  "@guren/core": "^1.18.0",
26
26
  "@guren/inertia-client": "^1.2.1",
27
- "@guren/orm": "^2.10.0",
27
+ "@guren/orm": "^2.10.1",
28
28
  "@inertiajs/react": "^3.6.1",
29
29
  "drizzle-orm": "1.0.0-rc.4",
30
30
  "react": "^19.0.0",