Commit 0af74eb
feat: add "new" command and connect with Studio (#102)
* feat: added oclif (#93)
* feat: added oclif
* feat: fixed lint issues
* chore: added readme command to script in package.json
* feat: fixed package.json as per review
* refactor: ported validate and context commands to oclif
* refactor: ported logic for auto detecting spec path
* feat: created custom base command class for handing errors
* fix: issues with context service saving relative path rather than complete path
* refactor: porting logic from ink routers to oclif routers. (#95)
* refactor: ported validate and context commands to oclif
* refactor: ported logic for auto detecting spec path
* feat: created custom base command class for handing errors
* fix: issues with context service saving relative path rather than complete path
* refactor: deleted ink logic from
* test: having issue setting up tests with jest.
* refactor: removed jest and setup mocha
Having issue with setting up mocha with typescript
* test: fixed issue with setup but still tests not running as intended
* test: trying to setup tests
* test: reverting back to jest
* test: reverting back to jest
* feat: setup command testing with jest
* test: added tests for CLI commands
* test: fixed tests
* fix: cleaning the .test.asyncapi file
* test: should fix the tests
* test: removed the breaking test
* refactor: changed console.log to console.error
* test: trying which tests are casing problem
* test: checking which tests are causing problem
* Migrate to new architecture
* Add package-lock.json back
* Add missing eslint packages
* Fix linting
* Ignore warnings
* Add missing deps
* Add conventional-changelog-conventionalcommits dep
* Increase tests timeout
* Change order of npm test args
* Remove old test file
* Use double quotes on mocha cli
* Fix title in README
* Use .test.asyncapi for testing
* Use cross-env to set environment variable on Windows too
* feat: add support for studio and new command
* add bidirectional communication
* Add asyncapi start studio command
* remove blockUpdate variable
* Make received events contain a type field
* Add ability to customize port
* Add port flag to asyncapi new too
* Remove asyncapi.yaml and prevent we push it again
* Fix tests
* Update README
Co-authored-by: souvik <souvikde.ns@gmail.com>
Co-authored-by: Matatjahu <urbanczyk.maciej.95@gmail.com>1 parent 4bebb6c commit 0af74eb
File tree
11 files changed
+2328
-1454
lines changed- assets
- src
- commands
- start
- errors
- models
11 files changed
+2328
-1454
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 30 | | |
33 | | - | |
34 | | - | |
| 31 | + | |
| 32 | + | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
| 70 | + | |
72 | 71 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 72 | | |
| 73 | + | |
108 | 74 | | |
109 | | - | |
| 75 | + | |
| 76 | + | |
110 | 77 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
123 | 83 | | |
124 | 84 | | |
125 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments