148 Commits

Author SHA1 Message Date
John McKim
6fdb39f9d3 Merge with master 2016-08-24 06:11:10 +10:00
John McKim
5a2c9d2224 update packaging to support individual packages per function 2016-08-22 07:40:16 +10:00
Philipp Muens
4937140094 Update outdated doc references 2016-08-19 07:21:52 +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
506cd44869 Remove automatic servicePath detection to prevent unintended behavior 2016-08-17 11:41:21 +02:00
Florian Motlik
b189f75507 Merge pull request #1813 from serverless/creds-error
Added friendly error for missing AWS credentials
2016-08-11 13:20:22 +02:00
Eslam A. Hefnawy
93a86fbfdb added friendly error for missing aws creds 2016-08-11 19:03:05 +09:00
Eslam A. Hefnawy
4c1bdf0662 removed extra spaces 2016-08-11 18:27:07 +09:00
Eslam A. Hefnawy
f05b4e7d55 fixed a bug in service class to load shortcut options 2016-08-11 18:25:11 +09:00
Philipp Muens
41ca875ebd Merge pull request #1793 from kengos/master
fix populate boolean and 0 variables
2016-08-08 14:07:17 +02:00
Philipp Muens
b0a6849163 Merge pull request #1768 from svdgraaf/feature/sort-plugins-by-name
Sort plugins for display in help
2016-08-08 07:14:39 +02:00
kengos
2efcc24787 fix populate boolean and 0 variables 2016-08-08 12:25:14 +09:00
Sander van de Graaf
c565dc2b81 made eslint happy 2016-08-05 13:49:35 +02:00
Sander van de Graaf
6816ced0f6 removed individual lodash functions 2016-08-05 13:30:35 +02:00
Sander van de Graaf
107d08a384 sort plugins for display in help 2016-08-05 13:03:11 +02:00
Eslam λ Hefnawy
6da0e11bd3 Merge pull request #1764 from johncmckim/issue-1728
Move variableSyntax into defaults and update docs
2016-08-05 16:31:06 +09:00
John McKim
9e8138abfd move variableSyntax into defaults and update docs 2016-08-05 14:13:23 +10:00
Eslam λ Hefnawy
ef1ac845c4 Merge pull request #1755 from serverless/print-a-dot-while-loading
Print a . while loading
2016-08-05 03:15:43 +09:00
Philipp Muens
d17b0c3df0 Print a . while loading 2016-08-04 16:21:59 +02:00
Eslam A. Hefnawy
f9b8f3d447 updated invoke and log and fixed tests 2016-08-04 22:24:58 +09:00
Eslam A. Hefnawy
044a13f47d adding default function name property 2016-08-04 21:35:02 +09:00
Philipp Muens
67060fbb8d Remove duplicate comment 2016-08-01 13:35:45 +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
0ccaea1d5a Switch naming from yaml to yml for Serverless config related files 2016-07-27 11:24:10 +02:00
Philipp Muens
6a67f46724 Refactor check if it's YAML in writeFileSync method to be more readable 2016-07-27 11:00:23 +02:00
Philipp Muens
0e519175c9 Fix wrong check if serverless.env.yml exists 2016-07-27 10:57:44 +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
Philipp Muens
3290ced8ee Remove hard service runtime dependency 2016-07-22 17:19:08 +02:00
Philipp Muens
653132e1ce Merge pull request #1642 from serverless/bring-back-2-level-yaml-indentation
Bring back 2 level YAML indentation
2016-07-22 17:18:41 +02:00
Philipp Muens
846346e9a1 Bring back 2 level YAML indentation 2016-07-22 17:05:23 +02:00
Florian Motlik
6ef2770235 Merge pull request #1599 from quodio/api-gateway-fix
existence of events
2016-07-22 17:02:07 +02:00
jexact
8febc06dae provide empty list of events if necessary 2016-07-22 14:53:43 +02:00
Philipp Muens
537a1bdd5d Merge pull request #1633 from bennybauer/dry-validate
DRY on validate
2016-07-22 14:39:12 +02:00
Philipp Muens
38a70b8a32 Merge pull request #1625 from serverless/add-additional-event-type-tracking-functionality
Add additional event type tracking functionality
2016-07-22 14:31:32 +02:00
Eslam λ Hefnawy
3aefa90ee7 Merge pull request #1635 from serverless/provider-config
Provider property can be an object
2016-07-22 14:02:27 +09:00
Eslam A. Hefnawy
252abe597e fixed tests for provider config 2016-07-21 19:18:35 +09:00
Eslam A. Hefnawy
94fa416059 provider property can now be an object 2016-07-21 19:14:48 +09:00
Philipp Muens
3e928707c8 Add additional event type tracking functionality 2016-07-20 12:54:01 +02:00
Eslam A. Hefnawy
71172545e5 hanlding errors in error handling logic 2016-07-20 19:11:13 +09:00
Eslam A. Hefnawy
2265ffcb36 add api key 2016-07-20 00:30:02 +09:00
Philipp Muens
1dd6f21556 Update tracking properties 2016-07-15 18:22:03 +02:00
Philipp Muens
44fe24279d Add timeout and exception handling so that it fails silently 2016-07-15 18:22:03 +02:00
Philipp Muens
4db180a6e0 Update what will be tracked 2016-07-15 18:22:03 +02:00
Philipp Muens
3d2039210c Update tracking implementation to use one plain HTTP call
This speeds up tracking speed dramatically. However it's still not that
super smooth and might suffer when the user has a bad internet connection.
2016-07-15 18:22:03 +02:00
Philipp Muens
fe3cc6f35d Add basic tracking functionality 2016-07-15 18:22:03 +02:00
Benny
5750c38d1e fix 1479 after PR comments 2016-07-15 17:49:35 +03:00
Benny
806c133fec fix issue #1380 - remove ascii greeting from all serverless CLI commands except create 2016-07-15 16:26:26 +03: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
Philipp Muens
cd098cac21 Add service bound runtime functionality 2016-07-12 20:39:34 +02:00