create-aomex 0.0.13 → 0.0.15

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.13",
3
+ "version": "0.0.15",
4
4
  "repository": "git@github.com:aomex/create-aomex.git",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -30,26 +30,25 @@
30
30
  "bin": "dist/index.js",
31
31
  "packageManager": "pnpm@9.4.0",
32
32
  "dependencies": {
33
- "listr2": "^8.2.3",
34
33
  "lodash.kebabcase": "^4.1.1",
35
34
  "yargs-parser": "^21.1.1"
36
35
  },
37
36
  "devDependencies": {
38
- "@aomex/async-trace": "^3.1.1",
39
- "@aomex/cache": "^3.1.1",
40
- "@aomex/cache-redis-adapter": "^3.1.0",
41
- "@aomex/compress": "^3.1.1",
42
- "@aomex/console": "^3.1.1",
43
- "@aomex/core": "^3.1.1",
44
- "@aomex/cors": "^3.1.1",
45
- "@aomex/cron": "^3.1.1",
46
- "@aomex/etag": "^3.1.1",
47
- "@aomex/helmet": "^3.1.1",
48
- "@aomex/http-logger": "^3.1.1",
49
- "@aomex/openapi": "^3.1.1",
50
- "@aomex/response-time": "^3.1.1",
51
- "@aomex/swagger-ui": "^3.1.1",
52
- "@aomex/web": "^3.1.1",
37
+ "@aomex/async-trace": "^3.2.0",
38
+ "@aomex/cache": "^3.2.0",
39
+ "@aomex/cache-redis-adapter": "^3.2.0",
40
+ "@aomex/compress": "^3.2.0",
41
+ "@aomex/console": "^3.2.0",
42
+ "@aomex/core": "^3.2.0",
43
+ "@aomex/cors": "^3.2.0",
44
+ "@aomex/cron": "^3.2.0",
45
+ "@aomex/etag": "^3.2.0",
46
+ "@aomex/helmet": "^3.2.0",
47
+ "@aomex/http-logger": "^3.2.0",
48
+ "@aomex/openapi": "^3.2.0",
49
+ "@aomex/response-time": "^3.2.0",
50
+ "@aomex/swagger-ui": "^3.2.0",
51
+ "@aomex/web": "^3.2.0",
53
52
  "@prisma/client": "^5.17.0",
54
53
  "@types/lodash.kebabcase": "^4.1.9",
55
54
  "@types/node": "^20.14.12",
@@ -13,6 +13,12 @@
13
13
  {{packageManager}} start
14
14
  ```
15
15
 
16
+ ## Swagger 文档
17
+
18
+ 启动服务后访问链接 http://localhost:3000/swagger
19
+
20
+ 如果需要 openapi 配置,则访问链接 http://localhost:3000/swagger/openapi.json
21
+
16
22
  ## 在集成环境服务器下部署
17
23
 
18
24
  ```bash
@@ -12,5 +12,6 @@
12
12
  "deploy:integration": "sh scripts/deploy-integration.sh",
13
13
  "prepare": "npx husky",
14
14
  "preinstall": "npx only-allow {{packageManager}}"
15
- }
15
+ },
16
+ "packageManager": "{{packageManager}}@{{packageManagerVersion}}"
16
17
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  set -ex
4
4
 
5
- corepack enable
5
+ corepack enable # package.json => packageManager
6
6
  pnpm install
7
7
  pnpm prisma generate
8
8
  pnpm exec tsc