create-velox-app 0.8.2 → 0.9.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # create-velox-app
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat(router): add raw() response primitive for redirects, cookies, custom headers and .check() post-middleware authorization primitive
8
+
9
+ ## 0.8.3
10
+
11
+ ### Patch Changes
12
+
13
+ - bump dependencies across packages (April 2026)
14
+
3
15
  ## 0.8.2
4
16
 
5
17
  ### Patch Changes
@@ -175,7 +175,7 @@ export function applyPlaceholdersToJson(content, config) {
175
175
  return applyPlaceholders(jsonString, config);
176
176
  }
177
177
  // Database adapter versions
178
- const PRISMA_VERSION = '7.4.0';
178
+ const PRISMA_VERSION = '7.8.0';
179
179
  const PG_VERSION = '8.16.0';
180
180
  /**
181
181
  * Apply database-specific dependency modifications to package.json content.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-velox-app",
3
- "version": "0.8.2",
3
+ "version": "0.9.0",
4
4
  "description": "Project scaffolder for VeloxTS framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,16 +23,16 @@
23
23
  "CHANGELOG.md"
24
24
  ],
25
25
  "dependencies": {
26
- "@clack/prompts": "1.1.0",
27
- "ora": "9.3.0",
26
+ "@clack/prompts": "1.2.0",
27
+ "ora": "9.4.0",
28
28
  "picocolors": "1.1.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@playwright/test": "1.58.2",
32
- "@types/node": "25.5.0",
33
- "@vitest/coverage-v8": "4.1.0",
31
+ "@playwright/test": "1.59.1",
32
+ "@types/node": "25.6.0",
33
+ "@vitest/coverage-v8": "4.1.5",
34
34
  "typescript": "5.9.3",
35
- "vitest": "4.1.0"
35
+ "vitest": "4.1.5"
36
36
  },
37
37
  "keywords": [
38
38
  "velox",
@@ -18,9 +18,9 @@
18
18
  "postinstall": "prisma generate"
19
19
  },
20
20
  "dependencies": {
21
- "@prisma/adapter-better-sqlite3": "7.5.0",
22
- "@prisma/client": "7.5.0",
23
- "@prisma/client-runtime-utils": "7.5.0",
21
+ "@prisma/adapter-better-sqlite3": "7.8.0",
22
+ "@prisma/client": "7.8.0",
23
+ "@prisma/client-runtime-utils": "7.8.0",
24
24
  "@veloxts/auth": "__VELOXTS_VERSION__",
25
25
  "@veloxts/core": "__VELOXTS_VERSION__",
26
26
  "@veloxts/velox": "__VELOXTS_VERSION__",
@@ -34,7 +34,7 @@
34
34
  "@types/bcrypt": "6.0.0",
35
35
  "@types/node": "25.5.0",
36
36
  "hot-hook": "0.4.0",
37
- "prisma": "7.5.0",
37
+ "prisma": "7.8.0",
38
38
  "tsup": "8.5.1",
39
39
  "tsx": "4.21.0",
40
40
  "typescript": "5.9.3"
@@ -18,9 +18,9 @@
18
18
  "postinstall": "prisma generate"
19
19
  },
20
20
  "dependencies": {
21
- "@prisma/adapter-better-sqlite3": "7.5.0",
22
- "@prisma/client": "7.5.0",
23
- "@prisma/client-runtime-utils": "7.5.0",
21
+ "@prisma/adapter-better-sqlite3": "7.8.0",
22
+ "@prisma/client": "7.8.0",
23
+ "@prisma/client-runtime-utils": "7.8.0",
24
24
  "@veloxts/core": "__VELOXTS_VERSION__",
25
25
  "@veloxts/velox": "__VELOXTS_VERSION__",
26
26
  "better-sqlite3": "12.8.0",
@@ -31,7 +31,7 @@
31
31
  "devDependencies": {
32
32
  "@types/node": "25.5.0",
33
33
  "hot-hook": "0.4.0",
34
- "prisma": "7.5.0",
34
+ "prisma": "7.8.0",
35
35
  "tsup": "8.5.1",
36
36
  "tsx": "4.21.0",
37
37
  "typescript": "5.9.3"
@@ -18,9 +18,9 @@
18
18
  "postinstall": "prisma generate"
19
19
  },
20
20
  "dependencies": {
21
- "@prisma/adapter-better-sqlite3": "7.5.0",
22
- "@prisma/client": "7.5.0",
23
- "@prisma/client-runtime-utils": "7.5.0",
21
+ "@prisma/adapter-better-sqlite3": "7.8.0",
22
+ "@prisma/client": "7.8.0",
23
+ "@prisma/client-runtime-utils": "7.8.0",
24
24
  "@trpc/server": "11.12.0",
25
25
  "@veloxts/core": "__VELOXTS_VERSION__",
26
26
  "@veloxts/velox": "__VELOXTS_VERSION__",
@@ -32,7 +32,7 @@
32
32
  "devDependencies": {
33
33
  "@types/node": "25.5.0",
34
34
  "hot-hook": "0.4.0",
35
- "prisma": "7.5.0",
35
+ "prisma": "7.8.0",
36
36
  "tsup": "8.5.1",
37
37
  "tsx": "4.21.0",
38
38
  "typescript": "5.9.3"
@@ -147,7 +147,7 @@ export const authProcedures = procedures('auth', {
147
147
  const hashToVerify = user?.password || DUMMY_HASH;
148
148
  const isValid = await verifyPassword(input.password, hashToVerify);
149
149
 
150
- if (!user || !user.password || !isValid) {
150
+ if (!user?.password || !isValid) {
151
151
  throw new AuthError('Invalid email or password', 401, 'INVALID_CREDENTIALS');
152
152
  }
153
153
 
@@ -17,11 +17,11 @@
17
17
  "db:studio": "__WS_API__ db:studio"
18
18
  },
19
19
  "dependencies": {
20
- "@prisma/client-runtime-utils": "7.5.0",
20
+ "@prisma/client-runtime-utils": "7.8.0",
21
21
  "@veloxts/velox": "__VELOXTS_VERSION__"
22
22
  },
23
23
  "devDependencies": {
24
- "@types/node": "25.5.0",
24
+ "@types/node": "25.6.0",
25
25
  "@veloxts/cli": "__VELOXTS_VERSION__",
26
26
  "@veloxts/mcp": "__VELOXTS_VERSION__",
27
27
  "tsx": "4.21.0",
@@ -17,29 +17,29 @@
17
17
  "lint:client": "./scripts/check-client-imports.sh"
18
18
  },
19
19
  "dependencies": {
20
- "@prisma/adapter-better-sqlite3": "7.5.0",
21
- "@prisma/client": "7.5.0",
22
- "@prisma/client-runtime-utils": "7.5.0",
23
- "better-sqlite3": "12.8.0",
20
+ "@prisma/adapter-better-sqlite3": "7.8.0",
21
+ "@prisma/client": "7.8.0",
22
+ "@prisma/client-runtime-utils": "7.8.0",
23
+ "better-sqlite3": "12.9.0",
24
24
  "@veloxts/core": "__VELOXTS_VERSION__",
25
25
  "@veloxts/orm": "__VELOXTS_VERSION__",
26
26
  "@veloxts/router": "__VELOXTS_VERSION__",
27
27
  "@veloxts/validation": "__VELOXTS_VERSION__",
28
28
  "@veloxts/web": "__VELOXTS_VERSION__",
29
29
  "@vinxi/server-functions": "0.5.1",
30
- "dotenv": "17.3.1",
31
- "react": "19.2.4",
32
- "react-dom": "19.2.4",
30
+ "dotenv": "17.4.2",
31
+ "react": "19.2.5",
32
+ "react-dom": "19.2.5",
33
33
  "vinxi": "0.5.11",
34
34
  "zod": "4.3.6"
35
35
  },
36
36
  "devDependencies": {
37
- "@types/node": "25.5.0",
37
+ "@types/node": "25.6.0",
38
38
  "@types/react": "19.2.14",
39
39
  "@types/react-dom": "19.2.3",
40
40
  "@veloxts/cli": "__VELOXTS_VERSION__",
41
41
  "@veloxts/mcp": "__VELOXTS_VERSION__",
42
- "prisma": "7.5.0",
42
+ "prisma": "7.8.0",
43
43
  "typescript": "5.9.3"
44
44
  }
45
45
  }
@@ -17,10 +17,10 @@
17
17
  "lint:client": "./scripts/check-client-imports.sh"
18
18
  },
19
19
  "dependencies": {
20
- "@prisma/adapter-better-sqlite3": "7.5.0",
21
- "@prisma/client": "7.5.0",
22
- "@prisma/client-runtime-utils": "7.5.0",
23
- "better-sqlite3": "12.8.0",
20
+ "@prisma/adapter-better-sqlite3": "7.8.0",
21
+ "@prisma/client": "7.8.0",
22
+ "@prisma/client-runtime-utils": "7.8.0",
23
+ "better-sqlite3": "12.9.0",
24
24
  "@veloxts/auth": "__VELOXTS_VERSION__",
25
25
  "@veloxts/core": "__VELOXTS_VERSION__",
26
26
  "@veloxts/orm": "__VELOXTS_VERSION__",
@@ -29,20 +29,20 @@
29
29
  "@veloxts/web": "__VELOXTS_VERSION__",
30
30
  "@vinxi/server-functions": "0.5.1",
31
31
  "bcrypt": "6.0.0",
32
- "dotenv": "17.3.1",
33
- "react": "19.2.4",
34
- "react-dom": "19.2.4",
32
+ "dotenv": "17.4.2",
33
+ "react": "19.2.5",
34
+ "react-dom": "19.2.5",
35
35
  "vinxi": "0.5.11",
36
36
  "zod": "4.3.6"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/bcrypt": "6.0.0",
40
- "@types/node": "25.5.0",
40
+ "@types/node": "25.6.0",
41
41
  "@types/react": "19.2.14",
42
42
  "@types/react-dom": "19.2.3",
43
43
  "@veloxts/cli": "__VELOXTS_VERSION__",
44
44
  "@veloxts/mcp": "__VELOXTS_VERSION__",
45
- "prisma": "7.5.0",
45
+ "prisma": "7.8.0",
46
46
  "typescript": "5.9.3"
47
47
  }
48
48
  }
@@ -146,7 +146,7 @@ export const authProcedures = procedures('auth', {
146
146
  const hashToVerify = user?.password || DUMMY_HASH;
147
147
  const isValid = await verifyPassword(input.password, hashToVerify);
148
148
 
149
- if (!user || !user.password || !isValid) {
149
+ if (!user?.password || !isValid) {
150
150
  throw new AuthError('Invalid email or password', 401, 'INVALID_CREDENTIALS');
151
151
  }
152
152
 
@@ -10,20 +10,20 @@
10
10
  "type-check": "tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "@tanstack/react-query": "5.90.21",
14
- "@tanstack/react-router": "1.167.0",
13
+ "@tanstack/react-query": "5.100.3",
14
+ "@tanstack/react-router": "1.168.24",
15
15
  "@veloxts/client": "__VELOXTS_VERSION__",
16
- "react": "19.2.4",
17
- "react-dom": "19.2.4",
16
+ "react": "19.2.5",
17
+ "react-dom": "19.2.5",
18
18
  "react-error-boundary": "6.1.1"
19
19
  },
20
20
  "devDependencies": {
21
- "@tanstack/router-plugin": "1.166.9",
22
- "@types/node": "25.5.0",
21
+ "@tanstack/router-plugin": "1.167.26",
22
+ "@types/node": "25.6.0",
23
23
  "@types/react": "19.2.14",
24
24
  "@types/react-dom": "19.2.3",
25
25
  "@vitejs/plugin-react": "5.2.0",
26
26
  "typescript": "5.9.3",
27
- "vite": "7.3.1"
27
+ "vite": "7.3.2"
28
28
  }
29
29
  }