Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add generate fromTemplate command #221

Merged
merged 96 commits into from
Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from 86 commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
f4789e0
feat: implement generate command
Souvikns Feb 9, 2022
d282dae
feat: add minimal generator functionalities
Souvikns Feb 14, 2022
5978738
feat: add parsing logic for flags
Souvikns Feb 15, 2022
633732d
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Feb 16, 2022
5e2b448
fix: code smells
Souvikns Feb 16, 2022
69d20eb
Merge branch 'master' into generator-command
Souvikns Feb 22, 2022
ee85ddf
chore: removing unused types
Souvikns Feb 22, 2022
664ca06
chore: trying new ways to declare local type
Souvikns Feb 28, 2022
8d3bf1e
chore: ignoring imports
Souvikns Feb 28, 2022
b45ea60
Merge branch 'master' into generator-command
Souvikns Mar 2, 2022
cafbc72
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Mar 7, 2022
0c9f54c
chore: update generate command to use @oclif/core
Souvikns Mar 7, 2022
c5c93a6
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Mar 15, 2022
8ddeb1a
Update package.json
Souvikns Mar 15, 2022
0b4e1a8
chore: update test script
Souvikns Mar 15, 2022
6243dc1
feat: add flag parsing logic for generator command
Souvikns Mar 30, 2022
93a6b6a
Merge branch 'master' into generator-command
Souvikns Mar 30, 2022
c7a236b
fix: fix code smell
Souvikns Mar 30, 2022
62809d4
Merge branch 'generator-command' of https://github.com/Souvikns/cli i…
Souvikns Mar 30, 2022
dd3a734
chore: update generator to latest
Souvikns Apr 12, 2022
184843a
Merge branch 'master' into generator-command
Souvikns Apr 12, 2022
7e90d0f
Merge branch 'master' into generator-command
Souvikns Apr 20, 2022
407f3af
chore: install babel/core
Souvikns Apr 20, 2022
60b6a6e
refactor: lint fix and code cleanup
Souvikns Apr 20, 2022
a15d638
refactor: fix code smell
Souvikns Apr 20, 2022
41f4cba
Merge branch 'master' into generator-command
Souvikns Apr 20, 2022
912f72c
Merge branch 'master' into generator-command
Souvikns Apr 20, 2022
c192da1
Merge branch 'master' into generator-command
Souvikns Apr 21, 2022
233f5f1
refactor: cleanup log messages
Souvikns Apr 25, 2022
57994ba
Merge branch 'master' into generator-command
Souvikns Apr 27, 2022
f8d202c
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns May 9, 2022
181a91d
refactor: add parseFlag function
Souvikns May 9, 2022
380f070
refactor: make output flag as required.
Souvikns May 9, 2022
00356ba
refactor: remove the GeneratorFlagParser class
Souvikns May 12, 2022
3bfd5f2
Merge branch 'master' into generator-command
Souvikns May 12, 2022
b602012
refactor: remove old test
Souvikns May 12, 2022
07e0678
Merge branch 'generator-command' of https://github.com/Souvikns/cli i…
Souvikns May 12, 2022
9e10797
Merge branch 'master' into generator-command
Souvikns May 16, 2022
7cdd76f
chore: update generator version
Souvikns May 16, 2022
cc5924a
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns May 18, 2022
b522db7
feat: implement watcher for generate command
Souvikns May 24, 2022
18640f5
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns May 24, 2022
b90a5be
refactor: address code smell
Souvikns May 24, 2022
e573e8f
Merge branch 'master' into generator-command
Souvikns May 25, 2022
7490962
fix watch mode
magicmatatjahu May 30, 2022
a660a0c
trap errors in proper way
magicmatatjahu May 30, 2022
7fc02b6
trap errors in proper way
magicmatatjahu May 30, 2022
1efece8
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns May 31, 2022
426c361
refactor: update cli help messages
Souvikns Jun 7, 2022
82cffbf
refactor: format help message and clean up code
Souvikns Jun 13, 2022
9cb952c
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Jun 30, 2022
1eb575d
refactor: move template generation under template command
Souvikns Jun 30, 2022
60e872c
feat: fix dx for generate topic help
Souvikns Jun 30, 2022
f224717
Merge branch 'master' into generator-command
Souvikns Jun 30, 2022
6733858
Merge branch 'master' into generator-command
Souvikns Jun 30, 2022
54e9a14
Merge branch 'master' into generator-command
Souvikns Jul 1, 2022
0b351da
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Jul 4, 2022
ea73263
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Jul 5, 2022
4622be8
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Jul 6, 2022
2e0921e
Merge branch 'master' into generator-command
Souvikns Jul 13, 2022
e196b20
refactor: add suggested changes
Souvikns Jul 13, 2022
28d42f1
refactor: increase test timeout
Souvikns Jul 14, 2022
35bc887
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Jul 14, 2022
3acdc6c
chore: fix tests by installing required dependencies
Souvikns Jul 19, 2022
93ee74b
feat: add tests
Souvikns Jul 20, 2022
95709c3
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Jul 20, 2022
198cb76
chore: lint fix
Souvikns Jul 20, 2022
f833ac7
feat: fix code smells by sonar cloud
Souvikns Jul 21, 2022
d93f1b4
Update sonar-project.properties
Souvikns Jul 21, 2022
7e765cd
Update sonar-project.properties
Souvikns Jul 21, 2022
2946989
Update sonar-project.properties
Souvikns Jul 21, 2022
8bb545f
Update sonar-project.properties
Souvikns Jul 21, 2022
1e78a4f
refactor: making output flag optional
Souvikns Jul 25, 2022
a0fc9d0
refactor: lint fixes
Souvikns Jul 25, 2022
2e6a5b6
chore: increase test timeout for windows
Souvikns Jul 25, 2022
07a15b0
refactor: remove __transpiled and update sonar properties
Souvikns Jul 28, 2022
a9d9bf4
refactor: fix code smells
Souvikns Jul 28, 2022
140c3d1
refactor: fix tests
Souvikns Aug 10, 2022
a8759cc
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Aug 10, 2022
bee82be
feat: use minimaltemplate for tests
Souvikns Aug 17, 2022
b14cc90
feat: change template to fromTemplate
Souvikns Aug 26, 2022
0bbf4da
feat: add tests for disable-hooks
Souvikns Aug 31, 2022
e6688fd
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Sep 7, 2022
44c1cf6
feat: remove stack logs from error messages
Souvikns Sep 7, 2022
f520fd4
chore: lint fix
Souvikns Sep 7, 2022
6dd844d
feat: implement mapbaseurl and add test
Souvikns Sep 8, 2022
845358c
refactor: readme update and help message update
Souvikns Sep 9, 2022
ea654c3
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Sep 9, 2022
1718392
Update README.md
Souvikns Sep 15, 2022
5c20518
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Sep 15, 2022
6e2f2c3
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Sep 21, 2022
26ec99f
Merge remote-tracking branch 'upstream/master' into generator-command
Souvikns Sep 22, 2022
59f035e
Merge branch 'master' into generator-command
Souvikns Sep 26, 2022
51cef6e
feat: add remaining tests
Souvikns Sep 26, 2022
58a88b5
Update fromTemplate.test.ts
Souvikns Sep 26, 2022
3fbf810
Update fromTemplate.test.ts
Souvikns Sep 26, 2022
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: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dist
lib
/test/commands/generate/models/
test/helpers
/test/minimaltemplate
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
},
"overrides": [
{
"files": ["*.spec.ts", "*.spec.tsx", "src/help/command.ts"],
"files": ["*.spec.ts", "*.spec.tsx", "src/help/command.ts", "*.test.ts"],
"rules": {
"no-undef": "off",
"security/detect-non-literal-fs-filename": "off",
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ node_modules
asyncapi.json
asyncapi.yaml
asyncapi.yml
/test/docs
test/minimaltemplate/__transpiled


spec-examples.zip
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ COMMANDS
java generate the models for Java
javascript generate the models for JavaScript
dart generate the models for Dart
fromTemplate generate whatever you want using templates compatible with AsyncAPI Generator
Souvikns marked this conversation as resolved.
Show resolved Hide resolved
```

## Contributing
Expand Down
Loading