503 Commits

Author SHA1 Message Date
Eslam λ Hefnawy
793ef87b15 Merge pull request #4011 from oktapodia/feature/improve-deprecated-hook-message
Improve deprecated hook message
2017-08-04 21:17:16 +07:00
Eslam λ Hefnawy
54dd2f64fc Merge pull request #3941 from serverless/remove-provider-name-validation
Remove provider name validation
2017-08-01 17:04:08 +07:00
Sebastien Bramille
6d2eb61166 Align with Plugin 2017-07-30 02:16:21 +01:00
Sebastien Bramille
5174bf98ec Improve deprecated hook message 2017-07-30 02:12:15 +01:00
indieisaconcept
71f1aa09cb preserve context when executing exported function from .js file
The change ensures that when a .js file exported function is executed,
the original execution context is supplied in order to maintain "this".
2017-07-26 11:21:09 +10:00
Philipp Muens
e07f48f80b Merge pull request #3960 from RafalWilinski/master
Load Serverless plugins only once
2017-07-21 11:16:23 +02:00
Philipp Muens
9c856dc7b6 Minor code refactorings 2017-07-21 11:09:05 +02:00
Philipp Muens
99a12414e1 Merge pull request #3959 from RafalWilinski/3956-catch-unknown-plugin
Wrap addPlugin in try/catch statement when loading plugins
2017-07-21 10:58:44 +02:00
Philipp Muens
d04889b4aa Minor refactorings 2017-07-21 10:41:30 +02:00
Eslam λ Hefnawy
a3a1d09ba3 Merge pull request #3904 from serverless/travis-keys
Add auto deployment through travis
2017-07-20 17:05:54 +07:00
Rafal Wilinski
32bf998406 Prepend messages with correct prefixes 2017-07-20 11:26:20 +02:00
Rafal Wilinski
787341d5bf Conditionally throw error or log a warning 2017-07-20 10:47:42 +02:00
Rafal Wilinski
675233ffc0 Change log to throwing an Error 2017-07-20 10:08:55 +02:00
Rafal Wilinski
550f9d9d97 Replace Array.includes with _.includes 2017-07-20 07:30:17 +02:00
Rafal Wilinski
f0a67b94e4 Add duplicate plugins test 2017-07-20 07:13:40 +02:00
Rafal Wilinski
007c5c9607 Add duplicate check in PluginManager.addPlugin function 2017-07-20 07:13:28 +02:00
Rafal Wilinski
c1812721aa Add PluginManager.loadPlugins test 2017-07-20 06:16:16 +02:00
Rafal Wilinski
157e8b88dc Wrap this.addPlugin function into try/catch statement and log a warning 2017-07-20 06:16:01 +02:00
Eslam λ Hefnawy
de6bebeea9 Merge pull request #3808 from rpunkfu/specify-default-option-values
Allow to provide a default value for plugin options
2017-07-19 19:25:03 +07:00
Philipp Muens
e0a329da34 Change serviceName to name 2017-07-19 12:40:24 +02:00
Alex DeBrie
7e33670748 Send to new tracking endpoint. Add serviceName in tracking. 2017-07-17 21:32:13 +00:00
Eslam A. Hefnawy
dd6c21d51a auto deployment update 2017-07-17 19:55:43 +07:00
Philipp Muens
5d1bbd5999 Remove provider name validation 2017-07-17 14:33:33 +02:00
Eslam λ Hefnawy
bb32b01f7a Merge pull request #3909 from jaikdean/variable-syntax-documentation-fix
Update example custom variable syntax to work with loading files
2017-07-12 19:42:18 +07:00
horike37
172e12dfc5 update to use chai-as-promise instead of chai 2017-07-12 08:47:59 +09:00
horike37
10acadc09c remove unnecessary parts 2017-07-12 08:29:42 +09:00
horike37
311d322b82 fixed unhandled rejection errors 2017-07-12 08:26:26 +09:00
Jaik Dean
214e57621e Lint service tests 2017-07-10 13:55:33 +01:00
Philipp Muens
c67d60f5d6 Merge pull request #3888 from mangas/3629-fix-file-absolute-path
handle absolute paths in file()
2017-07-07 14:55:02 +02:00
Philipp Muens
f23d49b3f0 Update missing variableSyntax reference 2017-07-07 14:45:46 +02:00
Jaik Dean
c33c4f782a Update example alternate variable syntax to work with loading files 2017-07-06 16:42:08 +01:00
Philipp Muens
341198420c Merge pull request #3842 from infiniteluke/improve-javascript-export
Improve usage and error handling of javascript variables.
2017-07-06 11:01:45 +02:00
Filipe Azevedo
aab492f079 handle absolute paths with ~ in file() 2017-07-03 18:19:23 +01:00
Filipe Azevedo
e9e21dbd8e handle absolute paths in file() 2017-07-03 13:43:39 +01:00
Philipp Muens
34595e1f6d Add opt-out config for dev dependency exclusion 2017-06-30 09:25:59 +02:00
Philipp Muens
a76ae91488 Merge pull request #3825 from darkowlzz/3784-help-plugin-sort
Display plugin commands alphabetically under help
2017-06-26 12:34:01 +02:00
Philipp Muens
29f06670ad Lowercase comment 2017-06-26 12:21:24 +02:00
Philipp Muens
da91ba8e83 Re-arrange order for help text
To reduce ambiguity.
2017-06-26 12:20:28 +02:00
Philipp Muens
909d7d5cc2 Add info about new --verbose option 2017-06-26 12:18:40 +02:00
Philipp Muens
a709c43274 Add sorting of commands 2017-06-26 12:14:58 +02:00
Philipp Muens
7b64e71dfa Update test 2017-06-26 12:02:47 +02:00
Philipp Muens
c982548514 Switch option from --plugin to --verbose 2017-06-26 12:02:37 +02:00
Philipp Muens
734e12e3d5 Switch from undefined to null 2017-06-26 09:44:33 +02:00
Philipp Muens
1d01525350 Update error message 2017-06-26 09:39:00 +02:00
Philipp Muens
c3f9c246ca Update error message to be contained in an array
This makes the code more readable.
2017-06-26 09:36:59 +02:00
Philipp Muens
ecb9924054 Update tests 2017-06-26 09:36:13 +02:00
Sunny
ccf5a59224 Improve entrypoint cmd removal algo
Use getCommands() to fetch all the commands with filtered entrypoint
commands and reduce to the required command. Throw error when a command
is not found.
2017-06-25 19:10:39 +05:30
Sunny
185af2e519 Remove entrypoint subcmds in generateCommandsHelp 2017-06-25 15:55:38 +05:30
Luke Herrington
1264dd015c
Improve usage and error handling of javascript variables. 2017-06-23 10:49:38 -07:00
Sunny
501aa5d5bc Avoid default function parameter 2017-06-21 19:27:15 +05:30