201 Commits

Author SHA1 Message Date
Daniel Schep
729381f25e move initialize hook into plugman.run & test 2019-08-27 11:40:07 -04:00
Daniel Schep
55a794f4e0 drop support for the asyncInit function on plugins 2019-08-20 15:45:32 -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
Daniel Schep
846cdabece use minimist directly to parse the --config option early rather than instantiating CLI 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
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
Philipp Muens
549ca44531 Create instanceId when running init 2019-03-22 10:08:19 +01:00
Шестаков Павел
3cb0a0676b Cleanup Serverless.js file from unused code 2019-03-01 21:42:34 +03:00
Eslam A. Hefnawy
5896f0c43b fix race condition when loading config file 2019-02-05 15:05:31 +03:00
Eslam λ Hefnawy
96e8ea6b0c
Merge pull request #5636 from shanehandley/master
Throw an error if plugin is executed outside of a serverless directory
2019-01-31 14:31:45 +03:00
exoego
59c440e073 Make it clear that logs don't always get suppressed. 2019-01-23 14:33:53 +09:00
exoego
c930079d5b Do not print logs if print command is used. 2019-01-20 16:10:02 +09:00
Daniel Schep
c0a48b1ef7 remove use of Object.entries & String.includes & Array.includes 2019-01-16 07:32:07 -05:00
Austen Collins
45c65ba07d
remove platform code 2019-01-11 17:23:19 -08:00
Austen Collins
5491cc5604
remove platform code 2019-01-11 17:11:47 -08:00
Austen Collins
fd5d67b427
remove platform code 2019-01-11 16:58:07 -08:00
Shane Handley
afcff8dd54 Better naming 2018-12-30 19:48:34 +11:00
Shane Handley
ee36246e7b Load config earlier in pluginManager and store as instance property to prevent duplicate calls to getServerlessConfigFile. 2018-12-30 18:37:41 +11:00
Eslam A. Hefnawy
4dd3bd8ea1 build fixes 2018-07-25 20:11:53 +03:00
Eslam A. Hefnawy
d3835fd686 updateDeployment instead of createDeployment 2018-07-23 16:05:45 +03:00
Eslam A. Hefnawy
b66a26f317 don't show warnings for logged out users 2018-07-03 17:44:01 +03:00
Eslam A. Hefnawy
7b2c5928a0 fix warning 2018-07-03 16:57:20 +03:00
Eslam A. Hefnawy
6de4b14f67 logs before deployments 2018-06-29 16:34:35 +03:00
Eslam A. Hefnawy
0c2df4a3c4 fix typo 2018-06-26 16:35:29 +03:00
Eslam A. Hefnawy
3909253e43 clense node modules on app veyor 2018-06-20 22:44:21 +03:00
Eslam A. Hefnawy
1db858e6de added new platform logs 2018-06-15 16:10:52 +03:00
Doug Moscrop
8bde1b4902 Support arrays in function definition too 2018-04-04 20:03:56 -04:00
Michael Jalkio
18d026ca24 Remove shelljs dependency 2017-11-11 10:47:13 -08:00
Rafal Wilinski
2ab8903f39 Move update-notifier package 2017-09-27 08:58:57 +02:00
patrickheeney
eeb32aacde Allow custom CLI class instances 2017-08-27 02:09:44 -07:00
Eslam A. Hefnawy
dd6c21d51a auto deployment update 2017-07-17 19:55:43 +07:00
Eslam λ Hefnawy
ffae3adc62 Merge pull request #3812 from serverless/add-invocation-id
Add invocationId
2017-06-21 19:23:32 +08:00
Nik Graf
c5537c2343
Merge branch 'master' into services 2017-06-19 11:26:46 +02:00
Philipp Muens
d689b9e104 Add invocationId 2017-06-19 09:02:48 +02:00
Philipp Muens
ab246085bd Fix postinstall error 2017-06-09 18:00:31 +02:00
Brian Neisler
851df3921a Make autocomplete async through promises 2017-06-07 18:40:05 -07:00
Eslam A. Hefnawy
5696513789 added cache file validation by hash to autocomplete 2017-06-08 01:27:11 +07:00
Eslam A. Hefnawy
b527164611 init serverless if cache file does not exist 2017-06-07 23:50:31 +07:00
Eslam A. Hefnawy
67dc1c2463 using cache file for autocomplete 2017-06-07 22:01:15 +07:00
Brian Neisler
a537e58424 Remove serverless-alpha plugin autoloading. 2017-06-01 14:53:55 -07:00
davidwells
b0d0b5ed4c boot sentry 2017-05-25 16:56:06 -07:00
davidwells
921e599bd1 add sentry error tracking 2017-05-25 13:54:18 -07:00
Doug Moscrop
4dbd94e465 fix resources as an array to support variables 2017-05-16 15:41:00 -04:00
Eslam A. Hefnawy
7cadf28444 supported promises in the variable system 2017-05-02 23:54:09 +07:00
Philipp Muens
59c8c41057 Update local lookup to use service directory 2017-03-29 21:31:52 +02:00
Philipp Muens
4ee198c62c Add serverless-alpha autoloading 2017-03-16 13:06:14 +01:00
Danny Cohn
7bbf9ce6d0 fix #2997 2017-02-05 00:11:20 -06:00
Andrey Tserkus
ffd6152de0 cover Error with tests; rename SError export to ServerlessError 2017-01-31 01:50:07 -08:00