124 Commits

Author SHA1 Message Date
Piotr Grzesik
e65199c052 refactor(Telemetry): Ensure generation and related utils are sync 2021-07-06 11:24:21 +02:00
Mariusz Nowak
9b624a5067 feat(CLI): New warn:summary (default) deprecations logging mode
To avoid confusion, in case of local fallback always resort to `warn`
2021-07-05 22:15:50 +02:00
Mariusz Nowak
b1241522ec fix(CLI): Recognize --verbose option in info command 2021-07-05 22:09:12 +02:00
Piotr Grzesik
cc24bc2ae2 refactor(Telemetry): Report commandUsage as object 2021-07-05 14:13:32 +02:00
Piotr Grzesik
b21c1e415b fix(Telemetry): Properly handle not in service dir in credentials 2021-07-02 10:44:17 +02:00
Piotr Grzesik
ac03d83289 refactor(Telemetry): Include commandUsage in case of error 2021-06-30 16:14:45 +02:00
Piotr Grzesik
ae5be0f5da fix(CLI Onboarding): Do not attempt local fallback during onboarding 2021-06-30 10:20:09 +02:00
Piotr Grzesik
a80681ffbf fix(CLI Onboarding): Only call handleError if plugin defined 2021-06-29 17:45:28 +02:00
Jaakko Lappalainen
d861d119ef
refactor(AWS Deploy): Deprecate function option in deploy command
Co-authored-by: Piotr Grzesik <pj.grzesik@gmail.com>
2021-06-29 14:37:37 +02:00
Piotr Grzesik
58d64262fe refactor(CLI Onboarding): Adjustments to deploy step output 2021-06-29 13:04:18 +02:00
Piotr Grzesik
5e0d80579e feat(Telemetry): Add hasLocalCredentials 2021-06-28 15:19:55 +02:00
Piotr Grzesik
0eba2dcdfe feat(CLI Onboarding): Add telemetry for interactive flow 2021-06-28 15:19:55 +02:00
Piotr Grzesik
f5c1c47fa2 feat(CLI Onboarding): Add deploy step 2021-06-28 15:19:55 +02:00
Piotr Grzesik
e8681ee157 feat(CLI Onboarding): Support provider creation flow 2021-06-28 15:19:55 +02:00
Piotr Grzesik
28a06a05ab feat(CLI Onboarding): Add deploy step 2021-06-28 13:27:08 +02:00
Piotr Grzesik
feb04219f6 feat(CLI Onboarding): Support provider creation flow 2021-06-28 11:54:45 +02:00
Piotr Grzesik
519f77e1a8 refactor(CLI Onboarding): Remove auto-update step 2021-06-09 16:06:52 +02:00
Ikko Ashimine
9a03116899
chore: Fix typo in resolve-input.js (#9554)
intially -> initially
2021-06-07 13:47:24 +02:00
Mariusz Nowak
1b90dfb065 fix(Telemetry): Ensure to gently handle older globals 2021-06-01 17:07:52 +02:00
Piotr Grzesik
3bac0f37f0 feat(CLI Onboarding): Remove tab-completion from interactive flow 2021-05-31 20:07:04 +02:00
Piotr Grzesik
d5e2baf714 feat(CLI Onboarding): Remove initial confirm question from the flow 2021-05-27 16:42:44 +02:00
Piotr Grzesik
9b2a111485 fix(Telemetry): Ensure to pass proper config for local fallback 2021-05-25 13:21:33 +02:00
Piotr Grzesik
2984adb045 refactor(CLI Onboarding): Use "Starter" not "Empty" for templates 2021-05-24 11:43:14 +02:00
Piotr Grzesik
dee54ed55c feat(CLI Onboarding): Present default project name if possible 2021-05-19 16:48:40 +02:00
Piotr Grzesik
f1a288ce2c feat(CLI Onboarding): Support template and template-url options 2021-05-19 14:58:19 +02:00
Mariusz Nowak
07d5b9c19e refactor(Telemetry): Report error location for non-normative error codes 2021-05-19 13:16:42 +02:00
Piotr Grzesik
da7a70d83f feat(CLI Onboarding): Remove serverless.template.yml from template 2021-05-17 15:55:23 +02:00
Piotr Grzesik
acc9010d79 feat(CLI Onboarding): Run npm i after fetching template 2021-05-17 15:55:23 +02:00
Piotr Grzesik
e4ea50d401 feat(CLI Onboarding): Fetch templates from serverless/examples 2021-05-17 15:55:23 +02:00
Piotr Grzesik
7e8e1b62bb feat(CLI Onboarding): Dont allow setup with options in service dir 2021-05-14 14:17:19 +02:00
Piotr Grzesik
e63302bcb5 feat(CLI Onboarding): Skip "enable" question when options provided 2021-05-14 14:17:19 +02:00
Piotr Grzesik
53575dc360 feat(CLI Onboarding): Support --name CLI option 2021-05-14 14:17:19 +02:00
Piotr Grzesik
98c9700bcd feat(CLI Onboarding): Support template-path param 2021-05-14 14:17:19 +02:00
Piotr Grzesik
9eea885b39 refactor(CLI Onboarding): Add history and stepHistory to context 2021-05-14 13:46:29 +02:00
Mariusz Nowak
7047c34929 fix(CLI): Fallback to local version only if we're not in its context 2021-05-13 13:06:33 +02:00
Mariusz Nowak
105807a674 refactor(CLI Onboarding): Integrate steps from dashboard plugin 2021-05-12 12:41:30 +02:00
Mariusz Nowak
1060d1468b refactor(CLI Onboarding): Refactor to async/await 2021-05-12 12:41:30 +02:00
Mariusz Nowak
7864f4d28d refactor(CLI Onboarding): Seclude from internal Framework logic 2021-05-12 12:41:30 +02:00
Mariusz Nowak
4f6a50a2e1 refactor(Telemetry): Make generatePayload serverless independent 2021-05-12 12:41:30 +02:00
Piotr Grzesik
bbfe742b24 fix(CLI): Correctly resolve version during local fallback 2021-05-11 13:40:55 +02:00
Mariusz Nowak
2672047c2f refactor: Resolve path to package in resolveLocalServerlessPath 2021-05-11 08:57:29 +02:00
Mariusz Nowak
fa8c076c56 fix(CLI): Fix local installation fallback
Older versions expose just `serverless.isInvokedByGlobalInstallation` property, not `serverless._isInvokedByGlobalInstallation`
2021-05-11 08:57:29 +02:00
Mariusz Nowak
4d077d1653 fix(Telemetry): Let old versions report telemetry old way 2021-05-11 08:57:29 +02:00
Mariusz Nowak
8d56d0e520 style: Prettier 2021-05-10 13:07:44 +02:00
Piotr Grzesik
2c2c77f905 fix(Telemetry): Do not report when commandSchema not resolved 2021-05-04 17:50:41 +02:00
Mariusz Nowak
132c830b0a fix(CLI): Ensure no general help is listed under interactive setup help 2021-04-30 13:35:15 +02:00
Piotr Grzesik
5861d08768 feat(Telemetry): Report failures via telemetry 2021-04-30 11:54:29 +02:00
Mariusz Nowak
85b9e5319d fix(Telemetry): Ensure that container commands do not trigger telemetry 2021-04-29 17:38:38 +02:00
Piotr Grzesik
07a5483bb6 refactor(CLI): Pass serverless instance to handle-error 2021-04-28 09:42:47 +02:00
Piotr Grzesik
11e7311032 refactor: Introduce is-using-local-installation util 2021-04-27 17:46:19 +02:00