koatty 3.6.8-2 → 3.6.8

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.
@@ -0,0 +1,63 @@
1
+ /*
2
+ * @Description:
3
+ * @Usage:
4
+ * @Author: richen
5
+ * @Date: 2021-12-17 10:20:44
6
+ * @LastEditTime: 2022-05-27 11:50:23
7
+ */
8
+ import json from "@rollup/plugin-json";
9
+ import typescript from 'rollup-plugin-typescript2';
10
+ // import babel from '@rollup/plugin-babel';
11
+
12
+ export default [
13
+ {
14
+ input: './src/index.ts',
15
+ output: [{
16
+ format: 'cjs',
17
+ file: './dist/index.js',
18
+ banner: require('./scripts/copyright')
19
+ }],
20
+ plugins: [
21
+ // babel({
22
+ // babelHelpers: "runtime",
23
+ // configFile: './babel.config.js',
24
+ // exclude: 'node_modules/**',
25
+ // }),
26
+ json(),
27
+ typescript({
28
+ tsconfigOverride: {
29
+ compilerOptions: {
30
+ declaration: false,
31
+ declarationMap: false,
32
+ module: "ESNext"
33
+ }
34
+ }
35
+ })
36
+ ]
37
+ },
38
+ {
39
+ input: './src/index.ts',
40
+ output: [{
41
+ format: 'es',
42
+ file: './dist/index.mjs',
43
+ banner: require('./scripts/copyright')
44
+ }],
45
+ plugins: [
46
+ // babel({
47
+ // babelHelpers: "runtime",
48
+ // configFile: './babel.config.js',
49
+ // exclude: 'node_modules/**',
50
+ // }),
51
+ json(),
52
+ typescript({
53
+ tsconfigOverride: {
54
+ compilerOptions: {
55
+ declaration: false,
56
+ declarationMap: false,
57
+ module: "ESNext"
58
+ }
59
+ }
60
+ })
61
+ ]
62
+ }
63
+ ]
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [3.6.8](https://github.com/thinkkoa/koatty/compare/v3.6.8-2...v3.6.8) (2022-05-27)
6
+
5
7
  ### [3.6.8-2](https://github.com/thinkkoa/koatty/compare/v3.6.8-1...v3.6.8-2) (2022-03-15)
6
8
 
7
9
  ### [3.6.8-1](https://github.com/thinkkoa/koatty/compare/v3.6.8-0...v3.6.8-1) (2022-03-15)
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2022-03-15 14:27:44
3
+ * @Date: 2022-05-27 11:53:36
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2022-03-15 14:27:23
3
+ * @Date: 2022-05-27 11:53:16
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
@@ -847,7 +847,7 @@ class Loader {
847
847
  }
848
848
  }
849
849
 
850
- var version = "3.6.8-2";
850
+ var version = "3.6.8";
851
851
  var engines = {
852
852
  node: ">12.0.0"
853
853
  };
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2022-03-15 14:27:23
3
+ * @Date: 2022-05-27 11:53:16
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
@@ -827,7 +827,7 @@ class Loader {
827
827
  }
828
828
  }
829
829
 
830
- var version = "3.6.8-2";
830
+ var version = "3.6.8";
831
831
  var engines = {
832
832
  node: ">12.0.0"
833
833
  };
package/dist/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "koatty",
3
- "version": "3.6.8-2",
3
+ "version": "3.6.8",
4
4
  "description": "Koa2 + Typescript = koatty. Use Typescript's decorator implement auto injection.",
5
5
  "scripts": {
6
6
  "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
7
7
  "build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
8
- "build:js": "del-cli --force dist && npx rollup -c",
8
+ "build:js": "del-cli --force dist && npx rollup -c .rollup.config.js",
9
9
  "build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",
10
10
  "build:dts": "del-cli --force temp && npx tsc && npx api-extractor run --local --verbose",
11
11
  "eslint": "eslint --ext .ts,.js ./",
@@ -50,54 +50,48 @@
50
50
  }
51
51
  ],
