@eggjs/bin 8.0.0-beta.29 → 8.0.0-beta.31

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.
@@ -1,23 +1,23 @@
1
1
  import { ForkNodeOptions } from "../baseCommand.js";
2
2
  import { Test } from "./test.js";
3
- import * as _oclif_core_interfaces6 from "@oclif/core/interfaces";
3
+ import * as _oclif_core_interfaces0 from "@oclif/core/interfaces";
4
4
 
5
5
  //#region src/commands/cov.d.ts
6
6
  declare class Cov<T extends typeof Cov> extends Test<T> {
7
7
  static description: string;
8
8
  static examples: string[];
9
9
  static flags: {
10
- prerequire: _oclif_core_interfaces6.BooleanFlag<boolean>;
11
- exclude: _oclif_core_interfaces6.OptionFlag<string[] | undefined, _oclif_core_interfaces6.CustomOptions>;
12
- c8: _oclif_core_interfaces6.OptionFlag<string, _oclif_core_interfaces6.CustomOptions>;
13
- bail: _oclif_core_interfaces6.BooleanFlag<boolean>;
14
- timeout: _oclif_core_interfaces6.OptionFlag<number, _oclif_core_interfaces6.CustomOptions>;
15
- 'no-timeout': _oclif_core_interfaces6.BooleanFlag<boolean>;
16
- grep: _oclif_core_interfaces6.OptionFlag<string | undefined, _oclif_core_interfaces6.CustomOptions>;
17
- changed: _oclif_core_interfaces6.BooleanFlag<boolean>;
18
- parallel: _oclif_core_interfaces6.BooleanFlag<boolean>;
19
- jobs: _oclif_core_interfaces6.OptionFlag<number, _oclif_core_interfaces6.CustomOptions>;
20
- 'auto-agent': _oclif_core_interfaces6.BooleanFlag<boolean>;
10
+ prerequire: _oclif_core_interfaces0.BooleanFlag<boolean>;
11
+ exclude: _oclif_core_interfaces0.OptionFlag<string[] | undefined, _oclif_core_interfaces0.CustomOptions>;
12
+ c8: _oclif_core_interfaces0.OptionFlag<string, _oclif_core_interfaces0.CustomOptions>;
13
+ bail: _oclif_core_interfaces0.BooleanFlag<boolean>;
14
+ timeout: _oclif_core_interfaces0.OptionFlag<number, _oclif_core_interfaces0.CustomOptions>;
15
+ 'no-timeout': _oclif_core_interfaces0.BooleanFlag<boolean>;
16
+ grep: _oclif_core_interfaces0.OptionFlag<string | undefined, _oclif_core_interfaces0.CustomOptions>;
17
+ changed: _oclif_core_interfaces0.BooleanFlag<boolean>;
18
+ parallel: _oclif_core_interfaces0.BooleanFlag<boolean>;
19
+ jobs: _oclif_core_interfaces0.OptionFlag<number, _oclif_core_interfaces0.CustomOptions>;
20
+ 'auto-agent': _oclif_core_interfaces0.BooleanFlag<boolean>;
21
21
  };
22
22
  protected get defaultExcludes(): string[];
23
23
  protected forkNode(modulePath: string, forkArgs: string[], options?: ForkNodeOptions): Promise<void>;
@@ -1,15 +1,15 @@
1
1
  import { BaseCommand } from "../baseCommand.js";
2
- import * as _oclif_core_interfaces0 from "@oclif/core/interfaces";
2
+ import * as _oclif_core_interfaces15 from "@oclif/core/interfaces";
3
3
 
4
4
  //#region src/commands/dev.d.ts
5
5
  declare class Dev<T extends typeof Dev> extends BaseCommand<T> {
6
6
  static description: string;
7
7
  static examples: string[];
8
8
  static flags: {
9
- port: _oclif_core_interfaces0.OptionFlag<number | undefined, _oclif_core_interfaces0.CustomOptions>;
10
- workers: _oclif_core_interfaces0.OptionFlag<number, _oclif_core_interfaces0.CustomOptions>;
11
- framework: _oclif_core_interfaces0.OptionFlag<string | undefined, _oclif_core_interfaces0.CustomOptions>;
12
- sticky: _oclif_core_interfaces0.BooleanFlag<boolean>;
9
+ port: _oclif_core_interfaces15.OptionFlag<number | undefined, _oclif_core_interfaces15.CustomOptions>;
10
+ workers: _oclif_core_interfaces15.OptionFlag<number, _oclif_core_interfaces15.CustomOptions>;
11
+ framework: _oclif_core_interfaces15.OptionFlag<string | undefined, _oclif_core_interfaces15.CustomOptions>;
12
+ sticky: _oclif_core_interfaces15.BooleanFlag<boolean>;
13
13
  };
14
14
  run(): Promise<void>;
15
15
  protected formatEggStartOptions(): Promise<{
@@ -35,7 +35,7 @@ async function main() {
35
35
  if (npmRunRoot) {
36
36
  const pkgFile = path.join(npmRunRoot, 'package.json');
37
37
  const pkgFileExists = await exists(pkgFile);
38
- debug('pkgFile: %o exists: %o', pkgFile, pkgFileExists);
38
+ debug('pkgFile: %s exists: %s', pkgFile, !!pkgFileExists);
39
39
  if (pkgFileExists) {
40
40
  const pkg = await readJSON(pkgFile);
41
41
  // should set pkg.egg.declarations = true or pkg.egg.typescript = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/bin",
3
- "version": "8.0.0-beta.29",
3
+ "version": "8.0.0-beta.31",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -31,10 +31,10 @@
31
31
  "ts-node": "^10.9.2",
32
32
  "tsconfig-paths": "^4.2.0",
33
33
  "utility": "^2.5.0",
34
- "@eggjs/utils": "5.0.0-beta.29"
34
+ "@eggjs/utils": "5.0.0-beta.31"
35
35
  },
36
36
  "peerDependencies": {
37
- "@eggjs/mock": "7.0.0-beta.29"
37
+ "@eggjs/mock": "7.0.0-beta.31"
38
38
  },
39
39
  "peerDependenciesMeta": {
40
40
  "@eggjs/mock": {
@@ -42,10 +42,10 @@
42
42
  }
43
43
  },
44
44
  "devDependencies": {
45
- "@types/node": "^24.8.1",
45
+ "@types/node": "^24.9.1",
46
46
  "@types/mocha": "^10.0.10",
47
47
  "@swc-node/register": "^1.11.1",
48
- "@swc/core": "^1.13.5",
48
+ "@swc/core": "1.13.5",
49
49
  "assert-file": "1",
50
50
  "coffee": "5",
51
51
  "cpy": "^12.0.0",
@@ -54,11 +54,11 @@
54
54
  "npminstall": "^7.12.0",
55
55
  "rimraf": "^6.0.1",
56
56
  "typescript": "^5.9.3",
57
- "tsdown": "0.15.6",
58
- "@eggjs/supertest": "9.0.0-beta.29",
59
- "@eggjs/mock": "7.0.0-beta.29",
60
- "@eggjs/tsconfig": "3.1.0-beta.29",
61
- "egg": "4.1.0-beta.29"
57
+ "tsdown": "0.15.10",
58
+ "@eggjs/supertest": "9.0.0-beta.31",
59
+ "@eggjs/mock": "7.0.0-beta.31",
60
+ "@eggjs/tsconfig": "3.1.0-beta.31",
61
+ "egg": "4.1.0-beta.31"
62
62
  },
63
63
  "type": "module",
64
64
  "files": [
@@ -35,7 +35,7 @@ async function main() {
35
35
  if (npmRunRoot) {
36
36
  const pkgFile = path.join(npmRunRoot, 'package.json');
37
37
  const pkgFileExists = await exists(pkgFile);
38
- debug('pkgFile: %o exists: %o', pkgFile, pkgFileExists);
38
+ debug('pkgFile: %s exists: %s', pkgFile, !!pkgFileExists);
39
39
  if (pkgFileExists) {
40
40
  const pkg = await readJSON(pkgFile);
41
41
  // should set pkg.egg.declarations = true or pkg.egg.typescript = true