Vinod Tahelyani
42874946fc
feat(CLI): Improve general --help and remove --verbose option ( #8532 )
2020-11-25 10:42:08 +01:00
Piotr Grzesik
56c7e443a0
refactor: Replace _.forOwn with Object.entries().forEach ( #8284 )
2020-09-24 17:17:39 +02:00
Piotr Grzesik
76e02cc09c
refactor: Replace _.forEach with Object.entries().forEach ( #8280 )
2020-09-24 10:31:32 +02:00
Piotr Grzesik
b867df147a
refactor: Replace _.{entries|entriesIn|toPairs} with Object.entries
...
(PR #8275 )
2020-09-23 13:13:54 +02:00
Piotr Grzesik
57d1ce1a66
refactor: Replace _.values with Object.values ( #8274 )
2020-09-23 13:09:50 +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
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
3ffa549183
fix(CLI): Ensure to show help and version in context of invalid service
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
Mariusz Nowak
96afed438c
refactor: Switch to @serverless/util/config
2020-06-16 10:59:59 +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
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
Chris Villanueva
5cf46bf109
refactor: Replace _.join with array.join ( #7805 )
2020-06-03 08:53:06 +02:00
TATSUNO Yasuhiro
5e0af21313
refactor: Replace _.forEach and _.each with array.forEach ( #7748 )
2020-05-28 10:45:25 +02:00
Nguyễn Việt Đức
85e9cd4455
refactor: Replace _.assign and _.extend with Object.assign ( #7766 )
2020-05-26 10:24:46 +02:00
TATSUNO Yasuhiro
8bb5517456
refactor: Replace _.{startsWith,endsWith,includes} with native methods
...
(PR #7715 )
2020-05-19 12:22:25 +02:00
TATSUNO Yasuhiro
3fe2e98f15
refactor: Replace _.isArray with native Array.isArray ( #7703 )
2020-05-11 10:24:41 +02:00
Mariusz Nowak
617b479fb7
fix: Fix support for relative plugins.localPath
...
Fixes #7117
2019-12-20 10:34:35 +01:00
Mark Tse
7e0e903c79
fix: Recognize falsy values as CLI options defaults ( #7071 )
2019-12-13 10:54:40 +01:00
Peter Indiola
4adc5cc197
Fix spelling and typos in docs, code variables and code comments
2019-11-20 23:28:56 +08:00
Mariusz Nowak
07726b6be8
Require all plugins before their initialization.
...
It allows to exit early on initialization errors, and provides means to customize core plugins by service plugin before they're initialized
2019-10-10 09:18:36 +02:00
Mariusz Nowak
529a3459fd
Resolve local plugins withough hacking module.paths
2019-10-09 17:19:10 +02:00
Mariusz Nowak
a62f15f661
Ensure to statically require core plugins
2019-10-09 17:16:58 +02:00
Mariusz Nowak
40ea32f44b
Pass already required plugins to loadPlugins method
2019-10-09 17:16:58 +02:00
Philipp Muens
7d728e509f
Update error message
2019-10-08 12:03:59 +02:00
Philipp Muens
747b98510c
Address PR review comments
2019-09-17 10:52:39 +02:00
Daniel Schep
ad0252dec3
do async plugin init in load all plugins
2019-09-16 14:59:59 -04:00
Daniel Schep
9748b4e124
Revert "drop support for the asyncInit function on plugins"
...
This reverts commit 55a794f4e07cd7a903ee80c4b68f9f4818b40355.
2019-09-16 08:34:01 -04:00
Daniel Schep
3c212322a7
Revert "move where initialize lifecycle hook is called"
...
This reverts commit 6bd2b537a9d5575c38bddd6048363736f5b4490e.
2019-09-16 08:33:20 -04:00
Daniel Schep
6bd2b537a9
move where initialize lifecycle hook is called
...
We actually still need to call it before variables are populated.
The enterprise plugin needs it so that credentials in deploy profiles will work
when ${cf} ${s3} and ${ssm} vars are resolved.
This shouldnot be a major issue since didnot publish docs about this lifecycle hook
2019-09-13 17:06:45 -04:00
Mariusz Nowak
5a77bcaf7f
Improve logic readability
2019-09-06 14:39:40 +02:00
Mariusz Nowak
16f358115a
Skip in case of 'plugin' command only on not found error
2019-09-06 14:39:21 +02:00
Mariusz Nowak
b2cf1025c7
Improve help case handling
2019-09-06 14:39:19 +02:00
Mariusz Nowak
f5e71c2b5f
Fix module not found error detection
2019-09-06 14:32:05 +02:00
Mariusz Nowak
c4a11fed59
Cover only plugin load with error handler
2019-09-06 14:32:05 +02:00
Mariusz Nowak
ca871ca8c4
In all cases rethrow original plugin error
2019-09-06 12:56:23 +02:00
astuyve
5b9a1cc105
Remove enterprise from upgrade notes
2019-09-03 13:09:45 -05:00
Philipp Muens
b87008c15d
Easier to understand error message
2019-09-03 12:35:48 +02:00
Daniel Schep
a231e0302d
changes for @erikerikson's review
2019-08-30 09:29:12 -04:00
Daniel Schep
9e82d11a46
fix variable prefix regex
2019-08-30 07:22:34 -04:00
Daniel Schep
43076c0f22
Merge remote-tracking branch 'origin/master' into custom-variable-getters
2019-08-29 12:38:58 -04:00
Daniel Schep
c6f3611177
prettier
2019-08-29 12:23:41 -04:00