@biorate/migrations 2.0.1 → 2.1.0
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.
|
@@ -10,14 +10,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SchemaRegistry = void 0;
|
|
13
|
-
const
|
|
13
|
+
const lodash_es_1 = require("lodash-es");
|
|
14
14
|
const inversion_1 = require("@biorate/inversion");
|
|
15
15
|
const require_1 = require("../require-cjs.js");
|
|
16
16
|
const migration_1 = require("./migration");
|
|
17
17
|
const errors_1 = require("../errors");
|
|
18
18
|
class SchemaRegistry extends migration_1.Migration {
|
|
19
19
|
get type() {
|
|
20
|
-
return (0,
|
|
20
|
+
return (0, lodash_es_1.kebabCase)(this.constructor.name);
|
|
21
21
|
}
|
|
22
22
|
async process() {
|
|
23
23
|
await this.forEach('SchemaRegistry', async (config, connection, paths) => await this.forEachPath(paths, async (file, fullName) => {
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { kebabCase } from 'lodash';
|
|
10
|
+
import { kebabCase } from 'lodash-es';
|
|
11
11
|
import { inject, Types } from '@biorate/inversion';
|
|
12
12
|
import { requireCjs } from '../require-esm.js';
|
|
13
13
|
import { Migration } from './migration.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biorate/migrations",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Migrations tools",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -47,25 +47,25 @@
|
|
|
47
47
|
],
|
|
48
48
|
"author": "llevkin",
|
|
49
49
|
"license": "MIT",
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "ca18c1129712e77a6ec8fb2033a54f94e5620ce0",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@biorate/amqp": "2.0.
|
|
53
|
-
"@biorate/clickhouse": "2.0
|
|
54
|
-
"@biorate/config": "3.0
|
|
55
|
-
"@biorate/config-loader": "2.0.
|
|
56
|
-
"@biorate/config-loader-env": "2.0.
|
|
57
|
-
"@biorate/config-loader-fs": "2.0.
|
|
58
|
-
"@biorate/config-loader-vault": "2.0.
|
|
59
|
-
"@biorate/connector": "3.0.
|
|
52
|
+
"@biorate/amqp": "2.0.2",
|
|
53
|
+
"@biorate/clickhouse": "2.1.0",
|
|
54
|
+
"@biorate/config": "3.1.0",
|
|
55
|
+
"@biorate/config-loader": "2.0.2",
|
|
56
|
+
"@biorate/config-loader-env": "2.0.2",
|
|
57
|
+
"@biorate/config-loader-fs": "2.0.2",
|
|
58
|
+
"@biorate/config-loader-vault": "2.0.2",
|
|
59
|
+
"@biorate/connector": "3.0.2",
|
|
60
60
|
"@biorate/errors": "3.0.0",
|
|
61
|
-
"@biorate/inversion": "3.0.
|
|
62
|
-
"@biorate/kafkajs": "2.0
|
|
63
|
-
"@biorate/minio": "2.0.
|
|
64
|
-
"@biorate/mongodb": "2.0.
|
|
65
|
-
"@biorate/proxy": "2.0.
|
|
66
|
-
"@biorate/schema-registry": "3.0.
|
|
67
|
-
"@biorate/sequelize": "2.0
|
|
61
|
+
"@biorate/inversion": "3.0.2",
|
|
62
|
+
"@biorate/kafkajs": "2.1.0",
|
|
63
|
+
"@biorate/minio": "2.0.2",
|
|
64
|
+
"@biorate/mongodb": "2.0.2",
|
|
65
|
+
"@biorate/proxy": "2.0.2",
|
|
66
|
+
"@biorate/schema-registry": "3.0.2",
|
|
67
|
+
"@biorate/sequelize": "2.1.0",
|
|
68
68
|
"@biorate/tools": "3.0.1",
|
|
69
|
-
"@biorate/vault": "2.0
|
|
69
|
+
"@biorate/vault": "2.1.0"
|
|
70
70
|
}
|
|
71
71
|
}
|