diff --git a/CHANGELOG.md b/CHANGELOG.md index 71901a4936..e9136a3900 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,39 @@ # Jovo Framework Changelog +## 2.1.2 (2019-03-12) + +#### :rocket: New Feature +* `jovo-platform-airtable` [#411](https://github.com/jovotech/jovo-framework/pull/411) ✨ Adds Airtable CMS Integration ([@KaanKC](https://github.com/KaanKC)) + +#### :bug: Bug Fix +* `jovo-platform-googleassistant` Fixes lifespan of session context + +#### Committers: 2 +- Kaan Kilic ([@KaanKC](https://github.com/KaanKC)) +- Alex ([@aswetlow](https://github.com/aswetlow)) + + + + +## 2.1.1 (2019-03-11) + +#### :rocket: New Feature +* `jovo-platform-googleassistant`, `jovo-platform-dialogflow` [#413](https://github.com/jovotech/jovo-framework/pull/413) ✨ Adds dialogflow slot filling example ([@KaanKC](https://github.com/KaanKC)) + +#### :bug: Bug Fix +* `jovo-cms-googlesheets` [#414](https://github.com/jovotech/jovo-framework/pull/414) ♻️ GoogleSheetsCMS integration should reject JovoError instead of string ([@KaanKC](https://github.com/KaanKC)) +* `jovo-core` [#415](https://github.com/jovotech/jovo-framework/pull/415) 🐛 Fixes: JovoError doesn't print module ([@KaanKC](https://github.com/KaanKC)) +* `jovo-platform-googleassistant` [#410](https://github.com/jovotech/jovo-framework/pull/410) 🐛 Fixes Google Assistant handler merge #412 ([@kouz75](https://github.com/kouz75)) +* `jovo-platform-alexa` Fixes ContactAPI access token bug +* `jovo-platform-googleassistant` Fixes lifespan of session context + +#### Committers: 3 +- Kaan Kilic ([@KaanKC](https://github.com/KaanKC)) +- scouzinier ([@kouz75](https://github.com/kouz75)) +- Alex ([@aswetlow](https://github.com/aswetlow)) + + ## 2.1.0 (2019-03-05) #### :rocket: New Feature diff --git a/examples/00_ts/hello-world/package.json b/examples/00_ts/hello-world/package.json index dfcd45bc6a..8965391323 100644 --- a/examples/00_ts/hello-world/package.json +++ b/examples/00_ts/hello-world/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-ts-hello-world", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "dist/src/index", @@ -17,9 +17,9 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3" }, "devDependencies": { "@types/express": "^4.16.0", @@ -32,8 +32,8 @@ "gulp-run-command": "0.0.9", "gulp-zip": "^4.2.0", "jest": "^23.4.2", - "jovo-db-filedb": "^2.1.0", - "jovo-plugin-debugger": "^2.1.0", + "jovo-db-filedb": "^2.1.1", + "jovo-plugin-debugger": "^2.1.1", "source-map-support": "^0.5.8", "ts-jest": "^23.10.5", "tslint": "^5.10.0", diff --git a/examples/01_alexa/apl/package.json b/examples/01_alexa/apl/package.json index 2ec761f11f..19db98c421 100644 --- a/examples/01_alexa/apl/package.json +++ b/examples/01_alexa/apl/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-apl", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,8 +13,8 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-plugin-debugger": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/01_alexa/audioplayer/package.json b/examples/01_alexa/audioplayer/package.json index 81e86baf83..841b7f72f8 100644 --- a/examples/01_alexa/audioplayer/package.json +++ b/examples/01_alexa/audioplayer/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-audioplayer", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,8 +13,8 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-plugin-debugger": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/01_alexa/cards/package.json b/examples/01_alexa/cards/package.json index 3f04dc7e2b..3592b3d1eb 100644 --- a/examples/01_alexa/cards/package.json +++ b/examples/01_alexa/cards/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-cards", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,8 +13,8 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-plugin-debugger": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/01_alexa/contact-permission-api/package.json b/examples/01_alexa/contact-permission-api/package.json index b8fe24412c..2f4f5bf67d 100644 --- a/examples/01_alexa/contact-permission-api/package.json +++ b/examples/01_alexa/contact-permission-api/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-contact-permission-api", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2" } } diff --git a/examples/01_alexa/device-address-api/package.json b/examples/01_alexa/device-address-api/package.json index 2cdd0c5d87..618b81b977 100644 --- a/examples/01_alexa/device-address-api/package.json +++ b/examples/01_alexa/device-address-api/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-device-address-api", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2" } } diff --git a/examples/01_alexa/dialog-interface/package.json b/examples/01_alexa/dialog-interface/package.json index a45a59ca14..0a9c250f5e 100644 --- a/examples/01_alexa/dialog-interface/package.json +++ b/examples/01_alexa/dialog-interface/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-dialog-interface", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2" } } diff --git a/examples/01_alexa/display-interface/package.json b/examples/01_alexa/display-interface/package.json index 3cf45c231d..1fcf82a42f 100644 --- a/examples/01_alexa/display-interface/package.json +++ b/examples/01_alexa/display-interface/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-display-interface", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,8 +13,8 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-plugin-debugger": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/01_alexa/gagdets-api/package.json b/examples/01_alexa/gagdets-api/package.json index e7715be57a..66ce178c8e 100644 --- a/examples/01_alexa/gagdets-api/package.json +++ b/examples/01_alexa/gagdets-api/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-gadgets-api", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,9 +13,9 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-plugin-debugger": "^2.1.0" + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/01_alexa/geolocation/package.json b/examples/01_alexa/geolocation/package.json index 22b3e13eb5..6cc624a79b 100644 --- a/examples/01_alexa/geolocation/package.json +++ b/examples/01_alexa/geolocation/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-geolocation", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2" } } diff --git a/examples/01_alexa/proactive-events-api/package.json b/examples/01_alexa/proactive-events-api/package.json index 578af50b35..b08ccc295f 100644 --- a/examples/01_alexa/proactive-events-api/package.json +++ b/examples/01_alexa/proactive-events-api/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-proactive-events-api", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2" } } diff --git a/examples/01_alexa/progressive-response/package.json b/examples/01_alexa/progressive-response/package.json index b9a0863cc2..7819f4c266 100644 --- a/examples/01_alexa/progressive-response/package.json +++ b/examples/01_alexa/progressive-response/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-progressive-response", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2" } } diff --git a/examples/01_alexa/reminders-api/package.json b/examples/01_alexa/reminders-api/package.json index d83a03812f..ee60c46e50 100644 --- a/examples/01_alexa/reminders-api/package.json +++ b/examples/01_alexa/reminders-api/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-reminders-api", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2" } } diff --git a/examples/01_alexa/settings-api/package.json b/examples/01_alexa/settings-api/package.json index ea31b4951e..2c13fc9426 100644 --- a/examples/01_alexa/settings-api/package.json +++ b/examples/01_alexa/settings-api/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-settings-api", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,8 +13,8 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", "moment-timezone": "^0.5.23" } } diff --git a/examples/01_alexa/shopping-list/package.json b/examples/01_alexa/shopping-list/package.json index 040c57f7e3..922ed9040f 100644 --- a/examples/01_alexa/shopping-list/package.json +++ b/examples/01_alexa/shopping-list/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-shopping-list", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2" } } diff --git a/examples/01_alexa/todo-list/package.json b/examples/01_alexa/todo-list/package.json index 600fc73aea..f1c2b03034 100644 --- a/examples/01_alexa/todo-list/package.json +++ b/examples/01_alexa/todo-list/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-todo-list", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2" } } diff --git a/examples/01_alexa/video-app/package.json b/examples/01_alexa/video-app/package.json index f174f679ee..863736c8f5 100644 --- a/examples/01_alexa/video-app/package.json +++ b/examples/01_alexa/video-app/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-alexa-videoapp", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2" } } diff --git a/examples/02_googleassistant/ask-for-x/package.json b/examples/02_googleassistant/ask-for-x/package.json index 4f546d9fa0..1f8986de20 100644 --- a/examples/02_googleassistant/ask-for-x/package.json +++ b/examples/02_googleassistant/ask-for-x/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-googleassistant-ask-for-x", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,8 +13,8 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/02_googleassistant/cards/package.json b/examples/02_googleassistant/cards/package.json index 09a419e1cf..4028f8f336 100644 --- a/examples/02_googleassistant/cards/package.json +++ b/examples/02_googleassistant/cards/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-googleassistant-cards", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1" + "jovo-framework": "^2.1.1", + "jovo-platform-googleassistant": "^2.1.3" } } diff --git a/examples/02_googleassistant/mediaresponse/package.json b/examples/02_googleassistant/mediaresponse/package.json index b6bfaf9c7b..6d331788a3 100644 --- a/examples/02_googleassistant/mediaresponse/package.json +++ b/examples/02_googleassistant/mediaresponse/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-googleassistant-mediaresponse", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1" + "jovo-framework": "^2.1.1", + "jovo-platform-googleassistant": "^2.1.3" } } diff --git a/examples/02_googleassistant/notifications/package.json b/examples/02_googleassistant/notifications/package.json index c9a3c4297a..9780bbaae1 100644 --- a/examples/02_googleassistant/notifications/package.json +++ b/examples/02_googleassistant/notifications/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-googleassistant-notifications", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -14,7 +14,7 @@ "license": "Apache-2.0", "dependencies": { "googleapis": "^37.2.0", - "jovo-framework": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1" + "jovo-framework": "^2.1.1", + "jovo-platform-googleassistant": "^2.1.3" } } diff --git a/examples/02_googleassistant/slot-filling/package.json b/examples/02_googleassistant/slot-filling/package.json index ae3d2e1dd4..3b13c4e44d 100644 --- a/examples/02_googleassistant/slot-filling/package.json +++ b/examples/02_googleassistant/slot-filling/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-slot-filling", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,7 +13,7 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-framework": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.0" + "jovo-framework": "^2.1.1", + "jovo-platform-googleassistant": "^2.1.3" } } diff --git a/examples/02_googleassistant/transactions/package.json b/examples/02_googleassistant/transactions/package.json index 76e06eeaa4..33d9ad801e 100644 --- a/examples/02_googleassistant/transactions/package.json +++ b/examples/02_googleassistant/transactions/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-googleassistant-transactions", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -14,9 +14,9 @@ "license": "Apache-2.0", "dependencies": { "googleapis": "^37.2.0", - "jovo-framework": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0", + "jovo-framework": "^2.1.1", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1", "request": "^2.88.0" } } diff --git a/examples/02_googleassistant/updates/package.json b/examples/02_googleassistant/updates/package.json index 0bcf081735..25a431e382 100644 --- a/examples/02_googleassistant/updates/package.json +++ b/examples/02_googleassistant/updates/package.json @@ -1,15 +1,15 @@ { "name": "jovo-examples-googleassistant-updates", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "A sample voice app that works with the Jovo Framework", "main": "src/index.js", "dependencies": { - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" }, "devDependencies": { "gulp": "^4.0.0", diff --git a/examples/airtable-cms/package.json b/examples/airtable-cms/package.json index f55e40763f..b42c8ae2a4 100644 --- a/examples/airtable-cms/package.json +++ b/examples/airtable-cms/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-airtable-cms", - "version": "2.0.0", + "version": "2.0.1", "private": true, "description": "", "main": "index.js", @@ -16,7 +16,7 @@ "dependencies": { "jovo-cms-airtable": "file:../../jovo-integrations/jovo-cms-airtable", "jovo-framework": "^2.0.16", - "jovo-platform-alexa": "^2.0.19", + "jovo-platform-alexa": "^2.1.2", "jovo-plugin-debugger": "^2.0.15" } } diff --git a/examples/analytics/package.json b/examples/analytics/package.json index 63068ba569..c1c21c5036 100644 --- a/examples/analytics/package.json +++ b/examples/analytics/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-analytics", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,9 +13,9 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-analytics-botanalytics": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1" + "jovo-analytics-botanalytics": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3" } } diff --git a/examples/data/package.json b/examples/data/package.json index 10d5807730..58cea97a6b 100644 --- a/examples/data/package.json +++ b/examples/data/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-data", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,10 +13,10 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/databases/package.json b/examples/databases/package.json index 6e84fa5b0e..810405e288 100644 --- a/examples/databases/package.json +++ b/examples/databases/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-databases", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,13 +13,13 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-db-datastore": "^2.1.0", - "jovo-db-dynamodb": "^2.1.0", - "jovo-db-filedb": "^2.1.0", - "jovo-db-mysql": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-db-datastore": "^2.1.1", + "jovo-db-dynamodb": "^2.1.1", + "jovo-db-filedb": "^2.1.1", + "jovo-db-mysql": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/google-sheets-cms/package.json b/examples/google-sheets-cms/package.json index fa0c07ff1a..fcb27d59e3 100644 --- a/examples/google-sheets-cms/package.json +++ b/examples/google-sheets-cms/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-google-sheets-cms", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -14,13 +14,13 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-cms-googlesheets": "^2.1.0", - "jovo-db-dynamodb": "^2.1.0", - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-dialogflow": "^2.1.1", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-cms-googlesheets": "^2.1.1", + "jovo-db-dynamodb": "^2.1.1", + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-dialogflow": "^2.1.3", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/hello-world/package.json b/examples/hello-world/package.json index 46856a117a..afedb2a2b9 100644 --- a/examples/hello-world/package.json +++ b/examples/hello-world/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-hello-world", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -14,13 +14,13 @@ "license": "Apache-2.0", "dependencies": { "dotenv": "^6.2.0", - "jovo-core": "^2.1.0", - "jovo-db-dynamodb": "^2.1.0", - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-dialogflow": "^2.1.1", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-core": "^2.1.1", + "jovo-db-dynamodb": "^2.1.1", + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-dialogflow": "^2.1.3", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/hooks/package.json b/examples/hooks/package.json index ad82d0649d..9be12f8124 100644 --- a/examples/hooks/package.json +++ b/examples/hooks/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-hooks", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -14,12 +14,12 @@ "license": "Apache-2.0", "dependencies": { "dotenv": "^6.2.0", - "jovo-core": "^2.1.0", - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-dialogflow": "^2.1.1", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-core": "^2.1.1", + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-dialogflow": "^2.1.3", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/i18n/package.json b/examples/i18n/package.json index 75f23e76cf..7f28dd6610 100644 --- a/examples/i18n/package.json +++ b/examples/i18n/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-i18n", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,10 +13,10 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/language-model-tester/package.json b/examples/language-model-tester/package.json index af32377601..581e931a32 100644 --- a/examples/language-model-tester/package.json +++ b/examples/language-model-tester/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-language-model-tester", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,13 +13,13 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" }, "devDependencies": { - "jovo-plugin-lmtester": "^2.1.0" + "jovo-plugin-lmtester": "^2.1.1" } } diff --git a/examples/multi-handler/package.json b/examples/multi-handler/package.json index 3df7b7af7f..7a5b91c899 100644 --- a/examples/multi-handler/package.json +++ b/examples/multi-handler/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-multihandler", - "version": "2.1.0", + "version": "2.1.2", "private": true, "description": "", "main": "index.js", @@ -13,10 +13,10 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/plugins/package.json b/examples/plugins/package.json index 9625ca7e48..58107ee0ce 100644 --- a/examples/plugins/package.json +++ b/examples/plugins/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-plugins", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,10 +13,10 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/session-attributes/package.json b/examples/session-attributes/package.json index c5010c1226..d68105d098 100644 --- a/examples/session-attributes/package.json +++ b/examples/session-attributes/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-session-attributes", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,10 +13,10 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/speechbuilder/package.json b/examples/speechbuilder/package.json index 2b499d2edd..2ec35760b9 100644 --- a/examples/speechbuilder/package.json +++ b/examples/speechbuilder/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-speechbuilder", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,10 +13,10 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/examples/unit-testing/package.json b/examples/unit-testing/package.json index b640c75f08..5329ce99bc 100644 --- a/examples/unit-testing/package.json +++ b/examples/unit-testing/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-unittesting", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,11 +13,11 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" }, "devDependencies": { "jest": "^23.4.2" diff --git a/examples/user/package.json b/examples/user/package.json index 570fd7e0cf..18ff2e1490 100644 --- a/examples/user/package.json +++ b/examples/user/package.json @@ -1,6 +1,6 @@ { "name": "jovo-examples-user", - "version": "2.1.1", + "version": "2.1.3", "private": true, "description": "", "main": "index.js", @@ -13,10 +13,10 @@ "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-db-filedb": "^2.1.0", - "jovo-framework": "^2.1.0", - "jovo-platform-alexa": "^2.1.0", - "jovo-platform-googleassistant": "^2.1.1", - "jovo-plugin-debugger": "^2.1.0" + "jovo-db-filedb": "^2.1.1", + "jovo-framework": "^2.1.1", + "jovo-platform-alexa": "^2.1.2", + "jovo-platform-googleassistant": "^2.1.3", + "jovo-plugin-debugger": "^2.1.1" } } diff --git a/jovo-core/package.json b/jovo-core/package.json index e22230bf6a..021d650ce8 100644 --- a/jovo-core/package.json +++ b/jovo-core/package.json @@ -1,6 +1,6 @@ { "name": "jovo-core", - "version": "2.1.0", + "version": "2.1.1", "description": " ", "main": "dist/src/index", "types": "dist/src/index.d.ts", @@ -8,7 +8,8 @@ "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", "tscw": "tscw --watch", - "typedoc": "typedoc --out ./docs ./ --mode file", + "rimraf": "rimraf ./dist", + "typedoc": "typedoc --out ./docs --mode file", "test": "jest" }, "author": "jovotech", @@ -44,7 +45,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-core/src/BaseCmsPlugin.ts b/jovo-core/src/BaseCmsPlugin.ts index 5539d1c7fd..00ed9419ee 100644 --- a/jovo-core/src/BaseCmsPlugin.ts +++ b/jovo-core/src/BaseCmsPlugin.ts @@ -4,16 +4,30 @@ import {HandleRequest} from "./Interfaces"; export class BaseCmsPlugin extends Extensible { + /** + * Implemented install method + * @param {BaseApp} app + */ install(app: BaseApp) { app.middleware('after.platform.init')!.use(this.copyCmsDataToContext.bind(this)); } + /** + * Copies cms data from the app object to the jovo object. + * @param {HandleRequest} handleRequest + * @returns {Promise} + */ private async copyCmsDataToContext(handleRequest: HandleRequest) { if (handleRequest.jovo) { handleRequest.jovo.$cms.$jovo = handleRequest.jovo; Object.assign(handleRequest.jovo.$cms, handleRequest.app.$cms); } } + + /** + * Implemented uninstall method + * @param {BaseApp} app + */ uninstall(app: BaseApp) { } } diff --git a/jovo-core/src/Conversation.ts b/jovo-core/src/Conversation.ts index 0ae961f820..eec5ba90e9 100644 --- a/jovo-core/src/Conversation.ts +++ b/jovo-core/src/Conversation.ts @@ -59,6 +59,10 @@ export class Conversation { } + /** + * Sets userid, timestamp and locale to every request. + * @param {JovoRequest} req + */ applyToRequest(req: JovoRequest): void { req.setUserId(this.config.userId || randomUserId()); req.setTimestamp(new Date().toISOString()); diff --git a/jovo-core/src/SpeechBuilder.ts b/jovo-core/src/SpeechBuilder.ts index 71a8130af3..29c606fd89 100644 --- a/jovo-core/src/SpeechBuilder.ts +++ b/jovo-core/src/SpeechBuilder.ts @@ -200,6 +200,11 @@ export class SpeechBuilder { return this.speech; } + /** + * Adds tags to a string. Replaces & with and (v1 compatibility) + * @param {string} text + * @returns {string} + */ static toSSML(text: string): string { text = text.replace(//g, '').replace(/<\/speak>/g, ''); text = '' + text + ''; @@ -211,12 +216,22 @@ export class SpeechBuilder { return text; } + /** + * Removes everything that is surrounded by <> + * @param {string} ssml + * @returns {string} + */ static removeSSML(ssml: string): string { let noSSMLText = ssml.replace(//g, '').replace(/<\/speak>/g, ''); noSSMLText = noSSMLText.replace(/<[^>]*>/g, ''); return noSSMLText; } + /** + * Removes tags from string + * @param {string} ssml + * @returns {string} + */ static removeSpeakTags(ssml: string): string { return ssml.replace(//g, '').replace(/<\/speak>/g, ''); } diff --git a/jovo-core/src/TestSuite.ts b/jovo-core/src/TestSuite.ts index b833f5c4ae..1346e46a97 100644 --- a/jovo-core/src/TestSuite.ts +++ b/jovo-core/src/TestSuite.ts @@ -26,6 +26,12 @@ export class TestSuite { // tslint:disable-line diff --git a/jovo-core/src/errors/JovoError.ts b/jovo-core/src/errors/JovoError.ts index b9569a243e..2bed0b9120 100644 --- a/jovo-core/src/errors/JovoError.ts +++ b/jovo-core/src/errors/JovoError.ts @@ -30,6 +30,10 @@ export class JovoError extends Error { } + /** + * Prints JovoError instance in an uniformed style. + * @param {JovoError} e + */ static printError(e: JovoError) { Log.red().error(Log.header('Error')); diff --git a/jovo-core/test/BaseApp.test.ts b/jovo-core/test/BaseApp.test.ts index 03a244c1f6..c313b220f4 100644 --- a/jovo-core/test/BaseApp.test.ts +++ b/jovo-core/test/BaseApp.test.ts @@ -151,7 +151,11 @@ test('test hook() with callbacks', async (done) => { }); - +/** + * Helper method + * Transforms setTimeout to a Promise object. + * @returns {Promise} + */ function delay() { return new Promise(resolve => setTimeout(resolve, 250)); } diff --git a/jovo-core/test/middleware.test.ts b/jovo-core/test/middleware.test.ts index 8d9ca3bd2a..c5a919eca2 100644 --- a/jovo-core/test/middleware.test.ts +++ b/jovo-core/test/middleware.test.ts @@ -316,6 +316,11 @@ test('test try/catch in parallel', async (done) => { }); +/** + * Helper method + * Transforms setTimeout to a Promise object. + * @returns {Promise} + */ function delay() { return new Promise(resolve => setTimeout(resolve, 250)); } diff --git a/jovo-core/tslint.json b/jovo-core/tslint.json index 8d021b33ab..107d8d3b57 100644 --- a/jovo-core/tslint.json +++ b/jovo-core/tslint.json @@ -9,6 +9,7 @@ "rules": { "array-type": [true, "array-simple"], "arrow-return-shorthand": true, + "completed-docs": [true, "functions", "methods"], "ban": [true, {"name": "parseInt", "message": "tsstyle#type-coercion"}, {"name": "parseFloat", "message": "tsstyle#type-coercion"}, diff --git a/jovo-framework/package.json b/jovo-framework/package.json index 6b962c2544..ff8a64755b 100644 --- a/jovo-framework/package.json +++ b/jovo-framework/package.json @@ -1,6 +1,6 @@ { "name": "jovo-framework", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", @@ -8,6 +8,7 @@ "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", "tscw": "tscw --watch", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, @@ -16,9 +17,9 @@ "dependencies": { "@azure/functions": "^1.0.1-beta2", "express": "^4.16.3", - "jovo-cms-i18next": "^2.1.0", - "jovo-core": "^2.1.0", - "jovo-db-filedb": "^2.1.0", + "jovo-cms-i18next": "^2.1.1", + "jovo-core": "^2.1.1", + "jovo-db-filedb": "^2.1.1", "lodash.get": "^4.4.2" }, "devDependencies": { @@ -37,7 +38,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-analytics-bespoken/package.json b/jovo-integrations/jovo-analytics-bespoken/package.json index 7ef5cfc72f..a0916b3e54 100644 --- a/jovo-integrations/jovo-analytics-bespoken/package.json +++ b/jovo-integrations/jovo-analytics-bespoken/package.json @@ -1,19 +1,20 @@ { "name": "jovo-analytics-bespoken", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-core": "^2.1.0", + "jovo-core": "^2.1.1", "lodash.get": "^4.4.2", "lodash.merge": "^4.6.1", "lodash.set": "^4.3.2" @@ -31,7 +32,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-analytics-botanalytics/package.json b/jovo-integrations/jovo-analytics-botanalytics/package.json index 2dadeb4f0a..299ceda7a7 100644 --- a/jovo-integrations/jovo-analytics-botanalytics/package.json +++ b/jovo-integrations/jovo-analytics-botanalytics/package.json @@ -1,12 +1,13 @@ { "name": "jovo-analytics-botanalytics", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, @@ -14,7 +15,7 @@ "license": "Apache-2.0", "dependencies": { "botanalytics": "^2.4.8", - "jovo-core": "^2.1.0", + "jovo-core": "^2.1.1", "lodash.get": "^4.4.2", "lodash.merge": "^4.6.1", "lodash.set": "^4.3.2" @@ -30,7 +31,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-analytics-chatbase/package.json b/jovo-integrations/jovo-analytics-chatbase/package.json index 8763c9ae45..221375bdfc 100644 --- a/jovo-integrations/jovo-analytics-chatbase/package.json +++ b/jovo-integrations/jovo-analytics-chatbase/package.json @@ -1,19 +1,20 @@ { "name": "jovo-analytics-chatbase", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-core": "^2.1.0", + "jovo-core": "^2.1.1", "lodash.get": "^4.4.2", "lodash.merge": "^4.6.1", "lodash.set": "^4.3.2" @@ -29,7 +30,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-analytics-dashbot/package.json b/jovo-integrations/jovo-analytics-dashbot/package.json index 74f2955d3b..30244464cb 100644 --- a/jovo-integrations/jovo-analytics-dashbot/package.json +++ b/jovo-integrations/jovo-analytics-dashbot/package.json @@ -1,12 +1,13 @@ { "name": "jovo-analytics-dashbot", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, @@ -14,7 +15,7 @@ "license": "Apache-2.0", "dependencies": { "dashbot": "^10.2.1", - "jovo-core": "^2.1.0" + "jovo-core": "^2.1.1" }, "devDependencies": { "@types/jest": "^23.3.1", @@ -24,7 +25,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-cms-airtable/package-lock.json b/jovo-integrations/jovo-cms-airtable/package-lock.json index 7051726c0a..0fe5dd32bc 100644 --- a/jovo-integrations/jovo-cms-airtable/package-lock.json +++ b/jovo-integrations/jovo-cms-airtable/package-lock.json @@ -1,6 +1,6 @@ { "name": "jovo-cms-airtable", - "version": "2.0.0", + "version": "2.1.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -10,7 +10,7 @@ "integrity": "sha512-E6zzjR3GtNig8UJG/yodBeJeIOtgPkMgsLjDU3CbgCAPC++vJ0eCMnJhVpRZb/ENqEFlov1+3K9TKtY4UdWKtQ==", "dev": true, "requires": { - "@types/lodash": "*" + "@types/lodash": "4.14.122" }, "dependencies": { "@types/lodash": { @@ -27,7 +27,7 @@ "integrity": "sha512-IB90krzMf7YpfgP3u/EvZEdXVvm4e3gJbUvh5ieuI+o+XqiNEt6fCzqNRaiLlPVScLI59RxIGZMQ3+Ko/DJ8vQ==", "dev": true, "requires": { - "@types/lodash": "*" + "@types/lodash": "4.14.122" }, "dependencies": { "@types/lodash": { @@ -44,7 +44,7 @@ "integrity": "sha512-ZeGDDlnRYTvS31Laij0RsSaguIUSBTYIlJFKL3vm3T2OAZAQj2YpSvVWJc0WiG4jqg9fGX6PAPGvDqBcHfSgFg==", "dev": true, "requires": { - "@types/lodash": "*" + "@types/lodash": "4.14.122" }, "dependencies": { "@types/lodash": { @@ -60,7 +60,7 @@ "resolved": "https://registry.npmjs.org/i18next/-/i18next-15.0.6.tgz", "integrity": "sha512-pFka7P9InL0UvvQeKKxXR9khyblG6wB4QSQliIRJII2BiWv8OXXYUPeXIa+4rSnZJFhq86aMl4d0hRF0Lgs6Jw==", "requires": { - "@babel/runtime": "^7.3.1" + "@babel/runtime": "7.3.4" }, "dependencies": { "@babel/runtime": { @@ -68,7 +68,7 @@ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.3.4.tgz", "integrity": "sha512-IvfvnMdSaLBateu0jfsYIpZTxAc2cKEXEMiezGGN75QcBcecDUKd3PgLAncT0oOgxKy8dd8hrJKj9MfzgfZd6g==", "requires": { - "regenerator-runtime": "^0.12.0" + "regenerator-runtime": "0.12.1" } }, "regenerator-runtime": { diff --git a/jovo-integrations/jovo-cms-airtable/package.json b/jovo-integrations/jovo-cms-airtable/package.json index a3c42081ce..7cde719635 100644 --- a/jovo-integrations/jovo-cms-airtable/package.json +++ b/jovo-integrations/jovo-cms-airtable/package.json @@ -1,12 +1,13 @@ { "name": "jovo-cms-airtable", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, @@ -32,7 +33,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-cms-googlesheets/package.json b/jovo-integrations/jovo-cms-googlesheets/package.json index 6c25fc07ad..356e3d6454 100644 --- a/jovo-integrations/jovo-cms-googlesheets/package.json +++ b/jovo-integrations/jovo-cms-googlesheets/package.json @@ -1,12 +1,13 @@ { "name": "jovo-cms-googlesheets", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, @@ -15,7 +16,7 @@ "dependencies": { "googleapis": "^35.0.0", "i18next": "^14.1.1", - "jovo-core": "^2.1.0" + "jovo-core": "^2.1.1" }, "devDependencies": { "@types/i18next": "^12.1.0", @@ -26,7 +27,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-cms-i18next/package.json b/jovo-integrations/jovo-cms-i18next/package.json index 1b9b1b175c..64bda09dbd 100644 --- a/jovo-integrations/jovo-cms-i18next/package.json +++ b/jovo-integrations/jovo-cms-i18next/package.json @@ -1,12 +1,13 @@ { "name": "jovo-cms-i18next", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, @@ -14,7 +15,7 @@ "license": "Apache-2.0", "dependencies": { "i18next": "^14.1.1", - "jovo-core": "^2.1.0" + "jovo-core": "^2.1.1" }, "devDependencies": { "@types/i18next": "^12.1.0", @@ -25,7 +26,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-db-cosmosdb/package.json b/jovo-integrations/jovo-db-cosmosdb/package.json index 32686e879b..eec78c7dcf 100644 --- a/jovo-integrations/jovo-db-cosmosdb/package.json +++ b/jovo-integrations/jovo-db-cosmosdb/package.json @@ -1,20 +1,21 @@ { "name": "jovo-db-cosmosdb", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-core": "^2.1.0", - "jovo-db-mongodb": "^2.1.0" + "jovo-core": "^2.1.1", + "jovo-db-mongodb": "^2.1.1" }, "devDependencies": { "@types/jest": "^23.3.1", @@ -24,7 +25,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-db-datastore/package.json b/jovo-integrations/jovo-db-datastore/package.json index a12ea6cc53..d3dabb0d22 100644 --- a/jovo-integrations/jovo-db-datastore/package.json +++ b/jovo-integrations/jovo-db-datastore/package.json @@ -1,12 +1,13 @@ { "name": "jovo-db-datastore", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, @@ -14,7 +15,7 @@ "license": "Apache-2.0", "dependencies": { "@google-cloud/datastore": "^2.0.0", - "jovo-core": "^2.1.0" + "jovo-core": "^2.1.1" }, "devDependencies": { "@types/google-cloud__datastore": "^1.3.3", @@ -25,7 +26,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-db-dynamodb/package.json b/jovo-integrations/jovo-db-dynamodb/package.json index 6bd00eab1f..bc8899bf30 100644 --- a/jovo-integrations/jovo-db-dynamodb/package.json +++ b/jovo-integrations/jovo-db-dynamodb/package.json @@ -1,12 +1,13 @@ { "name": "jovo-db-dynamodb", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, @@ -14,7 +15,7 @@ "license": "Apache-2.0", "dependencies": { "aws-sdk": "^2.294.0", - "jovo-core": "^2.1.0" + "jovo-core": "^2.1.1" }, "devDependencies": { "@types/jest": "^23.3.1", @@ -24,7 +25,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-db-filedb/package.json b/jovo-integrations/jovo-db-filedb/package.json index 73fd0a9b9e..21de613f46 100644 --- a/jovo-integrations/jovo-db-filedb/package.json +++ b/jovo-integrations/jovo-db-filedb/package.json @@ -1,19 +1,20 @@ { "name": "jovo-db-filedb", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-core": "^2.1.0" + "jovo-core": "^2.1.1" }, "devDependencies": { "@types/jest": "^23.3.1", @@ -23,7 +24,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-db-firestore/package.json b/jovo-integrations/jovo-db-firestore/package.json index 9029b20a19..2f406d0de8 100644 --- a/jovo-integrations/jovo-db-firestore/package.json +++ b/jovo-integrations/jovo-db-firestore/package.json @@ -1,12 +1,13 @@ { "name": "jovo-db-firestore", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, @@ -14,7 +15,7 @@ "license": "Apache-2.0", "dependencies": { "firebase-admin": "^6.5.0", - "jovo-core": "^2.1.0", + "jovo-core": "^2.1.1", "lodash.get": "^4.4.2" }, "devDependencies": { @@ -28,7 +29,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-db-mongodb/package.json b/jovo-integrations/jovo-db-mongodb/package.json index bcd9b6439d..573aa937f4 100644 --- a/jovo-integrations/jovo-db-mongodb/package.json +++ b/jovo-integrations/jovo-db-mongodb/package.json @@ -1,19 +1,20 @@ { "name": "jovo-db-mongodb", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-core": "^2.1.0", + "jovo-core": "^2.1.1", "mongodb": "^3.1.10" }, "devDependencies": { @@ -27,7 +28,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-db-mysql/package.json b/jovo-integrations/jovo-db-mysql/package.json index c405cebd3c..cd22ad7add 100644 --- a/jovo-integrations/jovo-db-mysql/package.json +++ b/jovo-integrations/jovo-db-mysql/package.json @@ -1,19 +1,20 @@ { "name": "jovo-db-mysql", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-core": "^2.1.0", + "jovo-core": "^2.1.1", "mysql": "^2.16.0" }, "devDependencies": { @@ -25,7 +26,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-platform-alexa/package.json b/jovo-integrations/jovo-platform-alexa/package.json index 234857d5c7..cab964aef3 100644 --- a/jovo-integrations/jovo-platform-alexa/package.json +++ b/jovo-integrations/jovo-platform-alexa/package.json @@ -1,19 +1,20 @@ { "name": "jovo-platform-alexa", - "version": "2.1.0", + "version": "2.1.2", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-core": "^2.1.0", + "jovo-core": "^2.1.1", "lodash.camelcase": "^4.3.0", "lodash.clonedeep": "^4.5.0", "lodash.get": "^4.4.2", @@ -33,13 +34,14 @@ "@types/lodash.set": "^4.3.4", "@types/node": "^10.3.1", "jest": "^23.4.2", - "jovo-framework": "^2.1.0", + "jovo-framework": "^2.1.1", "lodash.clonedeep": "^4.5.0", "source-map-support": "^0.5.8", "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-platform-dialogflow/package.json b/jovo-integrations/jovo-platform-dialogflow/package.json index c3cfc1f11a..d0a3cff2ce 100644 --- a/jovo-integrations/jovo-platform-dialogflow/package.json +++ b/jovo-integrations/jovo-platform-dialogflow/package.json @@ -1,18 +1,19 @@ { "name": "jovo-platform-dialogflow", - "version": "2.1.1", + "version": "2.1.3", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "node_modules/.bin/tslint -p tsconfig.json -c tslint.json", "tsc": "node_modules/.bin/tsc", + "rimraf": "rimraf ./dist", "test": "jest" }, "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-core": "^2.1.0" + "jovo-core": "^2.1.1" }, "devDependencies": { "@types/es6-promise": "^3.3.0", @@ -23,7 +24,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-platform-dialogflow/src/DialogflowNlu.ts b/jovo-integrations/jovo-platform-dialogflow/src/DialogflowNlu.ts index 95eb0f9c97..831052dd5c 100644 --- a/jovo-integrations/jovo-platform-dialogflow/src/DialogflowNlu.ts +++ b/jovo-integrations/jovo-platform-dialogflow/src/DialogflowNlu.ts @@ -201,7 +201,7 @@ export class DialogflowNlu extends Extensible { } const sessionId = _get(dialogflowRequest, 'session'); - const outputContexts = _get(dialogflowRequest, 'queryResult.outputContexts'); + let outputContexts = _get(dialogflowRequest, 'queryResult.outputContexts'); const contextName = `${sessionId}/contexts/${this.config.sessionContextId}`; if (outputContexts && Object.keys(jovo.$session.$data).length > 0) { @@ -210,20 +210,20 @@ export class DialogflowNlu extends Extensible { }); if (sessionContext) { - outputContexts.forEach((context: any) => { // tslint:disable-line - if (context.name === contextName) { - context.parameters = jovo.$session.$data; - } - }); - } else { - outputContexts.push({ - name: contextName, - lifespanCount: 1, - parameters: jovo.$session.$data + outputContexts = outputContexts.filter((context: any) => { // tslint:disable-line + return context.name !== contextName; }); } + outputContexts.push({ + name: contextName, + lifespanCount: 1, + parameters: jovo.$session.$data + }); + _set(dialogflowResponse, 'outputContexts', outputContexts); + + } else { + _set(dialogflowResponse, 'outputContexts', _get(dialogflowRequest, 'queryResult.outputContexts')); } - _set(dialogflowResponse, 'outputContexts', _get(dialogflowRequest, 'queryResult.outputContexts')); }; diff --git a/jovo-integrations/jovo-platform-googleassistant/package.json b/jovo-integrations/jovo-platform-googleassistant/package.json index caae2fa419..4fdf529a1b 100644 --- a/jovo-integrations/jovo-platform-googleassistant/package.json +++ b/jovo-integrations/jovo-platform-googleassistant/package.json @@ -1,32 +1,34 @@ { "name": "jovo-platform-googleassistant", - "version": "2.1.1", + "version": "2.1.3", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-core": "^2.1.0", - "jovo-platform-dialogflow": "^2.1.1", + "jovo-core": "^2.1.1", + "jovo-platform-dialogflow": "^2.1.3", "uuid": "^3.3.2" }, "devDependencies": { "@types/jest": "^23.3.1", "@types/node": "^10.3.1", "jest": "^23.4.2", - "jovo-framework": "^2.1.0", + "jovo-framework": "^2.1.1", "source-map-support": "^0.5.8", "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-plugin-debugger/package.json b/jovo-integrations/jovo-plugin-debugger/package.json index f83986a0c2..74de069fac 100644 --- a/jovo-integrations/jovo-plugin-debugger/package.json +++ b/jovo-integrations/jovo-plugin-debugger/package.json @@ -1,12 +1,13 @@ { "name": "jovo-plugin-debugger", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, @@ -14,7 +15,7 @@ "license": "Apache-2.0", "dependencies": { "commander": "^2.19.0", - "jovo-core": "^2.1.0", + "jovo-core": "^2.1.1", "socket.io-client": "^2.1.1" }, "devDependencies": { @@ -28,7 +29,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/jovo-integrations/jovo-plugin-lmtester/package.json b/jovo-integrations/jovo-plugin-lmtester/package.json index dfa137d254..e181b545f8 100644 --- a/jovo-integrations/jovo-plugin-lmtester/package.json +++ b/jovo-integrations/jovo-plugin-lmtester/package.json @@ -1,19 +1,20 @@ { "name": "jovo-plugin-lmtester", - "version": "2.1.0", + "version": "2.1.1", "description": "", "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { "tslint": "tslint -p tsconfig.json -c tslint.json", "tsc": "tsc", + "rimraf": "rimraf ./dist", "typedoc": "typedoc --out ./docs ./ --mode file", "test": "jest" }, "author": "jovotech", "license": "Apache-2.0", "dependencies": { - "jovo-core": "^2.1.0" + "jovo-core": "^2.1.1" }, "devDependencies": { "@types/es6-promise": "^3.3.0", @@ -25,7 +26,8 @@ "ts-jest": "^23.10.5", "tslint": "^5.10.0", "typedoc": "^0.13.0", - "typescript": "^3.1.6" + "typescript": "^3.1.6", + "rimraf": "^2.6.2" }, "jest": { "transform": { diff --git a/package-lock.json b/package-lock.json index 355d88cb0d..a8c1a75bd4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1829,6 +1829,16 @@ "humanize-ms": "1.2.1" } }, + "airtable": { + "version": "0.5.9", + "resolved": "https://registry.npmjs.org/airtable/-/airtable-0.5.9.tgz", + "integrity": "sha512-eB3flT+Y4DSvPnWZRq/zH+uCKMwSD/6X/tuf8ybTd9PbtMbZbuQQJYrnGNfYy5F8YCp6ZhRtn6x50aWhCPD6KQ==", + "requires": { + "lodash": "4.17.11", + "request": "2.88.0", + "xhr": "2.3.3" + } + }, "ajv": { "version": "6.6.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.6.1.tgz", @@ -4060,6 +4070,11 @@ "resolved": "https://registry.npmjs.org/dom-storage/-/dom-storage-2.1.0.tgz", "integrity": "sha512-g6RpyWXzl0RR6OTElHKBl7nwnK87GUyZMYC7JWsB/IA73vpqK2K6LT39x4VepLxlSsWBFrPVLnsSR5Jyty0+2Q==" }, + "dom-walk": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz", + "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=" + }, "domexception": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz", @@ -4269,7 +4284,6 @@ "version": "1.12.0", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz", "integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==", - "dev": true, "requires": { "es-to-primitive": "1.2.0", "function-bind": "1.1.1", @@ -4282,7 +4296,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", - "dev": true, "requires": { "is-callable": "1.1.4", "is-date-object": "1.0.1", @@ -5298,6 +5311,14 @@ } } }, + "for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "requires": { + "is-callable": "1.1.4" + } + }, "for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", @@ -5936,8 +5957,7 @@ "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "functional-red-black-tree": { "version": "1.0.1", @@ -6329,6 +6349,15 @@ "find-index": "0.1.1" } }, + "global": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/global/-/global-4.3.2.tgz", + "integrity": "sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8=", + "requires": { + "min-document": "2.19.0", + "process": "0.5.2" + } + }, "global-modules": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", @@ -7426,7 +7455,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "requires": { "function-bind": "1.1.1" } @@ -7476,8 +7504,7 @@ "has-symbols": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz", - "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=", - "dev": true + "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=" }, "has-unicode": { "version": "2.0.1", @@ -7878,8 +7905,7 @@ "is-callable": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", - "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", - "dev": true + "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==" }, "is-ci": { "version": "1.2.1", @@ -7901,8 +7927,7 @@ "is-date-object": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", - "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", - "dev": true + "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=" }, "is-descriptor": { "version": "0.1.6", @@ -7968,6 +7993,11 @@ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true }, + "is-function": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.1.tgz", + "integrity": "sha1-Es+5i2W1fdPRk6MSH19uL0N2ArU=" + }, "is-generator-fn": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-1.0.0.tgz", @@ -8040,7 +8070,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", - "dev": true, "requires": { "has": "1.0.3" } @@ -8073,7 +8102,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", - "dev": true, "requires": { "has-symbols": "1.0.0" } @@ -9567,6 +9595,14 @@ "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", "dev": true }, + "min-document": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", + "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", + "requires": { + "dom-walk": "0.1.1" + } + }, "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", @@ -10491,6 +10527,15 @@ "is-glob": "2.0.1" } }, + "parse-headers": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.2.tgz", + "integrity": "sha512-/LypJhzFmyBIDYP9aDVgeyEb5sQfbfY5mnDq4hVhlQ69js87wXfmEI5V3xI6vvXasqebp0oCytYFLxsBVfCzSg==", + "requires": { + "for-each": "0.3.3", + "string.prototype.trim": "1.1.2" + } + }, "parse-json": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", @@ -10841,6 +10886,11 @@ "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", "dev": true }, + "process": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/process/-/process-0.5.2.tgz", + "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=" + }, "process-nextick-args": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", @@ -11417,7 +11467,6 @@ "version": "2.6.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", - "dev": true, "requires": { "glob": "7.1.3" } @@ -12381,6 +12430,16 @@ "function-bind": "1.1.1" } }, + "string.prototype.trim": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz", + "integrity": "sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=", + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1" + } + }, "string_decoder": { "version": "1.1.1", "resolved": "http://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", @@ -13473,6 +13532,17 @@ "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz", "integrity": "sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ=" }, + "xhr": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.3.3.tgz", + "integrity": "sha1-rWuBDgkXznK17HBPXUHxUDuOdSQ=", + "requires": { + "global": "4.3.2", + "is-function": "1.0.1", + "parse-headers": "2.0.2", + "xtend": "4.0.1" + } + }, "xml-name-validator": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", diff --git a/package.json b/package.json index 6c0996ac09..d1433c8297 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,13 @@ "tslint": "lerna exec npm run tslint --ignore jovo-examples-*", "test": "lerna exec npm test --ignore jovo-examples-*", "clean": "lerna clean", + "rimraf": "lerna exec npm run rimraf --ignore jovo-examples-*", "list": "lerna list -l", "bootstrap": "lerna bootstrap --hoist --no-ci", "devsetup": "npm run bootstrap && npm run tsc", "typedoc": "npm run lerna exec npm run typedoc", "changelog": "lerna-changelog", - "preparePublish": "npm run tsc && npm run tslint && npm run test", + "preparePublish": "npm run rimraf && npm run tsc && npm run tslint && npm run test", "publish": "lerna publish --no-push" }, "devDependencies": {