1192 Commits

Author SHA1 Message Date
Matthieu Napoli
5c9df56f1b
fix(Plugins): Improve error message when a plugin is missing (#9798) 2021-08-03 20:54:51 +02:00
Mariusz Nowak
922ec0093f fix: Fix functions[] validation (ignore null values) 2021-07-16 10:56:06 +02:00
Mariusz Nowak
040036d186 fix(CLI): Do not validate configuration with plugin .. commands 2021-07-14 14:15:58 +02:00
Mariusz Nowak
3e58d628e7 fix: Improve functions validation 2021-07-14 14:15:58 +02:00
Mariusz Nowak
5b54ed2e26 refactor: Drop old variables engine related deprecation
Old variables engine will be removed with next major, so there's no point to communicate breaking changes that were supposed to introduced if it was to stay
2021-07-06 12:03:51 +02:00
Piotr Grzesik
e65199c052 refactor(Telemetry): Ensure generation and related utils are sync 2021-07-06 11:24:21 +02:00
Mariusz Nowak
01f158695b feat(Telemetry): Report configuration validation result 2021-07-01 08:32:33 +02:00
Mariusz Nowak
a36247b7ac refactor(Config Schema): Improve error message and documentation 2021-06-24 21:57:18 +02:00
Mariusz Nowak
011e0ce45c fix: Ensure to support deprecation settings at early stage of processing 2021-06-21 17:31:50 +02:00
Mariusz Nowak
c22a8b99f2 feat: Introduce an opt-in "error" deprecation notification mode 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
2d3bfac374 refactor: Improve var name 2021-06-11 10:14:15 +02:00
Mariusz Nowak
c86a76cb60 refactor: Reorganize and document configuration dependencies 2021-06-11 10:14:15 +02:00
Mariusz Nowak
f009679bdd refactor: Remove no longer applicable comments 2021-06-11 10:14:15 +02:00
Mariusz Nowak
8ac249b1ea refactor(Config Schema): Improve error messaging for same type variants 2021-06-10 12:27:20 +02:00
Mariusz Nowak
582d150ceb refactor(Variables): Cleanup handling of variableSyntax default 2021-06-02 15:17:06 +02:00
Mariusz Nowak
c563581ac9 refactor: Construct user errors with ServerlessError 2021-05-19 13:16:42 +02:00
Mariusz Nowak
105807a674 refactor(CLI Onboarding): Integrate steps from dashboard plugin 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
05588f77c0 refactor(CLI): Rely internally on @serverless/utils/log 2021-05-12 12:41:30 +02:00
Mariusz Nowak
8d56d0e520 style: Prettier 2021-05-10 13:07:44 +02:00
Piotr Grzesik
e1b9ba46bd refactor(Telemetry): Do not generate payload if telemetry disabled 2021-04-27 14:01:26 +02:00
Piotr Grzesik
fac47cfa23 refactor(Telemetry): Only process in PluginManager if flag missing 2021-04-27 14:01:26 +02:00
Piotr Grzesik
8c37e0ac6d refactor: Adjust invalid code for ServerlessError 2021-04-23 13:34:20 +02:00
Piotr Grzesik
82040b427e refactor: Add code to ServerlessError in lib/classes 2021-04-23 13:34:20 +02:00
Mariusz Nowak
6c896a5ffd fix(API): Bring back legacy service.serviceFilename for plugins 2021-04-22 09:14:26 +02:00
Mariusz Nowak
2967065bc7 fix(API): Ensure config.servicePath is config.serviceDir live alias 2021-04-21 17:14:27 +02:00
Piotr Grzesik
d3ecb7cc3b feat(Telemetry): Record all commands and send only on deploy 2021-04-19 16:18:24 +02:00
Mariusz Nowak
e8c8f1cfff refactor: Rename servicePath vars to serviceDir 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
Piotr Grzesik
8aa275725b refactor: Use async/await in PluginManager 2021-04-13 09:15:30 +02:00
Piotr Grzesik
d26e2ae4b8 refactor(AWS Credentials): Remove undocumented provider.credentials 2021-04-13 09:04:57 +02:00
Mariusz Nowak
2011649537 refactor: Remove injustified "eslint-disable" comments 2021-04-02 15:05:03 +02:00
Mariusz Nowak
6292197ee1 refactor(Dashboard): Provide direct internal access to dashboard plugin 2021-03-30 10:22:40 +02:00
Mariusz Nowak
053fea18e0 refactor(CLI): Move main help renderer out of internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
afad2315a5 refactor(CLI): Move to CLI logic required options validation 2021-03-26 10:11:57 +01:00
Mariusz Nowak
aca3c0d57d refactor(CLI): Seclude command help render from internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
87b186113a refactor(CLI): Seclude general help render logic from internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
2fd921dbfc refactor(CLI): Seclude interactive setup help render out of internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
41e921aa6f refactor(CLI): Seclude command options render logic out of internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
0f353750f1 fix: Ensure detection of external plugins is multi instance safe 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
1618e23c5c refactor(Plugins): Bulletproof way to recognize external plugins
It ensures that also plugins added externally by invoking `pluginManager.addPlugin` are recognized as external.

e.g. such practise can be observed here: c53f535204/src/index.ts
2021-03-24 11:50:24 +01:00
Mariusz Nowak
f8b50b7079 refactor: Remove vague comment 2021-03-24 11:50:24 +01:00
Mariusz Nowak
a48117041c refactor(CLI): Integrate isHelpRequest into resolveInput util 2021-03-18 14:36:18 +01:00
Piotr Grzesik
86e0b6ddbb fix: Ensure to handle empty func definition with meaningful error 2021-03-17 13:12:16 +01:00
Mariusz Nowak
6ec463cbe7 fix(CLI): Improve handling of container commands
Allow to run them, and simply show help output if they're run
2021-03-16 09:34:33 +01:00
Mariusz Nowak
15b5a11ecd refactor: Refactor pluginManager.invoke to async/await 2021-03-16 09:34:33 +01:00
Mariusz Nowak
87b8d019c2 refactor: Refactor pluginManager.spawn to async/await 2021-03-16 09:34:33 +01:00