1073 Commits

Author SHA1 Message Date
Mariusz Nowak
2c19bf5eae refactor(Config Schema): Unified color scheme 2020-09-10 10:49:02 +02:00
Mariusz Nowak
6e84563551 test: Rename module to match conventions 2020-09-09 11:17:21 +02:00
Mariusz Nowak
05921b61ee test: Upgrade to use new fixtures engine 2020-09-09 11:17:21 +02:00
Geoff Baskwill
00d6f79c50
feat(Config Schema): Schema for AWS resources section (#8139) 2020-09-07 09:21:16 +02:00
Mariusz Nowak
6dd0596286 fix: Revert from frameworkVersion requirement 2020-09-02 18:33:00 +02:00
Mariusz Nowak
0d5a480fd0 fix: Fix handling of invalid range put into frameworkVersion
Invalid `frameworkVersion` in all cases made `semver.satisfy` to return false.
It's confusing e.g. for cases where we put number 1 instead of string "1" as `frameworkVersion` and that's considered as invalid value
2020-09-02 14:37:49 +02:00
Mariusz Nowak
9f7f9d3983 feat(CLI): Announce frameworkVersion requirement 2020-09-02 13:04:59 +02:00
Mariusz Nowak
246e4a6756 feat(Analytics): Introduce "isLocallyInstalled" characteristics 2020-09-02 13:04:59 +02:00
Mariusz Nowak
c0fb04af3d fix: Fix handling of pre-releases in frameworkVersion validation 2020-09-02 10:06:18 +02:00
Mariusz Nowak
8c3c7c4e3a chore: Rename "tests" folder to "test"
Also upgrade @serverless/eslint-config to v2
2020-08-28 16:22:09 +02:00
Mariusz Nowak
6d7e967227 refactor(Config Schema): Treat "resources" as fully provider specific 2020-08-28 14:17:54 +02:00
Mariusz Nowak
c79cae2308 refactor(Config Schema): Define AWS definitions in context of provider 2020-08-28 14:17:54 +02:00
Mariusz Nowak
af603198a1 fix(Config Schema): Ensure to validate direct config where applicable 2020-08-28 14:17:54 +02:00
Mariusz Nowak
c64d6d5f01
test: Ensure result of tests does not depend on package version 2020-08-25 14:28:40 +02:00
Derek Kulinski
82f6db7a1f
feat(Plugins): Fallback plugins search to global installation folder
(PR #8038)
2020-08-20 09:40:48 +02:00
Mariusz Nowak
e1ee0dc6f9 fix(Config Schema): Report configuration errors as warnings
By default they behave as warnings (let process continue), while "error" gives an impression action was stopped
2020-08-19 15:47:51 +02:00
Mariusz Nowak
516603af90 refactor: Show variables resolution info less frequently
(to not pollute eventual MFA input)
2020-08-19 15:30:20 +02:00
Frédéric Barthelet
f091c07992
feat(Config Schema): AWS HTTP API schema (#8068) 2020-08-19 12:05:50 +02:00
Mariusz Nowak
4660acd324 fix(CLI): Mark 'help' as command that doesn't depend on external plugins 2020-08-07 10:40:55 +02:00
Mariusz Nowak
d8a73b8326 fix(Dashboard): Ensure service independent commands work unconditionally 2020-08-07 10:40:55 +02:00
Mariusz Nowak
f4803ee363 fix(Config Schema): Fix errors normalization for oneOf case 2020-08-04 14:29:34 +02:00
Mariusz Nowak
d171f5476d fix(Config Schema): Fix errors normalization with external refs 2020-08-04 14:29:34 +02:00
Petr Reshetin
268f714357
feat: Schema based validation of service config (#7335)
Co-authored-by: Mariusz Nowak <medyk@medikoo.com>
2020-08-03 15:41:05 +02:00
Mariusz Nowak
cf1d51dbb9 refactor(CLI): Cleanup components resolution logic 2020-07-22 09:39:35 +02:00
Mariusz Nowak
1f7534c4d8 fix(CLI): Ensure --version is only top level command option 2020-07-16 10:24:32 +02:00
Mariusz Nowak
79b4718dec fix(CLI): Communicate access to Components CLI 2020-07-15 15:31:10 +02:00
Mariusz Nowak
3ffa549183 fix(CLI): Ensure to show help and version in context of invalid service 2020-07-10 17:35:23 +02:00
Mariusz Nowak
d9b9b92a1b test: Rewrite Service.test.js so it relies on runServeless 2020-07-10 17:35:23 +02:00
Mariusz Nowak
b09d4255a7 style(CLI): Improvements 2020-07-10 17:35:23 +02:00
Mariusz Nowak
3dd915cd3f refactor(CLI): Improve help resolution documentation 2020-07-10 17:35:23 +02:00
Mariusz Nowak
ff0af1e6ac fix(CLI): Show interactive help unconditionally on --help-interactive 2020-07-10 17:35:23 +02:00
Mariusz Nowak
c042dd5144 fix(CLI): Show version info unconditionally on -v or --version 2020-07-10 17:35:23 +02:00
andreizet
7bbd04a693
refactor: Replace _.has with better counterparts (#7915) 2020-07-07 17:18:48 +02:00
Piotr Grzesik
75bf185785
refactor: Replace _.some usage with array.some (#7901) 2020-07-06 09:08:44 +02:00
Dai Van Nguyen
297f7d85e0
refactor: Replace _.reduce with array.reduce (#7883) 2020-06-26 12:32:07 +02:00
Dai Van Nguyen
4c33476210
refactor: Replace _.isEmpty with native counterparts (#7873) 2020-06-25 15:17:52 +02:00
Nguyễn Việt Đức
57e4212671
refactor: Replace _.sortBy with array.sort (#7823) 2020-06-18 14:36:45 +02:00
Mariusz Nowak
96afed438c refactor: Switch to @serverless/util/config 2020-06-16 10:59:59 +02:00
Mariusz Nowak
a83f06e07f refactor: Remove internal logStat reporter 2020-06-16 10:59:59 +02:00
Mariusz Nowak
daef9e164f refactor: Rename tracking.js to analytics.js 2020-06-16 10:59:59 +02:00
Nguyễn Việt Đức
a549517441
refactor: Replace _.repeat with string.repeat (#7842) 2020-06-16 09:38:40 +02:00
Nguyễn Việt Đức
aaa2f965a7
refactor: Replace _.replace with string.replace (#7843) 2020-06-16 08:56:24 +02:00
Nguyễn Việt Đức
4c6f8be5cc
refactor: Replace _.map with array.map (#7827) 2020-06-12 09:59:42 +02:00
Nguyễn Việt Đức
20cef81555
refactor: Replace _.isUndefined with native checks (#7826) 2020-06-12 09:54:00 +02:00
srd2014
053f5f420b
refactor: Replace _.split with string.split (#7820) 2020-06-09 12:23:14 +02:00
Chris Villanueva
77fbb5969b
refactor: Replace _.includes with val.includes (#7818) 2020-06-08 09:13:50 +02:00
Wing-Kam
9f3ee94a74
refactor: Replace _.isString(value) with typeof value === 'string'
(PR #7812)
2020-06-03 16:17:04 +02:00
Wing-Kam
e42ab2cda6
refactor: Replace _.isFunction with typeof value === 'function'
(PR #7810)
2020-06-03 15:54:49 +02:00
Wing-Kam
22a4ed27e2
refactor: Replace _.toUpper(string) with string.toUpperCase (#7808) 2020-06-03 14:39:49 +02:00
Chris Villanueva
5cf46bf109
refactor: Replace _.join with array.join (#7805) 2020-06-03 08:53:06 +02:00