52
52
  "devDependencies": {
53
- "@commitlint/cli": "^12.x.x",
54
- "@commitlint/config-conventional": "^15.x.x",
53
+ "@commitlint/cli": "^17.x.x",
54
+ "@commitlint/config-conventional": "^17.x.x",
55
55
  "@microsoft/api-documenter": "^7.x.x",
56
56
  "@microsoft/api-extractor": "^7.x.x",
57
57
  "@rollup/plugin-json": "^4.x.x",
58
58
  "@types/jest": "^27.x.x",
59
59
  "@types/koa": "^2.x.x",
60
- "@types/koa__router": "^8.x.x",
60
+ "@types/koa__router": "^8.0.11",
61
61
  "@types/node": "^16.x.x",
62
- "@types/supertest": "^2.x.x",
63
- "@types/ws": "^8.x.x",
62
+ "@types/ws": "^8.5.3",
64
63
  "@typescript-eslint/eslint-plugin": "^5.x.x",
65
64
  "@typescript-eslint/parser": "^5.x.x",
66
65
  "conventional-changelog-cli": "^2.x.x",
67
66
  "copyfiles": "^2.x.x",
68
67
  "del-cli": "^4.x.x",
69
68
  "eslint": "^8.x.x",
70
- "eslint-plugin-jest": "^25.x.x",
69
+ "eslint-plugin-jest": "^26.x.x",
71
70
  "husky": "^4.x.x",
72
- "jest": "^27.x.x",
73
- "jest-html-reporters": "^2.x.x",
74
- "koatty_cacheable": "^1.x.x",
75
- "koatty_schedule": "^1.x.x",
76
- "koatty_store": "^1.x.x",
77
- "koatty_validation": "^1.x.x",
71
+ "jest": "^28.x.x",
72
+ "jest-html-reporters": "^3.x.x",
78
73
  "rollup": "^2.x.x",
79
74
  "rollup-plugin-typescript2": "^0.x.x",
80
75
  "standard-version": "^9.x.x",
81
- "supertest": "^6.x.x",
82
- "ts-jest": "^27.x.x",
76
+ "ts-jest": "^28.x.x",
83
77
  "ts-node": "^10.x.x",
84
78
  "typescript": "^4.x.x"
85
79
  },
86
80
  "dependencies": {
87
81
  "koa": "2.13.4",
88
- "koatty_config": "1.1.2",
89
- "koatty_container": "1.7.7",
90
- "koatty_core": "1.6.5",
91
- "koatty_exception": "1.2.6",
92
- "koatty_lib": "1.2.10",
93
- "koatty_loader": "1.0.2",
94
- "koatty_logger": "1.3.12",
95
- "koatty_payload": "1.3.16",
96
- "koatty_proto": "1.1.6",
97
- "koatty_router": "1.7.5",
98
- "koatty_serve": "1.4.9",
99
- "koatty_trace": "1.6.6",
82
+ "koatty_config": "1.1.5",
83
+ "koatty_container": "1.7.10",
84
+ "koatty_core": "1.6.8",
85
+ "koatty_exception": "1.2.7",
86
+ "koatty_lib": "1.2.11",
87
+ "koatty_loader": "1.0.3",
88
+ "koatty_logger": "1.3.14",
89
+ "koatty_payload": "1.3.18",
90
+ "koatty_proto": "1.1.8",
91
+ "koatty_router": "1.7.6",
92
+ "koatty_serve": "1.4.10",
93
+ "koatty_trace": "1.6.7",
100
94
  "reflect-metadata": "0.1.13",
101
- "tslib": "2.3.1"
95
+ "tslib": "2.4.0"
102
96
  }
103
97
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "koatty",
3
- "version": "3.6.8-2",
3
+ "version": "3.6.8",
4
4
  "description": "Koa2 + Typescript = koatty. Use Typescript's decorator implement auto injection.",
