create-velox-app 0.6.95 → 0.6.96

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,11 @@
1
1
  # create-velox-app
2
2
 
3
+ ## 0.6.96
4
+
5
+ ### Patch Changes
6
+
7
+ - updates to trpc scaffold template
8
+
3
9
  ## 0.6.95
4
10
 
5
11
  ### Patch Changes
@@ -30,8 +30,8 @@ function generateApiTsupConfig() {
30
30
  return compileTemplate('api/tsup.config.ts', DEFAULT_CONFIG);
31
31
  }
32
32
  function generateEnvExample(config) {
33
- // Reuse default env - same environment variables
34
- return compileTemplate('api/env.default', config);
33
+ // Use tRPC-specific env (no API_PREFIX since tRPC uses /trpc)
34
+ return compileTemplate('api/env.trpc', config);
35
35
  }
36
36
  function generatePrismaSchema(config) {
37
37
  // Reuse default schema - same data model
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-velox-app",
3
- "version": "0.6.95",
3
+ "version": "0.6.96",
4
4
  "description": "Project scaffolder for VeloxTS framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -0,0 +1,7 @@
1
+ # Database URL
2
+ DATABASE_URL="__DATABASE_URL__"
3
+
4
+ # Server Configuration
5
+ PORT=__API_PORT__
6
+ HOST=0.0.0.0
7
+ NODE_ENV=development
@@ -42,6 +42,15 @@ function RootLayout() {
42
42
  Users
43
43
  </Link>
44
44
  {/* @endif default */}
45
+ {/* @if trpc */}
46
+ <Link
47
+ to="/users"
48
+ className={styles.navLink}
49
+ activeProps={{ className: styles.navLinkActive }}
50
+ >
51
+ Users
52
+ </Link>
53
+ {/* @endif trpc */}
45
54
  {/* @if auth */}
46
55
  {isAuthenticated && (
47
56
  <Link