@aomex/console 3.21.1 → 3.22.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 +11 -0
- package/bin.mjs +2 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.22.0](https://github.com/aomex/aomex/compare/v3.21.1...v3.22.0) (2025-04-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **console:** 增加 AOMEX_CLI_MODE 环境变量 ([f8c9372](https://github.com/aomex/aomex/commit/f8c937278cb652629f293a14925dd9815e0c769c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [3.21.1](https://github.com/aomex/aomex/compare/v3.21.0...v3.21.1) (2025-04-06)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aomex/console
|
package/bin.mjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -397,4 +397,12 @@ declare class Commander<T extends ConsoleMiddlewareToken[] | [] = any[], Props e
|
|
|
397
397
|
|
|
398
398
|
declare const commanders: (options: GlobPathOptions | Commander[]) => ConsoleMiddleware;
|
|
399
399
|
|
|
400
|
+
declare global {
|
|
401
|
+
namespace NodeJS {
|
|
402
|
+
interface ProcessEnv {
|
|
403
|
+
AOMEX_CLI_MODE?: '1';
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
400
408
|
export { Builder, type BuilderOptions, Commander, type CommanderOptions, ConsoleApp, ConsoleContext, ConsoleDocument, type ConsoleHelpInjector, ConsoleInput, ConsoleMiddleware, type ConsoleMiddlewareToken, collectConsoleDocument, commanders, options, scriptName, terminal, version };
|
package/dist/index.js
CHANGED