create-aomex 0.0.71 → 0.0.73

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-aomex",
3
- "version": "0.0.71",
3
+ "version": "0.0.73",
4
4
  "repository": "git@github.com:aomex/create-aomex.git",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -30,29 +30,29 @@
30
30
  ],
31
31
  "bin": "dist/index.js",
32
32
  "dependencies": {
33
- "@aomex/common": "^3.27.1",
34
- "@aomex/console": "^3.27.1",
33
+ "@aomex/common": "^3.29.0",
34
+ "@aomex/console": "^3.29.0",
35
35
  "@inquirer/prompts": "^7.4.1",
36
36
  "sanitize-filename": "^1.6.3",
37
37
  "yargs-parser": "^21.1.1"
38
38
  },
39
39
  "devDependencies": {
40
- "@aomex/async-trace": "^3.27.1",
41
- "@aomex/auth": "^3.27.1",
42
- "@aomex/cache": "^3.27.1",
43
- "@aomex/cache-redis-adapter": "^3.27.1",
44
- "@aomex/compress": "^3.27.1",
45
- "@aomex/cors": "^3.27.1",
46
- "@aomex/cron": "^3.27.1",
47
- "@aomex/etag": "^3.27.1",
48
- "@aomex/helmet": "^3.27.1",
49
- "@aomex/http-logger": "^3.27.1",
50
- "@aomex/logger": "^3.27.1",
51
- "@aomex/openapi": "^3.27.1",
52
- "@aomex/prisma": "^3.27.1",
53
- "@aomex/response-time": "^3.27.1",
54
- "@aomex/swagger-ui": "^3.27.1",
55
- "@aomex/web": "^3.27.1",
40
+ "@aomex/async-trace": "^3.29.0",
41
+ "@aomex/auth": "^3.29.0",
42
+ "@aomex/cache": "^3.29.0",
43
+ "@aomex/cache-redis-adapter": "^3.29.0",
44
+ "@aomex/compress": "^3.29.0",
45
+ "@aomex/cors": "^3.29.0",
46
+ "@aomex/cron": "^3.29.0",
47
+ "@aomex/etag": "^3.29.0",
48
+ "@aomex/helmet": "^3.29.0",
49
+ "@aomex/http-logger": "^3.29.0",
50
+ "@aomex/logger": "^3.29.0",
51
+ "@aomex/openapi": "^3.29.0",
52
+ "@aomex/prisma": "^3.29.0",
53
+ "@aomex/response-time": "^3.29.0",
54
+ "@aomex/swagger-ui": "^3.29.0",
55
+ "@aomex/web": "^3.29.0",
56
56
  "@prisma/client": "^6.6.0",
57
57
  "@types/lodash.kebabcase": "^4.1.9",
58
58
  "@types/node": "^22.14.1",
@@ -4,6 +4,7 @@ services:
4
4
  command: prisma migrate deploy
5
5
  api:
6
6
  image: {{projectName}}:integration
7
+ restart: always
7
8
  ports:
8
9
  - 3000:3000
9
10
  cron:
@@ -4,6 +4,7 @@ services:
4
4
  command: prisma migrate deploy
5
5
  api:
6
6
  image: {{projectName}}:production
7
+ restart: always
7
8
  ulimits:
8
9
  nofile:
9
10
  soft: 65535
@@ -1,6 +1,6 @@
1
- import { Authentication } from '@aomex/auth';
1
+ import { Auth } from '@aomex/auth';
2
2
 
3
3
  // 身份认证,参考文档:https://aomex.js.org/plugins/auth.html
4
- export const auth = new Authentication({
4
+ export const auth = new Auth({
5
5
  strategies: {},
6
6
  });