create-guren-app 1.6.1 → 1.6.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.6.1",
3
+ "version": "1.6.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -18,9 +18,9 @@
18
18
  "test": "bun test"
19
19
  },
20
20
  "dependencies": {
21
- "@guren/cli": "^2.1.1",
22
- "@guren/core": "^1.5.0",
23
- "@guren/orm": "^2.1.0",
21
+ "@guren/cli": "^2.2.0",
22
+ "@guren/core": "^1.5.1",
23
+ "@guren/orm": "^2.2.0",
24
24
  "drizzle-orm": "1.0.0-rc.4"
25
25
  },
26
26
  "devDependencies": {
@@ -15,6 +15,6 @@
15
15
  "@/*": ["./*"]
16
16
  }
17
17
  },
18
- "include": ["src/**/*", "app/**/*", "routes/**/*", "config/**/*", "db/**/*", "bin/**/*"],
18
+ "include": [".guren/**/*", "src/**/*", "app/**/*", "routes/**/*", "config/**/*", "db/**/*", "bin/**/*"],
19
19
  "exclude": ["node_modules"]
20
20
  }
@@ -20,9 +20,10 @@ export default class AuthProvider extends ServiceProvider {
20
20
  //
21
21
  // shareInertiaProps merges over resolvers registered earlier instead of
22
22
  // replacing them, so the framework's flashed `errors` still come through.
23
+ // Passing this.container scopes the props to this app.
23
24
  shareInertiaProps(async (ctx) => {
24
25
  const auth = ctx.get(AUTH_CONTEXT_KEY) as AuthContext | undefined
25
26
  return { auth: { user: await auth?.user() } }
26
- })
27
+ }, this.container)
27
28
  }
28
29
  }
@@ -19,10 +19,10 @@
19
19
  "db:seed": "bunx guren db:seed"
20
20
  },
21
21
  "dependencies": {
22
- "@guren/cli": "^2.1.1",
23
- "@guren/core": "^1.5.0",
24
- "@guren/inertia-client": "^1.0.2",
25
- "@guren/orm": "^2.1.0",
22
+ "@guren/cli": "^2.2.0",
23
+ "@guren/core": "^1.5.1",
24
+ "@guren/inertia-client": "^1.1.0",
25
+ "@guren/orm": "^2.2.0",
26
26
  "@inertiajs/react": "^3.6.1",
27
27
  "drizzle-orm": "1.0.0-rc.4",
28
28
  "react": "^19.0.0",