Mariusz Nowak
4944f471b1
Prettify
2019-06-26 12:43:01 +02:00
Philipp Muens
6d05d83edb
Merge pull request #6200 from mydiemho/myho/removeRegionDefaultFromBase
...
Remove default stage value in provider object
2019-06-21 12:54:57 +02:00
Daniel Schep
94bf5a4382
delint
2019-06-10 11:19:14 -04:00
Daniel Schep
2b81303370
--config option.
...
closes #5589
closes #4485
closes #4473
closes #4124
closes #5822
2019-06-10 11:19:14 -04:00
Philipp Muens
e252259791
Fix linting issues
2019-06-06 12:27:19 +02:00
My Ho
5541f2b9ef
Fix tests
2019-06-05 16:08:51 -07:00
Mariusz Nowak
8ca00b6f9f
Increase default timeout
...
Some tests tend to timeout especially when run on Windows in VM
2019-06-05 10:59:22 +02:00
Mariusz Nowak
d3b7d2eac0
Unify timeout notices
2019-06-05 10:07:05 +02:00
Mariusz Nowak
aa9210e85b
Increase timeout
2019-06-04 13:51:53 +02:00
Mariusz Nowak
98ce05b6a8
Increase test timeout
2019-06-04 13:20:16 +02:00
Mariusz Nowak
d9ff5b6dc3
Improve test timeout setting
2019-06-04 13:09:10 +02:00
Mariusz Nowak
304f43ff18
Update after chai upgrade
2019-06-03 17:30:26 +02:00
Philipp Muens
773e9af3c1
Thorough integration testing
2019-05-30 15:20:58 +02:00
Mariusz Nowak
3cdb51d07a
Increase timeout as test occasionally times out
2019-05-22 13:40:14 +02:00
Philipp Muens
5b5425d939
Update AWS Node.js runtime to version 10
2019-05-15 14:27:55 +02:00
Philipp Muens
606e82d85b
Fix validation after API Gateway deployment
2019-05-13 15:11:25 +02:00
Philipp Muens
5cba21730c
Merge branch 'master' into sls-5225
2019-03-22 10:47:11 +01:00
exoego
5fe43898d1
Remove unnecessary dependency.
2019-01-22 09:31:21 +09:00
exoego
3d31c43bcf
Remove duplicate-handler warnings based on community feedback.
2019-01-22 09:22:49 +09:00
exoego
f434009c45
Move stage name validation to Service#validate.
...
Since validation should be performed after service.functions are resolved.
2019-01-16 16:39:09 +09:00
Daniel Schep
d837e9baae
Merge remote-tracking branch 'origin/master' into sls-5225
2019-01-07 13:25:57 -05:00
Daniel Schep
0896f311b1
Merge pull request #5312 from Limess/4496/handle-scoped-packages
...
Handle scoped npm packages in ${file()} variables
2019-01-07 10:56:25 -05:00
Daniel Schep
5c2c1ae405
Allow * in variable string literal defaults
...
closes #5225
closes #4959
2018-12-31 10:47:24 -05:00
exoego
e6599f3953
Refactor: move service validations to Service#validate
2018-12-31 07:38:24 +09:00
Daniel Schep
dd4a49d7f5
Merge pull request #4827 from simonbuchan/config-promises
...
Support returning promises from serverless.js
2018-11-27 11:45:07 -05:00
Charlie Briggs
8f8c27ae7e
Handle scoped packages in ${file()} variables
...
Currently @ is not a valid variable character, so it doesn't get parsed
as one.
When it does get parsed, @ is not considered valid as part of a file path
- we add a blacklist as per https://github.com/serverless/serverless/pull/4528 to
handle this case.
2018-09-19 17:26:50 +01:00
Doug Moscrop
8bde1b4902
Support arrays in function definition too
2018-04-04 20:03:56 -04:00
Simon Buchan
33759c2736
Support returning promises from serverless.js
2018-03-14 19:50:52 +13:00
Pavel Vlasov
d05e45668e
validate serverless.js to export plain object + address feedback
2017-12-20 08:50:10 +11:00
Pavel Vlasov
bca4da55b3
add support for serverless.js
2017-12-19 20:14:39 +11:00
Philipp Muens
6ee4cd4df8
Fix Service class tests
2017-09-04 09:18:41 +02:00
Mariusz Nowak
5dce256f00
Ensure errorneous calls are properly exposed
2017-08-22 15:11:33 +02:00
Philipp Muens
f8787d4289
Minor fixes
2017-08-21 13:35:04 +02:00
Philipp Muens
701187bc59
Update all variableSyntax usages
2017-08-21 13:11:29 +02:00
Toby Hede
33431cb45a
Allow double-quoted and single-quoted variables
...
Empty string is now valid
2017-08-20 11:05:15 +10:00
Toby Hede
2b3181c362
Handle both single and double quoted strings
2017-08-18 09:13:01 +10:00
Toby Hede
a1c8a37b9a
Allow use of string as default values in variables
2017-08-18 09:07:29 +10:00
Philipp Muens
5d1bbd5999
Remove provider name validation
2017-07-17 14:33:33 +02:00
Eslam λ Hefnawy
bb32b01f7a
Merge pull request #3909 from jaikdean/variable-syntax-documentation-fix
...
Update example custom variable syntax to work with loading files
2017-07-12 19:42:18 +07:00
Jaik Dean
214e57621e
Lint service tests
2017-07-10 13:55:33 +01:00
Jaik Dean
c33c4f782a
Update example alternate variable syntax to work with loading files
2017-07-06 16:42:08 +01:00
Filipe Azevedo
aab492f079
handle absolute paths with ~ in file()
2017-07-03 18:19:23 +01:00
Philipp Muens
34595e1f6d
Add opt-out config for dev dependency exclusion
2017-06-30 09:25:59 +02:00
Frank Schmid
97399773a7
Added file load tests for YAML, YML and JSON. Added precedence test.
2017-05-19 11:41:24 +02:00
Frank Schmid
45a2b20467
Fixed unit tests - removed filename from literal error check
2017-05-18 21:47:15 +02:00
Frank Schmid
1e43138295
Update UT for lib/classes/Service
2017-05-17 17:13:30 +02:00
Doug Moscrop
4dbd94e465
fix resources as an array to support variables
2017-05-16 15:41:00 -04:00
Frank Schmid
4da99861fa
Added unit tests
2017-04-26 16:54:50 +02:00
Rafał Wiliński
59bd52d520
Merge remote-tracking branch 'serverless/master'
2017-04-15 00:05:55 +02:00
Rafał Wiliński
50cfdf45c9
Fix getAllEventsInFunction & getEventInFunction tests
2017-04-15 00:05:54 +02:00