@midwayjs/cos 3.0.0-alpha.43 → 3.0.0-beta.4
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/CHANGELOG.md +38 -0
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.d.ts +9 -0
- package/package.json +11 -7
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [3.0.0-beta.4](https://github.com/midwayjs/midway/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2021-11-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @midwayjs/cos
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.0.0-beta.3](https://github.com/midwayjs/midway/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2021-11-18)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* add component and framework config definition ([#1367](https://github.com/midwayjs/midway/issues/1367)) ([b2fe615](https://github.com/midwayjs/midway/commit/b2fe6157f99659471ff1333eca0b86bb889f61a3))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.0.0-beta.2](https://github.com/midwayjs/midway/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2021-11-16)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @midwayjs/cos
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.0.0-beta.1](https://github.com/midwayjs/midway/compare/v2.12.4...v3.0.0-beta.1) (2021-11-14)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* add cos component ([#1271](https://github.com/midwayjs/midway/issues/1271)) ([c18e597](https://github.com/midwayjs/midway/commit/c18e597d55a6452188cc7daecd0062bf161028cc))
|
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
|
@@ -6,16 +6,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.
|
|
9
|
+
exports.COSConfiguration = void 0;
|
|
10
10
|
const decorator_1 = require("@midwayjs/decorator");
|
|
11
11
|
const manager_1 = require("./manager");
|
|
12
12
|
const defaultConfig = require("./config.default");
|
|
13
|
-
let
|
|
13
|
+
let COSConfiguration = class COSConfiguration {
|
|
14
14
|
async onReady(container) {
|
|
15
15
|
await container.getAsync(manager_1.COSServiceFactory);
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
COSConfiguration = __decorate([
|
|
19
19
|
(0, decorator_1.Configuration)({
|
|
20
20
|
namespace: 'cos',
|
|
21
21
|
importConfigs: [
|
|
@@ -24,6 +24,6 @@ AutoConfiguration = __decorate([
|
|
|
24
24
|
},
|
|
25
25
|
],
|
|
26
26
|
})
|
|
27
|
-
],
|
|
28
|
-
exports.
|
|
27
|
+
], COSConfiguration);
|
|
28
|
+
exports.COSConfiguration = COSConfiguration;
|
|
29
29
|
//# sourceMappingURL=configuration.js.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -12,6 +12,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.Configuration = void 0;
|
|
14
14
|
var configuration_1 = require("./configuration");
|
|
15
|
-
Object.defineProperty(exports, "Configuration", { enumerable: true, get: function () { return configuration_1.
|
|
15
|
+
Object.defineProperty(exports, "Configuration", { enumerable: true, get: function () { return configuration_1.COSConfiguration; } });
|
|
16
16
|
__exportStar(require("./manager"), exports);
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
package/index.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/cos",
|
|
3
3
|
"description": "midway cos component",
|
|
4
|
-
"version": "3.0.0-
|
|
4
|
+
"version": "3.0.0-beta.4",
|
|
5
5
|
"main": "dist/index",
|
|
6
|
-
"typings": "
|
|
6
|
+
"typings": "index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/**/*.js",
|
|
9
|
-
"dist/**/*.d.ts"
|
|
9
|
+
"dist/**/*.d.ts",
|
|
10
|
+
"index.d.ts"
|
|
10
11
|
],
|
|
11
12
|
"devDependencies": {
|
|
12
|
-
"@midwayjs/core": "^3.0.0-
|
|
13
|
-
"@midwayjs/decorator": "^3.0.0-
|
|
14
|
-
"@midwayjs/mock": "^3.0.0-
|
|
13
|
+
"@midwayjs/core": "^3.0.0-beta.4",
|
|
14
|
+
"@midwayjs/decorator": "^3.0.0-beta.4",
|
|
15
|
+
"@midwayjs/mock": "^3.0.0-beta.4",
|
|
15
16
|
"dotenv": "^10.0.0"
|
|
16
17
|
},
|
|
17
18
|
"dependencies": {
|
|
@@ -30,9 +31,12 @@
|
|
|
30
31
|
"ci": "npm run test",
|
|
31
32
|
"lint": "mwts check"
|
|
32
33
|
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=12"
|
|
36
|
+
},
|
|
33
37
|
"repository": {
|
|
34
38
|
"type": "git",
|
|
35
39
|
"url": "https://github.com/midwayjs/midway.git"
|
|
36
40
|
},
|
|
37
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "02e2144e302f807770b512b0d89da3145b1cbf2e"
|
|
38
42
|
}
|