@appweaver/create-weaver-app 1.0.8 → 1.0.10

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": "@appweaver/create-weaver-app",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "Appweaver - the backend framework for AI-first development (@create-weaver-app)",
5
5
  "author": "Luka Matosevic",
6
6
  "license": "MIT",
@@ -99,19 +99,20 @@ The config object is frozen with `Object.freeze()` after loading to prevent runt
99
99
 
100
100
  ### Server (SERVER_*)
101
101
 
102
- | Property | Type | Default | Description |
103
- |----------------------------------|---------|--------------|-----------------------------------------------------|
104
- | `SERVER_PORT` | integer | `5000` | HTTP server listening port. |
105
- | `SERVER_HOST` | string | `'0.0.0.0'` | HTTP server listening host/IP. |
106
- | `SERVER_API_PREFIX` | string | `'/api'` | Base path prefix for all API routes. |
107
- | `SERVER_BODY_MAX_SIZE` | string | `100M` | Maximum request body size. |
108
- | `SERVER_STATIC_ENABLED` | boolean | `true` | Enable serving static files from disk. |
109
- | `SERVER_STATIC_DIR_PATH` | string | `'./public'` | Directory containing static files. |
110
- | `SERVER_STATIC_ROUTE_PREFIX` | string | `'/public'` | URL prefix for static file routes. |
111
- | `SERVER_STATIC_MAX_AGE` | string | `'30d'` | Cache-Control max-age for static files. |
112
- | `SERVER_STATIC_ALLOWED_HOST` | string? | - | Host allowed to access static files (CORS). |
113
- | `SERVER_TRUST_PROXY` | boolean | `true` | Trust `X-Forwarded-*` headers from reverse proxies. |
114
- | `SERVER_REQUEST_LOGGING_ENABLED` | boolean | `false` | Enable HTTP request/response logging. |
102
+ | Property | Type | Default | Description |
103
+ |----------------------------------|----------|--------------|------------------------------------------------------------|
104
+ | `SERVER_PORT` | integer | `5000` | HTTP server listening port. |
105
+ | `SERVER_HOST` | string | `'0.0.0.0'` | HTTP server listening host/IP. |
106
+ | `SERVER_API_PREFIX` | string | `'/api'` | Base path prefix for all API routes. |
107
+ | `SERVER_BODY_MAX_SIZE` | string | `100M` | Maximum request body size. |
108
+ | `SERVER_STATIC_ENABLED` | boolean | `true` | Enable serving static files from disk. |
109
+ | `SERVER_STATIC_DIR_PATH` | string | `'./public'` | Directory containing static files. |
110
+ | `SERVER_STATIC_ROUTE_PREFIX` | string | `'/public'` | URL prefix for static file routes. |
111
+ | `SERVER_STATIC_RESPONSE_HEADERS` | string[] | `[]` | HTTP headers for static files. Format: "{header}: {value}" |
112
+ | `SERVER_STATIC_MAX_AGE` | string | `'30d'` | Cache-Control max-age for static files. |
113
+ | `SERVER_STATIC_ALLOWED_HOST` | string? | - | Host allowed to access static files (CORS). |
114
+ | `SERVER_TRUST_PROXY` | boolean | `true` | Trust `X-Forwarded-*` headers from reverse proxies. |
115
+ | `SERVER_REQUEST_LOGGING_ENABLED` | boolean | `false` | Enable HTTP request/response logging. |
115
116
 
116
117
  ### Rate limiting (RATE_LIMIT_*)
117
118
 
@@ -0,0 +1,46 @@
1
+ # Compiled output
2
+ /dist
3
+ /node_modules
4
+
5
+ # Logs
6
+ logs
7
+ *.log
8
+ npm-debug.log*
9
+ pnpm-debug.log*
10
+ yarn-debug.log*
11
+ yarn-error.log*
12
+ lerna-debug.log*
13
+
14
+ # Tests
15
+ /coverage
16
+ /reports
17
+ /temp
18
+ /.nyc_output
19
+
20
+ # Local environment files
21
+ .env
22
+
23
+ # Local storage files
24
+ storage
25
+
26
+ # Local database file
27
+ *.db
28
+
29
+ # OS
30
+ .DS_Store
31
+
32
+ # IDEs and editors
33
+ /.idea
34
+ .project
35
+ .classpath
36
+ .c9/
37
+ *.launch
38
+ .settings/
39
+ *.sublime-workspace
40
+
41
+ # IDE - VSCode
42
+ .vscode/*
43
+ !.vscode/settings.json
44
+ !.vscode/tasks.json
45
+ !.vscode/launch.json
46
+ !.vscode/extensions.json
@@ -6,13 +6,7 @@ import tsEslint from 'typescript-eslint';
6
6
 
7
7
  export default tsEslint.config(
8
8
  {
9
- ignores: [
10
- 'node_modules',
11
- 'dist',
12
- 'database/client',
13
- '**/*.js',
14
- '**/*.d.ts'
15
- ]
9
+ ignores: ['node_modules', 'dist', 'database/client', '**/*.js', '**/*.d.ts']
16
10
  },
17
11
  eslint.configs.recommended,
18
12
  ...tsEslint.configs.recommendedTypeChecked.map((config) => ({ ...config })),