@riao/cli 1.0.2 → 3.0.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.
@@ -2,7 +2,7 @@ import { CommandOptions } from 'ts-commands';
2
2
  interface DbDriverPropertiesInterface {
3
3
  package: string;
4
4
  className: string;
5
- port: number;
5
+ port?: number;
6
6
  }
7
7
  export declare const dbDriverProperties: {
8
8
  [key: string]: DbDriverPropertiesInterface;
@@ -43,6 +43,10 @@ exports.dbDriverProperties = {
43
43
  className: 'DatabasePostgres15',
44
44
  port: 5432,
45
45
  },
46
+ sqlite: {
47
+ package: '@riao/sqlite',
48
+ className: 'DatabaseSqlite',
49
+ },
46
50
  };
47
51
  exports.dbDriverKeys = Object.keys(exports.dbDriverProperties);
48
52
  exports.dbDriverOption = {
@@ -1 +1 @@
1
- {"version":3,"file":"db-type-option.js","sourceRoot":"","sources":["../../../src/options/db-type-option.ts"],"names":[],"mappings":";;;AAAA,6CAAyD;AAQ5C,QAAA,kBAAkB,GAE3B;IACH,SAAS,EAAE;QACV,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,mBAAmB;QAC9B,IAAI,EAAE,IAAI;KACV;IACD,SAAS,EAAE;QACV,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,mBAAmB;QAC9B,IAAI,EAAE,IAAI;KACV;IACD,MAAM,EAAE;QACP,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,gBAAgB;QAC3B,IAAI,EAAE,IAAI;KACV;IACD,MAAM,EAAE;QACP,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,gBAAgB;QAC3B,IAAI,EAAE,IAAI;KACV;IACD,IAAI,EAAE;QACL,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,oBAAoB;QAC/B,IAAI,EAAE,IAAI;KACV;IACD,IAAI,EAAE;QACL,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,oBAAoB;QAC/B,IAAI,EAAE,IAAI;KACV;IACD,IAAI,EAAE;QACL,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,oBAAoB;QAC/B,IAAI,EAAE,IAAI;KACV;IACD,IAAI,EAAE;QACL,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,oBAAoB;QAC/B,IAAI,EAAE,IAAI;KACV;CACD,CAAC;AAGW,QAAA,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,0BAAkB,CAAC,CAAC;AAE/C,QAAA,cAAc,GAAmB;IAC7C,GAAG,EAAE,QAAQ;IACb,IAAI,EAAE,wBAAU,CAAC,MAAM;IACvB,OAAO,EAAE,QAAQ;IACjB,OAAO,EAAE,oBAAY;CACrB,CAAC"}
1
+ {"version":3,"file":"db-type-option.js","sourceRoot":"","sources":["../../../src/options/db-type-option.ts"],"names":[],"mappings":";;;AAAA,6CAAyD;AAQ5C,QAAA,kBAAkB,GAE3B;IACH,SAAS,EAAE;QACV,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,mBAAmB;QAC9B,IAAI,EAAE,IAAI;KACV;IACD,SAAS,EAAE;QACV,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,mBAAmB;QAC9B,IAAI,EAAE,IAAI;KACV;IACD,MAAM,EAAE;QACP,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,gBAAgB;QAC3B,IAAI,EAAE,IAAI;KACV;IACD,MAAM,EAAE;QACP,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,gBAAgB;QAC3B,IAAI,EAAE,IAAI;KACV;IACD,IAAI,EAAE;QACL,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,oBAAoB;QAC/B,IAAI,EAAE,IAAI;KACV;IACD,IAAI,EAAE;QACL,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,oBAAoB;QAC/B,IAAI,EAAE,IAAI;KACV;IACD,IAAI,EAAE;QACL,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,oBAAoB;QAC/B,IAAI,EAAE,IAAI;KACV;IACD,IAAI,EAAE;QACL,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,oBAAoB;QAC/B,IAAI,EAAE,IAAI;KACV;IACD,MAAM,EAAE;QACP,OAAO,EAAE,cAAc;QACvB,SAAS,EAAE,gBAAgB;KAC3B;CACD,CAAC;AAGW,QAAA,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,0BAAkB,CAAC,CAAC;AAE/C,QAAA,cAAc,GAAmB;IAC7C,GAAG,EAAE,QAAQ;IACb,IAAI,EAAE,wBAAU,CAAC,MAAM;IACvB,OAAO,EAAE,QAAQ;IACjB,OAAO,EAAE,oBAAY;CACrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { CommandOptions } from 'ts-commands';
2
+ export declare const dryRunOption: CommandOptions;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.dryRunOption = void 0;
4
+ const ts_commands_1 = require("ts-commands");
5
+ exports.dryRunOption = {
6
+ key: 'dryrun',
7
+ type: ts_commands_1.OptionType.boolean,
8
+ default: false,
9
+ };
10
+ //# sourceMappingURL=dry-run-option.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dry-run-option.js","sourceRoot":"","sources":["../../../src/options/dry-run-option.ts"],"names":[],"mappings":";;;AAAA,6CAAyD;AAE5C,QAAA,YAAY,GAAmB;IAC3C,GAAG,EAAE,QAAQ;IACb,IAAI,EAAE,wBAAU,CAAC,OAAO;IACxB,OAAO,EAAE,KAAK;CACd,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riao/cli",
3
- "version": "1.0.2",
3
+ "version": "3.0.0",
4
4
  "description": "riao cli",
5
5
  "bin": {
6
6
  "riao": "./bin/index.js"
@@ -12,6 +12,13 @@
12
12
  "library": "1.0.0"
13
13
  },
14
14
  "scripts": {},
15
+ "dependencies": {
16
+ "@riao/dbal": "^3.0.1",
17
+ "ts-commands": "^1.1.0"
18
+ },
19
+ "peerDependencies": {
20
+ "@riao/dbal": "^3.0.0"
21
+ },
15
22
  "repository": {
16
23
  "type": "git",
17
24
  "url": "git+https://github.com/riao-project/riao-cli.git"
@@ -23,10 +30,6 @@
23
30
  },
24
31
  "homepage": "https://github.com/riao-project/riao-cli#readme",
25
32
  "keywords": [],
26
- "dependencies": {
27
- "@riao/dbal": "^1.0.1",
28
- "ts-commands": "^1.1.0"
29
- },
30
33
  "main": "index.js",
31
34
  "types": "index.d.ts"
32
35
  }