@asyncapi/cli 1.6.10 → 1.6.12

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.
@@ -9,7 +9,7 @@
9
9
  "version": "0.1.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
- "@asyncapi/glee": "^0.35.18"
12
+ "@asyncapi/glee": "^0.35.20"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@types/node": "^20.5.9"
@@ -42,12 +42,12 @@
42
42
  }
43
43
  },
44
44
  "node_modules/@asyncapi/generator": {
45
- "version": "1.17.11",
46
- "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.17.11.tgz",
47
- "integrity": "sha512-7PauviTgm8wXFc/7etGXBW/7ymdntrK8wE5IcbOqWFcLLrTen+BoTyHp0o/nYgmy9gv/BskLcc+P4KJMS6nT9A==",
45
+ "version": "1.17.12",
46
+ "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.17.12.tgz",
47
+ "integrity": "sha512-7SgrpwKE1SnhgbZD3qW1cOX4KnVsyyzLPr/UDt0qd1cHo1rShJ+gj9sbI81V+29PjGB4KjHsO86eAp+qO5J0bQ==",
48
48
  "dependencies": {
49
49
  "@asyncapi/generator-react-sdk": "^1.0.13",
50
- "@asyncapi/parser": "^3.0.9",
50
+ "@asyncapi/parser": "^3.0.10",
51
51
  "@npmcli/arborist": "5.6.3",
52
52
  "@smoya/multi-parser": "^5.0.0",
53
53
  "ajv": "^8.12.0",
@@ -169,14 +169,14 @@
169
169
  "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
170
170
  },
171
171
  "node_modules/@asyncapi/glee": {
172
- "version": "0.35.18",
173
- "resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.35.18.tgz",
174
- "integrity": "sha512-MYlEmlFA7ey38T3LAb0XVYnyyGL0x9SHjkKo2i/cIV/AlI3qBPPKwzUi15gNFX+kL7U6iPBHUuQLyVleCxV7jg==",
172
+ "version": "0.35.20",
173
+ "resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.35.20.tgz",
174
+ "integrity": "sha512-3uGMMSPDb6vxJPczXJeNlUPP3SKlpZuKzpS7amzxQJYPKMuj3Z8yDYGegXVcyJBBYbS/FIWgxgS3PM8Au33UXw==",
175
175
  "dependencies": {
176
- "@asyncapi/generator": "^1.17.10",
176
+ "@asyncapi/generator": "^1.17.12",
177
177
  "@asyncapi/html-template": "^2.1.4",
178
178
  "@asyncapi/markdown-template": "^1.5.0",
179
- "@asyncapi/parser": "^3.0.9",
179
+ "@asyncapi/parser": "^3.0.10",
180
180
  "@next/env": "^14.0.4",
181
181
  "@types/jest": "^29.5.11",
182
182
  "@types/qs": "^6.9.7",
@@ -394,11 +394,11 @@
394
394
  }
395
395
  },
396
396
  "node_modules/@asyncapi/raml-dt-schema-parser": {
397
- "version": "4.0.17",
398
- "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.17.tgz",
399
- "integrity": "sha512-yd933FBflZGX7NaD0IVzS5tjGHbPObk265ihQIfLb0HyObcd9OG1+YAH4q3LtTDB4aQ304uM7lh3wxzQaC6g9w==",
397
+ "version": "4.0.18",
398
+ "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.18.tgz",
399
+ "integrity": "sha512-sHpMkq3DQTEPXXL8/b/63ZcjRi9w4/gswSF+VisS1OLV9f+ouUgbNdzdIIpekBuZvPmPmn03pU552F1kLgPvfA==",
400
400
  "dependencies": {
401
- "@asyncapi/parser": "^3.0.9",
401
+ "@asyncapi/parser": "^3.0.10",
402
402
  "js-yaml": "^4.1.0",
403
403
  "ramldt2jsonschema": "^1.2.3",
404
404
  "webapi-parser": "^0.5.0"
@@ -12229,12 +12229,12 @@
12229
12229
  }
12230
12230
  },
12231
12231
  "@asyncapi/generator": {
12232
- "version": "1.17.11",
12233
- "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.17.11.tgz",
12234
- "integrity": "sha512-7PauviTgm8wXFc/7etGXBW/7ymdntrK8wE5IcbOqWFcLLrTen+BoTyHp0o/nYgmy9gv/BskLcc+P4KJMS6nT9A==",
12232
+ "version": "1.17.12",
12233
+ "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.17.12.tgz",
12234
+ "integrity": "sha512-7SgrpwKE1SnhgbZD3qW1cOX4KnVsyyzLPr/UDt0qd1cHo1rShJ+gj9sbI81V+29PjGB4KjHsO86eAp+qO5J0bQ==",
12235
12235
  "requires": {
12236
12236
  "@asyncapi/generator-react-sdk": "^1.0.13",
12237
- "@asyncapi/parser": "^3.0.9",
12237
+ "@asyncapi/parser": "^3.0.10",
12238
12238
  "@npmcli/arborist": "5.6.3",
12239
12239
  "@smoya/multi-parser": "^5.0.0",
12240
12240
  "ajv": "^8.12.0",
@@ -12335,14 +12335,14 @@
12335
12335
  }
12336
12336
  },
12337
12337
  "@asyncapi/glee": {
12338
- "version": "0.35.18",
12339
- "resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.35.18.tgz",
12340
- "integrity": "sha512-MYlEmlFA7ey38T3LAb0XVYnyyGL0x9SHjkKo2i/cIV/AlI3qBPPKwzUi15gNFX+kL7U6iPBHUuQLyVleCxV7jg==",
12338
+ "version": "0.35.20",
12339
+ "resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.35.20.tgz",
12340
+ "integrity": "sha512-3uGMMSPDb6vxJPczXJeNlUPP3SKlpZuKzpS7amzxQJYPKMuj3Z8yDYGegXVcyJBBYbS/FIWgxgS3PM8Au33UXw==",
12341
12341
  "requires": {
12342
- "@asyncapi/generator": "^1.17.10",
12342
+ "@asyncapi/generator": "^1.17.12",
12343
12343
  "@asyncapi/html-template": "^2.1.4",
12344
12344
  "@asyncapi/markdown-template": "^1.5.0",
12345
- "@asyncapi/parser": "^3.0.9",
12345
+ "@asyncapi/parser": "^3.0.10",
12346
12346
  "@next/env": "^14.0.4",
12347
12347
  "@types/jest": "^29.5.11",
12348
12348
  "@types/qs": "^6.9.7",
@@ -12532,11 +12532,11 @@
12532
12532
  }
12533
12533
  },
12534
12534
  "@asyncapi/raml-dt-schema-parser": {
12535
- "version": "4.0.17",
12536
- "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.17.tgz",
12537
- "integrity": "sha512-yd933FBflZGX7NaD0IVzS5tjGHbPObk265ihQIfLb0HyObcd9OG1+YAH4q3LtTDB4aQ304uM7lh3wxzQaC6g9w==",
12535
+ "version": "4.0.18",
12536
+ "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.18.tgz",
12537
+ "integrity": "sha512-sHpMkq3DQTEPXXL8/b/63ZcjRi9w4/gswSF+VisS1OLV9f+ouUgbNdzdIIpekBuZvPmPmn03pU552F1kLgPvfA==",
12538
12538
  "requires": {
12539
- "@asyncapi/parser": "^3.0.9",
12539
+ "@asyncapi/parser": "^3.0.10",
12540
12540
  "js-yaml": "^4.1.0",
12541
12541
  "ramldt2jsonschema": "^1.2.3",
12542
12542
  "webapi-parser": "^0.5.0"
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "homepage": "https://github.com/asyncapi/glee-hello-world#readme",
26
26
  "dependencies": {
27
- "@asyncapi/glee": "^0.35.18"
27
+ "@asyncapi/glee": "^0.35.20"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^20.5.9"
@@ -9,7 +9,7 @@
9
9
  "version": "0.1.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
- "@asyncapi/glee": "^0.35.18"
12
+ "@asyncapi/glee": "^0.35.20"
13
13
  },
14
14
  "engines": {
15
15
  "node": ">=14.15.1"
@@ -48,12 +48,12 @@
48
48
  }
49
49
  },
50
50
  "node_modules/@asyncapi/generator": {
51
- "version": "1.17.11",
52
- "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.17.11.tgz",
53
- "integrity": "sha512-7PauviTgm8wXFc/7etGXBW/7ymdntrK8wE5IcbOqWFcLLrTen+BoTyHp0o/nYgmy9gv/BskLcc+P4KJMS6nT9A==",
51
+ "version": "1.17.12",
52
+ "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.17.12.tgz",
53
+ "integrity": "sha512-7SgrpwKE1SnhgbZD3qW1cOX4KnVsyyzLPr/UDt0qd1cHo1rShJ+gj9sbI81V+29PjGB4KjHsO86eAp+qO5J0bQ==",
54
54
  "dependencies": {
55
55
  "@asyncapi/generator-react-sdk": "^1.0.13",
56
- "@asyncapi/parser": "^3.0.9",
56
+ "@asyncapi/parser": "^3.0.10",
57
57
  "@npmcli/arborist": "5.6.3",
58
58
  "@smoya/multi-parser": "^5.0.0",
59
59
  "ajv": "^8.12.0",
@@ -155,14 +155,14 @@
155
155
  }
156
156
  },
157
157
  "node_modules/@asyncapi/glee": {
158
- "version": "0.35.18",
159
- "resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.35.18.tgz",
160
- "integrity": "sha512-MYlEmlFA7ey38T3LAb0XVYnyyGL0x9SHjkKo2i/cIV/AlI3qBPPKwzUi15gNFX+kL7U6iPBHUuQLyVleCxV7jg==",
158
+ "version": "0.35.20",
159
+ "resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.35.20.tgz",
160
+ "integrity": "sha512-3uGMMSPDb6vxJPczXJeNlUPP3SKlpZuKzpS7amzxQJYPKMuj3Z8yDYGegXVcyJBBYbS/FIWgxgS3PM8Au33UXw==",
161
161
  "dependencies": {
162
- "@asyncapi/generator": "^1.17.10",
162
+ "@asyncapi/generator": "^1.17.12",
163
163
  "@asyncapi/html-template": "^2.1.4",
164
164
  "@asyncapi/markdown-template": "^1.5.0",
165
- "@asyncapi/parser": "^3.0.9",
165
+ "@asyncapi/parser": "^3.0.10",
166
166
  "@next/env": "^14.0.4",
167
167
  "@types/jest": "^29.5.11",
168
168
  "@types/qs": "^6.9.7",
@@ -382,11 +382,11 @@
382
382
  }
383
383
  },
384
384
  "node_modules/@asyncapi/raml-dt-schema-parser": {
385
- "version": "4.0.17",
386
- "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.17.tgz",
387
- "integrity": "sha512-yd933FBflZGX7NaD0IVzS5tjGHbPObk265ihQIfLb0HyObcd9OG1+YAH4q3LtTDB4aQ304uM7lh3wxzQaC6g9w==",
385
+ "version": "4.0.18",
386
+ "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.18.tgz",
387
+ "integrity": "sha512-sHpMkq3DQTEPXXL8/b/63ZcjRi9w4/gswSF+VisS1OLV9f+ouUgbNdzdIIpekBuZvPmPmn03pU552F1kLgPvfA==",
388
388
  "dependencies": {
389
- "@asyncapi/parser": "^3.0.9",
389
+ "@asyncapi/parser": "^3.0.10",
390
390
  "js-yaml": "^4.1.0",
391
391
  "ramldt2jsonschema": "^1.2.3",
392
392
  "webapi-parser": "^0.5.0"
@@ -16,6 +16,6 @@
16
16
  "author": "Fran Mendez",
17
17
  "license": "Apache-2.0",
18
18
  "dependencies": {
19
- "@asyncapi/glee": "^0.35.18"
19
+ "@asyncapi/glee": "^0.35.20"
20
20
  }
21
21
  }
@@ -450,6 +450,262 @@
450
450
  "versions.js"
451
451
  ]
452
452
  },
453
+ "new:file": {
454
+ "aliases": [],
455
+ "args": {},
456
+ "description": "Creates a new asyncapi file",
457
+ "examples": [
458
+ "asyncapi new\t - start creation of a file in interactive mode",
459
+ "asyncapi new --file-name=my-asyncapi.yml --example=default-example.yml --no-tty\t - create a new file with a specific name, using one of the examples and without interactive mode"
460
+ ],
461
+ "flags": {
462
+ "help": {
463
+ "char": "h",
464
+ "description": "Show CLI help.",
465
+ "name": "help",
466
+ "allowNo": false,
467
+ "type": "boolean"
468
+ },
469
+ "file-name": {
470
+ "char": "n",
471
+ "description": "name of the file",
472
+ "name": "file-name",
473
+ "hasDynamicHelp": false,
474
+ "multiple": false,
475
+ "type": "option"
476
+ },
477
+ "example": {
478
+ "char": "e",
479
+ "description": "name of the example to use. Available examples are:\n\t - simple-asyncapi.yml\n\t - anyof-asyncapi.yml\n\t - application-headers-asyncapi.yml\n\t - correlation-id-asyncapi.yml\n\t - websocket-gemini-asyncapi.yml\n\t - gitter-streaming-asyncapi.yml\n\t - kraken-websocket-request-reply-message-filter-in-reply-asyncapi.yml\n\t - kraken-websocket-request-reply-multiple-channels-asyncapi.yml\n\t - mercure-asyncapi.yml\n\t - not-asyncapi.yml\n\t - operation-security-asyncapi.yml\n\t - oneof-asyncapi.yml\n\t - rpc-client-asyncapi.yml\n\t - rpc-server-asyncapi.yml\n\t - slack-rtm-asyncapi.yml\n\t - tutorial.yml\n\t - streetlights-kafka-asyncapi.yml\n\t - streetlights-operation-security-asyncapi.yml\n\t - streetlights-mqtt-asyncapi.yml",
480
+ "name": "example",
481
+ "hasDynamicHelp": false,
482
+ "multiple": false,
483
+ "type": "option"
484
+ },
485
+ "studio": {
486
+ "char": "s",
487
+ "description": "open in Studio",
488
+ "name": "studio",
489
+ "allowNo": false,
490
+ "type": "boolean"
491
+ },
492
+ "port": {
493
+ "char": "p",
494
+ "description": "port in which to start Studio",
495
+ "name": "port",
496
+ "hasDynamicHelp": false,
497
+ "multiple": false,
498
+ "type": "option"
499
+ },
500
+ "no-tty": {
501
+ "description": "do not use an interactive terminal",
502
+ "name": "no-tty",
503
+ "allowNo": false,
504
+ "type": "boolean"
505
+ }
506
+ },
507
+ "hasDynamicHelp": false,
508
+ "hiddenAliases": [],
509
+ "id": "new:file",
510
+ "pluginAlias": "@asyncapi/cli",
511
+ "pluginName": "@asyncapi/cli",
512
+ "pluginType": "core",
513
+ "strict": true,
514
+ "isESM": false,
515
+ "relativePath": [
516
+ "lib",
517
+ "commands",
518
+ "new",
519
+ "file.js"
520
+ ]
521
+ },
522
+ "new:glee": {
523
+ "aliases": [],
524
+ "args": {},
525
+ "description": "Creates a new Glee project",
526
+ "flags": {
527
+ "help": {
528
+ "char": "h",
529
+ "description": "Show CLI help.",
530
+ "name": "help",
531
+ "allowNo": false,
532
+ "type": "boolean"
533
+ },
534
+ "name": {
535
+ "char": "n",
536
+ "description": "Name of the Project",
537
+ "name": "name",
538
+ "default": "project",
539
+ "hasDynamicHelp": false,
540
+ "multiple": false,
541
+ "type": "option"
542
+ },
543
+ "template": {
544
+ "char": "t",
545
+ "description": "Name of the Template",
546
+ "name": "template",
547
+ "default": "default",
548
+ "hasDynamicHelp": false,
549
+ "multiple": false,
550
+ "type": "option"
551
+ },
552
+ "file": {
553
+ "char": "f",
554
+ "description": "The path to the AsyncAPI file for generating a Glee project.",
555
+ "name": "file",
556
+ "hasDynamicHelp": false,
557
+ "multiple": false,
558
+ "type": "option"
559
+ },
560
+ "force-write": {
561
+ "description": "Force writing of the generated files to given directory even if it is a git repo with unstaged files or not empty dir (defaults to false)",
562
+ "name": "force-write",
563
+ "allowNo": false,
564
+ "type": "boolean"
565
+ }
566
+ },
567
+ "hasDynamicHelp": false,
568
+ "hiddenAliases": [],
569
+ "id": "new:glee",
570
+ "pluginAlias": "@asyncapi/cli",
571
+ "pluginName": "@asyncapi/cli",
572
+ "pluginType": "core",
573
+ "strict": true,
574
+ "isESM": false,
575
+ "relativePath": [
576
+ "lib",
577
+ "commands",
578
+ "new",
579
+ "glee.js"
580
+ ]
581
+ },
582
+ "new": {
583
+ "aliases": [],
584
+ "args": {},
585
+ "description": "Creates a new asyncapi file",
586
+ "examples": [
587
+ "asyncapi new\t - start creation of a file in interactive mode",
588
+ "asyncapi new --file-name=my-asyncapi.yml --example=default-example.yml --no-tty\t - create a new file with a specific name, using one of the examples and without interactive mode"
589
+ ],
590
+ "flags": {
591
+ "help": {
592
+ "char": "h",
593
+ "description": "Show CLI help.",
594
+ "name": "help",
595
+ "allowNo": false,
596
+ "type": "boolean"
597
+ },
598
+ "file-name": {
599
+ "char": "n",
600
+ "description": "name of the file",
601
+ "name": "file-name",
602
+ "hasDynamicHelp": false,
603
+ "multiple": false,
604
+ "type": "option"
605
+ },
606
+ "example": {
607
+ "char": "e",
608
+ "description": "name of the example to use. Available examples are:\n\t - simple-asyncapi.yml\n\t - anyof-asyncapi.yml\n\t - application-headers-asyncapi.yml\n\t - correlation-id-asyncapi.yml\n\t - websocket-gemini-asyncapi.yml\n\t - gitter-streaming-asyncapi.yml\n\t - kraken-websocket-request-reply-message-filter-in-reply-asyncapi.yml\n\t - kraken-websocket-request-reply-multiple-channels-asyncapi.yml\n\t - mercure-asyncapi.yml\n\t - not-asyncapi.yml\n\t - operation-security-asyncapi.yml\n\t - oneof-asyncapi.yml\n\t - rpc-client-asyncapi.yml\n\t - rpc-server-asyncapi.yml\n\t - slack-rtm-asyncapi.yml\n\t - tutorial.yml\n\t - streetlights-kafka-asyncapi.yml\n\t - streetlights-operation-security-asyncapi.yml\n\t - streetlights-mqtt-asyncapi.yml",
609
+ "name": "example",
610
+ "hasDynamicHelp": false,
611
+ "multiple": false,
612
+ "type": "option"
613
+ },
614
+ "studio": {
615
+ "char": "s",
616
+ "description": "open in Studio",
617
+ "name": "studio",
618
+ "allowNo": false,
619
+ "type": "boolean"
620
+ },
621
+ "port": {
622
+ "char": "p",
623
+ "description": "port in which to start Studio",
624
+ "name": "port",
625
+ "hasDynamicHelp": false,
626
+ "multiple": false,
627
+ "type": "option"
628
+ },
629
+ "no-tty": {
630
+ "description": "do not use an interactive terminal",
631
+ "name": "no-tty",
632
+ "allowNo": false,
633
+ "type": "boolean"
634
+ }
635
+ },
636
+ "hasDynamicHelp": false,
637
+ "hiddenAliases": [],
638
+ "id": "new",
639
+ "pluginAlias": "@asyncapi/cli",
640
+ "pluginName": "@asyncapi/cli",
641
+ "pluginType": "core",
642
+ "isESM": false,
643
+ "relativePath": [
644
+ "lib",
645
+ "commands",
646
+ "new",
647
+ "index.js"
648
+ ]
649
+ },
650
+ "new:project": {
651
+ "aliases": [],
652
+ "args": {},
653
+ "description": "Creates a new Glee project",
654
+ "flags": {
655
+ "help": {
656
+ "char": "h",
657
+ "description": "Show CLI help.",
658
+ "name": "help",
659
+ "allowNo": false,
660
+ "type": "boolean"
661
+ },
662
+ "name": {
663
+ "char": "n",
664
+ "description": "Name of the Project",
665
+ "name": "name",
666
+ "default": "project",
667
+ "hasDynamicHelp": false,
668
+ "multiple": false,
669
+ "type": "option"
670
+ },
671
+ "template": {
672
+ "char": "t",
673
+ "description": "Name of the Template",
674
+ "name": "template",
675
+ "default": "default",
676
+ "hasDynamicHelp": false,
677
+ "multiple": false,
678
+ "type": "option"
679
+ },
680
+ "file": {
681
+ "char": "f",
682
+ "description": "The path to the AsyncAPI file for generating a Glee project.",
683
+ "name": "file",
684
+ "hasDynamicHelp": false,
685
+ "multiple": false,
686
+ "type": "option"
687
+ },
688
+ "force-write": {
689
+ "description": "Force writing of the generated files to given directory even if it is a git repo with unstaged files or not empty dir (defaults to false)",
690
+ "name": "force-write",
691
+ "allowNo": false,
692
+ "type": "boolean"
693
+ }
694
+ },
695
+ "hasDynamicHelp": false,
696
+ "hiddenAliases": [],
697
+ "id": "new:project",
698
+ "pluginAlias": "@asyncapi/cli",
699
+ "pluginName": "@asyncapi/cli",
700
+ "pluginType": "core",
701
+ "isESM": false,
702
+ "relativePath": [
703
+ "lib",
704
+ "commands",
705
+ "new",
706
+ "project.js"
707
+ ]
708
+ },
453
709
  "generate:fromTemplate": {
454
710
  "aliases": [],
455
711
  "args": {
@@ -842,262 +1098,6 @@
842
1098
  "models.js"
843
1099
  ]
844
1100
  },
845
- "new:file": {
846
- "aliases": [],
847
- "args": {},
848
- "description": "Creates a new asyncapi file",
849
- "examples": [
850
- "asyncapi new\t - start creation of a file in interactive mode",
851
- "asyncapi new --file-name=my-asyncapi.yml --example=default-example.yml --no-tty\t - create a new file with a specific name, using one of the examples and without interactive mode"
852
- ],
853
- "flags": {
854
- "help": {
855
- "char": "h",
856
- "description": "Show CLI help.",
857
- "name": "help",
858
- "allowNo": false,
859
- "type": "boolean"
860
- },
861
- "file-name": {
862
- "char": "n",
863
- "description": "name of the file",
864
- "name": "file-name",
865
- "hasDynamicHelp": false,
866
- "multiple": false,
867
- "type": "option"
868
- },
869
- "example": {
870
- "char": "e",
871
- "description": "name of the example to use. Available examples are:\n\t - simple-asyncapi.yml\n\t - anyof-asyncapi.yml\n\t - application-headers-asyncapi.yml\n\t - correlation-id-asyncapi.yml\n\t - websocket-gemini-asyncapi.yml\n\t - gitter-streaming-asyncapi.yml\n\t - kraken-websocket-request-reply-message-filter-in-reply-asyncapi.yml\n\t - kraken-websocket-request-reply-multiple-channels-asyncapi.yml\n\t - mercure-asyncapi.yml\n\t - not-asyncapi.yml\n\t - operation-security-asyncapi.yml\n\t - oneof-asyncapi.yml\n\t - rpc-client-asyncapi.yml\n\t - rpc-server-asyncapi.yml\n\t - slack-rtm-asyncapi.yml\n\t - tutorial.yml\n\t - streetlights-kafka-asyncapi.yml\n\t - streetlights-operation-security-asyncapi.yml\n\t - streetlights-mqtt-asyncapi.yml",
872
- "name": "example",
873
- "hasDynamicHelp": false,
874
- "multiple": false,
875
- "type": "option"
876
- },
877
- "studio": {
878
- "char": "s",
879
- "description": "open in Studio",
880
- "name": "studio",
881
- "allowNo": false,
882
- "type": "boolean"
883
- },
884
- "port": {
885
- "char": "p",
886
- "description": "port in which to start Studio",
887
- "name": "port",
888
- "hasDynamicHelp": false,
889
- "multiple": false,
890
- "type": "option"
891
- },
892
- "no-tty": {
893
- "description": "do not use an interactive terminal",
894
- "name": "no-tty",
895
- "allowNo": false,
896
- "type": "boolean"
897
- }
898
- },
899
- "hasDynamicHelp": false,
900
- "hiddenAliases": [],
901
- "id": "new:file",
902
- "pluginAlias": "@asyncapi/cli",
903
- "pluginName": "@asyncapi/cli",
904
- "pluginType": "core",
905
- "strict": true,
906
- "isESM": false,
907
- "relativePath": [
908
- "lib",
909
- "commands",
910
- "new",
911
- "file.js"
912
- ]
913
- },
914
- "new:glee": {
915
- "aliases": [],
916
- "args": {},
917
- "description": "Creates a new Glee project",
918
- "flags": {
919
- "help": {
920
- "char": "h",
921
- "description": "Show CLI help.",
922
- "name": "help",
923
- "allowNo": false,
924
- "type": "boolean"
925
- },
926
- "name": {
927
- "char": "n",
928
- "description": "Name of the Project",
929
- "name": "name",
930
- "default": "project",
931
- "hasDynamicHelp": false,
932
- "multiple": false,
933
- "type": "option"
934
- },
935
- "template": {
936
- "char": "t",
937
- "description": "Name of the Template",
938
- "name": "template",
939
- "default": "default",
940
- "hasDynamicHelp": false,
941
- "multiple": false,
942
- "type": "option"
943
- },
944
- "file": {
945
- "char": "f",
946
- "description": "The path to the AsyncAPI file for generating a Glee project.",
947
- "name": "file",
948
- "hasDynamicHelp": false,
949
- "multiple": false,
950
- "type": "option"
951
- },
952
- "force-write": {
953
- "description": "Force writing of the generated files to given directory even if it is a git repo with unstaged files or not empty dir (defaults to false)",
954
- "name": "force-write",
955
- "allowNo": false,
956
- "type": "boolean"
957
- }
958
- },
959
- "hasDynamicHelp": false,
960
- "hiddenAliases": [],
961
- "id": "new:glee",
962
- "pluginAlias": "@asyncapi/cli",
963
- "pluginName": "@asyncapi/cli",
964
- "pluginType": "core",
965
- "strict": true,
966
- "isESM": false,
967
- "relativePath": [
968
- "lib",
969
- "commands",
970
- "new",
971
- "glee.js"
972
- ]
973
- },
974
- "new": {
975
- "aliases": [],
976
- "args": {},
977
- "description": "Creates a new asyncapi file",
978
- "examples": [
979
- "asyncapi new\t - start creation of a file in interactive mode",
980
- "asyncapi new --file-name=my-asyncapi.yml --example=default-example.yml --no-tty\t - create a new file with a specific name, using one of the examples and without interactive mode"
981
- ],
982
- "flags": {
983
- "help": {
984
- "char": "h",
985
- "description": "Show CLI help.",
986
- "name": "help",
987
- "allowNo": false,
988
- "type": "boolean"
989
- },
990
- "file-name": {
991
- "char": "n",
992
- "description": "name of the file",
993
- "name": "file-name",
994
- "hasDynamicHelp": false,
995
- "multiple": false,
996
- "type": "option"
997
- },
998
- "example": {
999
- "char": "e",
1000
- "description": "name of the example to use. Available examples are:\n\t - simple-asyncapi.yml\n\t - anyof-asyncapi.yml\n\t - application-headers-asyncapi.yml\n\t - correlation-id-asyncapi.yml\n\t - websocket-gemini-asyncapi.yml\n\t - gitter-streaming-asyncapi.yml\n\t - kraken-websocket-request-reply-message-filter-in-reply-asyncapi.yml\n\t - kraken-websocket-request-reply-multiple-channels-asyncapi.yml\n\t - mercure-asyncapi.yml\n\t - not-asyncapi.yml\n\t - operation-security-asyncapi.yml\n\t - oneof-asyncapi.yml\n\t - rpc-client-asyncapi.yml\n\t - rpc-server-asyncapi.yml\n\t - slack-rtm-asyncapi.yml\n\t - tutorial.yml\n\t - streetlights-kafka-asyncapi.yml\n\t - streetlights-operation-security-asyncapi.yml\n\t - streetlights-mqtt-asyncapi.yml",
1001
- "name": "example",
1002
- "hasDynamicHelp": false,
1003
- "multiple": false,
1004
- "type": "option"
1005
- },
1006
- "studio": {
1007
- "char": "s",
1008
- "description": "open in Studio",
1009
- "name": "studio",
1010
- "allowNo": false,
1011
- "type": "boolean"
1012
- },
1013
- "port": {
1014
- "char": "p",
1015
- "description": "port in which to start Studio",
1016
- "name": "port",
1017
- "hasDynamicHelp": false,
1018
- "multiple": false,
1019
- "type": "option"
1020
- },
1021
- "no-tty": {
1022
- "description": "do not use an interactive terminal",
1023
- "name": "no-tty",
1024
- "allowNo": false,
1025
- "type": "boolean"
1026
- }
1027
- },
1028
- "hasDynamicHelp": false,
1029
- "hiddenAliases": [],
1030
- "id": "new",
1031
- "pluginAlias": "@asyncapi/cli",
1032
- "pluginName": "@asyncapi/cli",
1033
- "pluginType": "core",
1034
- "isESM": false,
1035
- "relativePath": [
1036
- "lib",
1037
- "commands",
1038
- "new",
1039
- "index.js"
1040
- ]
1041
- },
1042
- "new:project": {
1043
- "aliases": [],
1044
- "args": {},
1045
- "description": "Creates a new Glee project",
1046
- "flags": {
1047
- "help": {
1048
- "char": "h",
1049
- "description": "Show CLI help.",
1050
- "name": "help",
1051
- "allowNo": false,
1052
- "type": "boolean"
1053
- },
1054
- "name": {
1055
- "char": "n",
1056
- "description": "Name of the Project",
1057
- "name": "name",
1058
- "default": "project",
1059
- "hasDynamicHelp": false,
1060
- "multiple": false,
1061
- "type": "option"
1062
- },
1063
- "template": {
1064
- "char": "t",
1065
- "description": "Name of the Template",
1066
- "name": "template",
1067
- "default": "default",
1068
- "hasDynamicHelp": false,
1069
- "multiple": false,
1070
- "type": "option"
1071
- },
1072
- "file": {
1073
- "char": "f",
1074
- "description": "The path to the AsyncAPI file for generating a Glee project.",
1075
- "name": "file",
1076
- "hasDynamicHelp": false,
1077
- "multiple": false,
1078
- "type": "option"
1079
- },
1080
- "force-write": {
1081
- "description": "Force writing of the generated files to given directory even if it is a git repo with unstaged files or not empty dir (defaults to false)",
1082
- "name": "force-write",
1083
- "allowNo": false,
1084
- "type": "boolean"
1085
- }
1086
- },
1087
- "hasDynamicHelp": false,
1088
- "hiddenAliases": [],
1089
- "id": "new:project",
1090
- "pluginAlias": "@asyncapi/cli",
1091
- "pluginName": "@asyncapi/cli",
1092
- "pluginType": "core",
1093
- "isESM": false,
1094
- "relativePath": [
1095
- "lib",
1096
- "commands",
1097
- "new",
1098
- "project.js"
1099
- ]
1100
- },
1101
1101
  "start": {
1102
1102
  "aliases": [],
1103
1103
  "args": {},
@@ -1436,5 +1436,5 @@
1436
1436
  ]
1437
1437
  }
1438
1438
  },
1439
- "version": "1.6.10"
1439
+ "version": "1.6.12"
1440
1440
  }
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": "1.6.10",
4
+ "version": "1.6.12",
5
5
  "author": "@asyncapi",
6
6
  "bin": {
7
7
  "asyncapi": "./bin/run"
@@ -13,7 +13,7 @@
13
13
  "@asyncapi/converter": "^1.4.15",
14
14
  "@asyncapi/diff": "^0.4.1",
15
15
  "@asyncapi/generator": "^1.17.7",
16
- "@asyncapi/modelina": "^3.4.3",
16
+ "@asyncapi/modelina": "^3.4.5",
17
17
  "@asyncapi/openapi-schema-parser": "^3.0.16",
18
18
  "@asyncapi/optimizer": "^0.2.7",
19
19
  "@asyncapi/parser": "^3.0.9",