create-guren-app 1.13.0 → 1.13.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-guren-app",
3
- "version": "1.13.0",
3
+ "version": "1.13.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,8 +20,8 @@
20
20
  "test": "bun test"
21
21
  },
22
22
  "dependencies": {
23
- "@guren/cli": "^2.16.0",
24
- "@guren/core": "^1.14.0",
23
+ "@guren/cli": "^2.18.0",
24
+ "@guren/core": "^1.15.0",
25
25
  "@guren/orm": "^2.6.3",
26
26
  "drizzle-orm": "1.0.0-rc.4"
27
27
  },
@@ -6,10 +6,10 @@ export type PostRecord = typeof posts.$inferSelect
6
6
  export type NewPostRecord = typeof posts.$inferInsert
7
7
  export type PostAuthorSummary = Pick<UserRecord, 'id' | 'name'>
8
8
 
9
- export class Post extends defineModel(posts) {
9
+ export class Post extends defineModel(posts, {
10
10
  // `authorId` is set from the signed-in user, never from request input.
11
- static fillable = ['title', 'excerpt', 'body']
12
-
11
+ fillable: ['title', 'excerpt', 'body'],
12
+ }) {
13
13
  static override relationTypes: { author: BelongsToRecord<PostAuthorSummary> } = {
14
14
  author: null,
15
15
  }
@@ -14,9 +14,6 @@ DATABASE_URL=./data/guren.db
14
14
 
15
15
  REDIS_URL=
16
16
 
17
- SESSION_DRIVER=memory
18
- # SESSION_DRIVER=redis
19
-
20
17
  CACHE_STORE=memory
21
18
  # CACHE_STORE=redis
22
19
 
@@ -21,8 +21,8 @@
21
21
  "db:seed": "bunx guren db:seed"
22
22
  },
23
23
  "dependencies": {
24
- "@guren/cli": "^2.16.0",
25
- "@guren/core": "^1.14.0",
24
+ "@guren/cli": "^2.18.0",
25
+ "@guren/core": "^1.15.0",
26
26
  "@guren/inertia-client": "^1.1.3",
27
27
  "@guren/orm": "^2.6.3",
28
28
  "@inertiajs/react": "^3.6.1",