From 83106862d80e13c17ed7d986840f7822df6e80b3 Mon Sep 17 00:00:00 2001 From: Marc Rabat Pla <35448568+vanbasten17@users.noreply.github.com> Date: Fri, 20 Nov 2020 16:15:38 +0100 Subject: [PATCH] release/0.16.0 (#1119) * chore: add auto-publish script * chore: equal botonic alpha versions * chore: trying autobump alpha * chore: automatically bump to rc's versions * chore: update publish script * chore: add CHANGELOG for v0.16.0 * chore: bump packages to v0.16.0 --- CHANGELOG.md | 101 ++- packages/botonic-cli/README.md | 32 +- packages/botonic-cli/package-lock.json | 346 +++----- packages/botonic-cli/package.json | 2 +- .../botonic-cli/templates/blank/package.json | 2 +- .../botonic-cli/templates/childs/package.json | 2 +- .../templates/custom-webchat/package.json | 2 +- .../templates/dynamic-carousel/package.json | 2 +- .../templates/dynamodb/package.json | 4 +- .../templates/handoff/package.json | 2 +- .../botonic-cli/templates/intent/package.json | 4 +- .../botonic-cli/templates/nlu/package.json | 4 +- .../templates/tutorial/package.json | 2 +- packages/botonic-core/package-lock.json | 2 +- packages/botonic-core/package.json | 2 +- packages/botonic-nlu/package-lock.json | 2 +- packages/botonic-nlu/package.json | 2 +- .../package-lock.json | 2 +- .../botonic-plugin-contentful/package.json | 2 +- .../botonic-plugin-dashbot/package-lock.json | 2 +- packages/botonic-plugin-dashbot/package.json | 2 +- .../package-lock.json | 2 +- .../botonic-plugin-dialogflow/package.json | 2 +- .../botonic-plugin-dynamodb/package-lock.json | 2 +- packages/botonic-plugin-dynamodb/package.json | 2 +- .../package-lock.json | 2 +- .../package.json | 2 +- .../botonic-plugin-inbenta/package-lock.json | 2 +- packages/botonic-plugin-inbenta/package.json | 2 +- .../botonic-plugin-luis/package-lock.json | 2 +- packages/botonic-plugin-luis/package.json | 2 +- packages/botonic-plugin-nlu/package-lock.json | 59 +- packages/botonic-plugin-nlu/package.json | 6 +- .../botonic-plugin-segment/package-lock.json | 2 +- packages/botonic-plugin-segment/package.json | 2 +- .../botonic-plugin-watson/package-lock.json | 2 +- packages/botonic-plugin-watson/package.json | 2 +- packages/botonic-react/package-lock.json | 8 +- packages/botonic-react/package.json | 4 +- scripts/package-lock.json | 835 ++++++++++++++++++ scripts/package.json | 7 + scripts/publish.ts | 171 ++++ 42 files changed, 1294 insertions(+), 345 deletions(-) create mode 100644 scripts/package-lock.json create mode 100644 scripts/publish.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index cde3591d2a..c3dfbbe7bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,95 @@ All notable changes to Botonic will be documented in this file. +## [0.16.0] - 2020-20-11 + +### Added + +- [Project](https://github.com/hubtype/botonic) + + - Added [license MIT and keywords](https://github.com/hubtype/botonic/pull/1037) to every package. + - Enabled [code scaning](https://github.com/hubtype/botonic/commit/36c3d848cec3339da6b40d943eab8ca79254f5b5). + - Updated [Botonic's README](https://github.com/hubtype/botonic/commit/f5d684a5c4600826278c3e9fd3f6b31f635041b0). + - Added [Deployment Guide](https://botonic.io/docs/deployment/hubtype). + - Improved [Continuous Integration](https://github.com/hubtype/botonic/pull/1065) for Docs. + - [Configured eslint import sorter](https://github.com/hubtype/botonic/commit/685f15d2f7004fbf118300e9d353c36b1b3ba155). + - Added [Botonic Examples](https://botonic.io/examples/) section [#1091](https://github.com/hubtype/botonic/pull/1091). + - Added auto publish script. + +* [@botonic/core](https://www.npmjs.com/package/@botonic/core) + + - Added **new** matcher `request matcher` and pass `lastRoutePath` to current bot context. [#1086](https://github.com/hubtype/botonic/pull/1086) + +- [@botonic/react](https://www.npmjs.com/package/@botonic/react) + + - Added [webchat component tests](https://github.com/hubtype/botonic/pull/1023) + - **New webchat features**: + - Added [Error Boundary](https://github.com/hubtype/botonic/commit/7a71b3dad31841fea96d800a0369c3c41cabc9d4) for `customMessage`. + +### Changed + +- [Project](https://github.com/hubtype/botonic) + + - Renamed [`doc-botonic` to `docs`](https://github.com/hubtype/botonic/commit/82ef75b89f1f064ba62912d1fac8a572871eb882). + - [Rewritten webchat docs and added several updates](https://github.com/hubtype/botonic/pull/1071). + +* [@botonic/react](https://www.npmjs.com/package/@botonic/react) + + - Improved types: + - [Fixed types for isMobile, mobileStyle & webchat button](https://github.com/hubtype/botonic/commit/ffd5c4faff7ffe29577a127913bc95437615542c) + - [Made ScrollbarProps field types optional](https://github.com/hubtype/botonic/commit/776ad92d450c7bcc6103be8c4642fb039945db03) + - [Typed message.timestamps.enable](https://github.com/hubtype/botonic/commit/d10cd5a9e1a7133691adbc19c5ba92680b08272a) + - [Added type for ScrollbarProps.autoHide](https://github.com/hubtype/botonic/commit/10f4b15bbeea66ad16333d9a5a0f4c8bf2f617b1) + - [Added style field to ThemeProps](https://github.com/hubtype/botonic/commit/592427539a0e5d223531186b5c94949f38db74da) + - [Fixed TS types](https://github.com/hubtype/botonic/pull/1069) + - [Added `_hubtype_case_status` and `typification` fields](https://github.com/hubtype/botonic/pull/1104) + - [Refactored utils](https://github.com/hubtype/botonic/pull/1067) for better maintainability. + - [Improved webchat tests](https://github.com/hubtype/botonic/pull/1066). + +- [@botonic/nlu](https://www.npmjs.com/package/@botonic/nlu) + + - Upgrade `tfjs` to [2.7.0](https://github.com/hubtype/botonic/commit/3d42d12562ab5196b5f8a113387a60feb90b3fed). + +* [@botonic/plugin-nlu](https://www.npmjs.com/package/@botonic/plugin-nlu) + + - Upgrade `tfjs` to [2.7.0](https://github.com/hubtype/botonic/commit/3d42d12562ab5196b5f8a113387a60feb90b3fed). + +### Fixed + +- [Project](https://github.com/hubtype/botonic) + + - Fixed [broken links](https://github.com/hubtype/botonic/pull/1037) in READMEs. + - Fixed [`Was this article useful?` widget](https://github.com/hubtype/botonic/commit/4d1ea02836c4f29a4d51d9aff1081afa7647dc3f). + +* [@botonic/cli](https://www.npmjs.com/package/@botonic/cli) + + - [Fixed params request](https://github.com/hubtype/botonic/pull/1070) failing in `Oauth 3.1.0+`. + +- [@botonic/core](https://www.npmjs.com/package/@botonic/core) + + - Now `getRoute` [checks correctly](https://github.com/hubtype/botonic/pull/903) if the input matches with a `childRoute`. + +* [@botonic/react](https://www.npmjs.com/package/@botonic/react) + + - Added [missing storage key in constructor](https://github.com/hubtype/botonic/pull/1039), now `storageKey` works as expected. + - Automatically [call `onMessage`](https://github.com/hubtype/botonic/pull/1056) when receiveng messages coming from server-side. + - Added missing call to `stringifyWithRegexs` causing some regexes not being updated in local/session storages. Fixed react warnings (produced by `npm run test`), log deprecated props in custom messages. [#1063](https://github.com/hubtype/botonic/pull/1063) + Deprecated props: + - **`enableTimestamps` => `enabletimestamps`** + - **`imagesStyle` => `imagestyle`** + - Fixed sending of unsent inputs to be [more consistent](https://github.com/hubtype/botonic/pull/1041). + - [Fixed `onClose`](https://github.com/hubtype/botonic/commit/03ce2ec264181df537fd9c8c3695e362f48bfd05) being called on the very first render of the app. + - [Fixed](https://github.com/hubtype/botonic/pull/1108) `WebchatSettings` component not updating settings correctly. + - [Set ack to 1](https://github.com/hubtype/botonic/commit/03e2fa3cac6ee40bb5a83388a5b40b082f26d0ce) for custom user messages by default. + +- [@botonic/plugin-contentful](https://www.npmjs.com/package/@botonic/plugin-contentful) + + - The csv importer of texts, which was coming from content translator, now groups all the fields from the same content. [#1036](https://github.com/hubtype/botonic/pull/1036). + - Added NLP support [for Romanian](https://github.com/hubtype/botonic/pull/1109). + - Added NLP support [for Greek](https://github.com/hubtype/botonic/pull/1110). + - Added NLP support [for Czech](https://github.com/hubtype/botonic/pull/1113). + - Added NLP support [for Ukrainian](https://github.com/hubtype/botonic/pull/1114). + ## [0.15.0] - 2020-27-10 ### Added @@ -29,12 +118,15 @@ All notable changes to Botonic will be documented in this file. - Added a new webchat setting [`storageKey`](https://github.com/hubtype/botonic/pull/1019) that indicates the key name to use in order to store the webchat state in `localStorage` (or `sessionStorage`). - [@botonic/plugin-contentful](https://www.npmjs.com/package/@botonic/plugin-contentful) + - [Improvements](https://github.com/hubtype/botonic/pull/985) in Content.validate of text & shortText fields - - Validate text.text also if content has no keywords (it could be accessed through a button) - - Before, when shortText was empty, the contentful driver set it with the value of the name field (to ensure buttons did not show blank texts). Now this is managed by the Button model, so that MessageContent.validate() can report it. - - New [CMS method](https://github.com/hubtype/botonic/pull/1002) to deliver content by id when the content type is unknown. + + - Validate text.text even if the content has no keyword (it could be accessed through a button) + - Before, when shortText was empty, the Contentful driver used to set it with the value of the name field (to ensure buttons did not show blank texts). Now this is managed by the Button model, so that MessageContent.validate() can report it. - Improved [ContentsValidator](https://github.com/hubtype/botonic/pull/1001). Now it's possible to report the detected errors into a callback. - - Added NLP support for German. + + - New [CMS method](https://github.com/hubtype/botonic/pull/1002) to deliver content by id when the content type is unknown. + - Added NLP support for German. ### Changed @@ -463,3 +555,4 @@ All notable changes to Botonic will be documented in this file. [0.13.0]: https://github.com/hubtype/botonic/releases/tag/v0.13.0 [0.14.0]: https://github.com/hubtype/botonic/releases/tag/v0.14.0 [0.15.0]: https://github.com/hubtype/botonic/releases/tag/v0.15.0 +[0.16.0]: https://github.com/hubtype/botonic/releases/tag/v0.16.0 diff --git a/packages/botonic-cli/README.md b/packages/botonic-cli/README.md index 608b74ca29..0e26d1f1d9 100644 --- a/packages/botonic-cli/README.md +++ b/packages/botonic-cli/README.md @@ -21,7 +21,7 @@ $ npm install -g @botonic/cli $ botonic COMMAND running command... $ botonic (-v|--version|version) -@botonic/cli/0.16.0-alpha.2 darwin-x64 node-v10.23.0 +@botonic/cli/0.16.0 darwin-x64 node-v10.23.0 $ botonic --help [COMMAND] USAGE $ botonic COMMAND @@ -43,8 +43,6 @@ USAGE ## `botonic deploy [BOT_NAME]` -Deploy Botonic project to hubtype.com - ``` USAGE $ botonic deploy [BOT_NAME] @@ -64,12 +62,10 @@ EXAMPLE 🚀 Bot deployed! ``` -_See code: [lib/commands/deploy.js](https://github.com/hubtype/botonic/blob/v0.16.0-alpha.2/lib/commands/deploy.js)_ +_See code: [lib/commands/deploy.js](https://github.com/hubtype/botonic/blob/v0.16.0/lib/commands/deploy.js)_ ## `botonic help [COMMAND]` -display help for botonic - ``` USAGE $ botonic help [COMMAND] @@ -85,8 +81,6 @@ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.0 ## `botonic login` -Log in to Botonic - ``` USAGE $ botonic login @@ -95,12 +89,10 @@ OPTIONS -p, --path=path Path to botonic project. Defaults to current dir. ``` -_See code: [lib/commands/login.js](https://github.com/hubtype/botonic/blob/v0.16.0-alpha.2/lib/commands/login.js)_ +_See code: [lib/commands/login.js](https://github.com/hubtype/botonic/blob/v0.16.0/lib/commands/login.js)_ ## `botonic logout` -Log out of Botonic - ``` USAGE $ botonic logout @@ -109,12 +101,10 @@ OPTIONS -p, --path=path Path to botonic project. Defaults to current dir. ``` -_See code: [lib/commands/logout.js](https://github.com/hubtype/botonic/blob/v0.16.0-alpha.2/lib/commands/logout.js)_ +_See code: [lib/commands/logout.js](https://github.com/hubtype/botonic/blob/v0.16.0/lib/commands/logout.js)_ ## `botonic new NAME [TEMPLATENAME]` -Create a new Botonic project - ``` USAGE $ botonic new NAME [TEMPLATENAME] @@ -129,12 +119,10 @@ EXAMPLE ✨ test_bot was successfully created! ``` -_See code: [lib/commands/new.js](https://github.com/hubtype/botonic/blob/v0.16.0-alpha.2/lib/commands/new.js)_ +_See code: [lib/commands/new.js](https://github.com/hubtype/botonic/blob/v0.16.0/lib/commands/new.js)_ ## `botonic serve` -Serve your bot in your localhost - ``` USAGE $ botonic serve @@ -144,12 +132,10 @@ EXAMPLE > Project is running at http://localhost:8080/ ``` -_See code: [lib/commands/serve.js](https://github.com/hubtype/botonic/blob/v0.16.0-alpha.2/lib/commands/serve.js)_ +_See code: [lib/commands/serve.js](https://github.com/hubtype/botonic/blob/v0.16.0/lib/commands/serve.js)_ ## `botonic test` -Test your Botonic components - ``` USAGE $ botonic test @@ -171,12 +157,10 @@ EXAMPLE Ran all test suites. ``` -_See code: [lib/commands/test.js](https://github.com/hubtype/botonic/blob/v0.16.0-alpha.2/lib/commands/test.js)_ +_See code: [lib/commands/test.js](https://github.com/hubtype/botonic/blob/v0.16.0/lib/commands/test.js)_ ## `botonic train` -Serve your bot in your localhost - ``` USAGE $ botonic train @@ -189,5 +173,5 @@ EXAMPLE TRAINING MODEL FOR {LANGUAGE}... ``` -_See code: [lib/commands/train.js](https://github.com/hubtype/botonic/blob/v0.16.0-alpha.2/lib/commands/train.js)_ +_See code: [lib/commands/train.js](https://github.com/hubtype/botonic/blob/v0.16.0/lib/commands/train.js)_ diff --git a/packages/botonic-cli/package-lock.json b/packages/botonic-cli/package-lock.json index 396d64afb5..920c6581f4 100644 --- a/packages/botonic-cli/package-lock.json +++ b/packages/botonic-cli/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/cli", - "version": "0.16.0-alpha.2", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -80,101 +80,34 @@ } }, "@oclif/dev-cli": { - "version": "1.23.0", - "resolved": "https://registry.npmjs.org/@oclif/dev-cli/-/dev-cli-1.23.0.tgz", - "integrity": "sha512-oao7e2gmCQsF5X0NRdrCmtQkcbCErtvAIYM3tpnfT9dvyUdyGU+plPx9q0iCV5C5qRNB5qh6JbVFqfjJP+djxg==", + "version": "1.24.1", + "resolved": "https://registry.npmjs.org/@oclif/dev-cli/-/dev-cli-1.24.1.tgz", + "integrity": "sha512-cJL0o+S6jA1HgO7bpTBTDkUTU5j31B7ngJWnpDGAS2GoA1t00lfQ1K75oFBPBIqEB6HQmhs7guIKQISLzoDyXg==", "dev": true, "requires": { - "@oclif/command": "^1.5.13", - "@oclif/config": "^1.12.12", - "@oclif/errors": "^1.2.2", - "@oclif/plugin-help": "^2.1.6", + "@oclif/command": "^1.8.0", + "@oclif/config": "^1.17.0", + "@oclif/errors": "^1.3.3", + "@oclif/plugin-help": "^3.2.0", "cli-ux": "^5.2.1", "debug": "^4.1.1", - "fs-extra": "^9.0.1", + "fs-extra": "^8.1", "github-slugger": "^1.2.1", "lodash": "^4.17.11", - "normalize-package-data": "^2.5.0", + "normalize-package-data": "^3.0.0", "qqjs": "^0.3.10", "tslib": "^1.9.3" }, "dependencies": { - "@oclif/plugin-help": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@oclif/plugin-help/-/plugin-help-2.2.3.tgz", - "integrity": "sha512-bGHUdo5e7DjPJ0vTeRBMIrfqTRDBfyR5w0MP41u0n3r7YG5p14lvMmiCXxi6WDaP2Hw5nqx3PnkAIntCKZZN7g==", - "dev": true, - "requires": { - "@oclif/command": "^1.5.13", - "chalk": "^2.4.1", - "indent-string": "^4.0.0", - "lodash.template": "^4.4.0", - "string-width": "^3.0.0", - "strip-ansi": "^5.0.0", - "widest-line": "^2.0.1", - "wrap-ansi": "^4.0.0" - } - }, - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", "dev": true, "requires": { - "ansi-regex": "^4.1.0" + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" } }, "tslib": { @@ -182,93 +115,31 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true - }, - "widest-line": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.1.tgz", - "integrity": "sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA==", - "dev": true, - "requires": { - "string-width": "^2.1.1" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - } - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } - } - }, - "wrap-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-4.0.0.tgz", - "integrity": "sha512-uMTsj9rDb0/7kk1PbcbCcwvHUxp60fGDB/NNXpVa0Q+ic/e7y5+BwTxKfQ33VYgDppSwi/FBzpetYzo8s6tfbg==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.0", - "string-width": "^2.1.1", - "strip-ansi": "^4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - } - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } - } } } }, "@oclif/errors": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@oclif/errors/-/errors-1.3.3.tgz", - "integrity": "sha512-EJR6AIOEkt/NnARNIVAskPDVtdhtO5TTNXmhDrGqMoWVsr0R6DkkLrMyq95BmHvlVWM1nduoq4fQPuCyuF2jaA==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@oclif/errors/-/errors-1.3.4.tgz", + "integrity": "sha512-pJKXyEqwdfRTUdM8n5FIHiQQHg5ETM0Wlso8bF9GodczO40mF5Z3HufnYWJE7z8sGKxOeJCdbAVZbS8Y+d5GCw==", "requires": { "clean-stack": "^3.0.0", - "fs-extra": "^9.0.1", + "fs-extra": "^8.1", "indent-string": "^4.0.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^7.0.0" + }, + "dependencies": { + "fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + } } }, "@oclif/linewrap": { @@ -388,9 +259,9 @@ } }, "@types/analytics-node": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/@types/analytics-node/-/analytics-node-3.1.3.tgz", - "integrity": "sha512-Yk299LUqnyJ6fNYQkLFd0yTfUwIvgfxH3f5WEX3ib0PC5T+mZgqcOPMDhNZ4AOD/A9tXKJQeBIb6KvgzuXflaQ==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/@types/analytics-node/-/analytics-node-3.1.4.tgz", + "integrity": "sha512-i6cqjFotMq1dEwXxyXRqnzp/HmWPCskptrVUQ1UzRIGs/zICFWM2bIJyLt6f9A9/+qE98wls1AHWPQ4WXYS0HA==", "dev": true }, "@types/glob": { @@ -408,9 +279,9 @@ "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==" }, "@types/node": { - "version": "14.14.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.7.tgz", - "integrity": "sha512-Zw1vhUSQZYw+7u5dAwNbIA9TuTotpzY/OF7sJM9FqPOF3SPjKnxrjoTktXDZgUjybf4cWVBP7O8wvKdSaGHweg==" + "version": "14.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.9.tgz", + "integrity": "sha512-JsoLXFppG62tWTklIoO4knA+oDTYsmqWxHRvd4lpmfQRNhX6osheUOWETP2jMoV/2bEHuMra8Pp3Dmo/stBFcw==" }, "@types/rimraf": { "version": "3.0.0", @@ -564,9 +435,9 @@ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, "base64-js": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz", - "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==" + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" }, "bl": { "version": "4.0.3", @@ -674,9 +545,9 @@ "dev": true }, "clean-stack": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-3.0.0.tgz", - "integrity": "sha512-RHxtgFvXsRQ+1AM7dlozLDY7ssmvUUh0XEnfnyhYgJTO6beNZHBogiaCwGM9Q3rFrUkYxOtsZRC0zAturg5bjg==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-3.0.1.tgz", + "integrity": "sha512-lR9wNiMRcVQjSB3a7xXGLuz4cr4wJuuXlaAEbRutGowQTmlp7R72/DOgN21e8jdwblMWl9UOJMJXarX94pzKdg==", "requires": { "escape-string-regexp": "4.0.0" } @@ -765,15 +636,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6" - } - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -782,12 +644,6 @@ "requires": { "has-flag": "^4.0.0" } - }, - "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true } } }, @@ -919,9 +775,9 @@ "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=" }, "debug": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", - "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", "requires": { "ms": "2.1.2" } @@ -1136,6 +992,29 @@ "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^1.0.0" + }, + "dependencies": { + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + }, + "dependencies": { + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" + } + } + }, + "universalify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", + "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==" + } } }, "fs.realpath": { @@ -1229,10 +1108,13 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "hosted-git-info": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", - "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", - "dev": true + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.7.tgz", + "integrity": "sha512-fWqc0IcuXs+BmE9orLDyVykAG9GJtGLGuZAAqgcckPgv5xad4AcXGIv8galtQvlwutxSlaMcdw7BUtq2EIvqCQ==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } }, "http-call": { "version": "5.3.0", @@ -1478,19 +1360,11 @@ "dev": true }, "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - }, - "dependencies": { - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" - } + "graceful-fs": "^4.1.6" } }, "lazystream": { @@ -1653,6 +1527,15 @@ } } }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, "make-dir": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", @@ -1749,23 +1632,15 @@ "dev": true }, "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.0.tgz", + "integrity": "sha512-6lUjEI0d3v6kFrtgA/lOx4zHCWULXsFNIjHolnZCKCTLA6m/G625cdn3O7eNmT0iD3jfo6HZ9cdImGZwf21prw==", "dev": true, "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", + "hosted-git-info": "^3.0.6", + "resolve": "^1.17.0", + "semver": "^7.3.2", "validate-npm-package-license": "^3.0.1" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } } }, "normalize-path": { @@ -2011,15 +1886,6 @@ "slash": "^3.0.0" } }, - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6" - } - }, "rimraf": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", @@ -2037,12 +1903,6 @@ "requires": { "rimraf": "^2.6.3" } - }, - "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true } } }, @@ -2366,9 +2226,9 @@ } }, "universalify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", - "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==" + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" }, "util-deprecate": { "version": "1.0.2", @@ -2456,6 +2316,12 @@ "write-file-atomic": "^3.0.0" } }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "zip-a-folder": { "version": "0.0.12", "resolved": "https://registry.npmjs.org/zip-a-folder/-/zip-a-folder-0.0.12.tgz", diff --git a/packages/botonic-cli/package.json b/packages/botonic-cli/package.json index fd75cd3c4d..5beba3b752 100644 --- a/packages/botonic-cli/package.json +++ b/packages/botonic-cli/package.json @@ -1,7 +1,7 @@ { "name": "@botonic/cli", "description": "Build Chatbots Using React", - "version": "0.16.0-alpha.2", + "version": "0.16.0", "license": "MIT", "bin": { "botonic": "./bin/run" diff --git a/packages/botonic-cli/templates/blank/package.json b/packages/botonic-cli/templates/blank/package.json index 797b859794..82ea1558a8 100644 --- a/packages/botonic-cli/templates/blank/package.json +++ b/packages/botonic-cli/templates/blank/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@babel/runtime": "^7.6.2", - "@botonic/react": "0.16.0-alpha.1" + "@botonic/react": "~0.16.0" }, "devDependencies": { "@babel/core": "^7.6.2", diff --git a/packages/botonic-cli/templates/childs/package.json b/packages/botonic-cli/templates/childs/package.json index 420893858e..cfaed58477 100644 --- a/packages/botonic-cli/templates/childs/package.json +++ b/packages/botonic-cli/templates/childs/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@babel/runtime": "^7.6.2", - "@botonic/react": "0.16.0-alpha.1" + "@botonic/react": "~0.16.0" }, "devDependencies": { "@babel/core": "^7.6.2", diff --git a/packages/botonic-cli/templates/custom-webchat/package.json b/packages/botonic-cli/templates/custom-webchat/package.json index 8fab3face1..52a95563fd 100644 --- a/packages/botonic-cli/templates/custom-webchat/package.json +++ b/packages/botonic-cli/templates/custom-webchat/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@babel/runtime": "^7.6.2", - "@botonic/react": "0.16.0-alpha.1", + "@botonic/react": "~0.16.0", "react-calendar": "2.19.2" }, "devDependencies": { diff --git a/packages/botonic-cli/templates/dynamic-carousel/package.json b/packages/botonic-cli/templates/dynamic-carousel/package.json index 3660047f3f..f12c8469b8 100644 --- a/packages/botonic-cli/templates/dynamic-carousel/package.json +++ b/packages/botonic-cli/templates/dynamic-carousel/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@babel/runtime": "^7.6.2", - "@botonic/react": "0.16.0-alpha.1", + "@botonic/react": "~0.16.0", "isomorphic-fetch": "^2.2.1" }, "devDependencies": { diff --git a/packages/botonic-cli/templates/dynamodb/package.json b/packages/botonic-cli/templates/dynamodb/package.json index 6ea6a0ecbd..0b79524bab 100644 --- a/packages/botonic-cli/templates/dynamodb/package.json +++ b/packages/botonic-cli/templates/dynamodb/package.json @@ -19,8 +19,8 @@ }, "dependencies": { "@babel/runtime": "^7.6.2", - "@botonic/plugin-dynamodb": "0.16.0-alpha.1", - "@botonic/react": "0.16.0-alpha.1" + "@botonic/plugin-dynamodb": "~0.16.0", + "@botonic/react": "~0.16.0" }, "devDependencies": { "@babel/core": "^7.6.2", diff --git a/packages/botonic-cli/templates/handoff/package.json b/packages/botonic-cli/templates/handoff/package.json index 02c7cfa7d3..2fea73f90a 100644 --- a/packages/botonic-cli/templates/handoff/package.json +++ b/packages/botonic-cli/templates/handoff/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@babel/runtime": "^7.6.2", - "@botonic/react": "0.16.0-alpha.1" + "@botonic/react": "~0.16.0" }, "devDependencies": { "@babel/core": "^7.6.2", diff --git a/packages/botonic-cli/templates/intent/package.json b/packages/botonic-cli/templates/intent/package.json index c931265af2..10672a8075 100644 --- a/packages/botonic-cli/templates/intent/package.json +++ b/packages/botonic-cli/templates/intent/package.json @@ -18,9 +18,9 @@ } }, "dependencies": { - "@botonic/plugin-dialogflow": "0.16.0-alpha.1", + "@botonic/plugin-dialogflow": "~0.16.0", "@babel/runtime": "^7.6.2", - "@botonic/react": "0.16.0-alpha.1" + "@botonic/react": "~0.16.0" }, "devDependencies": { "@babel/core": "^7.6.2", diff --git a/packages/botonic-cli/templates/nlu/package.json b/packages/botonic-cli/templates/nlu/package.json index d6ec1219bf..ee688aae93 100644 --- a/packages/botonic-cli/templates/nlu/package.json +++ b/packages/botonic-cli/templates/nlu/package.json @@ -19,8 +19,8 @@ }, "dependencies": { "@babel/runtime": "^7.6.2", - "@botonic/plugin-nlu": "0.16.0-alpha.1", - "@botonic/react": "0.16.0-alpha.1", + "@botonic/plugin-nlu": "~0.16.0", + "@botonic/react": "~0.16.0", "natural": "^2.1.5" }, "devDependencies": { diff --git a/packages/botonic-cli/templates/tutorial/package.json b/packages/botonic-cli/templates/tutorial/package.json index 695321ce03..a9d2ebe96a 100644 --- a/packages/botonic-cli/templates/tutorial/package.json +++ b/packages/botonic-cli/templates/tutorial/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@babel/runtime": "^7.6.2", - "@botonic/react": "0.16.0-alpha.1" + "@botonic/react": "~0.16.0" }, "devDependencies": { "@babel/core": "^7.6.2", diff --git a/packages/botonic-core/package-lock.json b/packages/botonic-core/package-lock.json index 9048b48dc2..753c2cd29b 100644 --- a/packages/botonic-core/package-lock.json +++ b/packages/botonic-core/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/core", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/botonic-core/package.json b/packages/botonic-core/package.json index 81ffcc50ac..551a0680cb 100644 --- a/packages/botonic-core/package.json +++ b/packages/botonic-core/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/core", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "license": "MIT", "description": "Build Chatbots using React", "main": "src/index.js", diff --git a/packages/botonic-nlu/package-lock.json b/packages/botonic-nlu/package-lock.json index 8ba1b4083e..a97fe98e72 100644 --- a/packages/botonic-nlu/package-lock.json +++ b/packages/botonic-nlu/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/nlu", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/botonic-nlu/package.json b/packages/botonic-nlu/package.json index 73877c4d45..ab92a647e8 100644 --- a/packages/botonic-nlu/package.json +++ b/packages/botonic-nlu/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/nlu", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "license": "MIT", "main": "dist/index.js", "scripts": { diff --git a/packages/botonic-plugin-contentful/package-lock.json b/packages/botonic-plugin-contentful/package-lock.json index 56d1bea03c..9c5631f39e 100644 --- a/packages/botonic-plugin-contentful/package-lock.json +++ b/packages/botonic-plugin-contentful/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-contentful", - "version": "0.16.0-alpha.2", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/botonic-plugin-contentful/package.json b/packages/botonic-plugin-contentful/package.json index 323b16df83..38339af366 100644 --- a/packages/botonic-plugin-contentful/package.json +++ b/packages/botonic-plugin-contentful/package.json @@ -15,7 +15,7 @@ "postversion": "git push && git push --tags" }, "name": "@botonic/plugin-contentful", - "version": "0.16.0-alpha.2", + "version": "0.16.0", "license": "MIT", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/packages/botonic-plugin-dashbot/package-lock.json b/packages/botonic-plugin-dashbot/package-lock.json index 2963aaa3ce..99ef2ab6d2 100644 --- a/packages/botonic-plugin-dashbot/package-lock.json +++ b/packages/botonic-plugin-dashbot/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-dashbot", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/botonic-plugin-dashbot/package.json b/packages/botonic-plugin-dashbot/package.json index bcc184ec78..73d062068b 100644 --- a/packages/botonic-plugin-dashbot/package.json +++ b/packages/botonic-plugin-dashbot/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-dashbot", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "license": "MIT", "main": "src/index.js", "scripts": { diff --git a/packages/botonic-plugin-dialogflow/package-lock.json b/packages/botonic-plugin-dialogflow/package-lock.json index a0bfc97063..f7f8c89449 100644 --- a/packages/botonic-plugin-dialogflow/package-lock.json +++ b/packages/botonic-plugin-dialogflow/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-dialogflow", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/botonic-plugin-dialogflow/package.json b/packages/botonic-plugin-dialogflow/package.json index a2b76ea75b..e23df35bb7 100644 --- a/packages/botonic-plugin-dialogflow/package.json +++ b/packages/botonic-plugin-dialogflow/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-dialogflow", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "license": "MIT", "main": "src/index.js", "scripts": { diff --git a/packages/botonic-plugin-dynamodb/package-lock.json b/packages/botonic-plugin-dynamodb/package-lock.json index 713090ed9e..56d8c56889 100644 --- a/packages/botonic-plugin-dynamodb/package-lock.json +++ b/packages/botonic-plugin-dynamodb/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-dynamodb", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/botonic-plugin-dynamodb/package.json b/packages/botonic-plugin-dynamodb/package.json index 97aefadb22..f274384c37 100644 --- a/packages/botonic-plugin-dynamodb/package.json +++ b/packages/botonic-plugin-dynamodb/package.json @@ -15,7 +15,7 @@ "postversion": "git push && git push --tags" }, "name": "@botonic/plugin-dynamodb", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "license": "MIT", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/packages/botonic-plugin-google-analytics/package-lock.json b/packages/botonic-plugin-google-analytics/package-lock.json index 202746f15e..a67bb4d859 100644 --- a/packages/botonic-plugin-google-analytics/package-lock.json +++ b/packages/botonic-plugin-google-analytics/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-google-analytics", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/botonic-plugin-google-analytics/package.json b/packages/botonic-plugin-google-analytics/package.json index 5cf62d2046..2954e35142 100644 --- a/packages/botonic-plugin-google-analytics/package.json +++ b/packages/botonic-plugin-google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-google-analytics", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "license": "MIT", "main": "src/index.js", "scripts": { diff --git a/packages/botonic-plugin-inbenta/package-lock.json b/packages/botonic-plugin-inbenta/package-lock.json index 251e254f77..bf5f10908c 100644 --- a/packages/botonic-plugin-inbenta/package-lock.json +++ b/packages/botonic-plugin-inbenta/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-inbenta", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/botonic-plugin-inbenta/package.json b/packages/botonic-plugin-inbenta/package.json index c82b07dc6c..b34d8f6f96 100644 --- a/packages/botonic-plugin-inbenta/package.json +++ b/packages/botonic-plugin-inbenta/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-inbenta", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "license": "MIT", "main": "src/index.js", "scripts": { diff --git a/packages/botonic-plugin-luis/package-lock.json b/packages/botonic-plugin-luis/package-lock.json index c3a19d8095..7d01d23242 100644 --- a/packages/botonic-plugin-luis/package-lock.json +++ b/packages/botonic-plugin-luis/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-luis", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/botonic-plugin-luis/package.json b/packages/botonic-plugin-luis/package.json index b733725b29..02d45efc61 100644 --- a/packages/botonic-plugin-luis/package.json +++ b/packages/botonic-plugin-luis/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-luis", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "license": "MIT", "main": "src/index.js", "scripts": { diff --git a/packages/botonic-plugin-nlu/package-lock.json b/packages/botonic-plugin-nlu/package-lock.json index e356484520..ca61da54e3 100644 --- a/packages/botonic-plugin-nlu/package-lock.json +++ b/packages/botonic-plugin-nlu/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-nlu", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2254,9 +2254,9 @@ } }, "@botonic/core": { - "version": "0.16.0-alpha.1", - "resolved": "https://registry.npmjs.org/@botonic/core/-/core-0.16.0-alpha.1.tgz", - "integrity": "sha512-r24mhUsXLe39/WxuqyburDerw6LqX2knfRM7XVHl18Amr76DHk600mQn6HiGx9O68jqM9WIVFintCzXgR2tImw==", + "version": "0.16.0-rc.0", + "resolved": "https://registry.npmjs.org/@botonic/core/-/core-0.16.0-rc.0.tgz", + "integrity": "sha512-WfBVJAnYgzDnWLRcUblpLR3qxtc4I7UdRyGA5HRA1aFZ8hHl351qbQz2U3NcjlCv1rckR/IBH+abnJnD8EdGtQ==", "requires": { "axios": "^0.20.0", "pusher-js": "^5.1.1" @@ -2273,9 +2273,9 @@ } }, "@botonic/nlu": { - "version": "0.16.0-alpha.1", - "resolved": "https://registry.npmjs.org/@botonic/nlu/-/nlu-0.16.0-alpha.1.tgz", - "integrity": "sha512-8sGc/icBMrnntULNUIBfK5GVEGYPvihMnuAn95C31M2gtj/M1eNDFNlicvNmVAdUufgmJViRG2ivAyfxPvacQg==", + "version": "0.16.0-rc.0", + "resolved": "https://registry.npmjs.org/@botonic/nlu/-/nlu-0.16.0-rc.0.tgz", + "integrity": "sha512-zKfv1upGjr1FatDxyD1nKnp0mVLqdi5Iz91xh9bSfvwItTOkz1rSQvr33Dk6GZt+Tw6r9wlSyetCx4jFsRL9zw==", "requires": { "@tensorflow/tfjs-node": "^2.7.0", "axios": "^0.19.2", @@ -2940,9 +2940,9 @@ } }, "base64-js": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz", - "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==" + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" }, "better-sqlite3": { "version": "7.1.1", @@ -3097,19 +3097,12 @@ } }, "browserify-rsa": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", - "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", "requires": { - "bn.js": "^4.1.0", + "bn.js": "^5.0.0", "randombytes": "^2.0.1" - }, - "dependencies": { - "bn.js": { - "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" - } } }, "browserify-sign": { @@ -3844,9 +3837,9 @@ } }, "debug": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "requires": { "ms": "^2.1.1" } @@ -4526,9 +4519,9 @@ "dev": true }, "google-protobuf": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.13.0.tgz", - "integrity": "sha512-ZIf3qfLFayVrPvAjeKKxO5FRF1/NwRxt6Dko+fWEMuHwHbZx8/fcaAao9b0wCM6kr8qeg2te8XTpyuvKuD9aKw==" + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.14.0.tgz", + "integrity": "sha512-bwa8dBuMpOxg7COyqkW6muQuvNnWgVN8TX/epDRGW5m0jcrmq2QJyCyiV8ZE2/6LaIIqJtiv9bYokFhfpy/o6w==" }, "graceful-fs": { "version": "4.2.4", @@ -5355,9 +5348,9 @@ "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" }, "node-abi": { - "version": "2.19.1", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.19.1.tgz", - "integrity": "sha512-HbtmIuByq44yhAzK7b9j/FelKlHYISKQn0mtvcBrU5QBkhoCMp5bu8Hv5AI34DcKfOAcJBcOEMwLlwO62FFu9A==", + "version": "2.19.3", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.19.3.tgz", + "integrity": "sha512-9xZrlyfvKhWme2EXFKQhZRp1yNWT/uI1luYPr3sFl+H4keYY4xR+1jO7mvTTijIsHf1M+QDe9uWuKeEpLInIlg==", "requires": { "semver": "^5.4.1" } @@ -5790,9 +5783,9 @@ "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" }, "@types/node": { - "version": "10.17.44", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.44.tgz", - "integrity": "sha512-vHPAyBX1ffLcy4fQHmDyIUMUb42gHZjPHU66nhvbMzAWJqHnySGZ6STwN3rwrnSd1FHB0DI/RWgGELgKSYRDmw==" + "version": "10.17.46", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.46.tgz", + "integrity": "sha512-Tice8a+sJtlP9C1EUo0DYyjq52T37b3LexVu3p871+kfIBIN+OQ7PKPei1oF3MgF39olEpUfxaLtD+QFc1k69Q==" } } }, diff --git a/packages/botonic-plugin-nlu/package.json b/packages/botonic-plugin-nlu/package.json index ae059bb4d2..baada697ad 100644 --- a/packages/botonic-plugin-nlu/package.json +++ b/packages/botonic-plugin-nlu/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-nlu", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "license": "MIT", "main": "dist/index", "scripts": { @@ -18,8 +18,8 @@ }, "dependencies": { "@babel/runtime": "^7.5.5", - "@botonic/core": "0.16.0-alpha.1", - "@botonic/nlu": "0.16.0-alpha.1", + "@botonic/core": "~0.16.0", + "@botonic/nlu": "~0.16.0", "@tensorflow/tfjs": "^2.7.0", "@types/webgl2": "0.0.5", "axios": "latest", diff --git a/packages/botonic-plugin-segment/package-lock.json b/packages/botonic-plugin-segment/package-lock.json index 489623f57c..870f1793c9 100644 --- a/packages/botonic-plugin-segment/package-lock.json +++ b/packages/botonic-plugin-segment/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-segment", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/botonic-plugin-segment/package.json b/packages/botonic-plugin-segment/package.json index 2da941fb5b..9c21fe42b9 100644 --- a/packages/botonic-plugin-segment/package.json +++ b/packages/botonic-plugin-segment/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-segment", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "license": "MIT", "main": "src/index.js", "scripts": { diff --git a/packages/botonic-plugin-watson/package-lock.json b/packages/botonic-plugin-watson/package-lock.json index d660f4b29c..3dadc671dc 100644 --- a/packages/botonic-plugin-watson/package-lock.json +++ b/packages/botonic-plugin-watson/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-watson", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/botonic-plugin-watson/package.json b/packages/botonic-plugin-watson/package.json index d081520acd..6376ff6f24 100644 --- a/packages/botonic-plugin-watson/package.json +++ b/packages/botonic-plugin-watson/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-watson", - "version": "0.16.0-alpha.1", + "version": "0.16.0", "license": "MIT", "main": "src/index.js", "scripts": { diff --git a/packages/botonic-react/package-lock.json b/packages/botonic-react/package-lock.json index 36c3afbba8..387c06e009 100644 --- a/packages/botonic-react/package-lock.json +++ b/packages/botonic-react/package-lock.json @@ -1,6 +1,6 @@ { "name": "@botonic/react", - "version": "0.16.0-alpha.2", + "version": "0.16.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2038,9 +2038,9 @@ } }, "@botonic/core": { - "version": "0.16.0-alpha.1", - "resolved": "https://registry.npmjs.org/@botonic/core/-/core-0.16.0-alpha.1.tgz", - "integrity": "sha512-r24mhUsXLe39/WxuqyburDerw6LqX2knfRM7XVHl18Amr76DHk600mQn6HiGx9O68jqM9WIVFintCzXgR2tImw==", + "version": "0.16.0-rc.0", + "resolved": "https://registry.npmjs.org/@botonic/core/-/core-0.16.0-rc.0.tgz", + "integrity": "sha512-WfBVJAnYgzDnWLRcUblpLR3qxtc4I7UdRyGA5HRA1aFZ8hHl351qbQz2U3NcjlCv1rckR/IBH+abnJnD8EdGtQ==", "requires": { "axios": "^0.20.0", "pusher-js": "^5.1.1" diff --git a/packages/botonic-react/package.json b/packages/botonic-react/package.json index c3b58bd982..d33d1c2204 100644 --- a/packages/botonic-react/package.json +++ b/packages/botonic-react/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/react", - "version": "0.16.0-alpha.2", + "version": "0.16.0", "license": "MIT", "description": "Build Chatbots using React", "main": "src/index.js", @@ -23,7 +23,7 @@ "MIGRATION_GUIDE.md" ], "dependencies": { - "@botonic/core": "0.16.0-alpha.1", + "@botonic/core": "~0.16.0", "axios": "^0.20.0", "emoji-picker-react": "^3.2.3", "framer-motion": "^2.6.6", diff --git a/scripts/package-lock.json b/scripts/package-lock.json new file mode 100644 index 0000000000..38d3b4a62b --- /dev/null +++ b/scripts/package-lock.json @@ -0,0 +1,835 @@ +{ + "name": "scripts", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@types/inquirer": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/@types/inquirer/-/inquirer-7.3.1.tgz", + "integrity": "sha512-osD38QVIfcdgsPCT0V3lD7eH0OFurX71Jft18bZrsVQWVRt6TuxRzlr0GJLrxoHZR2V5ph7/qP8se/dcnI7o0g==", + "dev": true, + "requires": { + "@types/through": "*", + "rxjs": "^6.4.0" + } + }, + "@types/node": { + "version": "14.14.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.8.tgz", + "integrity": "sha512-z/5Yd59dCKI5kbxauAJgw6dLPzW+TNOItNE00PkpzNwUIEwdj/Lsqwq94H5DdYBX7C13aRA0CY32BK76+neEUA==", + "dev": true + }, + "@types/through": { + "version": "0.0.30", + "resolved": "https://registry.npmjs.org/@types/through/-/through-0.0.30.tgz", + "integrity": "sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + }, + "ansi-escapes": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz", + "integrity": "sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA==", + "dev": true, + "requires": { + "type-fest": "^0.11.0" + } + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "app-root-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-3.0.0.tgz", + "integrity": "sha512-qMcx+Gy2UZynHjOHOIXPNvpf+9cjvk3cWrBBK7zg4gH9+clobJRb9NGzcT7mQTcV/6Gm/1WelUtqxVXnNlrwcw==", + "dev": true + }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" + }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "await-spawn": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/await-spawn/-/await-spawn-4.0.1.tgz", + "integrity": "sha512-cQSpdH79ktTdsMjUuUvyhdIYbXArynlV5jvHY8FPWXdwF5UGyrVaHCQxo/Iw5DbSQx2Ha3EOS+cy41sup+AkiQ==", + "dev": true, + "requires": { + "bl": "^4.0.3" + } + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true + }, + "bl": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz", + "integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==", + "dev": true, + "requires": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true + }, + "chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" + }, + "cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, + "requires": { + "restore-cursor": "^3.1.0" + } + }, + "cli-width": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", + "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", + "dev": true + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "requires": { + "ms": "^2.1.1" + } + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" + }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "dev": true, + "requires": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + } + }, + "figures": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5" + } + }, + "fs": { + "version": "0.0.1-security", + "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", + "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=" + }, + "fs-minipass": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", + "requires": { + "minipass": "^2.6.0" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true + }, + "ignore-walk": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz", + "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==", + "requires": { + "minimatch": "^3.0.4" + } + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" + }, + "inquirer": { + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz", + "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", + "dev": true, + "requires": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.19", + "mute-stream": "0.0.8", + "run-async": "^2.4.0", + "rxjs": "^6.6.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + } + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "dev": true + }, + "mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, + "minipass": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "minizlib": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", + "requires": { + "minipass": "^2.9.0" + } + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "requires": { + "minimist": "^1.2.5" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true + }, + "nan": { + "version": "2.14.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", + "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" + }, + "needle": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.5.2.tgz", + "integrity": "sha512-LbRIwS9BfkPvNwNHlsA41Q29kL2L/6VaOJ0qisM5lLWsTV3nP15abO5ITL6L81zqFhzjRKDAYjpcBcwM0AVvLQ==", + "requires": { + "debug": "^3.2.6", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + } + }, + "node-pre-gyp": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.11.0.tgz", + "integrity": "sha512-TwWAOZb0j7e9eGaf9esRx3ZcLaE5tQ2lvYy1pb5IAaG1a2e2Kv5Lms1Y4hpj+ciXJRofIxxlt5haeQ/2ANeE0Q==", + "requires": { + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.1", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.2.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" + } + }, + "nopt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", + "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + }, + "npm-bundled": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.1.tgz", + "integrity": "sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA==", + "requires": { + "npm-normalize-package-bin": "^1.0.1" + } + }, + "npm-normalize-package-bin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", + "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==" + }, + "npm-packlist": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.8.tgz", + "integrity": "sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==", + "requires": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1", + "npm-normalize-package-bin": "^1.0.1" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" + }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + } + }, + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, + "requires": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + } + }, + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "requires": { + "glob": "^7.1.3" + } + }, + "run-async": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", + "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "dev": true + }, + "rxjs": { + "version": "6.6.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.3.tgz", + "integrity": "sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" + }, + "signal-exit": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" + }, + "sqlite3": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/sqlite3/-/sqlite3-4.2.0.tgz", + "integrity": "sha512-roEOz41hxui2Q7uYnWsjMOTry6TcNUNmp8audCx18gF10P2NknwdpF+E+HKvz/F2NvPKGGBF4NGc+ZPQ+AABwg==", + "requires": { + "nan": "^2.12.1", + "node-pre-gyp": "^0.11.0" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "tar": { + "version": "4.4.13", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz", + "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==", + "requires": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.8.6", + "minizlib": "^1.2.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.3" + } + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "type-fest": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz", + "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==", + "dev": true + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "requires": { + "string-width": "^1.0.2 || 2" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + } + } +} diff --git a/scripts/package.json b/scripts/package.json index fa96a41975..214d58f8e7 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -12,5 +12,12 @@ "dependencies": { "fs": "0.0.1-security", "sqlite3": "^4.0.9" + }, + "devDependencies": { + "@types/inquirer": "^7.3.1", + "app-root-path": "^3.0.0", + "await-spawn": "^4.0.1", + "colors": "^1.4.0", + "inquirer": "^7.3.3" } } diff --git a/scripts/publish.ts b/scripts/publish.ts new file mode 100644 index 0000000000..5d7648fadf --- /dev/null +++ b/scripts/publish.ts @@ -0,0 +1,171 @@ +import { readdirSync, readFileSync, writeFileSync } from 'fs' +import { join } from 'path' +import { chdir } from 'process' +import { prompt } from 'inquirer' +import * as spawn from 'await-spawn' +import { blue, green, red } from 'colors' + +const readJSON = (jsonPath: string): any => + JSON.parse(readFileSync(jsonPath, { encoding: 'utf-8' as BufferEncoding })) + +const writeJSON = (jsonPath: string, object: any): void => + writeFileSync(jsonPath, JSON.stringify(object, null, 2) + '\n') + +const fromEntries = (xs: [string | number | symbol, any][]) => + xs.reduce((acc, [key, value]) => ({ ...acc, [key]: value }), {}) + +const spawnProcess = async ( + command: string, + args: string[] = [], + log?: { onSuccess?: any } +) => { + try { + await spawn(command, args) + log?.onSuccess() + } catch (e) { + console.log( + red(` Failed on running commmand ${command} ${args.join(' ')}\n`) + ) + } +} + +const clean = async () => { + console.log(' - Cleaning...') + await spawnProcess('rm', ['-rf', 'node_modules', 'dist', 'lib'], { + onSuccess: () => console.log(green(' Project cleaned.\n')), + }) +} + +const getPackageJSON = packagePath => + readJSON(join(packagePath, 'package.json')) + +const getPkgVersion = packagePath => + readJSON(join(packagePath, 'package.json')).version + +const bumpVersion = async (version, packagePath) => { + console.log(' - Bumping version...') + const logBumpedVersion = () => { + console.log(green(` Version bumped to ${getPkgVersion(packagePath)}.\n`)) + } + if (version === 'final') { + await spawnProcess('npm', ['version', 'minor'], { + onSuccess: logBumpedVersion, + }) + } else { + await spawnProcess('npm', ['version', 'prerelease', `--preid=${version}`], { + onSuccess: logBumpedVersion, + }) + } + return getPkgVersion(packagePath) +} + +const updateCliTemplates = async (packagePath: string, bumpedVersion: any) => { + const templatesDir = join(packagePath, 'templates') + chdir(templatesDir) + const templates = readdirSync(templatesDir).filter( + file => !file.startsWith('.') + ) + for (const template of templates) { + const templatePath = join(templatesDir, template) + console.log(` Replacing deps for template: ${template}`) + await changeBotonicDeps(templatePath, bumpedVersion) + } +} + +const changeBotonicDeps = async (packagePath, withVersion) => { + console.log(' - Replacing botonic dependencies...') + try { + const packageJSON = getPackageJSON(packagePath) + const newDependencies = fromEntries( + Object.entries(packageJSON.dependencies).map(([k, v]) => + k.includes('@botonic') ? [k, withVersion] : [k, v] + ) + ) + packageJSON.dependencies = newDependencies + writeJSON(join(packagePath, 'package.json'), packageJSON) + console.log(green(' Replaced botonic deps successfully.\n')) + } catch (e) { + console.log(red(' Failed at replacing botonic deps.')) + } +} + +const installDeps = async () => { + console.log(' - Installing dependencies...') + await spawnProcess('npm', ['install', '-D'], { + onSuccess: () => console.log(green(' Installed successfully.\n')), + }) +} + +const build = async () => { + console.log(` - Building...`) + await spawnProcess('npm', ['run', 'build'], { + onSuccess: () => console.log(green(' Built successfully.\n')), + }) +} + +const publish = async version => { + console.log(` - Publishing ${version} version...`) + if (version === 'rc' || version === 'alpha') { + await spawnProcess( + 'npm', + ['publish', '--access=public', '--tag', version], + { + onSuccess: () => console.log(green(' Published successfully.\n')), + } + ) + } else { + await spawnProcess('npm', ['publish', '--access=public'], { + onSuccess: () => console.log(green(' Published successfully.\n')), + }) + } +} + +process.chdir('..') +const packagesDir = join(process.cwd(), 'packages') +const packagesList = readdirSync(packagesDir).filter(p => + p.includes('botonic-') +) + +packagesList.push(String(packagesList.shift())) // ['botonic-core', 'botonic-nlu', ..., 'botonic-cli'] +;(async () => { + const { version } = await prompt([ + { + type: 'list', + name: 'version', + message: 'What version do you want to publish?', + choices: ['alpha', 'rc', 'final'], + }, + ]) + let confirmation = undefined + const confirmationMessage = `You are going to release a new ${version} version. Proceed?` + const res = await prompt([ + { + type: 'confirm', + name: 'confirmation', + message: + version === 'final' ? red(confirmationMessage) : confirmationMessage, + }, + ]) + confirmation = res.confirmation + if (!confirmation) return + + console.log(blue(`Publishing new Botonic ${version} version:`)) + + for (const p of packagesList) { + const packagePath = join(packagesDir, p) + chdir(packagePath) + console.log(`Preparing ${p}...`) + console.log('====================================') + await clean() + await installDeps() + await build() + const bumpedVersion = await bumpVersion(version, packagePath) + const botonicDepsVersion = + version === 'final' ? `~${bumpedVersion}` : bumpedVersion + + if (p === 'botonic-cli') { + await updateCliTemplates(packagePath, botonicDepsVersion) + } else await changeBotonicDeps(packagePath, botonicDepsVersion) + await publish(version) + } +})()