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
Daniel Schep
fc9b9066b6
check for falsey variable resolver
2019-08-29 08:35:54 -04:00
Daniel Schep
91ae8bcc17
Add initialize lifecycle event ( #6601 )
...
* Revert "remove initialize hook stuff. moving to diff pr"
This reverts commit 851b043710fffd6e88d025e4da741bb8af35ba8e.
* Switch to Bluebird Promise implementation
2019-08-28 12:05:17 -04:00
Daniel Schep
dd1ba83e5d
validate that options is an object if not a function
2019-08-28 08:47:08 -04:00
Daniel Schep
4efbf845a2
variable prefix is always a string
2019-08-28 08:37:09 -04:00
Daniel Schep
851b043710
remove initialize hook stuff. moving to diff pr
2019-08-27 14:21:10 -04:00
Daniel Schep
b5757d334a
Array.reduce instead of Promise.reduce
2019-08-27 14:11:04 -04:00
Daniel Schep
729381f25e
move initialize hook into plugman.run & test
2019-08-27 11:40:07 -04:00
Daniel Schep
ed1117b5e8
fix tests and validate inputs
2019-08-27 09:47:26 -04:00
Daniel Schep
d1a2a30ef9
remove unused custom var getter flag
2019-08-27 08:53:34 -04:00
Daniel Schep
15319b5be1
s/isDependentService/isDisabledAtPrepopulation
2019-08-27 08:46:41 -04:00
Daniel Schep
569623e156
s/method/resolver/
2019-08-27 08:44:57 -04:00
Daniel Schep
7ccdde6178
asfaf
2019-08-26 08:13:34 -04:00
Daniel Schep
e3c4755dbe
WIP
2019-08-23 10:08:41 -04:00
Daniel Schep
12fea8f336
rename
2019-08-23 10:07:41 -04:00
Daniel Schep
faa5a07009
prettify
2019-08-21 12:46:21 -04:00
Daniel Schep
c69cb50555
objects not arrays for instances in variableResolvers
2019-08-21 11:11:46 -04:00
Daniel Schep
c3674e1293
safer & more explicit implementation of variableResolvesrs(also renamed)
2019-08-21 10:22:05 -04:00
Daniel Schep
55a794f4e0
drop support for the asyncInit function on plugins
2019-08-20 15:45:32 -04:00
Daniel Schep
c0ed311865
simplify variable getter hook system
2019-08-20 15:00:23 -04:00
Daniel Schep
02fa190d0b
Add plugin hooks to define config variable getters
2019-08-20 11:23:42 -04:00
Mariusz Nowak
4944f471b1
Prettify
2019-06-26 12:43:01 +02:00
Matthieu Napoli
1019939969
#6017 Plugin relative paths should start with ./
...
Following the discussion in #6261 it should be possible to load plugin via relative paths, as long as the path starts with `./`.
For example:
```yaml
plugins:
# will load myfirstplugin/plugin.js or myfirstplugin/plugin/index.js
- './myfirstplugin/plugin'
# will load mysecondplugin/plugin.js or mysecondplugin/plugin/index.js
- './mysecondplugin/plugin'
```
2019-06-20 11:55:55 +02:00
Matthieu Napoli
152b4c460a
Fix #6017 Allow to load plugin from path
...
The list of plugins can now contain relative paths.
For example:
```yaml
plugins:
# will load myfirstplugin/plugin.js or myfirstplugin/plugin/index.js
- 'myfirstplugin/plugin'
# will load mysecondplugin/plugin.js or mysecondplugin/plugin/index.js
- 'mysecondplugin/plugin'
```
2019-06-18 16:12:49 +02:00
Daniel Schep
970a1cc3f8
refactor getServerlessConfigFile to simply accept a serverless object
2019-06-10 11:19:14 -04:00
Daniel Schep
94bf5a4382
delint
2019-06-10 11:19:14 -04:00
Daniel Schep
2b81303370
--config option.
...
closes #5589
closes #4485
closes #4473
closes #4124
closes #5822
2019-06-10 11:19:14 -04:00
Daniel Schep
6135a1e14c
fix yarn install of SFE integration
...
closes #6181
2019-05-28 16:03:01 -04:00
Daniel Schep
9e4621cb23
re add enterprise disable d sflag support
2019-05-24 12:54:34 -04:00
Daniel Schep
18befe012e
remove unneeded eslint directive
2019-05-24 12:48:23 -04:00
Daniel Schep
82065121ff
lint
2019-05-23 09:08:30 -04:00
Daniel Schep
631a939621
fat fingers
2019-05-21 14:34:10 -04:00
Daniel Schep
ad235a6a7a
remove sfe node version check & change what require hacks we use
2019-05-21 14:31:58 -04:00
Daniel Schep
c17196aef7
remove sfe node version check
2019-05-21 14:27:53 -04:00
Daniel Schep
68b9c39f34
Merge remote-tracking branch 'origin/master' into plat-916
2019-05-14 09:49:29 -04:00
Daniel Schep
537140ccbd
add a hook for plugins to perform asyncronous initialization.
...
needed for SFE to enable deployment profiles
2019-05-09 09:17:54 -04:00
Daniel Schep
049d14706e
update check
2019-05-08 09:21:50 -04:00
Daniel Schep
da1587bdbd
serverlessrc based config instead of env var
2019-05-03 14:10:21 -04:00
Daniel Schep
ab88c1aa36
check for version of node that the SFEplugin requires too
2019-05-03 11:10:49 -04:00
Daniel Schep
b7d0c53d7c
check that node version is compatible with SFE plugin
2019-05-03 11:05:41 -04:00
Daniel Schep
2a3d0397fa
add option to disable SFE
2019-05-03 09:20:56 -04:00
Daniel Schep
6914063101
avoid duplicate plugin issue w/SFE
2019-05-03 09:16:15 -04:00
Daniel Schep
c06a67851e
built in integration of serverless enterprise
2019-05-01 15:48:12 -04:00
TylerSustare
28ea91bfd2
Add more specific sub command error handling.
2019-04-21 23:10:59 -07:00
danielconde
8a7d9113fc
dont use destructuring as is not supported in earlier versions of node
2019-02-16 20:29:07 +00:00
danielconde
0d16fbc182
export getServerlessConfigFilePath in getServerlessConfigFile.js module
2019-02-16 17:58:49 +00:00