Florian Motlik
6e4b204f16
remove arrow syntax
2016-09-27 12:17:52 +02:00
Florian Motlik
d6bdef35ce
Allow integration tests longer timeouts
2016-09-27 12:15:38 +02:00
Doug Moscrop
b2f1d54d20
Change describe to it because it contains a test
2016-09-23 18:04:47 -04:00
Florian Motlik
28d74f6ea2
Merge pull request #2045 from Nordstrom/windows-contrib-blockers
...
Windows contrib blockers
2016-09-23 19:14:21 +02:00
Doug Moscrop
f7f425546e
fix Small typo
2016-09-09 21:08:45 -04:00
Smith, Greg W
049aec6bc0
Shorten comment which was too long.
2016-09-06 16:57:34 -07:00
Smith, Greg W
810d52ece5
Use '' instead of null for non-windows command.
2016-09-06 16:32:35 -07:00
Smith, Greg W
a8f4639a41
Adds missing 'os' variable to support testing OS version.
2016-09-06 16:20:04 -07:00
Smith, Greg W
0f1650bbdf
Add explicit 'node' prefix to command used to invoke serverless on Windows in unit tests.
...
This will help fix #2044
2016-09-06 16:06:56 -07:00
Florian Motlik
cf5ddc67da
Merge pull request #1978 from horike37/issue-1271-custom-validation
...
Add custom validation for plugin options
2016-09-02 07:38:30 +02:00
horike37
1b71f1653a
Add a test that succeeds with a custom Regex validation
2016-09-02 08:51:52 +09:00
Eslam A. Hefnawy
5dafeee388
basic new variable system
2016-08-31 16:37:58 +09:00
horike37
1e2bdc1787
Add custom validation for plugin options
2016-08-30 05:33:27 +09:00
Philipp Muens
5fedf6a4f9
Add getTmpDir util method and refactor tests
2016-08-23 13:51:16 +02:00
Nick Chisiu
16aa6581ab
fix #1854 - update npm devDependencies packages ( #1879 )
...
* fix #1854 - added latest version of eslint-config-airbnb-base package
* fix #1854 - added latest npm shrinkwrap scheme
* fix #1854 - added latest npm coveralls package
* fix #1854 - added latest npm eslint package
* fix #1854 - added latest npm eslint-config-airbnb package
* fix #1854 - added latest npm eslint-plugin-import package
* fix #1854 - added latest npm eslint-plugin-jsx-a11y package
* fix #1854 - added latest npm eslint-plugin-react package
* fix #1854 - fixed estlint new-parens errors for integration test
* fix #1854 - fixed estlint new-parens errors for yaml parsers tests
* fix #1854 - fixed estlint max-len errors for util tests
* fix #1854 - disabled no-extraneous-dependencies on eslintrc for NodeJS 4 incapability on this feature
* fix #1854 - fixed eslint new-parens errors for Service tests
* fix #1854 - fixed eslint new-parens errors for Serverless tests
* fix #1854 - fixed eslint new-parens errors for plugin manager tests
* fix #1854 - fixed eslint new-parens errors for plugin tracking tests
* fix #1854 - fixed eslint new-parens errors for plugin package zipService lib
* fix #1854 - fixed eslint new-parens errors for plugin package zipService tests
* fix #1854 - fixed eslint trailing spaces errors for plugin package zipService lib
* fix #1854 - fixed eslint new-parens errors for plugin package cleanup tests
* fix #1854 - fixed eslint new-parens errors for plugin create tests
* fix #1854 - fixed eslint dot same line expectation error on plugin aws logs index
* fix #1854 - fixed eslint operator assignment error on plugin aws logs index
* fix #1854 - fixed eslint dot location error on plugin aws invoke tests
* fix #1854 - fixed eslint new-parens error on plugin aws invoke tests
* fix #1854 - fixed eslint new-parens error on plugin aws deployFunction tests
* fix #1854 - fixed eslint new-parens error on plugin aws deploy uploadDeploymentPackage tests
* fix #1854 - fixed eslint new-parens error on plugin aws deploy updateStack tests
* fix #1854 - fixed eslint new-parens error on plugin aws deploy createStack tests
* fix #1854 - fixed eslint new-parens error on plugin aws deploy apiGateway lib deployment
* fix #1854 - fixed eslint unary typeof whitespace req error on Serverless Service class
* fix #1854 - fixed eslint unary typeof whitespace req error on Serverless Service class ( second fix )
* fix #1854 - fixed eslint no-lonely-if req error on Serverless Service class
* fix #1854 - disabled react/require-extension on eslintrc because it's deprecated
* fix #1854 - AwsCompileApigEvents #constructor() should resolve if no functions are given:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - createStack #postCreate() should resolve:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - emptyS3Bucket #deleteObjects() should resolve if objectsInBucket is empty:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - AwsInvoke #extendedValidate() should resolve if path is not given:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - #cleanup() should resolve if the .serverless directory is not present:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 -#validate() should resolve if servicePath is given:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - Service #load() should resolve if no servicePath is found:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - added latest mocha package
* fix #1854 - added latest sinon npm package
* fix #1854 - serverless/lib/plugins/aws/deploy/tests/createStack.js 136:48 error Missing semicolon semi
* fix #1854 - serverless/lib/plugins/package/tests/cleanup.js 35:7 error Missing semicolon semi
* fix #1854 - serverless/lib/plugins/package/tests/validate.js 22:49 error Missing semicolon semi
* fix #1854 - added latest npm shrinkwrap
* fix #1854 - fixed no-extra-boolean-cast eslint error on aws deploy apiGateway methods
* fix #1854 - fixed new-parens eslint error on serverless tests for Service class
2016-08-18 11:51:09 +02:00
Philipp Muens
b5b596f534
Add support to convert shortcut to options for two level deep commands
2016-08-01 11:45:52 +02:00
Philipp Muens
c9d1453d3a
Switch from .yaml to the more convenient .yml
2016-07-27 10:39:41 +02:00
Philipp Muens
4630f02f2f
Fix plugins are loaded twice bug
2016-07-26 11:03:40 +02:00
Florian Motlik
87a5b72e22
Merge pull request #1501 from quodio/service-plugin-loading
...
Implement service plugin loading
2016-07-13 18:05:31 +02:00
Eslam A. Hefnawy
18e9c2f954
added templates functionality
2016-07-13 00:12:35 +09:00
Arnaud Rebts
7dd58f0325
Implement service plugin loading
...
Resolves #1442
2016-07-12 11:16:27 +02:00
Philipp Muens
7ccdc82e09
Add provider awareness for plugins
2016-07-04 09:51:38 +01:00
Philipp Muens
267e6c58fb
Add shortcut support for options
2016-06-29 14:07:55 +02:00
Philipp Muens
008df83d42
Fixes #1379 - Add command validation in PluginManager
2016-06-23 15:55:57 +02:00
Philipp Muens
b16664357d
Fix linting issues
2016-06-21 14:51:32 +02:00
Eslam A. Hefnawy
96a3441c1e
create plugin no longer generates package.json
2016-06-20 17:49:55 +02:00
Eslam A. Hefnawy
1e3763deac
updated tests for Service class and create plugin
2016-06-17 21:42:41 +02:00
Philipp Muens
67d9b0d0b3
Remove "HelloWorld" plugin dependency
...
Remove the "HelloWorld" plugin which was previously used in tests for the PluginManager
class.
2016-06-17 14:42:21 +02:00
Eslam A. Hefnawy
23a41fe6ae
add plugin/cli integration test
2016-06-17 14:29:23 +02:00
Philipp Muens
90c4feeca5
Add validateOptions functionality in PluginManager class
2016-06-09 19:43:13 +02:00
Philipp Muens
40f6dab03f
Move options passing to the plugins constructor
2016-06-09 19:43:13 +02:00
Eslam A. Hefnawy
2709286f90
fixed tests for plugin manager
2016-06-09 18:41:09 +02:00
Philipp Muens
aafc2fefd6
Rename and refactor existing plugins
...
Rename the existing plugins to match the new naming convention.
Fix bugs / refactor code / enhance test coverage alongside.
2016-05-25 07:12:15 +02:00
Philipp Muens
e5a5033db7
Add basic CLI help functionality
2016-05-24 14:58:19 +02:00
Philipp Muens
2bfc79e0e8
Rename arguments / args to options
2016-05-23 17:02:52 +02:00
Philipp Muens
c8639c678a
Add argument support for CLI and plugins
...
Add the possibility to access arguments inside plugins (e.g. "--function function1" or "-f function").
Additionally the "lifeCycleEvent" property is renamed to "lifecycleEvent".
2016-05-23 15:17:22 +02:00
Eslam A. Hefnawy
abbc1fa6fd
removed the nested/duplicated tests folder
2016-05-20 13:48:03 +02:00