create-guren-app 1.16.0 → 1.17.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.16.0",
3
+ "version": "1.17.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -2,7 +2,8 @@
2
2
  "$schema": "./node_modules/oxlint/configuration_schema.json",
3
3
  // The guren rules ship with @guren/cli: await-async-assertion (a bare
4
4
  // `expect(...).rejects` statement can never fail its test), no-nullish-env-default
5
- // (`process.env.FOO ?? 'x'` keeps a blank `FOO=` as ''), and the comment rules.
5
+ // (`process.env.FOO ?? 'x'` keeps a blank `FOO=` as ''), no-unvalidated-env-read
6
+ // (below), and the comment rules.
6
7
  "jsPlugins": ["@guren/cli/oxlint"],
7
8
  "ignorePatterns": ["node_modules/**", ".guren/**", "dist/**", "public/build/**"],
8
9
  "rules": {
@@ -16,7 +17,15 @@
16
17
  "guren/comment-history": "warn",
17
18
  "guren/comment-param-restates": "warn",
18
19
  "no-unused-vars": ["warn", { "ignoreRestSiblings": true, "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }]
19
- }
20
+ },
21
+ "overrides": [
22
+ {
23
+ // Application code reads the environment config/env.ts validates, through the
24
+ // `env` a config definition receives. bin/ and drizzle.config.ts run outside the app.
25
+ "files": ["app/**", "config/**", "routes/**", "src/**", "modules/*/**"],
26
+ "rules": { "guren/no-unvalidated-env-read": "error" }
27
+ }
28
+ ]
20
29
  // Type-aware rules (typescript/no-floating-promises and friends) need
21
30
  // `bun add -d oxlint-tsgolint` and `"options": { "typeAware": true }`.
22
31
  }
@@ -20,13 +20,13 @@
20
20
  "test": "bun test"
21
21
  },
22
22
  "dependencies": {
23
- "@guren/cli": "^2.24.0",
24
- "@guren/core": "^1.19.0",
23
+ "@guren/cli": "^2.25.0",
24
+ "@guren/core": "^1.20.0",
25
25
  "@guren/orm": "^2.11.0",
26
26
  "drizzle-orm": "1.0.0-rc.4"
27
27
  },
28
28
  "devDependencies": {
29
- "@guren/testing": "^1.11.0",
29
+ "@guren/testing": "^1.12.0",
30
30
  "bun-types": "^1.3.1",
31
31
  "drizzle-kit": "1.0.0-rc.4",
32
32
  "oxlint": "~1.81.0",
@@ -2,7 +2,8 @@
2
2
  "$schema": "./node_modules/oxlint/configuration_schema.json",
3
3
  // The guren rules ship with @guren/cli: await-async-assertion (a bare
4
4
  // `expect(...).rejects` statement can never fail its test), no-nullish-env-default
5
- // (`process.env.FOO ?? 'x'` keeps a blank `FOO=` as ''), and the comment rules.
5
+ // (`process.env.FOO ?? 'x'` keeps a blank `FOO=` as ''), no-unvalidated-env-read
6
+ // (below), and the comment rules.
6
7
  "jsPlugins": ["@guren/cli/oxlint"],
7
8
  "ignorePatterns": ["node_modules/**", ".guren/**", "dist/**", "public/build/**"],
8
9
  "rules": {
@@ -16,7 +17,15 @@
16
17
  "guren/comment-history": "warn",
17
18
  "guren/comment-param-restates": "warn",
18
19
  "no-unused-vars": ["warn", { "ignoreRestSiblings": true, "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }]
19
- }
20
+ },
21
+ "overrides": [
22
+ {
23
+ // Application code reads the environment config/env.ts validates, through the
24
+ // `env` a config definition receives. bin/ and drizzle.config.ts run outside the app.
25
+ "files": ["app/**", "config/**", "routes/**", "src/**", "modules/*/**"],
26
+ "rules": { "guren/no-unvalidated-env-read": "error" }
27
+ }
28
+ ]
20
29
  // Type-aware rules (typescript/no-floating-promises and friends) need
21
30
  // `bun add -d oxlint-tsgolint` and `"options": { "typeAware": true }`.
22
31
  }
@@ -21,8 +21,8 @@
21
21
  "db:seed": "bunx guren db:seed"
22
22
  },
23
23
  "dependencies": {
24
- "@guren/cli": "^2.24.0",
25
- "@guren/core": "^1.19.0",
24
+ "@guren/cli": "^2.25.0",
25
+ "@guren/core": "^1.20.0",
26
26
  "@guren/inertia-client": "^1.2.1",
27
27
  "@guren/orm": "^2.11.0",
28
28
  "@inertiajs/react": "^3.6.1",
@@ -32,7 +32,7 @@
32
32
  "zod": "^4.5.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@guren/testing": "^1.11.0",
35
+ "@guren/testing": "^1.12.0",
36
36
  "@tailwindcss/vite": "^4.2.2",
37
37
  "@types/react": "^19.0.0",
38
38
  "@types/react-dom": "^19.0.0",