291 Commits

Author SHA1 Message Date
Ikko Ashimine
eca599d0be
refactor: Fix inline comment typo (#10245) 2021-11-15 16:23:58 +01:00
Mariusz Nowak
7bb2520f49 refactor: Seprate internal and plugin output sections 2021-11-02 16:00:49 +01:00
Mariusz Nowak
73c071b060 refactor(CLI): Improve style for local fallback modern notice 2021-10-18 17:34:07 +02:00
Mariusz Nowak
231095d28d refactor(CLI): Modern log for local version fallback 2021-09-29 21:52:51 +02:00
Mariusz Nowak
b0d854af20 refactor: Move variables resolution log to debug level 2021-09-28 17:16:17 +02:00
Mariusz Nowak
e3af1f3a94 fix(Plugins): Ensure to keep options as passed to plugins up to date 2021-09-24 12:13:17 +02:00
Mariusz Nowak
e423404290 feat(CLI): Modern verbose logs related to deploy operation 2021-09-17 11:42:50 +02:00
Mariusz Nowak
b425cf1582 feat: Internal API to register service outputs 2021-09-09 12:37:52 +02:00
Piotr Grzesik
53b41eb53a refactor(CLI): Deprecate -v as alias for --verbose 2021-08-10 20:11:09 +02:00
Mariusz Nowak
464467e2be fix(CLI): Ensure processedInput is properly resolved in local fallback 2021-07-22 10:10:24 +02:00
Mariusz Nowak
040036d186 fix(CLI): Do not validate configuration with plugin .. commands 2021-07-14 14:15:58 +02:00
Mariusz Nowak
be441ccd91 refactor(CLI): Reuse already imported module 2021-07-14 14:15:58 +02:00
Piotr Grzesik
e65199c052 refactor(Telemetry): Ensure generation and related utils are sync 2021-07-06 11:24:21 +02:00
Mariusz Nowak
9b624a5067 feat(CLI): New warn:summary (default) deprecations logging mode
To avoid confusion, in case of local fallback always resort to `warn`
2021-07-05 22:15:50 +02:00
Piotr Grzesik
33794ea504 feat(Variables): Support aws:region and aws:accountId variables 2021-06-30 13:02:59 +02:00
Mariusz Nowak
989cb82db3 fix(CLI): Ensure to list version in case of fallback from some versions 2021-06-25 12:41:31 +02:00
Mariusz Nowak
53b97621dc fix: Ensure early access to configuration in logDeprecation method 2021-06-21 17:31:50 +02:00
Mariusz Nowak
004c6e26be fix(Variables): Ensure visibility of top level properties resolution 2021-06-11 10:14:15 +02:00
Mariusz Nowak
14a5275c0d fix(Variables): Ensure to apply a new resolver in a local version 2021-06-02 15:17:06 +02:00
Mariusz Nowak
eeddf9f518 fix(Telemetry): If global & local report outcome, report with global 2021-05-13 13:06:33 +02:00
Mariusz Nowak
65a1f3875c fix(CLI): Ensure resolved CLI params are correct in local fallback 2021-05-13 13:06:33 +02:00
Mariusz Nowak
105807a674 refactor(CLI Onboarding): Integrate steps from dashboard plugin 2021-05-12 12:41:30 +02:00
Mariusz Nowak
2672047c2f refactor: Resolve path to package in resolveLocalServerlessPath 2021-05-11 08:57:29 +02:00
Mariusz Nowak
da476ad7ac fix(CLI): Ensure to support disableDeprecations setting 2021-05-04 22:12:00 +02:00
Mariusz Nowak
b7a113d48d fix(Telemetry): Ensure proper options for generate payload fallback 2021-05-04 22:12:00 +02:00
Piotr Grzesik
fd97e877ce refactor: Ensure that options are copied in Serverless constructor 2021-04-28 16:30:47 +02:00
Piotr Grzesik
e1b9ba46bd refactor(Telemetry): Do not generate payload if telemetry disabled 2021-04-27 14:01:26 +02:00
Piotr Grzesik
78a4a96d74 refactor(Telemetry): Add isTelemetryReportedExternally flag 2021-04-27 14:01:26 +02:00
Piotr Grzesik
28c5af47f4 refactor: Add code to ServerlessError in ./Serverless.js 2021-04-23 13:34:20 +02:00
Mariusz Nowak
2967065bc7 fix(API): Ensure config.servicePath is config.serviceDir live alias 2021-04-21 17:14:27 +02:00
Mariusz Nowak
ff589baef4 fix(API): Ensure serverless.config.servicePath
Accidentally removed with #9307
2021-04-20 14:54:49 +02:00
Mariusz Nowak
c02cd06d90 feat: Refactor constructor to accept new service configuration options
`serviceDir` and `configurationFilename` options are favored over of `configurationPath`
2021-04-16 13:32:13 +02:00
Mariusz Nowak
87d380275b refactor: Replace config.servicePath with service.dir 2021-04-16 13:32:13 +02:00
Mariusz Nowak
fc3a4391b5 refactor: Introduce serviceDir and configurationFilename
In place of `configurationPath`
2021-04-16 13:32:13 +02:00
Mariusz Nowak
9b830728df refactor: Ensure to remove internal .env resolution with next major 2021-03-31 12:25:49 +02:00
Mariusz Nowak
80bddce667 fix(CLI): Fix commands pass to local installation 2021-03-31 12:25:49 +02:00
Mariusz Nowak
8142515bfc refactor(CLI): Ensure to have up to date commands
When invoked by outdated global installation
2021-03-26 10:11:57 +01:00
Mariusz Nowak
2d4d05d425 refactor(CLI): Pass resolved commands options to local installation 2021-03-26 10:11:57 +01:00
Mariusz Nowak
841e847c20 fix(Variables): Ensure necessary resolution interface for plugins 2021-03-23 09:07:51 +01:00
Mariusz Nowak
a48117041c refactor(CLI): Integrate isHelpRequest into resolveInput util 2021-03-18 14:36:18 +01:00
Mariusz Nowak
116fe85fbe refactor(CLI): Schema for @serverless/enterprise-plugin commands
This plugin is scheduled to be integrated into this repository, therefore maintaining the schema here is justified at this point
2021-03-16 09:34:33 +01:00
Mariusz Nowak
d6c7d97dc6 fix(Variables): Ensure to apply intialization patch unconditionally 2021-03-03 15:23:36 +01:00
Mariusz Nowak
25dd575a4d fix(Variables): Fix variables setup for external plugins usage 2021-03-03 13:09:18 +01:00
Mariusz Nowak
10e1dda23b refactor: Ensure to pass "isConfigurationResolved" to local instance 2021-03-03 10:13:32 +01:00
Mariusz Nowak
7aac480fbb refactor(Variables): Do not run old resolver when no vars to resolve 2021-03-02 13:54:16 +01:00
Mariusz Nowak
a9e3a66735 refactor(CLI): Resolve .env files before intializing Serverless instance 2021-02-25 16:57:11 +01:00
Mariusz Nowak
5ca4b639fb refactor: Remove "async" mark from sync function 2021-02-25 16:57:11 +01:00
Mariusz Nowak
b5ad0e4a42 refactor(CLI): Rename load-dotenv util 2021-02-25 16:57:11 +01:00
Mariusz Nowak
1eaa6260aa fix(CLI): Move deprecation report to init phase
As it's the only phase at which `_isInvokedByGlobalInstallation` is guaranteed to be resolved
2021-02-11 14:01:41 +01:00
Mariusz Nowak
16950d098b refactor(CLI): Remove internal CLI arguments parsing 2021-02-11 14:01:41 +01:00