@qlover/create-app 0.2.1 → 0.3.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,5 +1,46 @@
1
1
  # @qlover/create-app
2
2
 
3
+ ## 0.3.1
4
+
5
+ ## 0.3.0
6
+
7
+ ### Minor Changes
8
+
9
+ #### ✨ Features
10
+
11
+ - integrate @qlover/logger into corekit-bridge (#373)
12
+
13
+ - Added @qlover/logger as a dependency across multiple files, replacing the previous logger from @qlover/fe-corekit.
14
+ - Updated type references to LoggerInterface in Bootstrap, ApiCatchPlugin, and ApiMockPlugin.
15
+ - Introduced ColorFormatter for enhanced logging capabilities, with tests added for ColorFormatter and ColorLogger.
16
+ - Updated tsconfig.json to include test files for better coverage.
17
+ - Adjusted pnpm-lock.yaml to reflect the new logger integration.
18
+
19
+ #### 🐞 Bug Fixes
20
+
21
+ - update ColorFormatter tests to utilize LogContext (#373)
22
+
23
+ - Modified ColorFormatter tests to use the new LogContext class for improved context handling.
24
+ - Adjusted the test setup to ensure proper formatting of color segments with the updated LogContext structure.
25
+ - Exported LogContext from the logger package for broader accessibility.
26
+
27
+ #### ♻️ Refactors
28
+
29
+ - enhance context handling and update ColorFormatter tests (#373)
30
+
31
+ - Refactored logger context handling to utilize a new LogContext class for better type safety and clarity.
32
+ - Updated ColorFormatter tests to use logger.context for passing context objects.
33
+ - Adjusted ColorFormatter methods to improve handling of color segments and context.
34
+ - Improved documentation for context usage in logger methods.
35
+
36
+ - replace ConsoleAppender with ConsoleHandler (#373)
37
+
38
+ - Updated tests and implementation to utilize ConsoleHandler instead of ConsoleAppender for improved logging functionality.
39
+ - Introduced ConsoleHandler class to manage log events and formatting.
40
+ - Adjusted Logger integration to reflect the new handler structure across various test files and implementations.
41
+
42
+ ***
43
+
3
44
  ## 0.2.1
4
45
 
5
46
  ## 0.2.0
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
+ import { LoggerInterface } from '@qlover/logger';
1
2
  import { FeScriptContext } from '@qlover/scripts-context';
2
- import { Logger } from '@qlover/fe-corekit';
3
3
  import { DistinctQuestion } from 'inquirer';
4
4
  import ignore from 'ignore';
5
5
 
@@ -67,7 +67,7 @@ declare class Generator {
67
67
  private copyer;
68
68
  private compose;
69
69
  constructor(context: Partial<FeScriptContext<GeneratorOptions>>);
70
- get logger(): Logger;
70
+ get logger(): LoggerInterface;
71
71
  steps(prompts: GeneratorPrompt[]): Promise<GeneratorContext>;
72
72
  action({ label, task }: {
73
73
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qlover/create-app",
3
- "version": "0.2.1",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./dist/index.cjs",
@@ -43,7 +43,7 @@
43
43
  "access": "public"
44
44
  },
45
45
  "devDependencies": {
46
- "@qlover/env-loader": "0.2.0"
46
+ "@qlover/env-loader": "0.3.0"
47
47
  },
48
48
  "dependencies": {
49
49
  "commander": "^13.1.0",
@@ -51,8 +51,9 @@
51
51
  "inquirer": "^12.3.2",
52
52
  "ora": "^8.1.1",
53
53
  "lodash": "^4.17.21",
54
- "@qlover/fe-corekit": "1.3.0",
55
- "@qlover/scripts-context": "0.1.1"
54
+ "@qlover/logger": "0.1.1",
55
+ "@qlover/fe-corekit": "1.3.1",
56
+ "@qlover/scripts-context": "0.2.1"
56
57
  },
57
58
  "scripts": {
58
59
  "build": "rollup -c",