4049 Commits

Author SHA1 Message Date
horike37
80cccd01e8 apply this functionality to serverless.json 2017-08-24 09:11:49 +09:00
horike37
75bced3a0c add yamlAstParser test 2017-08-24 07:25:51 +09:00
horike37
07767f160d fixe the yaml-ast bug 2017-08-24 05:52:53 +09:00
horike37
33517f8972 add yamlAstParser.js as utils library 2017-08-14 22:28:32 +09:00
horike37
64277f4abe add plugin version option 2017-08-13 19:17:29 +09:00
horike37
1caea82f16 update plugin.test.js 2017-08-13 18:08:13 +09:00
davidwells
421c327f36 update output 2017-08-07 14:40:05 -07:00
davidwells
aa0271c833 update output 2017-08-07 14:36:15 -07:00
horike37
6e500d8821 add tracking method 2017-08-05 22:21:15 +09:00
horike37
b24e7880c5 update using chai-as-promised 2017-08-05 20:37:40 +09:00
horike37
f4602e81f8 add if-check to uninstall 2017-08-05 19:15:10 +09:00
horike37
e3d4e23c8a initial commit for adding plugin command 2017-08-05 18:12:00 +09: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
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
Eslam λ Hefnawy
2e4fcabc55 Merge pull request #3975 from runtrizapps/fix/deps-of-devdeps
Fix/deps of devdeps
2017-07-28 18:57:51 +07:00
Philipp Muens
1acb4c5e44 Add catch-all for readFile code / test hardening 2017-07-26 12:59:31 +02:00
Philipp Muens
1540b4ed2d Add CLI output about dev dependency exclusion 2017-07-26 12:27:26 +02:00
Philipp Muens
2802281e6d Remove unnecessary mapSeries usage / add note about mapSeries usage 2017-07-26 12:17:26 +02:00
Philipp Muens
b9de80b5aa Rename variables / add important note about _.difference 2017-07-26 12:15:05 +02:00
Philipp Muens
a54330aa0c Switch to mapSeries to ensure sequential execution / order of mapping 2017-07-26 10:53:18 +02:00
Philipp Muens
d73fff689c Refactor usage of temporary dependency files 2017-07-26 10:51:35 +02: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
David Govea
b095a286b5 Remove destructuring :( breaking builds on node 4-5 2017-07-23 02:28:59 -07:00
David Govea
e3582b6855 ESLint errors 2017-07-23 02:23:59 -07:00
David Govea
56852b74ba Adjust data returned from "npm ls" stubs in dev & prod modes.
All tests passing
2017-07-23 01:56:58 -07:00
David Govea
42c8c59bde double stub call counts for new code path 2017-07-23 01:56:26 -07:00
David Govea
4104c91839 Enable dependency diffing, & remove it.only() from failing test (now passing) 2017-07-23 01:55:21 -07:00
David Govea
3e4986c53b Refactor zipService to assemble both dev and prod dependencies, and add failing test 2017-07-23 01:35:36 -07:00
Philipp Muens
26051ad798 Fix function retrieval for "deploy list functions" command 2017-07-21 16:35:43 +02: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
Eslam λ Hefnawy
47df1e4177 Merge pull request #3889 from serverless/fix-dev-dependency-exclusion-bug
Fix dev dependency exclusion bug
2017-07-19 18:48:25 +07:00
Philipp Muens
e0a329da34 Change serviceName to name 2017-07-19 12:40:24 +02:00
Philipp Muens
9ffde98f28 Add tests 2017-07-19 10:39:54 +02:00
Philipp Muens
f5b5c7f0f5 Switch from _.filter to _.compact to remove falsey values 2017-07-19 10:06:23 +02:00
Brian Neisler
ec9538127d Add support for a publish flag for disabling publish of service to platform 2017-07-18 14:26:15 -07:00