247 Commits

Author SHA1 Message Date
Mariusz Nowak
48609f7276 feat(CLI Onboarding): Support joint Console & Dashboard configurations 2022-03-09 17:42:39 +01:00
Mariusz Nowak
83c8fdb6e4 refactor(CLI Onboarding): Configure debug logs 2022-03-09 17:42:39 +01:00
Mariusz Nowak
fc9dc1dc40 refactor(CLI Onboarding): Reorganize writeOrgAppAndConsole input 2022-03-09 17:42:39 +01:00
Mariusz Nowak
bffbfe32fd fix(CLI Onboarding): Setup app when console and dashboard enabled 2022-03-09 17:42:39 +01:00
Mariusz Nowak
79e156f7ac refactor(CLI Onboarding): Hide not supported templates with console 2022-03-09 17:42:39 +01:00
Mariusz Nowak
25d2e7a2a0 refactor(CLI Onboarding): Reorganize internal variables 2022-03-09 17:42:39 +01:00
Mariusz Nowak
a0436248e7 fix(CLI Onboarding): Leave app intact with also enabled dashboard 2022-03-09 17:42:39 +01:00
Mariusz Nowak
624536f77e fix(CLI Onboarding): Fix resolution of onboarding message 2022-03-09 17:42:39 +01:00
Mariusz Nowak
0c65663861 fix(CLI Onboarding): Prevent side-effects of not supported app option 2022-03-09 17:42:39 +01:00
Mariusz Nowak
2f187a52eb refactor(CLI Onboarding): Support future object notation for console 2022-03-09 17:42:39 +01:00
Mariusz Nowak
f0bff7463c fix(CLI Onboarding): Ensure to enable console when commented out 2022-03-09 17:42:39 +01:00
Mariusz Nowak
b173d90e64 fix(CLI Onboarding): Enable console in config, only with --console 2022-03-09 17:42:39 +01:00
Mariusz Nowak
a296af06c2 refactor(CLI Onboarding): Cleanup regex 2022-03-09 17:42:39 +01:00
Mariusz Nowak
f0d441e0d4 fix(CLI Onboarding): With console always favor console messaging 2022-03-09 17:42:39 +01:00
Mariusz Nowak
f580883d48 refactor(Telemetry): Expose initialContext.isConsoleEnabled 2022-03-09 17:42:39 +01:00
Mariusz Nowak
10c24f6398 fix(CLI Onboarding): Fix initialContext.isDashboardEnabled resolution 2022-03-09 17:42:39 +01:00
Mariusz Nowak
688bfcf00d fix(CLI Onboarding): Fix isConsole resolution in login step 2022-03-09 17:42:39 +01:00
Tim Qian
e26625a58c
refactor(Standalone): Update Tencent CLI standalone download URL
(PR #10811)
2022-03-08 10:59:51 +01:00
Piotr Grzesik
21c783dc16 refactor: Recognize logout as service-aware command 2022-03-02 14:58:05 +01:00
Piotr Grzesik
17df2928cf fix(CLI Onboarding): Ensure variables resolution for templates 2022-03-02 14:51:02 +01:00
Piotr Grzesik
a34d07a5c1 feat(CLI Onboarding): Support --console flag 2022-03-01 18:58:37 +01:00
Piotr Grzesik
4ce10883b5 refactor(Console): Support login with Console 2022-03-01 13:48:02 +01:00
Piotr Grzesik
f439201d7f refactor: Log environment details of error to stderr 2022-02-28 14:38:32 +01:00
Mariusz Nowak
bdaf21e1a1 feat(Console): Initial integration 2022-02-25 20:12:02 +01:00
Mariusz Nowak
ba34c573f4 refactor: Expose isDashboardEnabled resolver 2022-02-25 20:12:02 +01:00
Piotr Grzesik
964b883455 feat(Variables): Support for --param CLI options 2022-02-17 14:07:30 +01:00
Mariusz Nowak
5013af0147 refactor(CLI): Remove obsolete v postfix when listing global version 2022-02-16 12:56:29 +01:00
Mariusz Nowak
4d091b42cb fix(CLI): Ensure to pass through serverless-tencent exit code 2022-02-14 13:56:42 +01:00
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