517 Commits

Author SHA1 Message Date
Philipp Muens
f8787d4289 Minor fixes 2017-08-21 13:35:04 +02:00
Philipp Muens
44aa158da9 Fix breaking test for custom variableSyntax usage 2017-08-21 13:19:08 +02:00
Philipp Muens
701187bc59 Update all variableSyntax usages 2017-08-21 13:11:29 +02:00
Toby Hede
33431cb45a Allow double-quoted and single-quoted variables
Empty string is now valid
2017-08-20 11:05:15 +10:00
Toby Hede
2b3181c362 Handle both single and double quoted strings 2017-08-18 09:13:01 +10:00
Toby Hede
a1c8a37b9a Allow use of string as default values in variables 2017-08-18 09:07:29 +10:00
Philipp Muens
8cffbe5c2b Merge pull request #4074 from RafalWilinski/fix-s3RefSyntax-typo
Fix this.s3RefSyntax variable name typo
2017-08-17 14:20:49 +02:00
Philipp Muens
66181c148f Merge pull request #4017 from vladgolubev/use-is-docker-npm
Use is-docker npm package, increased test coverage
2017-08-17 14:07:19 +02:00
Philipp Muens
239e79730a Merge pull request #4091 from HyperBrain/4090-forward-plugin-exceptions
Rethrow original plugin error in debug mode. Added unit tests.
2017-08-17 10:34:07 +02:00
Frank Schmid
bb1e74a43c Rethrow original plugin error in debug mode. Added unit tests. 2017-08-15 11:38:37 +02:00
Eslam A. Hefnawy
e176dc8e5d run without functions and lock versions 2017-08-15 15:52:24 +07:00
Brian Neisler
91d746d167 Add separation between platform and framework commands 2017-08-14 17:24:49 -07:00
Rafal Wilinski
fea41a0ddf Fix Variables.s3RefSyntax typo 2017-08-11 20:01:09 +02:00
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
Vlad Holubiev
8be178b839 Use is-docker npm package, increased test coverage 2017-08-01 01:02:40 +03: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