@veloxts/velox 0.7.0 → 0.7.1

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,6 +1,24 @@
1
1
  # @veloxts/velox
2
2
 
3
- ## 1.0.0
3
+ ## 0.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - security audit, bumps dependency packages
8
+ - Updated dependencies
9
+ - @veloxts/auth@0.7.1
10
+ - @veloxts/cache@0.7.1
11
+ - @veloxts/core@0.7.1
12
+ - @veloxts/events@0.7.1
13
+ - @veloxts/mail@0.7.1
14
+ - @veloxts/orm@0.7.1
15
+ - @veloxts/queue@0.7.1
16
+ - @veloxts/router@0.7.1
17
+ - @veloxts/scheduler@0.7.1
18
+ - @veloxts/storage@0.7.1
19
+ - @veloxts/validation@0.7.1
20
+
21
+ ## 0.7.0
4
22
 
5
23
  ### Minor Changes
6
24
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Preset plugin for automatic ecosystem package registration.
3
3
  */
4
- import type { VeloxApp } from '@veloxts/core';
4
+ import { type VeloxApp } from '@veloxts/core';
5
5
  import type { AuthPreset, EcosystemPreset, Environment, PresetOptions } from './types.js';
6
6
  /**
7
7
  * Register ecosystem plugins based on preset configuration.
@@ -1,9 +1,11 @@
1
1
  /**
2
2
  * Preset plugin for automatic ecosystem package registration.
3
3
  */
4
+ import { createLogger } from '@veloxts/core';
4
5
  import { getPreset } from './defaults.js';
5
6
  import { detectEnvironment } from './env.js';
6
7
  import { mergeDeep } from './merge.js';
8
+ const log = createLogger('velox');
7
9
  /**
8
10
  * All ecosystem packages that can be registered.
9
11
  */
@@ -97,7 +99,7 @@ export async function registerEcosystemPlugins(app, preset, options) {
97
99
  await app.register(plugin(config));
98
100
  if (!options?.silent) {
99
101
  const driver = info.getDriver(config);
100
- console.log(` ✓ ${info.name} [${driver}]`);
102
+ log.info(` ✓ ${info.name} [${driver}]`);
101
103
  }
102
104
  }
103
105
  catch (error) {
@@ -163,11 +165,11 @@ export async function usePresets(app, options = {}) {
163
165
  auth: merge(basePreset.auth, options.overrides?.auth),
164
166
  };
165
167
  if (!options.silent) {
166
- console.log(`\n📦 VeloxTS Ecosystem Presets [${env}]`);
168
+ log.info(`\nVeloxTS Ecosystem Presets [${env}]`);
167
169
  }
168
170
  await registerEcosystemPlugins(app, finalPreset, options);
169
171
  if (!options.silent) {
170
- console.log('');
172
+ log.info('');
171
173
  }
172
174
  }
173
175
  /**
@@ -4,7 +4,9 @@
4
4
  * Validates that required environment variables, secrets, and security
5
5
  * settings are properly configured before the application starts.
6
6
  */
7
+ import { createLogger } from '@veloxts/core';
7
8
  import { detectEnvironment } from './env.js';
9
+ const log = createLogger('velox');
8
10
  /**
9
11
  * Default security requirements for production.
10
12
  */
@@ -152,14 +154,14 @@ export function validateSecurityOrThrow(requirements) {
152
154
  }
153
155
  // Log warnings even if validation passes
154
156
  if (result.warnings.length > 0) {
155
- console.warn('\nSecurity warnings:');
157
+ log.warn('\nSecurity warnings:');
156
158
  for (const warning of result.warnings) {
157
- console.warn(` [${warning.category}] ${warning.key}: ${warning.message}`);
159
+ log.warn(` [${warning.category}] ${warning.key}: ${warning.message}`);
158
160
  if (warning.suggestion) {
159
- console.warn(` Suggestion: ${warning.suggestion}`);
161
+ log.warn(` Suggestion: ${warning.suggestion}`);
160
162
  }
161
163
  }
162
- console.warn('');
164
+ log.warn('');
163
165
  }
164
166
  }
165
167
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloxts/velox",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Complete VeloxTS framework - batteries included",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -39,30 +39,30 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@veloxts/router": "0.7.0",
43
- "@veloxts/core": "0.7.0",
44
- "@veloxts/orm": "0.7.0",
45
- "@veloxts/validation": "0.7.0",
46
- "@veloxts/auth": "0.7.0"
42
+ "@veloxts/validation": "0.7.1",
43
+ "@veloxts/core": "0.7.1",
44
+ "@veloxts/router": "0.7.1",
45
+ "@veloxts/auth": "0.7.1",
46
+ "@veloxts/orm": "0.7.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "typescript": "5.9.3",
50
50
  "vitest": "4.0.18",
51
- "@veloxts/cache": "0.7.0",
52
- "@veloxts/events": "0.7.0",
53
- "@veloxts/mail": "0.7.0",
54
- "@veloxts/queue": "0.7.0",
55
- "@veloxts/scheduler": "0.7.0",
56
- "@veloxts/storage": "0.7.0"
51
+ "@veloxts/cache": "0.7.1",
52
+ "@veloxts/events": "0.7.1",
53
+ "@veloxts/scheduler": "0.7.1",
54
+ "@veloxts/mail": "0.7.1",
55
+ "@veloxts/storage": "0.7.1",
56
+ "@veloxts/queue": "0.7.1"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "zod": "^4.3.0",
60
- "@veloxts/queue": "0.7.0",
61
- "@veloxts/mail": "0.7.0",
62
- "@veloxts/cache": "0.7.0",
63
- "@veloxts/storage": "0.7.0",
64
- "@veloxts/scheduler": "0.7.0",
65
- "@veloxts/events": "0.7.0"
60
+ "@veloxts/mail": "0.7.1",
61
+ "@veloxts/storage": "0.7.1",
62
+ "@veloxts/queue": "0.7.1",
63
+ "@veloxts/cache": "0.7.1",
64
+ "@veloxts/scheduler": "0.7.1",
65
+ "@veloxts/events": "0.7.1"
66
66
  },
67
67
  "peerDependenciesMeta": {
68
68
  "@veloxts/cache": {