@aomex/console 3.23.2 → 3.23.3
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 -3
- package/dist/index.js +1 -1
- package/package.json +2 -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.23.3](https://github.com/aomex/aomex/compare/v3.23.2...v3.23.3) (2025-04-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Reverts
|
|
10
|
+
|
|
11
|
+
* **console:** 使用glob包代替fs.glob ([f6dde24](https://github.com/aomex/aomex/commit/f6dde24ed1b2a4e320d219bb6a1613491b98bdbb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [3.23.2](https://github.com/aomex/aomex/compare/v3.23.1...v3.23.2) (2025-04-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aomex/console
|
package/bin.mjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { pathToFileURL } from 'node:url';
|
|
4
|
-
import {
|
|
4
|
+
import { glob } from 'glob';
|
|
5
5
|
import { tsImport } from 'tsx/esm/api';
|
|
6
|
-
import { join } from 'node:path';
|
|
7
6
|
|
|
8
7
|
const fileName = 'cli.{ts,js,mts,mjs}';
|
|
9
|
-
const files =
|
|
8
|
+
const files = await glob([fileName, `src/${fileName}`], { magicalBraces: true });
|
|
10
9
|
const cliEntry = files[0];
|
|
11
10
|
|
|
12
11
|
if (!cliEntry) {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aomex/console",
|
|
3
|
-
"version": "3.23.
|
|
3
|
+
"version": "3.23.3",
|
|
4
4
|
"description": "控制台应用",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"@aomex/internal-file-import": "",
|
|
34
34
|
"@aomex/internal-tools": "",
|
|
35
35
|
"ansi-escapes": "^7.0.0",
|
|
36
|
+
"glob": "^10.3.10",
|
|
36
37
|
"is-unicode-supported": "^2.1.0",
|
|
37
38
|
"log-symbols": "^7.0.0",
|
|
38
39
|
"log-update": "^6.1.0",
|