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
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
0eba2dcdfe
feat(CLI Onboarding): Add telemetry for interactive 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
Mariusz Nowak
bc3fc11d79
test: Adapt to deprecation notification error mode
2021-06-21 17:31:50 +02:00
Mariusz Nowak
81ddcf8ecb
test: Upgrade from deprecated forms when not testing them intentionally
2021-06-21 17:31:50 +02:00
Mariusz Nowak
d1c0e263e4
test: Fix description title
2021-06-21 17:31:50 +02:00
Piotr Grzesik
519f77e1a8
refactor(CLI Onboarding): Remove auto-update step
2021-06-09 16:06: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
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