@guanghechen/config 2.0.1 → 2.1.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 +55 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,63 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 2.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ### @guanghechen/reporter
|
|
8
|
+
- feat: add `setLevel` method for dynamic log level change
|
|
9
|
+
- refactor: split source into modular files (`level.ts`, `chalk.ts`, `types.ts`, `reporter.ts`)
|
|
10
|
+
- refactor: move `IReporter` types from `@guanghechen/types` to `@guanghechen/reporter`
|
|
11
|
+
- export: add level utilities (`LogLevelEnum`, `ILogLevel`, `LOG_LEVELS`, `LOG_LEVEL_VALUES`,
|
|
12
|
+
`isLogLevel`, `getLogLevelValue`, `resolveLogLevel`)
|
|
13
|
+
- export: add chalk utilities (`ANSI`, `formatTag`)
|
|
14
|
+
|
|
15
|
+
### @guanghechen/types
|
|
16
|
+
- refactor: remove `IReporter` and `IReporterLevel` exports (moved to `@guanghechen/reporter`)
|
|
17
|
+
|
|
18
|
+
### @guanghechen/commander
|
|
19
|
+
- feat: add predefined options `logLevelOption` and `silentOption` with `apply` callback support
|
|
20
|
+
- refactor: use `ILogLevel` from `@guanghechen/reporter` instead of `IReporterLevel`
|
|
21
|
+
|
|
22
|
+
### Dependent packages
|
|
23
|
+
- chore: bump version for packages depending on `@guanghechen/types`, `@guanghechen/reporter`, or
|
|
24
|
+
`@guanghechen/commander`
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies:
|
|
29
|
+
- @guanghechen/types@2.2.0
|
|
30
|
+
|
|
3
31
|
All notable changes to this project will be documented in this file. See
|
|
4
32
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
33
|
|
|
34
|
+
## 2.0.1 (2025-02-07)
|
|
35
|
+
|
|
36
|
+
### Improvements
|
|
37
|
+
|
|
38
|
+
- Clean up build configs and standardize package exports
|
|
39
|
+
|
|
40
|
+
### Documentation
|
|
41
|
+
|
|
42
|
+
- Update README.md
|
|
43
|
+
|
|
44
|
+
### Miscellaneous
|
|
45
|
+
|
|
46
|
+
- Add LICENSE file
|
|
47
|
+
- Migrate from lerna to changesets
|
|
48
|
+
|
|
49
|
+
## 2.0.0 (2025-01-15)
|
|
50
|
+
|
|
51
|
+
### Breaking Changes
|
|
52
|
+
|
|
53
|
+
- Merge config.types into config package
|
|
54
|
+
- Move resource types to @guanghechen/types
|
|
55
|
+
|
|
56
|
+
### Improvements
|
|
57
|
+
|
|
58
|
+
- Remove unused workspace dependencies
|
|
59
|
+
- Switch to recommended ESLint stack
|
|
60
|
+
|
|
6
61
|
## 1.0.0-alpha.18 (2024-09-18)
|
|
7
62
|
|
|
8
63
|
- :rotating_light: improve: fix lint ([3083212](https://github.com/guanghechen/sora/commit/3083212))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guanghechen/config",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "guanghechen",
|
|
6
6
|
"url": "https://github.com/guanghechen/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@guanghechen/byte": "^2.0.1",
|
|
39
39
|
"@guanghechen/invariant": "^7.0.1",
|
|
40
|
-
"@guanghechen/types": "^2.0
|
|
40
|
+
"@guanghechen/types": "^2.2.0",
|
|
41
41
|
"@guanghechen/version": "^1.0.1"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|