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