Mariusz Nowak
7864f4d28d
refactor(CLI Onboarding): Seclude from internal Framework logic
2021-05-12 12:41:30 +02:00
Mariusz Nowak
4f6a50a2e1
refactor(Telemetry): Make generatePayload serverless independent
2021-05-12 12:41:30 +02:00
Mariusz Nowak
4d077d1653
fix(Telemetry): Let old versions report telemetry old way
2021-05-11 08:57:29 +02:00
Mariusz Nowak
27e21e8fca
fix(CLI): Ensure to report only unrecognized sources as unrecognized
2021-05-10 13:39:21 +02:00
Mariusz Nowak
8d56d0e520
style: Prettier
2021-05-10 13:07:44 +02:00
Mariusz Nowak
962433864f
fix(CLI): Do not validate command when falling back to old version
...
Old versions may not provide information on external plugins, and in such case we do not have a full picture supported commands and options.
We should avoid any validation in such case
2021-05-06 12:13:22 +02:00
Piotr Grzesik
5861d08768
feat(Telemetry): Report failures via telemetry
2021-04-30 11:54:29 +02:00
Piotr Grzesik
d81730c219
feat(Telemetry): Do not report telemetry for help commands
2021-04-28 16:01:33 +02:00
Piotr Grzesik
07a5483bb6
refactor(CLI): Pass serverless instance to handle-error
2021-04-28 09:42: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
98e6e1eaf7
refactor(Telemetry): Ensure local serverless will not run telemetry
2021-04-27 14:01:26 +02:00
Piotr Grzesik
4cab803ccd
refactor(Telemetry): Move telemetry handling to scripts/serverless.js
2021-04-27 14:01:26 +02:00
Piotr Grzesik
78a4a96d74
refactor(Telemetry): Add isTelemetryReportedExternally flag
2021-04-27 14:01:26 +02:00
Mariusz Nowak
6425e4ae49
refactor(CLI): Improve inner flow documentation
2021-04-23 10:22:48 +02:00
Piotr Grzesik
cbc4627dfe
feat(Telemetry): Remove send invocation from serverless script
2021-04-19 16:18:24 +02:00
Piotr Grzesik
70175857c9
refactor(Telemetry): Rename sendPending to send
2021-04-19 16:18:24 +02:00
Mariusz Nowak
712a569d52
feat(Variables): serviceDir option as replacement for servicePath
...
Support for `servicePath` is maintained until next major
2021-04-16 13:32:13 +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
Piotr Grzesik
d66711108b
refactor(Telemetry): Rename analytics to telemetry
2021-04-16 10:45:56 +02:00
Mariusz Nowak
8ac2706199
fix(Plugins): Prevent variables resolution with "plugin .." command
2021-04-14 09:56:42 +02:00
Mariusz Nowak
05635c5e2d
fix(CLI): Ensure to respect disabledDeprecations config options
2021-04-14 09:56:42 +02:00
Mariusz Nowak
dae9058501
fix(CLI): Ensure help output with missing provider.name
2021-04-06 12:47:08 +02:00
Mariusz Nowak
959da67a5e
feat(Plugins): Announce "type" requirement in CLI option definitions
2021-04-02 13:04:48 +02:00
Mariusz Nowak
b5668d5be0
fix(Variables): Ensure resolution of unrecognized CLI options
2021-03-31 14:00:17 +02:00
Mariusz Nowak
fa728e1478
fix(CLI): Fix deprecation warning message
2021-03-31 14:00:17 +02:00
Mariusz Nowak
7601e26360
refactor(Variables): Do not run old resolver when not needed
2021-03-31 12:25:49 +02:00
Mariusz Nowak
f112e4b91c
feat(Variables): Report errors on unresolved variables
2021-03-30 10:22:40 +02:00
Mariusz Nowak
385c15bc83
refactor(Variables): Configure dashboard sources in a new resolver
2021-03-30 10:22:40 +02:00
Mariusz Nowak
6292197ee1
refactor(Dashboard): Provide direct internal access to dashboard plugin
2021-03-30 10:22:40 +02:00
Mariusz Nowak
af0242d716
refactor(CLI): Ensure resolved provider.region if dashboard
2021-03-30 10:22:40 +02:00
Mariusz Nowak
ee76876725
feat(Variables): Support source extensions from plugins for new resolver
2021-03-30 10:22:40 +02:00
Mariusz Nowak
3f7f67ccc1
refactor(Variables): Configure ssm source in a new resolver
2021-03-30 10:22:40 +02:00
Mariusz Nowak
12a4cad102
refactor(Variables): Configure s3 source in a new resolver
2021-03-30 10:22:40 +02:00
Mariusz Nowak
a60e90f61c
refactor(Variables): Configure cf source in a new resolver
2021-03-30 10:22:40 +02:00
Mariusz Nowak
00652005d4
refactor(CLI): Improve command resolution handling
2021-03-30 10:22:40 +02:00
Mariusz Nowak
32013dc9bb
refactor(CLI): Refactor flow into IIFE
2021-03-30 10:22:40 +02:00
Mariusz Nowak
eecd9285d5
refactor(Variables): Configure sls source in a new resolver
2021-03-30 10:22:40 +02:00
Mariusz Nowak
03817c23fb
refactor(CLI): Rename module to unify convention
2021-03-26 10:11:57 +01:00
Mariusz Nowak
c2d4f834e5
refactor(CLI): Prevent superfluous vars resolution with help request
2021-03-26 10:11:57 +01:00
Mariusz Nowak
2eb61fc510
refactor(CLI): Render help out of internal context
2021-03-26 10:11:57 +01: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
9aa026d8f7
refactor(CLI): Recalculate options only if external plugins were loaded
2021-03-26 10:11:57 +01:00
Mariusz Nowak
01b135c69f
fix(CLI): Ensure to expose accurate commandsSchema in resolved input
2021-03-26 10:11:57 +01:00
Mariusz Nowak
2dacbcce85
feat(CLI): Validate command and options against resolved schema
2021-03-24 11:50:24 +01:00
Mariusz Nowak
3422a121d7
feat(Variables): Recognize CLI command plugin extensions in new resolver
2021-03-24 11:50:24 +01:00
Mariusz Nowak
9e84423413
refactor(CLI): Improve validation of resolution state of core config
2021-03-24 11:50:24 +01:00
Mariusz Nowak
59434afd95
refactor(CLI): Generalize property resolution validation
2021-03-24 11:50:24 +01:00
Mariusz Nowak
13610cf0f0
refactor(Variables): Recognize only defined CLI options in resolver
2021-03-22 15:31:17 +01:00
Mariusz Nowak
b6382fdb7a
refactor(CLI): Resolve command and options gradually
...
Against command schemas which we know are supported in given context
2021-03-22 15:31:17 +01:00
Mariusz Nowak
9ab04a6747
refactor(CLI): Proritize provider.name validation
2021-03-22 15:31:17 +01:00