20 Commits

Author SHA1 Message Date
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
a0f7bb20d1 Add tests to increase test coverage 2016-08-08 08:27:26 +02:00
Philipp Muens
c9d1453d3a Switch from .yaml to the more convenient .yml 2016-07-27 10:39:41 +02:00
Ilya Shindyapin
d05a17686b Add java maven and gradle templates, tests and instructions
Signed-off-by: Ilya Shindyapin <ilya@shindyapin.com>
2016-07-26 12:58:42 +02:00
Benny
806c133fec fix issue #1380 - remove ascii greeting from all serverless CLI commands except create 2016-07-15 16:26:26 +03:00
Philipp Muens
f17c81a8c9 Add Python support for AWS 2016-07-13 07:01:59 +02:00
Eslam A. Hefnawy
18e9c2f954 added templates functionality 2016-07-13 00:12:35 +09:00
Eslam A. Hefnawy
d2dc0ba58e ZERO linting issues and test coverage of 93% 🎉 🎉 2016-06-23 15:55:57 +02:00
Philipp Muens
b16664357d Fix linting issues 2016-06-21 14:51:32 +02:00
Philipp Muens
f452bb6412 Apply cosmetic changes to tests 2016-06-21 12:23:56 +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
efddd829ac Fix unreliable plugin test coverage
Fix the test coverage so that it's reliable and won't error out unexpectedly.
2016-06-17 13:58:52 +02:00
Philipp Muens
2e701c1d4d Fix failing tests for "create" plugin 2016-06-09 19:43:13 +02:00
Philipp Muens
39d30b3ca0 Add automatic servicePath detection functionality
The service directory will be automatically detected if the users CWD is a valid
Serverless service directory.
2016-05-26 14:34:56 +02:00
Eslam A. Hefnawy
de86121170 refactor: removed instances keyword and replaces this.S to this.serverless 2016-05-24 11:33:36 +02:00
Eslam A. Hefnawy
cb2703a95f resolved final comments 2016-05-23 22:13:20 +02:00
Eslam A. Hefnawy
ad9a4d4b41 updated create plugin to accept options 2016-05-23 22:11:35 +02:00
Eslam A. Hefnawy
9b10140753 added complete test coverage for create plugin 2016-05-23 15:05:22 +02:00
Eslam A. Hefnawy
21daae8318 added create plugin 2016-05-23 00:30:56 +02:00