219 Commits

Author SHA1 Message Date
Mariusz Nowak
30465ccb0b refactor(CLI): Conditionally apply post dotenv resolution logic 2022-02-07 14:53:02 +01:00
Piotr Grzesik
97fda34b29 feat(CLI Onboarding): Improve deploy messaging 2022-02-01 18:34:00 +01:00
Mariusz Nowak
4c5f834905 feat(CLI): Expose installation type by serverless-tencent version info 2022-02-01 15:33:02 +01:00
Mariusz Nowak
395ea7d2a8 fix(CLI): Get serverless-tencent version from all supported locations 2022-01-31 18:16:34 +01:00
Piotr Grzesik
772a9bb86c refactor(CLI Onboarding): Minor wording adjustments 2022-01-28 13:40:28 +01:00
Mariusz Nowak
ab5ad10fd8 refactor: Rename lib/utils/fs/safeMoveFile.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
61527a35e8 refactor: Rename lib/utils/fs/fileExists.js 2022-01-27 15:21:58 +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
Piotr Grzesik
1cb6a2ff2d refactor: Remove legacy logs 2022-01-27 15:21:58 +01:00
Mariusz Nowak
e61674f8dc feat(Dashboard): Drop support for tenant
BREAKING CHANGE:
`tenant` configuration setting is no longer respected. Ensure to rely on `org` instead
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
38fe60e042 refactor(CLI): Convert isLocallyInstalled to export result directly 2022-01-27 15:21:58 +01:00
Mariusz Nowak
fdf25aab44 refactor: Move isLocalyInstalled util to CLI context 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
Mariusz Nowak
5fc55c0464 refactor: Replace ncjsm/resolve usage with native createRequire 2022-01-27 15:21:58 +01:00
Mariusz Nowak
3df6d15664 feat: Expose sls doctor command 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
a196e0403e feat(CLI): Deprecate missing options schema 2022-01-27 15:21:58 +01:00
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