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

✨ Port to Oclif #105

Merged
merged 44 commits into from
Feb 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
a1a6891
:recycle: Update TsLint rules, improve error messages
rubenaeg Jun 9, 2019
f70d38e
Merge remote-tracking branch 'upstream/master'
rubenaeg Jun 9, 2019
d67db7f
:sparkles: Add prepare command
rubenaeg Jun 20, 2019
c1f6a71
:construction: Refactoring
rubenaeg Jun 20, 2019
053f63b
:construction: Refactoring
rubenaeg Jun 20, 2019
ea5b353
:construction: Refactoring
rubenaeg Jun 20, 2019
b05c387
:construction: Refactoring
rubenaeg Jun 20, 2019
4b1b2d8
:construction: Refactoring
rubenaeg Jun 20, 2019
9e81499
:construction: Refactoring
rubenaeg Jun 20, 2019
aff252d
:ambulance: Fix Type
rubenaeg Jun 20, 2019
6e228f8
:white_check_mark: Add Prepare Unit Test
rubenaeg Jul 1, 2019
365b617
:fire: Remove Convert Unit Tests
rubenaeg Jul 1, 2019
3bec881
:white_check_mark: Update Prepare Unit Test
rubenaeg Jul 1, 2019
974b113
Merge branch 'master' into command_prepare
rubenaeg Jul 1, 2019
bdf988f
:recycle: Change Prepare to Load
rubenaeg Jul 1, 2019
2effc4b
Merge branch 'command_prepare' of github.com:rubenaeg/jovo-cli into c…
rubenaeg Jul 1, 2019
fb38671
:recycle: Serve tslint
rubenaeg Jul 1, 2019
185929d
:recycle: Raise Unit Test Timeout
rubenaeg Jul 3, 2019
4176add
:recycle: Mior Refactoring
rubenaeg Jul 5, 2019
a88a5d4
:recycle: Mior Refactoring
rubenaeg Jul 5, 2019
e94388a
:recycle: Change support from comma-seperated to tab-seperated csv
rubenaeg Jul 8, 2019
3516c12
:rewind: Revert changes made to convert command
rubenaeg Jul 8, 2019
5894723
:sparkles: Add Scaffold Command
rubenaeg Jul 27, 2019
6798d7d
:construction: Add support for overwriting files for Scaffold
rubenaeg Jul 31, 2019
b534cda
:recycle: Add CANCEL option
rubenaeg Jul 31, 2019
1589b9a
:construction: Finalize Convert Command
rubenaeg Jul 31, 2019
e768068
:memo: Add comments
rubenaeg Aug 1, 2019
3ed8238
:recycle: Satisfy Tslint
rubenaeg Aug 1, 2019
28a498f
:recycle: Replace package-lock.json with original file
rubenaeg Aug 1, 2019
5f80ec8
:sparkles: Add support for objects
rubenaeg Aug 2, 2019
a50554b
:construction: Adjust Load Command to Jovo Components
rubenaeg Sep 26, 2019
b91cf54
:rocket: Add Support for Nested Components in Dependencies, Add Times…
rubenaeg Sep 30, 2019
be5873d
:fire: Exlude scaffold.test.ts
rubenaeg Sep 30, 2019
6068305
Merge remote-tracking branch 'upstream/master' into command_prepare
rubenaeg Feb 9, 2020
c23e8e5
:sparkles: CLI Port to Oclif
rubenaeg Feb 17, 2020
7f8db14
:sparkles: CLI Port to Oclif
rubenaeg Feb 17, 2020
4cdb2b2
:white_check_mark: Adjust Unit Tests
rubenaeg Feb 18, 2020
d7c1aff
:rotating_light: Satisfy TsLint
rubenaeg Feb 18, 2020
69588a4
:rewind: Add .github
rubenaeg Feb 18, 2020
a8766c4
:fire: Delete test folders
rubenaeg Feb 18, 2020
9e57064
:bug: Fix Run Bug
rubenaeg Feb 18, 2020
b719761
:package: Resolve Merge Conflicts
rubenaeg Feb 18, 2020
1eb4517
:bug: Remove bst-proxy
rubenaeg Feb 18, 2020
8640be5
:bug: Fix Ctrl+C bug
rubenaeg Feb 18, 2020
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
2 changes: 1 addition & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ Project maintainers who do not follow or enforce the Code of Conduct in good fai
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
[version]: http://contributor-covenant.org/version/1/4/
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ We're looking for any kinds of contributions. If you need any inspiration, here
* Propose new voice platforms


