@opra/cli 1.0.0-beta.4 → 1.0.0-beta.6
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.
|
@@ -49,6 +49,7 @@ class TsGenerator extends node_events_1.EventEmitter {
|
|
|
49
49
|
this.emit('log', ansi_colors_1.default.cyan('Removing old files..'));
|
|
50
50
|
this.cleanDirectory(this.outDir);
|
|
51
51
|
this._apiPath = '/api';
|
|
52
|
+
this._typesRoot = '/models';
|
|
52
53
|
await this.generateDocument();
|
|
53
54
|
const { importExt } = this.options;
|
|
54
55
|
// Write files
|
|
@@ -45,6 +45,7 @@ export class TsGenerator extends EventEmitter {
|
|
|
45
45
|
this.emit('log', colors.cyan('Removing old files..'));
|
|
46
46
|
this.cleanDirectory(this.outDir);
|
|
47
47
|
this._apiPath = '/api';
|
|
48
|
+
this._typesRoot = '/models';
|
|
48
49
|
await this.generateDocument();
|
|
49
50
|
const { importExt } = this.options;
|
|
50
51
|
// Write files
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/cli",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.6",
|
|
4
4
|
"description": "Opra CLI tools",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@browsery/type-is": "^1.6.18-r5",
|
|
9
|
-
"@opra/client": "^1.0.0-beta.
|
|
10
|
-
"@opra/common": "^1.0.0-beta.
|
|
9
|
+
"@opra/client": "^1.0.0-beta.6",
|
|
10
|
+
"@opra/common": "^1.0.0-beta.6",
|
|
11
11
|
"ansi-colors": "^4.1.3",
|
|
12
12
|
"commander": "^12.0.0",
|
|
13
13
|
"js-string-escape": "^1.0.1",
|