@aomex/console 3.23.3 → 3.25.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 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.25.0](https://github.com/aomex/aomex/compare/v3.24.0...v3.25.0) (2025-04-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **console:** cli 模式下开启编译缓存 ([6715f9f](https://github.com/aomex/aomex/commit/6715f9fabc326fb666fa015037b54f35d53b05e7))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.24.0](https://github.com/aomex/aomex/compare/v3.23.3...v3.24.0) (2025-04-20)
18
+
19
+ **Note:** Version bump only for package @aomex/console
20
+
21
+
22
+
23
+
24
+
6
25
  ## [3.23.3](https://github.com/aomex/aomex/compare/v3.23.2...v3.23.3) (2025-04-18)
7
26
 
8
27
 
package/bin.mjs CHANGED
@@ -3,6 +3,7 @@
3
3
  import { pathToFileURL } from 'node:url';
4
4
  import { glob } from 'glob';
5
5
  import { tsImport } from 'tsx/esm/api';
6
+ import { enableCompileCache } from 'node:module';
6
7
 
7
8
  const fileName = 'cli.{ts,js,mts,mjs}';
8
9
  const files = await glob([fileName, `src/${fileName}`], { magicalBraces: true });
@@ -19,6 +20,8 @@ if (!cliEntry) {
19
20
 
20
21
  process.env['AOMEX_CLI_MODE'] = '1';
21
22
 
23
+ enableCompileCache();
24
+
22
25
  if (cliEntry.endsWith('ts')) {
23
26
  await tsImport(pathToFileURL(cliEntry).toString(), import.meta.url);
24
27
  } else {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/utils/meta.ts
2
- var version = "3.23.3";
2
+ var version = "3.25.0";
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.23.3",
3
+ "version": "3.25.0",
4
4
  "description": "控制台应用",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",