193 Commits

Author SHA1 Message Date
Mariusz Nowak
b5069ef8cb feat(CLI): Deprecate support for deploy -f alias 2022-01-27 15:21:58 +01:00
Mariusz Nowak
da0e4637f3 refactor(CLI): Seclude paramRegExp 2022-01-27 15:21:58 +01:00
Mariusz Nowak
2746b854bb refactor: Remove evaluation of deprecated lifecycle events
BREAKING CHANGE:
Lifecycle events marked as deprecated (in context of v1) are no longer evaluated
2022-01-27 15:21:58 +01:00
Mariusz Nowak
eedaa2469f feat(CLI): Simplify CLI args parsing to <command> <options> format
BREAKING CHANGE:
CLI params put before command tokens are no longer recgonized (e.g. `sls -f <function-name> deploy function` will no longer work). In all cases construct CLI args in `sls <command> <options>` order
2022-01-27 15:21:58 +01:00
Mariusz Nowak
bd6fd4fc3d feat(CLI): Register -v as global --version alias 2022-01-27 15:21:58 +01:00
Mariusz Nowak
a4e5e5f3e3 feat: Remove @serverless/components CLI integration
BREAKING CHANGE:
Serverless Components (`@serverless/components`) CLI is no longer integrated with Framework CLI.
2022-01-27 15:21:58 +01:00
Mariusz Nowak
a646135118 feat(CLI): Support serverless-tencent CLI 2022-01-27 15:21:58 +01:00
Mariusz Nowak
dc0bf5c9aa feat(CLI): Global --debug flag for debug logging 2022-01-27 15:21:58 +01:00
Mariusz Nowak
5194030462 feat(CLI): Global --verbose flag for verbose logging 2022-01-27 15:21:58 +01:00
Piotr Grzesik
fcd386b33b feat: Disallow custom nested configuration path
BREAKING CHANGE: Custom nested configuration paths will no longer be
supported and such usage will result in an error.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
9912939432 feat: Remove studio command schema
BREAKING CHANGE: Remove `studio` command schema
2022-01-27 15:21:58 +01:00
Piotr Grzesik
fe1a2db773 feat(CLI): Remove support for unrecognized cli options
BREAKING CHANGE: Unrecognized CLI options will no longer be supported and
will result in an error.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
b5e6857c83 feat(CLI): Remove -v alias for --verbose flag
BREAKING CHANGE: The `--verbose` CLI flag does no longer support `-v` alias
2022-01-27 15:21:58 +01:00
Mariusz Nowak
6a659f1b20 refactor: Upgrade @serverless/utils to v6 2022-01-27 15:21:58 +01:00
Piotr Grzesik
dcf52731ea feat(CLI Onboarding): Auto login if org provided or configured 2022-01-14 17:55:08 +01:00
Mariusz Nowak
20afe33923 refactor(CLI): Improve user message 2022-01-14 13:20:40 +01:00
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