Skip to content

Commit

Permalink
Voxa 3 Project Generator (VoxaAI#68)
Browse files Browse the repository at this point in the history
* Create command to scaffold a basic TS Voxa app

* Exclude templates folder

* Exclude templates from lint

* Add prettier ignore

* Add initial template

* Make JS and TS templates

* Fix all errors in javascript template

* Fix errors in typescript template

* Add author prompt and format file

* Create initial tests for file generation

* Exclude generated tests from templates in npm test script

* Exclude generated tests from templates in npm test-ci script

* Set condition to get template files

* Fix bugs and separate tests

* Add analytics packages to templates

* Generate code in the create command for analytics packages

* Add test for analytics packages integration

* Add message to prompt

* Add Voxa CLI references to templates

* Replace serverless prompt with voxa-cli

* Create tests for voxa-cli integration

* Exclude template views and interaction files from gitignore

* Separate JS and TS project generation tests

* Create store user info test cases

* Add support to store user info in DynamoDB

* Add save user info prompt

* Add references to DynamoDB and users table in serverless file

* Replicate dynamo config in serverless in JS project

* Add support for Voxa platforms in templates

* Create test cases for platform specifics

* Set default value to Alexa when choosing a platform

* Fix error in test cases in templates

* Add yarn lock file in templates

* Add missing space in README

* Set instructions when the generator is done

* Fix dashbot version

* Remove analytics option and add suffix

* Change final message to copy and paste commands more easily

* Update dashbot and ga packages

* Fix compilation errors for TS generated project

* Refactor generator logic to its own class

* Change handlebar variable names to match data

* Set validation for prompts

* Remove one empty line

* Extract instructions messages to its own function

* Add new generator feature to changelog
  • Loading branch information
wuelcas authored and rmberrios committed May 16, 2019
1 parent 0776647 commit c7c37aa
Show file tree
Hide file tree
Showing 68 changed files with 21,882 additions and 454 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
test/excel
.voxa/
views.json
!templates/**/views.json
views.map.json
variables.map.json
client-secret*
Expand All @@ -14,6 +15,7 @@ synonyms/
log.txt
test.js
interaction.json
!templates/**/interaction.json
local-skill.json
content
test/client_secret.json
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
templates
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Added support for per slot utterances in alexa (this is the beginning of dialog support)
- Added feature to generate a full Voxa 3 project in Typescript or Javascript. Generate boilerplate code with linting, analytics, serverless, suppport for all available platforms, save/get user information from DynamoDB.

### Fixed

Expand Down
Loading

0 comments on commit c7c37aa

Please sign in to comment.