Mariusz Nowak
48609f7276
feat(CLI Onboarding): Support joint Console & Dashboard configurations
2022-03-09 17:42:39 +01:00
Mariusz Nowak
5a4ed5c172
test: Wrap console related tests with describe
2022-03-09 17:42:39 +01:00
Mariusz Nowak
f580883d48
refactor(Telemetry): Expose initialContext.isConsoleEnabled
2022-03-09 17:42:39 +01:00
Piotr Grzesik
a34d07a5c1
feat(CLI Onboarding): Support --console flag
2022-03-01 18:58:37 +01:00
Piotr Grzesik
f439201d7f
refactor: Log environment details of error to stderr
2022-02-28 14:38:32 +01:00
Piotr Grzesik
964b883455
feat(Variables): Support for --param CLI options
2022-02-17 14:07:30 +01:00
Piotr Grzesik
76a60ae2b7
refactor: Use templates from examples in create
2022-02-04 17:35:19 +01:00
Piotr Grzesik
97fda34b29
feat(CLI Onboarding): Improve deploy messaging
2022-02-01 18:34:00 +01:00
Piotr Grzesik
772a9bb86c
refactor(CLI Onboarding): Minor wording adjustments
2022-01-28 13:40:28 +01:00
Mariusz Nowak
2bcc8f3b47
refactor: Rename lib/utils/openBrowser.js
2022-01-27 15:21:58 +01:00
Mariusz Nowak
2cf86e4ee9
refactor: Rename lib/utils/logDeprecation.js
2022-01-27 15:21:58 +01:00
Mariusz Nowak
aed6673d68
refactor: Rename lib/utils/isStandaloneExecutable.js
2022-01-27 15:21:58 +01:00
Mariusz Nowak
a93a1511b7
refactor: Rename lib/utils/downloadTemplateFromRepo.js
2022-01-27 15:21:58 +01:00
Mariusz Nowak
7289137073
refactor: Rename lib/Serverless.js
2022-01-27 15:21:58 +01:00
Mariusz Nowak
73b1886040
refactor: Adapt to rename in @serverless/dashboard-plugin
2022-01-27 15:21:58 +01:00
Mariusz Nowak
6b26a7d360
refactor(CLI): Unify finalization of a process handling
2022-01-27 15:21:58 +01:00
Mariusz Nowak
e142254056
refactor(CLI): Seclude uncaught exception handling
2022-01-27 15:21:58 +01:00
Mariusz Nowak
d62c3288b2
feat: Unconditionally fallback when local installation found
...
BREAKING CHANGE:
`enableLocalInstallationFallback` configuration property is no longer supported.
2022-01-27 15:21:58 +01:00
Mariusz Nowak
c18e1b308b
refactor(CLI): Export resolved local installation path directly
2022-01-27 15:21:58 +01:00
Piotr Grzesik
4dbb496506
refactor(CLI Onboarding): Download templates from v3 examples branch
2022-01-27 15:21:58 +01:00
Mariusz Nowak
b4a25d70d3
feat: Remove tab autocomplete feature
...
Reasoning:
- Performance is very poor due to slow command startup time
- `tabtab` package is no longer maintained and shares security issues
- Feature usage is relatively low (telemetry data shows 7% of users has the autocompletion on)
BREAKING CHANGE:
Opt-in tab-tab autocompletion feature is removed due to performance and security issues
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
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
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
Mariusz Nowak
b30a2277a7
test: Upgrade @serverless/test to v9
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
cc905c1e39
refactor: Remove not actual TODO comments
2022-01-12 16:33:14 +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
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
Mariusz Nowak
415bdefca0
perf(CLI): Integrate CLI triage into this package
2021-10-27 13:27:30 +02:00
Mariusz Nowak
07aed3429c
refactor(CLI): Modern logs for interactive setup
2021-09-29 21:52:51 +02:00
Sudipto Das
05fff98a00
refactor: Replace fse.writeFile with fs.promises.writeFile ( #9870 )
2021-08-30 11:08:47 +02:00
Piotr Grzesik
f69a19c680
feat(CLI Onboarding): Improve onboarding messaging
2021-08-24 13:58:44 +02:00
Piotr Grzesik
b751c505c8
refactor(CLI Onboarding): Adjust summary messages in deploy step
2021-08-13 13:16:32 +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
Sudipto Das
daee1d5375
refactor: Replace fse.unlink with fs.promises.unlink ( #9754 )
2021-07-16 09:27:13 +02:00
Piotr Grzesik
560aee5feb
feat(Telemetry): Record initial context for interactive setup
2021-07-14 18:48:29 +02:00
Piotr Grzesik
e65199c052
refactor(Telemetry): Ensure generation and related utils are sync
2021-07-06 11:24:21 +02:00
Piotr Grzesik
cc24bc2ae2
refactor(Telemetry): Report commandUsage as object
2021-07-05 14:13:32 +02:00