@riao/cli 3.0.0 → 3.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.
- package/README.md +2 -35
- package/bin/database-create-command.d.ts +21 -21
- package/bin/database-create-command.js +68 -82
- package/bin/database-create-command.js.map +1 -1
- package/bin/index.d.ts +2 -2
- package/bin/index.js +20 -22
- package/bin/index.js.map +1 -1
- package/bin/migration-create-command.d.ts +13 -13
- package/bin/migration-create-command.js +37 -51
- package/bin/migration-create-command.js.map +1 -1
- package/bin/migration-run-command.d.ts +14 -14
- package/bin/migration-run-command.js +19 -33
- package/bin/migration-run-command.js.map +1 -1
- package/bin/schema-build-command.d.ts +12 -12
- package/bin/schema-build-command.js +17 -31
- package/bin/schema-build-command.js.map +1 -1
- package/bin/seed-create-command.d.ts +13 -13
- package/bin/seed-create-command.js +35 -49
- package/bin/seed-create-command.js.map +1 -1
- package/bin/seed-run-command.d.ts +15 -15
- package/bin/seed-run-command.js +28 -37
- package/bin/seed-run-command.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +4 -4
- package/name-class-and-file.d.ts +10 -10
- package/name-class-and-file.js +45 -45
- package/name-class-and-file.js.map +1 -1
- package/options/database-option.d.ts +2 -2
- package/options/database-option.js +9 -9
- package/options/database-option.js.map +1 -1
- package/options/db-type-option.d.ts +13 -13
- package/options/db-type-option.js +57 -57
- package/options/db-type-option.js.map +1 -1
- package/options/direction-option.d.ts +2 -2
- package/options/direction-option.js +10 -10
- package/options/direction-option.js.map +1 -1
- package/options/index.d.ts +6 -6
- package/options/index.js +16 -16
- package/options/name-option.d.ts +2 -2
- package/options/name-option.js +8 -8
- package/options/name-option.js.map +1 -1
- package/options/seed-option.d.ts +2 -2
- package/options/seed-option.js +8 -8
- package/options/seed-option.js.map +1 -1
- package/options/steps-option.d.ts +2 -2
- package/options/steps-option.js +9 -9
- package/options/steps-option.js.map +1 -1
- package/package.json +7 -6
package/options/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.stepsOption = exports.seedOption = exports.nameOption = exports.directionOption = exports.dbDriverProperties = exports.dbDriverOption = exports.databaseOption = void 0;
|
|
4
|
-
var database_option_1 = require("./database-option");
|
|
5
|
-
Object.defineProperty(exports, "databaseOption", { enumerable: true, get: function () { return database_option_1.databaseOption; } });
|
|
6
|
-
var db_type_option_1 = require("./db-type-option");
|
|
7
|
-
Object.defineProperty(exports, "dbDriverOption", { enumerable: true, get: function () { return db_type_option_1.dbDriverOption; } });
|
|
8
|
-
Object.defineProperty(exports, "dbDriverProperties", { enumerable: true, get: function () { return db_type_option_1.dbDriverProperties; } });
|
|
9
|
-
var direction_option_1 = require("./direction-option");
|
|
10
|
-
Object.defineProperty(exports, "directionOption", { enumerable: true, get: function () { return direction_option_1.directionOption; } });
|
|
11
|
-
var name_option_1 = require("./name-option");
|
|
12
|
-
Object.defineProperty(exports, "nameOption", { enumerable: true, get: function () { return name_option_1.nameOption; } });
|
|
13
|
-
var seed_option_1 = require("./seed-option");
|
|
14
|
-
Object.defineProperty(exports, "seedOption", { enumerable: true, get: function () { return seed_option_1.seedOption; } });
|
|
15
|
-
var steps_option_1 = require("./steps-option");
|
|
16
|
-
Object.defineProperty(exports, "stepsOption", { enumerable: true, get: function () { return steps_option_1.stepsOption; } });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.stepsOption = exports.seedOption = exports.nameOption = exports.directionOption = exports.dbDriverProperties = exports.dbDriverOption = exports.databaseOption = void 0;
|
|
4
|
+
var database_option_1 = require("./database-option");
|
|
5
|
+
Object.defineProperty(exports, "databaseOption", { enumerable: true, get: function () { return database_option_1.databaseOption; } });
|
|
6
|
+
var db_type_option_1 = require("./db-type-option");
|
|
7
|
+
Object.defineProperty(exports, "dbDriverOption", { enumerable: true, get: function () { return db_type_option_1.dbDriverOption; } });
|
|
8
|
+
Object.defineProperty(exports, "dbDriverProperties", { enumerable: true, get: function () { return db_type_option_1.dbDriverProperties; } });
|
|
9
|
+
var direction_option_1 = require("./direction-option");
|
|
10
|
+
Object.defineProperty(exports, "directionOption", { enumerable: true, get: function () { return direction_option_1.directionOption; } });
|
|
11
|
+
var name_option_1 = require("./name-option");
|
|
12
|
+
Object.defineProperty(exports, "nameOption", { enumerable: true, get: function () { return name_option_1.nameOption; } });
|
|
13
|
+
var seed_option_1 = require("./seed-option");
|
|
14
|
+
Object.defineProperty(exports, "seedOption", { enumerable: true, get: function () { return seed_option_1.seedOption; } });
|
|
15
|
+
var steps_option_1 = require("./steps-option");
|
|
16
|
+
Object.defineProperty(exports, "stepsOption", { enumerable: true, get: function () { return steps_option_1.stepsOption; } });
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
package/options/name-option.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const nameOption:
|
|
1
|
+
import { CommandOption } from 'ts-commands';
|
|
2
|
+
export declare const nameOption: CommandOption;
|
package/options/name-option.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.nameOption = void 0;
|
|
4
|
-
const ts_commands_1 = require("ts-commands");
|
|
5
|
-
exports.nameOption = {
|
|
6
|
-
key: 'name',
|
|
7
|
-
type: ts_commands_1.OptionType.string,
|
|
8
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.nameOption = void 0;
|
|
4
|
+
const ts_commands_1 = require("ts-commands");
|
|
5
|
+
exports.nameOption = {
|
|
6
|
+
key: 'name',
|
|
7
|
+
type: ts_commands_1.OptionType.string,
|
|
8
|
+
};
|
|
9
9
|
//# sourceMappingURL=name-option.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"name-option.js","sourceRoot":"","sources":["../../../src/options/name-option.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"name-option.js","sourceRoot":"","sources":["../../../src/options/name-option.ts"],"names":[],"mappings":";;;AAAA,6CAAwD;AAE3C,QAAA,UAAU,GAAkB;IACxC,GAAG,EAAE,MAAM;IACX,IAAI,EAAE,wBAAU,CAAC,MAAM;CACvB,CAAC"}
|
package/options/seed-option.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const seedOption:
|
|
1
|
+
import { CommandOption } from 'ts-commands';
|
|
2
|
+
export declare const seedOption: CommandOption;
|
package/options/seed-option.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.seedOption = void 0;
|
|
4
|
-
const ts_commands_1 = require("ts-commands");
|
|
5
|
-
exports.seedOption = {
|
|
6
|
-
key: 'seed',
|
|
7
|
-
type: ts_commands_1.OptionType.string,
|
|
8
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.seedOption = void 0;
|
|
4
|
+
const ts_commands_1 = require("ts-commands");
|
|
5
|
+
exports.seedOption = {
|
|
6
|
+
key: 'seed',
|
|
7
|
+
type: ts_commands_1.OptionType.string,
|
|
8
|
+
};
|
|
9
9
|
//# sourceMappingURL=seed-option.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seed-option.js","sourceRoot":"","sources":["../../../src/options/seed-option.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"seed-option.js","sourceRoot":"","sources":["../../../src/options/seed-option.ts"],"names":[],"mappings":";;;AAAA,6CAAwD;AAE3C,QAAA,UAAU,GAAkB;IACxC,GAAG,EAAE,MAAM;IACX,IAAI,EAAE,wBAAU,CAAC,MAAM;CACvB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const stepsOption:
|
|
1
|
+
import { CommandOption } from 'ts-commands';
|
|
2
|
+
export declare const stepsOption: CommandOption;
|
package/options/steps-option.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.stepsOption = void 0;
|
|
4
|
-
const ts_commands_1 = require("ts-commands");
|
|
5
|
-
exports.stepsOption = {
|
|
6
|
-
key: 'steps',
|
|
7
|
-
type: ts_commands_1.OptionType.number,
|
|
8
|
-
default: -1,
|
|
9
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.stepsOption = void 0;
|
|
4
|
+
const ts_commands_1 = require("ts-commands");
|
|
5
|
+
exports.stepsOption = {
|
|
6
|
+
key: 'steps',
|
|
7
|
+
type: ts_commands_1.OptionType.number,
|
|
8
|
+
default: -1,
|
|
9
|
+
};
|
|
10
10
|
//# sourceMappingURL=steps-option.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steps-option.js","sourceRoot":"","sources":["../../../src/options/steps-option.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"steps-option.js","sourceRoot":"","sources":["../../../src/options/steps-option.ts"],"names":[],"mappings":";;;AAAA,6CAAwD;AAE3C,QAAA,WAAW,GAAkB;IACzC,GAAG,EAAE,OAAO;IACZ,IAAI,EAAE,wBAAU,CAAC,MAAM;IACvB,OAAO,EAAE,CAAC,CAAC;CACX,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riao/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "riao cli",
|
|
5
5
|
"bin": {
|
|
6
6
|
"riao": "./bin/index.js"
|
|
7
7
|
},
|
|
8
8
|
"typescript-template": {
|
|
9
|
-
"base": "1.0.
|
|
10
|
-
"cli": "
|
|
9
|
+
"base": "1.0.1",
|
|
10
|
+
"cli": "3.0.0",
|
|
11
11
|
"jasmine": "1.0.0",
|
|
12
12
|
"library": "1.0.0"
|
|
13
13
|
},
|
|
14
14
|
"scripts": {},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@riao/dbal": "^3.0.
|
|
17
|
-
"ts-commands": "^
|
|
16
|
+
"@riao/dbal": "^3.0.0",
|
|
17
|
+
"ts-commands": "^2.0.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@riao/dbal": "^3.0.0"
|
|
20
|
+
"@riao/dbal": "^3.0.0",
|
|
21
|
+
"ts-commands": "^2.0.0"
|
|
21
22
|
},
|
|
22
23
|
"repository": {
|
|
23
24
|
"type": "git",
|