Skip to content

Commit 9e8804f

Browse files
authored
Merge branch 'master' into additionalVersionFlag
2 parents 97767d1 + 9a5af55 commit 9e8804f

File tree

7 files changed

+63
-71
lines changed

7 files changed

+63
-71
lines changed

.changeset/big-schools-chew.md

-5
This file was deleted.

.changeset/five-moles-care.md

-5
This file was deleted.

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @asyncapi/cli
22

3+
## 2.16.1
4+
5+
### Patch Changes
6+
7+
- 3ab019f: chore(deps): bump jsonpath-plus and @stoplight/spectral-core
8+
- 07514e6: implemented new UI/UX improvements in config command
9+
- a774ae2: fix: starting of studio fixed when using example with new file
10+
311
## 2.16.0
412

513
### Minor Changes

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ runs:
3838
using: 'docker'
3939
# This is the image that will be used to run the action.
4040
# IMPORTANT: The version has to be changed manually in your PRs.
41-
image: 'docker://asyncapi/github-action-for-cli:2.16.0'
41+
image: 'docker://asyncapi/github-action-for-cli:2.16.1'
4242
args:
4343
- ${{ inputs.cli_version }}
4444
- ${{ inputs.command }}

assets/create-template/templates/default/package-lock.json

+52-59
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@asyncapi/cli",
33
"description": "All in one CLI for all AsyncAPI tools",
4-
"version": "2.16.0",
4+
"version": "2.16.1",
55
"author": "@asyncapi",
66
"bin": {
77
"asyncapi": "./bin/run_bin"

src/commands/new/file.ts

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export default class NewFile extends Command {
127127
selectedTemplate = selectedTemplate || DEFAULT_ASYNCAPI_TEMPLATE;
128128

129129
await this.createAsyncapiFile(fileName, selectedTemplate);
130+
fileName = fileName.includes('.') ? fileName : `${fileName}.yaml`;
130131
if (openStudio) { startStudio(fileName, flags.port || DEFAULT_PORT);}
131132
}
132133

0 commit comments

Comments
 (0)