create-guren-app 1.10.2 → 1.11.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-guren-app",
3
- "version": "1.10.2",
3
+ "version": "1.11.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -18,13 +18,13 @@
18
18
  "test": "bun test"
19
19
  },
20
20
  "dependencies": {
21
- "@guren/cli": "^2.13.0",
22
- "@guren/core": "^1.12.0",
23
- "@guren/orm": "^2.6.1",
21
+ "@guren/cli": "^2.14.0",
22
+ "@guren/core": "^1.13.0",
23
+ "@guren/orm": "^2.6.2",
24
24
  "drizzle-orm": "1.0.0-rc.4"
25
25
  },
26
26
  "devDependencies": {
27
- "@guren/testing": "^1.8.0",
27
+ "@guren/testing": "^1.9.0",
28
28
  "bun-types": "^1.3.1",
29
29
  "drizzle-kit": "1.0.0-rc.4",
30
30
  "typescript": "^5.4.0"
@@ -1,4 +1,4 @@
1
- import { defineSeeder, ScryptHasher } from '@guren/core'
1
+ import { defineSeeder, Hash } from '@guren/core'
2
2
  import { eq } from 'drizzle-orm'
3
3
  import type { AppSeederContext } from '../../config/database.js'
4
4
  import { users } from '../schema.js'
@@ -13,7 +13,7 @@ export default defineSeeder(async ({ db }: AppSeederContext) => {
13
13
  return
14
14
  }
15
15
 
16
- const hasher = new ScryptHasher()
16
+ const hasher = new Hash()
17
17
 
18
18
  await db.insert(users).values({
19
19
  name: '__APP_TITLE__ Demo',
@@ -1,3 +1,10 @@
1
+ // Every zod schema built after this import parses through a compiled fast
2
+ // path. Keep it the first import so it runs before any module that defines
3
+ // schemas. It honors z.config({ jitless: true }) for CSP-restricted runtimes
4
+ // and never throws — unsupported schemas keep the regular parser. One caveat:
5
+ // on invalid input, refinements/transforms can run twice (fast path, then
6
+ // fallback), so keep .refine()/.transform() free of side effects.
7
+ import 'zod/compile'
1
8
  import { createApp, setInertiaDocument } from '@guren/core'
2
9
  import DatabaseProvider from '../app/Providers/DatabaseProvider.js'
3
10
  import AuthProvider from '../app/Providers/AuthProvider.js'
@@ -19,18 +19,18 @@
19
19
  "db:seed": "bunx guren db:seed"
20
20
  },
21
21
  "dependencies": {
22
- "@guren/cli": "^2.13.0",
23
- "@guren/core": "^1.12.0",
22
+ "@guren/cli": "^2.14.0",
23
+ "@guren/core": "^1.13.0",
24
24
  "@guren/inertia-client": "^1.1.2",
25
- "@guren/orm": "^2.6.1",
25
+ "@guren/orm": "^2.6.2",
26
26
  "@inertiajs/react": "^3.6.1",
27
27
  "drizzle-orm": "1.0.0-rc.4",
28
28
  "react": "^19.0.0",
29
29
  "react-dom": "^19.0.0",
30
- "zod": "^4.4.3"
30
+ "zod": "^4.5.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@guren/testing": "^1.8.0",
33
+ "@guren/testing": "^1.9.0",
34
34
  "@tailwindcss/vite": "^4.2.2",
35
35
  "@types/react": "^19.0.0",
36
36
  "@types/react-dom": "^19.0.0",
@@ -1,3 +1,10 @@
1
+ // Every zod schema built after this import parses through a compiled fast
2
+ // path. Keep it the first import so it runs before any module that defines
3
+ // schemas. It honors z.config({ jitless: true }) for CSP-restricted runtimes
4
+ // and never throws — unsupported schemas keep the regular parser. One caveat:
5
+ // on invalid input, refinements/transforms can run twice (fast path, then
6
+ // fallback), so keep .refine()/.transform() free of side effects.
7
+ import 'zod/compile'
1
8
  import { createApp } from '@guren/core'
2
9
  import { setInertiaDocument } from '@guren/core'
3
10
  import DatabaseProvider from '../app/Providers/DatabaseProvider.js'