@guanghechen/path 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.
Files changed (2) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,8 +1,61 @@
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
+ - Move path types to @guanghechen/types
54
+
55
+ ### Improvements
56
+
57
+ - Switch to recommended ESLint stack
58
+
6
59
  ## 1.0.0-alpha.18 (2024-09-18)
7
60
 
8
61
  - :art: format codes ([177eb54](https://github.com/guanghechen/sora/commit/177eb54))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanghechen/path",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "Path utils.",
5
5
  "author": {
6
6
  "name": "guanghechen",
@@ -35,7 +35,7 @@
35
35
  "README.md"
36
36
  ],
37
37
  "dependencies": {
38
- "@guanghechen/types": "^2.0.1"
38
+ "@guanghechen/types": "^2.2.0"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "rollup -c ../../rollup.config.mjs",