Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .asyncapi-cli

This file was deleted.

40 changes: 40 additions & 0 deletions .changeset/1825.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
'@asyncapi/cli': minor
---

feat: refactor CLI to be service based and initial migration of server-api

- ac95777: feat: refactor cli to be service based and migrate server-api

Signed-off-by: Shurtu-gal <[email protected]>
- 6b925f4: chore: fix diff test

Signed-off-by: Shurtu-gal <[email protected]>
- cfe6e8d: feat: add generator controller

Signed-off-by: Shurtu-gal <[email protected]>
- b2d7bcc: chore: don't need to install everytime

Signed-off-by: Shurtu-gal <[email protected]>
- dd71d22: Merge remote-tracking branch 'origin/master' into refactor
- 1fd1216: fix: linting

Signed-off-by: Ashish Padhy <[email protected]>
- 6bd3e73: chore: run prettier

Signed-off-by: Ashish Padhy <[email protected]>
- ca3fdee: chore: run linter

Signed-off-by: Ashish Padhy <[email protected]>
- 1d03d79: chore: quick startup of server-api

Signed-off-by: Shurtu-gal <[email protected]>
- 13729bb: chore: rename to apps

Signed-off-by: Ashish Padhy <[email protected]>
- cdd2a43: chore: rename npm commands

Signed-off-by: Ashish Padhy <[email protected]>
- 90aca02: Merge remote-tracking branch 'remote/master' into refactor


2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
}
},
{
"files": ["src/core/base.ts"],
"files": ["src/apps/cli/internal/base.ts"],
"rules": {
"@typescript-eslint/ban-ts-comment": "off"
}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ node_modules
test.asyncapi-cli
asyncapi.json
test/fixtures/minimaltemplate/__transpiled
test/fixtures/newtemplate/__transpiled
test/fixtures/specification-conv.yml
test/fixtures/specification-conv.yaml
test/fixtures/specification-conv.json
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This project uses [Lefthook](https://github.com/evilmartians/lefthook) to enforc

To run all tests locally:

- Unit tests: `npm run test:unit`
- CLI tests: `npm run cli:test`
- Github action tests: `npm run action:test`

### Adding tests
Expand Down
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pre-commit:
lint:
run: npm run lint
test:
run: npm run test:unit
run: npm run test

commit-msg:
parallel: true
Expand Down
12 changes: 12 additions & 0 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"watch": [
"src",
".env"
],
"ext": "js,ts,json",
"ignore": [
"src/**/*.spec.ts",
"src/**/*.test.ts"
],
"exec": "ts-node --require tsconfig-paths/register --transpile-only src/apps/api/server.ts"
}
Loading