1147 Commits

Author SHA1 Message Date
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
Mariusz Nowak
acf720cdef fix(CLI): Output "Plugin: " prefix only for external plugin comands 2021-03-16 09:34:33 +01:00
Mariusz Nowak
a9a48f675e fix(CLI): Fix internal commands merge logic
Originally some properties which should not have been overwritten (as `pluginName`) got overwritten and that resulted with errorneous help output
2021-03-16 09:34:33 +01:00
Mariusz Nowak
140990d150 refactor(CLI): Improve error construct 2021-03-16 09:34:33 +01:00
Mariusz Nowak
78d0e9ee45 refactor(CLI): At schema define "--config" option 2021-03-16 09:34:33 +01:00
Mariusz Nowak
14a2640bd9 refactor(CLI): Seclude schema of core commands 2021-03-16 09:34:33 +01:00
yumei
6537a5e48d
feat(Config Schema): Announce that crashing on error will become default
(PR #9066)
2021-03-10 12:11:06 +01:00
Mariusz Nowak
c9087ec4e6 refactor(CLI): Rely on cli/is-help-request util 2021-03-05 16:17:42 +01:00
Piotr Grzesik
c41bd64bb2 refactor: Revert removal of bluebird from lib/classes
This reverts commit 1a694ae4aab0a347b018380110b9a436f6c43c1e.
2021-03-04 11:06:44 +01:00
Juanjo Diaz
1a694ae4aa
refactor: Remove bluebird from lib/classes (#8943) 2021-02-19 18:03:04 +01:00
Piotr Grzesik
496d3574c6 fix(Variables): Properly resolve vars if prototype in path 2021-02-17 17:13:47 +01:00
Mariusz Nowak
16950d098b refactor(CLI): Remove internal CLI arguments parsing 2021-02-11 14:01:41 +01:00
Juanjo Diaz
006557d847
refactor: Use standalone ServerlessError. (#8897) 2021-02-09 09:20:55 +01:00
Piotr Grzesik
e0bc57ab1f feat(Config Schema): Filter out duplicate error messages 2021-01-29 13:59:43 +01:00
Piotr Grzesik
f6c5427b0f chore: Bump @serverless/utils to "v3.0.0" 2021-01-26 16:23:31 +01:00
Piotr Grzesik
6f9824abac refactor: Remove obsolete getLocalAccessKey util 2021-01-26 16:23:31 +01:00
Mariusz Nowak
dc9f1809d1 refactor: Rely on external isHelpRequest CLI util 2021-01-22 14:57:10 +01:00
Mariusz Nowak
f274cd7637 refactor: Seclude configuration parse from internals 2021-01-22 14:57:10 +01:00
Mariusz Nowak
b23bfdbf6a refactor(CLI): Seclude service config path resolution out of internals 2021-01-18 16:19:12 +01:00
Mariusz Nowak
4431b43f17 refactor: Refactor to async/await 2021-01-18 16:19:12 +01:00
Piotr Grzesik
d1c656838f
fix(Config Schema): Revert to ajv v6 (#8762)
This reverts commit 036698ca5b46dc27a2844114813812a83f64813e
and 1af73bacdf01e5dc855da59387ab36085b2b78a1.
2021-01-14 19:11:11 +01:00
Gareth Jones
33cffc3509
feat(Variables): Introduce unresolvedVariablesNotificationMode (#8710) 2021-01-14 08:54:15 +01:00
Mariusz Nowak
87790e50bd refactor: Seclude ServerlessError into lib/serverless-error.js 2021-01-11 19:39:42 +01:00
Mariusz Nowak
b61621adeb refactor(CLI): Seclude version output functionality out of CLI class 2021-01-11 15:57:02 +01:00
Mariusz Nowak
847fa3412d feat: Seclude main error handler to standalone util 2021-01-08 15:06:14 +01:00
vinothmdev
1c48b64925
docs: Improve documentation around deprecations #8665 (#8719) 2021-01-08 09:53:49 +01:00
Piotr Grzesik
036698ca5b fix(Config Schema): Use ajv formats 2021-01-06 20:33:12 +01:00
Mariusz Nowak
53773688ab
refactor: Improve var name 2021-01-05 22:31:17 +01:00
Frédéric Barthelet
66aa66fbfe
refactor: Replace _.set with native assignment 2021-01-05 11:18:10 +01:00
Frédéric Barthelet
1af73bacdf
refactor: Upgrade "ajv" to v7 and "ajv-keywords" to v4 (#8703) 2021-01-05 11:14:12 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Antoine Pham
eb11e6d92b
fix(Variables): Fix when properties are null (#8165)
* fix(Variables): Fix when properties are null

* Simplify null/undefined check

Co-authored-by: Piotr Grzesik <pj.grzesik@gmail.com>
2020-12-22 17:43:56 +01:00
Frédéric Barthelet
7266599a7d
feat(Config Schema): Validate extensions against collisions (#8655) 2020-12-22 17:07:30 +01:00
Juanjo Diaz
84d423d3be
refactor: Convert to native Promise and async/await (#8593) 2020-12-16 17:22:37 +01:00
Mariusz Nowak
3808471972 test: Move unit tests to "test/unit" folder 2020-11-30 16:53:52 +01:00
Vinod Tahelyani
42874946fc
feat(CLI): Improve general --help and remove --verbose option (#8532) 2020-11-25 10:42:08 +01:00
Frédéric Barthelet
6c6881c853
fix(Config Schema): Recognize string format of service (#8537) 2020-11-23 12:17:51 +01:00
Frédéric Barthelet
e32b771425
fix(Config Schema): Fix defineFunctionEventProperties
Fix support for multiple event types

(PR #8486)
2020-11-09 12:16:19 +01:00
Mariusz Nowak
9e9d3e3678
test(Variables): Cover nested variable references with tests 2020-11-09 11:52:03 +01:00
Frédéric Barthelet
b5abfd8554
feat(ConfigSchema): defineFuntionEventProperties schema extension method (#8471) 2020-11-06 14:53:39 +01:00
Mariusz Nowak
2fffb168bc fix(CLI): Fix handling of command options in help display 2020-11-05 10:44:44 +01:00
A. Singh
c0a2ecf453
feat: Deprecate service object notation (#8466) 2020-11-04 17:35:01 +01:00
Luis Helder
5003bbf983
feat(Config Schema): defineFunctionProperties schema extension method
(PR #8462)
2020-11-03 10:02:24 +01:00
telenord
4ae192cbfe
refactor: Remove that = this pattern (#8463) 2020-11-02 11:29:39 +01:00
Oz Weiss
61d8ee9884
feat(Config Schema): Schema for AWS s3 event (#8330) 2020-10-30 17:51:24 +01:00
Mariusz Nowak
df1b8a9433 fix(Config Schema): Run validation logic unconditionally
It's to ensure that properties normalization is applied unconditionally
2020-10-30 15:26:25 +01:00