Skip to content

Commit

Permalink
use ts, create commands for init and interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
rmberrios committed Feb 22, 2019
1 parent 127e570 commit 7059e0c
Show file tree
Hide file tree
Showing 35 changed files with 2,641 additions and 1,866 deletions.
148 changes: 145 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,154 @@
node_modules/
# Project specifics

client-secret*
client_secret*
speech-content
speech-assets
speech
synonyms/
log.txt
test.js
interaction.json
local-skill.json
_site
.sass-cache

# Created by https://www.gitignore.io/api/vim,node,macos,jekyll,visualstudiocode

### Jekyll ###
_site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata

lib/
.vscode/
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless

### Vim ###
# Swap
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]

# Session
Session.vim

# Temporary
.netrwhist
*~
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json


# End of https://www.gitignore.io/api/vim,node,macos,jekyll,visualstudiocode
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.git
package-lock.json
yarn.lock
.vscode
assets
client_secret.json
interaction.json
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v8.10
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ Create interaction model and publishing information for your Alexa skills.
$ npm install --save voxa-cli
```

## Roadmap

| Feature | Description | Completed | Version |
|---------|-------------|:---------:|:-------:|
| **Multicommand support** | Organize project to support multiple commands || 2.0.0 |
| **Command Init** | Allow user to create an empty (default) project for Voxa 3 || 2.0.0 |
| **Command Interaction** | Improvements to interaction command || 2.0.0 |
| **Typescript** | Move to project to Typescript || 2.0.0 |
| **README.md** | Update/Improve repo README.md || 2.0.0 |
| **Command Plugins** | List, view info and install plugins for Voxa 3 || 2.x.x |
| **Command Init: Templates** | Choose what template want to use to create the project for Voxa 3 || 2.x.x |
| **Command Run** | Serve the application on the development Server || 2.x.x |

## Getting started

### Create credentials and share your spreadsheet with a client
Expand Down
Binary file added assets/templates/example-interaction-model.xlsx
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions bin/voxa.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env node

'use strict';

require(`${__dirname}/../lib/src`)(process.argv);
80 changes: 0 additions & 80 deletions builder.js

This file was deleted.

Binary file removed example-interaction-model.xlsx
Binary file not shown.
Binary file removed example-publishing-information.xlsx
Binary file not shown.
1 change: 0 additions & 1 deletion index.js
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ program
}
}


try {
// a path we KNOW is totally bogus and not a module
interaction.auth = require(authPath);
Expand Down
12 changes: 0 additions & 12 deletions interaction.example.json

This file was deleted.

72 changes: 60 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,72 @@
{
"name": "voxa-cli",
"version": "1.0.2-alpha28",
"description": "",
"main": "index.js",
"version": "1.0.2-alpha29",
"description": "The Voxa CLI tools",
"bin": {
"voxa-cli": "index.js"
"voxa": "./bin/voxa.js"
},
"engines": {
"node": ">=8.10"
},
"repository": {
"type": "git",
"url": "https://github.com/mediarain/voxa-cli.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"tsc": "rm -rf lib && tsc"
},
"author": "",
"license": "ISC",
"author": "Rain Agency <npm@rain.agency> (http://rain.agency)",
"contributors": [
"Rommel Berrios <rommel.berrios93@gmail.com>",
"Christian Torres <chtorrez@gmail.com>"
],
"keywords": [
"alexa",
"skills",
"amazon",
"actions",
"dialogflow",
"google",
"framework",
"voice",
"voxa",
"app"
],
"license": "MIT",
"dependencies": {
"bluebird": "^3.5.0",
"@types/bluebird": "^3.5.24",
"@types/fs-extra": "^5.0.4",
"@types/inquirer": "^0.0.43",
"@types/lodash": "^4.14.116",
"@types/uuid": "^3.4.4",
"bluebird": "^3.5.2",
"chai": "^4.0.2",
"commander": "^2.15.1",
"colors": "^1.3.3",
"commander": "^2.19.0",
"fs-extra": "^7.0.0",
"google-auth-library": "^2.0.0",
"google-spreadsheet": "^2.0.4",
"lodash": "^4.17.4",
"googleapis": "^33.0.0",
"inquirer": "^6.2.2",
"jshint": "^2.9.6",
"lodash": "^4.17.11",
"pad": "^2.2.2",
"path": "^0.12.7",
"pretty-error": "^2.1.1",
"uuid": "^3.1.0"
}
"rxjs": "^6.4.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"@types/node": "^10.10.1",
"source-map-support": "^0.5.9",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-no-unused-expression-chai": "^0.1.3",
"typescript": "^3.0.3"
},
"bugs": {
"url": "https://github.com/mediarain/voxa-cli/issues"
},
"homepage": "https://github.com/mediarain/voxa-cli#readme"
}
Loading

0 comments on commit 7059e0c

Please sign in to comment.