@aomex/console 3.27.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 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.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
+
6
17
  # [3.27.0](https://github.com/aomex/aomex/compare/v3.26.0...v3.27.0) (2025-05-03)
7
18
 
8
19
  **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
@@ -1,5 +1,5 @@
1
1
  // src/utils/meta.ts
2
- var version = "3.27.0";
2
+ var version = "3.27.1";
3
3
  var scriptName = "aomex";
4
4
 
5
5
  // src/override/console-middleware.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aomex/console",
3
- "version": "3.27.0",
3
+ "version": "3.27.1",
4
4
  "description": "控制台应用",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",