5
5
  "scripts": {
6
6
  "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
7
7
  "build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
8
- "build:js": "del-cli --force dist && npx rollup -c",
8
+ "build:js": "del-cli --force dist && npx rollup -c .rollup.config.js",
9
9
  "build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",
10
10
  "build:dts": "del-cli --force temp && npx tsc && npx api-extractor run --local --verbose",
11
11
  "eslint": "eslint --ext .ts,.js ./",
@@ -50,54 +50,48 @@
50
50
  }
51
51
  ],
52
52
  "devDependencies": {
53
- "@commitlint/cli": "^12.x.x",
54
- "@commitlint/config-conventional": "^15.x.x",
53
+ "@commitlint/cli": "^17.x.x",
54
+ "@commitlint/config-conventional": "^17.x.x",
55
55
  "@microsoft/api-documenter": "^7.x.x",
56
56
  "@microsoft/api-extractor": "^7.x.x",
57
57
  "@rollup/plugin-json": "^4.x.x",
58
58
  "@types/jest": "^27.x.x",
59
59
  "@types/koa": "^2.x.x",
60
- "@types/koa__router": "^8.x.x",
60
+ "@types/koa__router": "^8.0.11",
61
61
  "@types/node": "^16.x.x",
62
- "@types/supertest": "^2.x.x",
63
- "@types/ws": "^8.x.x",
62
+ "@types/ws": "^8.5.3",
64
63
  "@typescript-eslint/eslint-plugin": "^5.x.x",
65
64
  "@typescript-eslint/parser": "^5.x.x",
66
65
  "conventional-changelog-cli": "^2.x.x",
67
66
  "copyfiles": "^2.x.x",
68
67
  "del-cli": "^4.x.x",
69
68
  "eslint": "^8.x.x",
70
- "eslint-plugin-jest": "^25.x.x",
69
+ "eslint-plugin-jest": "^26.x.x",
71
70
  "husky": "^4.x.x",
72
- "jest": "^27.x.x",
73
- "jest-html-reporters": "^2.x.x",
74
- "koatty_cacheable": "^1.x.x",
75
- "koatty_schedule": "^1.x.x",
76
- "koatty_store": "^1.x.x",
77
- "koatty_validation": "^1.x.x",
71
+ "jest": "^28.x.x",
72
+ "jest-html-reporters": "^3.x.x",
78
73
  "rollup": "^2.x.x",
79
74
  "rollup-plugin-typescript2": "^0.x.x",
80
75
  "standard-version": "^9.x.x",
81
- "supertest": "^6.x.x",
82
- "ts-jest": "^27.x.x",
76
+ "ts-jest": "^28.x.x",
83
77
  "ts-node": "^10.x.x",
84
78
  "typescript": "^4.x.x"
85
79
  },
86
80
  "dependencies": {
87
81
  "koa": "2.13.4",
88
- "koatty_config": "1.1.2",
89
- "koatty_container": "1.7.7",
90
- "koatty_core": "1.6.5",
91
- "koatty_exception": "1.2.6",
92
- "koatty_lib": "1.2.10",
93
- "koatty_loader": "1.0.2",
94
- "koatty_logger": "1.3.12",
95
- "koatty_payload": "1.3.16",
96
- "koatty_proto": "1.1.6",
97
- "koatty_router": "1.7.5",
98
- "koatty_serve": "1.4.9",
99
- "koatty_trace": "1.6.6",
82
+ "koatty_config": "1.1.5",
83
+ "koatty_container": "1.7.10",
84
+ "koatty_core": "1.6.8",
85
+ "koatty_exception": "1.2.7",
86
+ "koatty_lib": "1.2.11",
87
+ "koatty_loader": "1.0.3",
88
+ "koatty_logger": "1.3.14",
89
+ "koatty_payload": "1.3.18",
90
+ "koatty_proto": "1.1.8",
91
+ "koatty_router": "1.7.6",
92
+ "koatty_serve": "1.4.10",
93
+ "koatty_trace": "1.6.7",
100
94
  "reflect-metadata": "0.1.13",
101
- "tslib": "2.3.1"
95
+ "tslib": "2.4.0"
102
96
  }
103
97
  }