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