@asyncapi/cli 2.3.2 → 2.3.11
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/assets/create-glee-app/templates/default/package-lock.json +1168 -1034
- package/assets/create-glee-app/templates/default/package.json +1 -1
- package/assets/create-glee-app/templates/tutorial/package-lock.json +3183 -2544
- package/assets/create-glee-app/templates/tutorial/package.json +1 -1
- package/assets/create-template/templates/default/package-lock.json +4124 -0
- package/assets/create-template/templates/default/package.json +1 -1
- package/lib/commands/config/versions.js +2 -1
- package/lib/core/errors/specification-file.d.ts +1 -1
- package/lib/core/errors/validation-error.d.ts +1 -1
- package/lib/core/flags/global.flags.d.ts +1 -1
- package/lib/core/globals.d.ts +1 -1
- package/lib/core/parser.d.ts +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
|
@@ -6,6 +6,7 @@ const global_flags_1 = require("../../core/flags/global.flags");
|
|
|
6
6
|
class Versions extends base_1.default {
|
|
7
7
|
run() {
|
|
8
8
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
9
|
+
var _a;
|
|
9
10
|
const dependencies = [];
|
|
10
11
|
let dependency = '';
|
|
11
12
|
// Preparation of the array with all dependencies '@asyncapi/*' along with
|
|
@@ -19,7 +20,7 @@ class Versions extends base_1.default {
|
|
|
19
20
|
try {
|
|
20
21
|
// Goofy name `importedPJSON` is chosen to distinguish from name `pjson`
|
|
21
22
|
// used in `@oclif` source code.
|
|
22
|
-
const importedPJSON = yield Promise.resolve().then(() => tslib_1.__importStar(require(
|
|
23
|
+
const importedPJSON = yield (_a = `${key}/package.json`, Promise.resolve().then(() => tslib_1.__importStar(require(_a))));
|
|
23
24
|
dependencies.push(`${key}/${importedPJSON.default.version}`);
|
|
24
25
|
}
|
|
25
26
|
catch (e) {
|
|
@@ -7,7 +7,7 @@ export declare class SpecificationFileNotFound extends SpecificationFileError {
|
|
|
7
7
|
export declare class SpecificationURLNotFound extends SpecificationFileError {
|
|
8
8
|
constructor(URL: string);
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
type From = 'file' | 'url' | 'context' | 'invalid file';
|
|
11
11
|
export declare class ErrorLoadingSpec extends Error {
|
|
12
12
|
private readonly errorMessages;
|
|
13
13
|
constructor(from?: From, param?: string);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const watchFlag: (description?: string
|
|
1
|
+
export declare const watchFlag: (description?: string) => import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
2
2
|
export declare const helpFlag: () => {
|
|
3
3
|
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
4
4
|
};
|
package/lib/core/globals.d.ts
CHANGED
package/lib/core/parser.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { OutputFormat } from '@stoplight/spectral-cli/dist/services/config';
|
|
|
3
3
|
import type { Diagnostic } from '@asyncapi/parser/cjs';
|
|
4
4
|
import type Command from './base';
|
|
5
5
|
import type { Specification } from './models/SpecificationFile';
|
|
6
|
-
export
|
|
6
|
+
export type SeverityKind = 'error' | 'warn' | 'info' | 'hint';
|
|
7
7
|
export { convertToOldAPI };
|
|
8
8
|
export interface ValidationFlagsOptions {
|
|
9
9
|
logDiagnostics?: boolean;
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asyncapi/cli",
|
|
3
3
|
"description": "All in one CLI for all AsyncAPI tools",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.11",
|
|
5
5
|
"author": "@asyncapi",
|
|
6
6
|
"bin": {
|
|
7
7
|
"asyncapi": "./bin/run_bin"
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"bugs": "https://github.com/asyncapi/cli/issues",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@asyncapi/avro-schema-parser": "^3.0.23",
|
|
12
|
-
"@asyncapi/bundler": "^0.6.
|
|
13
|
-
"@asyncapi/converter": "^1.
|
|
12
|
+
"@asyncapi/bundler": "^0.6.3",
|
|
13
|
+
"@asyncapi/converter": "^1.5.1",
|
|
14
14
|
"@asyncapi/diff": "^0.4.1",
|
|
15
15
|
"@asyncapi/generator": "^1.17.25",
|
|
16
16
|
"@asyncapi/modelina": "^3.7.0",
|
|
17
17
|
"@asyncapi/modelina-cli": "^4.0.0-next.48",
|
|
18
18
|
"@asyncapi/openapi-schema-parser": "^3.0.24",
|
|
19
|
-
"@asyncapi/optimizer": "^1.0.
|
|
19
|
+
"@asyncapi/optimizer": "^1.0.3",
|
|
20
20
|
"@asyncapi/parser": "^3.1.0",
|
|
21
21
|
"@asyncapi/protobuf-schema-parser": "^3.2.13",
|
|
22
22
|
"@asyncapi/raml-dt-schema-parser": "^4.0.24",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"simple-git": "^3.16.0",
|
|
92
92
|
"ts-node": "^10.9.1",
|
|
93
93
|
"tslib": "^2.3.1",
|
|
94
|
-
"typescript": "4.6.4"
|
|
94
|
+
"typescript": "^4.6.4"
|
|
95
95
|
},
|
|
96
96
|
"engines": {
|
|
97
97
|
"node": ">12.16"
|