**Working on your first Pull Request?** You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github)
**Working on your first Pull Request?** You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github)
Empty file modified .github/ISSUE_TEMPLATE.md
100755 → 100644
Empty file.
Empty file modified .github/PULL_REQUEST_TEMPLATE.md
100755 → 100644
Empty file.
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"tabWidth": 4
}
24 changes: 3 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Learn more here: [App Configuration > Server Configuration](../03_app-configurat
$ jovo run

# Options
$ jovo run [-b | --bst-proxy] [-w | --watch] [-p, --port <port>]
$ jovo run [-w | --watch] [-p, --port <port>]
```

You can also specify the file you want to run:
Expand All @@ -145,8 +145,6 @@ $ jovo run index.js
$ node index.js
```

You can also use other tools like [bst proxy](#bst-proxy) to tunnel to your local server.

**Options**

`--port`, `-p`: Defines the port that will be used to run the local development server. Default: `3000`.
Expand All @@ -159,24 +157,8 @@ Here is a list of integrations that work with `jovo run`:

Command | Description
------------ | -------------
[`--bst-proxy`](#bst-proxy) | Creates a webhook URL for local testing and integrates with [Bespoken Analytics](../06_integrations/analytics)
[`--watch`](#watch) | Uses `nodemon` to monitor changes and automatically restart the server


##### bst proxy

You can use the bst proxy to create a webhook URL easily:

```sh
$ jovo run --bst-proxy
```

The result should look like this:

![Jovo and bst proxy](https://raw.githubusercontent.com/jovotech/jovo-framework-nodejs/master/docs/img/terminal-bst-proxy-1.jpg)

The URL also comes with logging and analytics capabilities for prototyping and testing.

##### watch

With this integration, you don't have to manually restart your server with every change you make to the application:
Expand Down Expand Up @@ -210,7 +192,7 @@ To create it, use the following command:
$ jovo init <alexaSkill | googleAction>

# Options
$ jovo init <alexaSkill | googleAction> [-e | --endpoint <jovo-webhook | ngrok | bst-proxy>]
$ jovo init <alexaSkill | googleAction> [-e | --endpoint <jovo-webhook | ngrok>]
```
The resulting `app.json` file looks like this:

Expand All @@ -236,7 +218,7 @@ The default `endpoint` uri is automatically generated and provides a simple solu

**Options**

`--enpoint`, `-e`: This specifies which endpoint you want to include in the `app.json` file. Options: `jovo-framework` (default), `bst-proxy` (see [`jovo run`](#bst-proxy)), and `ngrok` (will extract the url if ngrok is running in the background on port `3000`).
`--enpoint`, `-e`: This specifies which endpoint you want to include in the `app.json` file. Options: `jovo-framework` (default) and `ngrok` (will extract the url if ngrok is running in the background on port `3000`).


#### jovo build
Expand Down
29 changes: 29 additions & 0 deletions jovo-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
# Jovo CLI Changelog


## 1.2.11 (November 27, 2018)
* Updated vulnerable dependecies


## 1.2.10 (November 2, 2018)
* Fixed error object

## 1.2.9 (November 2, 2018)
* Improved error handling

## 1.2.8 (October 25, 2018)
* [#68](https://github.com/jovotech/jovo-cli/pull/68) Fix for issue #67, Dialogflow deploys creating empty zip file [@IGx89](https://github.com/IGx89)

## 1.2.7 (October 19, 2018)
* [#66](https://github.com/jovotech/jovo-cli/pull/66) Fixed accents bug in synonyms [@niji-mderrien](https://github.com/niji-mderrien)
* [#65](https://github.com/jovotech/jovo-cli/pull/65) Speeding up Travis build and switching from Node 7 to 8/10 [@IGx89](https://github.com/IGx89)
* [#64](https://github.com/jovotech/jovo-cli/pull/64) Addressed issue where vorpal actions weren't signaling done [@IGx89](https://github.com/IGx89)

## 1.2.6 (October 08, 2018)
* Updated vulnerable `lodash` and `adm-zip` dependencies
* [#58](https://github.com/jovotech/jovo-cli/pull/58) Added quotes around the keyfile [@wahidshafique](https://github.com/wahidshafique)


## 1.2.5 (September 20, 2018)
* Fixed primary language bug in Dialogflow Agent Part II

## 1.2.4 (September 19, 2018)
* Fixed primary language bug in Dialogflow Agent

## 1.2.3 (September 18, 2018)
* Fixed invalid characters in Dialogflow entity synonyms issue #55

Expand Down
5 changes: 5 additions & 0 deletions jovo-cli/bin/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env node

require('@oclif/command').run()
.then(require('@oclif/command/flush'))
.catch(require('@oclif/errors/handle'))
3 changes: 3 additions & 0 deletions jovo-cli/bin/run.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@echo off

node "%~dp0\run" %*
225 changes: 0 additions & 225 deletions jovo-cli/commands/build.ts

This file was deleted.

Loading