create-egg 4.1.0-beta.29 → 4.1.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.
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { init } from "./src-Ch9nyzRE.js";
2
+ import { t as init } from "./src-BgL2uwim.js";
3
3
 
4
4
  //#region src/cli.ts
5
5
  init().catch((err) => {
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { init } from "./src-Ch9nyzRE.js";
1
+ import { t as init } from "./src-BgL2uwim.js";
2
2
 
3
3
  export { init };
@@ -247,4 +247,4 @@ function getFullCustomCommand(customCommand, pkgInfo) {
247
247
  }
248
248
 
249
249
  //#endregion
250
- export { init };
250
+ export { init as t };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @param {Egg.Application} app - egg application
3
3
  */
4
- module.exports = app => {
4
+ module.exports = (app) => {
5
5
  const { router, controller } = app;
6
6
  router.get('/', controller.home.index);
7
7
  };
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @param {Egg.EggAppInfo} appInfo app info
5
5
  */
6
- module.exports = appInfo => {
6
+ module.exports = (appInfo) => {
7
7
  /**
8
8
  * built-in config
9
9
  * @type {Egg.EggAppConfig}
@@ -38,7 +38,7 @@
38
38
  "@types/mocha": "10",
39
39
  "@types/node": "24",
40
40
  "oxlint": "1",
41
- "oxlint-tsgolint": "^0.2.0",
41
+ "oxlint-tsgolint": "^0.3.0",
42
42
  "typescript": "5"
43
43
  },
44
44
  "engines": {
@@ -1,6 +1,6 @@
1
1
  import { defineConfigFactory, type PartialEggConfig } from 'egg';
2
2
 
3
- export default defineConfigFactory(appInfo => {
3
+ export default defineConfigFactory((appInfo) => {
4
4
  const config = {
5
5
  // use for cookie sign key, should change to your own and keep security
6
6
  keys: appInfo.name + '_{{keys}}',
@@ -32,7 +32,7 @@
32
32
  "@eggjs/tsconfig": "beta",
33
33
  "@types/node": "24",
34
34
  "oxlint": "1",
35
- "oxlint-tsgolint": "^0.2.0",
35
+ "oxlint-tsgolint": "^0.3.0",
36
36
  "typescript": "5",
37
37
  "vitest": "beta"
38
38
  },
@@ -1,6 +1,6 @@
1
1
  import { defineConfigFactory, type PartialEggConfig } from 'egg';
2
2
 
3
- export default defineConfigFactory(appInfo => {
3
+ export default defineConfigFactory((appInfo) => {
4
4
  const config = {
5
5
  // use for cookie sign key, should change to your own and keep security
6
6
  keys: appInfo.name + '_{{keys}}',
@@ -1,30 +1,6 @@
1
1
  import type { EggPlugin } from 'egg';
2
2
 
3
3
  const plugin: EggPlugin = {
4
- tegg: {
5
- enable: true,
6
- package: '@eggjs/tegg-plugin',
7
- },
8
- teggConfig: {
9
- enable: true,
10
- package: '@eggjs/tegg-config',
11
- },
12
- teggController: {
13
- enable: true,
14
- package: '@eggjs/tegg-controller-plugin',
15
- },
16
- teggSchedule: {
17
- enable: true,
18
- package: '@eggjs/tegg-schedule-plugin',
19
- },
20
- eventbusModule: {
21
- enable: true,
22
- package: '@eggjs/tegg-eventbus-plugin',
23
- },
24
- aopModule: {
25
- enable: true,
26
- package: '@eggjs/tegg-aop-plugin',
27
- },
28
4
  tracer: {
29
5
  enable: true,
30
6
  package: '@eggjs/tracer',
@@ -24,13 +24,6 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@eggjs/scripts": "beta",
27
- "@eggjs/tegg": "beta",
28
- "@eggjs/tegg-aop-plugin": "beta",
29
- "@eggjs/tegg-config": "beta",
30
- "@eggjs/tegg-controller-plugin": "beta",
31
- "@eggjs/tegg-eventbus-plugin": "beta",
32
- "@eggjs/tegg-plugin": "beta",
33
- "@eggjs/tegg-schedule-plugin": "beta",
34
27
  "@eggjs/tracer": "beta",
35
28
  "egg": "beta"
36
29
  },
@@ -42,10 +35,10 @@
42
35
  "@types/node": "24",
43
36
  "cross-env": "10",
44
37
  "oxlint": "1",
45
- "oxlint-tsgolint": "^0.2.0",
38
+ "oxlint-tsgolint": "^0.3.0",
46
39
  "typescript": "5",
47
- "vitest": "beta",
48
- "@vitest/coverage-v8": "beta"
40
+ "vitest": "4",
41
+ "@vitest/coverage-v8": "4"
49
42
  },
50
43
  "engines": {
51
44
  "node": ">=22.18.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-egg",
3
- "version": "4.1.0-beta.29",
3
+ "version": "4.1.0-beta.31",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -9,7 +9,7 @@
9
9
  "devDependencies": {
10
10
  "@types/cross-spawn": "^6.0.6",
11
11
  "execa": "^9.6.0",
12
- "tsdown": "0.15.6"
12
+ "tsdown": "0.15.10"
13
13
  },
14
14
  "engines": {
15
15
  "node": ">=20.19.0"