zenweb 2.0.0 → 2.0.1

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.
Files changed (2) hide show
  1. package/README.md +9 -3
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -9,16 +9,22 @@ package.json
9
9
  "name": "app",
10
10
  "type": "module",
11
11
  "private": true,
12
- "exports": "app/**",
12
+ "main": "app/index.js",
13
13
  "scripts": {
14
- "dev": "cross-env DEBUG=* NODE_ENV=development nodemon app",
14
+ "dev": "cross-env DEBUG=*,-zenweb:metric NODE_ENV=development nodemon app",
15
15
  "start": "node app"
16
+ },
17
+ "nodemonConfig": {
18
+ "ignore": [
19
+ "**/typings/**"
20
+ ]
16
21
  }
17
22
  }
18
23
  ```
19
24
 
20
25
  ```bash
21
- $ npm i zenweb cross-env nodemon
26
+ $ npm i zenweb
27
+ $ npm i cross-env nodemon -D
22
28
  ```
23
29
 
24
30
  app/index.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zenweb",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Modular lightweight web framework based on Koa",
5
5
  "type": "module",
6
6
  "exports": "./index.js",
@@ -35,7 +35,7 @@
35
35
  "url": "https://github.com/yefei/zenweb/issues"
36
36
  },
37
37
  "optionalDependencies": {
38
- "@zenweb/cors": "^1.1.0",
38
+ "@zenweb/cors": "^2.0.0",
39
39
  "@zenweb/form": "^1.6.1",
40
40
  "@zenweb/metric": "^1.3.2",
41
41
  "@zenweb/mysql": "^1.2.1",
@@ -46,7 +46,7 @@
46
46
  "eslint": "^7.16.0"
47
47
  },
48
48
  "dependencies": {
49
- "@zenweb/api": "^1.2.0",
49
+ "@zenweb/api": "^2.0.0",
50
50
  "@zenweb/body": "^1.1.0",
51
51
  "@zenweb/core": "^2.0.1",
52
52
  "@zenweb/helper": "^1.2.0",