177 Commits

Author SHA1 Message Date
Piotr Grzesik
46d090a302 refactor(CLI Onboarding): Download templates from v2 examples branch 2022-01-06 17:06:36 +01:00
Mariusz Nowak
7ebe133b35 fix(CLI): Fix handling of provider URL handling 2022-01-06 14:48:40 +01:00
Matthieu Napoli
dbb044c8b7 docs: Various text improvements 2022-01-03 15:56:14 +01:00
Piotr Grzesik
4fa20a56ea feat(Telemetry): Report didCreateService property 2021-12-23 12:51:04 +01:00
Piotr Grzesik
08b5acbaa9 refactor(Telemetry): Ensure to report projectId for interactive 2021-12-23 12:51:04 +01:00
Mariusz Nowak
0dedd3e879 fix(CLI): Improve error handler resolution
Ensure it's bulletproof against serverless installation issues
2021-12-15 12:37:41 +01:00
Mariusz Nowak
f6feb0b7b3 fix(CLI): Do not crash on help request 2021-12-13 17:11:45 +01:00
Mariusz Nowak
4494f77f61 fix(CLI): Fix component template recognition in triage
Top level configuration not containing `component` was considered unconditionally as `serverless`, that's not correct
2021-11-17 13:43:23 +01:00
Piotr Grzesik
afd0a5bd6f feat: Introduce enforce-hash-update flag to help hashing migration 2021-11-09 13:24:15 +01:00
Sebastian Bille
254e70cd0a
fix(CLI): Fix help command usage information (#10175) 2021-10-29 11:41:03 +02:00
Mariusz Nowak
415bdefca0 perf(CLI): Integrate CLI triage into this package 2021-10-27 13:27:30 +02:00
Mariusz Nowak
452e234306 refactor(CLI): doctor command for modern handling of deprecations 2021-10-20 10:40:54 +02:00
Mariusz Nowak
6991d66987 refactor(CLI): Do not filter commands by lifecycleEvents for help
Not clear at this point why such filter was added.
It's harmful for commands configured externally of `Serverless` class
2021-10-20 10:40:54 +02:00
Piotr Grzesik
b4ff87dc81 refactor(CLI): Report credentials source in modern error output 2021-10-19 16:13:53 +02:00
Piotr Grzesik
2217158764 refactor(CLI): Support decoratedMessage on ServerlessError 2021-10-19 13:36:51 +02:00
Piotr Grzesik
4da0899673 refactor(CLI): Replace warnings with modern counterparts 2021-10-15 11:09:35 +02:00
Mariusz Nowak
62642964bc refactor(CLI): Update link style for modern logs 2021-10-14 13:58:01 +02:00
Piotr Grzesik
be00a2672c refactor(CLI): Replace process.stdout use with modern logs 2021-10-14 12:26:25 +02:00
Piotr Grzesik
40f574f946 feat(AWS Deploy): Introduce warning about deploy -f alias 2021-10-11 16:40:56 +02:00
Piotr Grzesik
d43298d25b refactor(CLI): Adapt logWarning to modern logs 2021-10-11 16:40:56 +02:00
Mariusz Nowak
5f1a916d4d refactor: Remove _async_ handling from _sync_ function 2021-10-05 14:56:17 +02:00
Mariusz Nowak
7d31410b74 fix(CLI): Fix resolution of handler in case of local fallback 2021-10-01 16:29:14 +02:00
Mariusz Nowak
a205f88310 refactor(CLI): Improve modern error reporting 2021-10-01 15:47:41 +02:00
Mariusz Nowak
8aa700dc79 refactor(CLI): Generalize writeServiceOutputs 2021-10-01 15:47:41 +02:00
Mariusz Nowak
231095d28d refactor(CLI): Modern log for local version fallback 2021-09-29 21:52:51 +02:00
Mariusz Nowak
e070110eee refactor(CLI): Rely on newly introduced log style functions 2021-09-29 21:52:51 +02:00
Mariusz Nowak
07aed3429c refactor(CLI): Modern logs for interactive setup 2021-09-29 21:52:51 +02:00
Mariusz Nowak
1a3ccdbef8 fix(CLI): Fix handling when local serverless is removed in command run 2021-09-28 17:16:17 +02:00
Mariusz Nowak
54af90884c refactor: Cleanup requires order 2021-09-28 17:16:17 +02:00
Mariusz Nowak
5a583a9798 fix(Standalone): Fix internal npm installation handling 2021-09-28 10:24:54 +02:00
Mariusz Nowak
40cdb4f1a1 feat(CLI): Revert from unconditional .env support 2021-09-24 16:07:31 +02:00
Mariusz Nowak
5b38232e63 feat(CLI): Remove missing CLI options schema deprecation
Instead signal inconsistency with a warning
2021-09-24 15:54:26 +02:00
Mariusz Nowak
b2df3cc0c8 feat(CLI): Modern help output 2021-09-23 16:34:12 +02:00
Mariusz Nowak
43d17debee fix(CLI): Ensure to write outputs with modern logs on sls info 2021-09-22 16:01:35 +02:00
Mariusz Nowak
634b59e396 refactor: Revert from mainProgressTitles handling
It appeared as not reliable, due to lack of means for any conditional handling of progress events
2021-09-21 17:39:44 +02:00
Mariusz Nowak
9e308bdf04 refactor: Configure main progress titles through command schema 2021-09-20 15:41:01 +02:00
Mariusz Nowak
be16ed57b1 refactor: Mark deprected lifecycle events for removal 2021-09-20 15:41:01 +02:00
Mariusz Nowak
80005aaf6b fix(CLI): Ensure to strip error messages from colors in modern logs 2021-09-17 11:42:50 +02:00
Piotr Grzesik
12216db579 feat(CLI Onboarding): Switch to httpApi-based templates 2021-09-14 16:46:14 +02:00
Piotr Grzesik
171897d60e
feat(CLI): Introduce first iteration of modern logs for deploy (#9934) 2021-09-10 15:17:45 +02:00
Mariusz Nowak
e46ce80d99 refactor(CLI): Ensure no monkey patching by progress override 2021-09-07 11:38:25 +02:00
Piotr Grzesik
f69a19c680 feat(CLI Onboarding): Improve onboarding messaging 2021-08-24 13:58:44 +02:00
Piotr Grzesik
9a8e7e44b4 fix(CLI): Mark dashboard command with optional service dependency 2021-08-23 17:59:21 +02:00
Sudipto Das
bb0484e6b5
refactor: Replace fse.stat with fs.promises.stat (#9845) 2021-08-16 15:39:01 +02:00
Piotr Grzesik
b751c505c8 refactor(CLI Onboarding): Adjust summary messages in deploy step 2021-08-13 13:16:32 +02:00
Piotr Grzesik
60d729b5d4 feat(Telemetry): Detect used variable sources 2021-07-28 13:18:31 +02:00
Piotr Grzesik
4d56be562a refactor(Telemetry): Use prompt-with-history 2021-07-22 08:42:57 +02:00
Piotr Grzesik
afdf77c960 refactor(CLI Onboarding): Move dashboard-set-org from plugin 2021-07-20 17:18:36 +02:00
Piotr Grzesik
adef7102df refactor(CLI Onboarding): Move dashboard-login step from plugin 2021-07-20 17:18:36 +02:00
Piotr Grzesik
b85f3934ed fix(CLI Onboarding): Ensure credentials resolution before deploy 2021-07-19 16:43:44 +02:00