@opra/cli 1.0.0-alpha.29 → 1.0.0-alpha.30
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.
|
@@ -24,8 +24,8 @@ class TsGenerator extends node_events_1.EventEmitter {
|
|
|
24
24
|
*/
|
|
25
25
|
constructor(init) {
|
|
26
26
|
super();
|
|
27
|
-
this._started = false;
|
|
28
27
|
this._files = {};
|
|
28
|
+
this._started = false;
|
|
29
29
|
this.serviceUrl = init.serviceUrl;
|
|
30
30
|
this.cwd = init.cwd || node_process_1.default.cwd();
|
|
31
31
|
this.outDir = init.outDir ? node_path_1.default.resolve(this.cwd, init.outDir) : this.cwd;
|
|
@@ -20,8 +20,8 @@ export class TsGenerator extends EventEmitter {
|
|
|
20
20
|
*/
|
|
21
21
|
constructor(init) {
|
|
22
22
|
super();
|
|
23
|
-
this._started = false;
|
|
24
23
|
this._files = {};
|
|
24
|
+
this._started = false;
|
|
25
25
|
this.serviceUrl = init.serviceUrl;
|
|
26
26
|
this.cwd = init.cwd || process.cwd();
|
|
27
27
|
this.outDir = init.outDir ? path.resolve(this.cwd, init.outDir) : this.cwd;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/cli",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.30",
|
|
4
4
|
"description": "Opra CLI tools",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,13 +32,14 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@browsery/type-is": "^1.6.18-r3",
|
|
35
|
-
"@opra/client": "^1.0.0-alpha.
|
|
36
|
-
"@opra/common": "^1.0.0-alpha.
|
|
35
|
+
"@opra/client": "^1.0.0-alpha.30",
|
|
36
|
+
"@opra/common": "^1.0.0-alpha.30",
|
|
37
37
|
"chalk": "^5.3.0",
|
|
38
38
|
"commander": "^12.0.0",
|
|
39
39
|
"js-string-escape": "^1.0.1",
|
|
40
40
|
"putil-flattentext": "^2.1.1",
|
|
41
|
-
"putil-varhelpers": "^1.6.5"
|
|
41
|
+
"putil-varhelpers": "^1.6.5",
|
|
42
|
+
"tslib": "^2.6.3"
|
|
42
43
|
},
|
|
43
44
|
"type": "module",
|
|
44
45
|
"module": "./esm/index.js",
|
|
@@ -37,13 +37,13 @@ export declare class TsGenerator extends EventEmitter {
|
|
|
37
37
|
protected _generateMixinTypeCode: typeof _generateMixinTypeCode;
|
|
38
38
|
protected generateHttpApi: typeof generateHttpApi;
|
|
39
39
|
protected generateHttpController: typeof generateHttpController;
|
|
40
|
-
protected _started: boolean;
|
|
41
|
-
protected _document?: ApiDocument;
|
|
42
40
|
protected _documentRoot: string;
|
|
43
41
|
protected _typesRoot: string;
|
|
44
42
|
protected _apiPath: string;
|
|
45
43
|
protected _fileHeaderDocInfo: string;
|
|
46
44
|
protected _files: Record<string, TsFile>;
|
|
45
|
+
protected _started: boolean;
|
|
46
|
+
protected _document?: ApiDocument;
|
|
47
47
|
protected _documentsMap: Map<string, {
|
|
48
48
|
document: ApiDocument;
|
|
49
49
|
generator: TsGenerator;
|