@aomex/console 3.26.0 → 3.27.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 +19 -0
- package/bin.mjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.27.1](https://github.com/aomex/aomex/compare/v3.27.0...v3.27.1) (2025-05-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **console:** 动态引入tsImport ([964958f](https://github.com/aomex/aomex/commit/964958f79b083c15c9235cc7c84289b325581c4a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.27.0](https://github.com/aomex/aomex/compare/v3.26.0...v3.27.0) (2025-05-03)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aomex/console
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.26.0](https://github.com/aomex/aomex/compare/v3.25.0...v3.26.0) (2025-05-03)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aomex/console
|
package/bin.mjs
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { pathToFileURL } from 'node:url';
|
|
4
4
|
import { glob } from 'glob';
|
|
5
|
-
import { tsImport } from 'tsx/esm/api';
|
|
6
5
|
import { enableCompileCache } from 'node:module';
|
|
7
6
|
|
|
8
7
|
const fileName = 'cli.{ts,js,mts,mjs}';
|
|
@@ -23,6 +22,7 @@ process.env['AOMEX_CLI_MODE'] = '1';
|
|
|
23
22
|
enableCompileCache();
|
|
24
23
|
|
|
25
24
|
if (cliEntry.endsWith('ts')) {
|
|
25
|
+
const { tsImport } = await import('tsx/esm/api');
|
|
26
26
|
await tsImport(pathToFileURL(cliEntry).toString(), import.meta.url);
|
|
27
27
|
} else {
|
|
28
28
|
await import(pathToFileURL(cliEntry).toString());
|
package/dist/index.js
CHANGED