469 Commits

Author SHA1 Message Date
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
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
Philipp Muens
29f06670ad Lowercase comment 2017-06-26 12:21:24 +02:00
Philipp Muens
da91ba8e83 Re-arrange order for help text
To reduce ambiguity.
2017-06-26 12:20:28 +02:00
Philipp Muens
909d7d5cc2 Add info about new --verbose option 2017-06-26 12:18:40 +02:00
Philipp Muens
a709c43274 Add sorting of commands 2017-06-26 12:14:58 +02:00
Philipp Muens
7b64e71dfa Update test 2017-06-26 12:02:47 +02:00
Philipp Muens
c982548514 Switch option from --plugin to --verbose 2017-06-26 12:02:37 +02:00
Philipp Muens
734e12e3d5 Switch from undefined to null 2017-06-26 09:44:33 +02:00
Philipp Muens
1d01525350 Update error message 2017-06-26 09:39:00 +02:00
Philipp Muens
c3f9c246ca Update error message to be contained in an array
This makes the code more readable.
2017-06-26 09:36:59 +02:00
Philipp Muens
ecb9924054 Update tests 2017-06-26 09:36:13 +02:00
Sunny
ccf5a59224 Improve entrypoint cmd removal algo
Use getCommands() to fetch all the commands with filtered entrypoint
commands and reduce to the required command. Throw error when a command
is not found.
2017-06-25 19:10:39 +05:30
Sunny
185af2e519 Remove entrypoint subcmds in generateCommandsHelp 2017-06-25 15:55:38 +05:30
Luke Herrington
1264dd015c
Improve usage and error handling of javascript variables. 2017-06-23 10:49:38 -07:00
Sunny
501aa5d5bc Avoid default function parameter 2017-06-21 19:27:15 +05:30
Sunny
1aca36020c Extract, sort and display plugin commands & test 2017-06-21 17:58:33 +05:30
Eslam λ Hefnawy
ffae3adc62 Merge pull request #3812 from serverless/add-invocation-id
Add invocationId
2017-06-21 19:23:32 +08:00
Philipp Muens
a5c4539d55 Merge pull request #3811 from alexdebrie/AuthorizerStats
Add checks for HTTP Authorizers
2017-06-21 08:28:35 +02:00
Alex DeBrie
17736d0d96 Move AWS-specific data into separate object 2017-06-21 02:25:38 +00:00
Alex DeBrie
93c4f9816d Add check for cognito authorizer as string 2017-06-21 01:25:50 +00:00
Sunny
084e6669bc Format commands plugins help output with indents 2017-06-21 00:32:02 +05:30
Sunny
569bb6901c Add generateCommandsByPluginHelp() 2017-06-21 00:11:21 +05:30
Eslam λ Hefnawy
aad26dea64 Merge pull request #3813 from serverless/services
Services
2017-06-20 18:46:27 +08:00
Alex DeBrie
8e76f6d6d6 Fix linting issue 2017-06-19 14:36:44 +00:00
Alex DeBrie
2c012ab8f5 Stronger checks on how authorizers are indicated in serverless.yml 2017-06-19 14:35:53 +00:00
Nik Graf
4514bb01c3
remove legacy imports 2017-06-19 12:21:54 +02:00
Nik Graf
c5537c2343
Merge branch 'master' into services 2017-06-19 11:26:46 +02:00
Philipp Muens
d689b9e104 Add invocationId 2017-06-19 09:02:48 +02:00
Alex DeBrie
24e26b3cd1 Fix linting errors 2017-06-19 02:13:52 +00:00
Alex DeBrie
5aae161ce4 Add checks for HTTP Authorizers 2017-06-19 00:53:14 +00:00
Philipp Muens
9c19d7a773 Remove deployment bucket reference from Service class 2017-06-16 08:43:25 +01:00
Philipp Muens
b912ad91bd Minor code cleanup 2017-06-16 08:36:19 +01:00
Max Redmond
d045201315 adding test for setDeploymentBucketname()
Merge branch 'deployment'
2017-06-16 08:17:24 +01:00
Max Redmond
d3a5794c2e added setDeploymentBucketName function 2017-06-16 08:12:40 +01:00
Max Redmond
abef261722 update serverside encryption options so that they are configured in the deploymentBucket section 2017-06-16 08:12:23 +01:00
Philipp Muens
0dca35a2c1 Throw error when command not run in service 2017-06-12 10:38:59 +02:00
Philipp Muens
6aa415545e Merge pull request #3739 from j0k3r/fix-cf-variable
Throw an Error when requested Cloudformation variable does not exist
2017-06-12 10:23:44 +02:00
Philipp Muens
2a9636a18c Fix updateAutocompleteCacheFile() bug caused by empty commands object 2017-06-12 09:08:27 +02:00
Philipp Muens
0e4aceb704 Update error message 2017-06-11 21:14:12 +02:00
Philipp Muens
39f0ad94a5 Merge pull request #3746 from HyperBrain/filter-nested-entrypoints-for-help
Filter nested entrypoints on getCommands(). Used by help.
2017-06-11 20:59:45 +02:00
Eslam A. Hefnawy
cb14676e76 fixed tests for async autocomplete 2017-06-08 20:04:46 +07:00
Philipp Muens
ee14ce9f36 Minor code changes and test improvements 2017-06-08 09:54:46 +02:00
Brian Neisler
851df3921a Make autocomplete async through promises 2017-06-07 18:40:05 -07:00
davidwells
75a97441a1 run autocomplete.json creation in async fashion 2017-06-07 15:15:11 -07:00
davidwells
75af2ae3dd silently fail on FS error 2017-06-07 13:48:47 -07:00
Eslam A. Hefnawy
5696513789 added cache file validation by hash to autocomplete 2017-06-08 01:27:11 +07:00
Frank Schmid
6bbe0b01f5 Added unit test for getCommands() 2017-06-07 17:44:18 +02:00
Frank Schmid
b73466641e Filter nested entrypoints on getCommands(). Used by help. 2017-06-07 17:24:37 +02:00