28 Commits

Author SHA1 Message Date
Mariusz Nowak
dfc78396c7 feat(CLI): Fallback to service local serverless installation by default
BREAKING CHANGE:
When globally installed `serverless` CLI is invoked in a context of a service, which has locally installed (in its `node_modules`) `serverless`. The locally installed CLI will be (by default) run instead of a global one.
2020-09-10 13:26:17 +02:00
Mariusz Nowak
05921b61ee test: Upgrade to use new fixtures engine 2020-09-09 11:17:21 +02:00
Mariusz Nowak
f9e955c8f8 feat(Analytics): Recognize four different installation modes 2020-09-04 14:06:31 +02:00
Mariusz Nowak
146d9acaa5 test: Refactor to rely on fixtures setup 2020-09-04 14:06:31 +02:00
Mariusz Nowak
9fb62f1138 feat(CLI): Optionally fallback to local installation of "serverless" 2020-09-02 13:04:59 +02:00
Mariusz Nowak
8c3c7c4e3a chore: Rename "tests" folder to "test"
Also upgrade @serverless/eslint-config to v2
2020-08-28 16:22:09 +02:00
Petr Reshetin
268f714357
feat: Schema based validation of service config (#7335)
Co-authored-by: Mariusz Nowak <medyk@medikoo.com>
2020-08-03 15:41:05 +02:00
Mariusz Nowak
a83f06e07f refactor: Remove internal logStat reporter 2020-06-16 10:59:59 +02:00
Daniel Schep
55a794f4e0 drop support for the asyncInit function on plugins 2019-08-20 15:45:32 -04:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Daniel Schep
660917e3b0 test coverage for async plugin initialization 2019-05-10 14:55:26 -04:00
Philipp Muens
549ca44531 Create instanceId when running init 2019-03-22 10:08:19 +01:00
Philipp Muens
466e88673c Fix Serverless class tests 2017-09-04 10:21:15 +02:00
Philipp Muens
697d42dd80 Merge branch 'master' into fix-tests 2017-09-01 11:19:37 +02:00
patrickheeney
eeb32aacde Allow custom CLI class instances 2017-08-27 02:09:44 -07:00
Mariusz Nowak
5dce256f00 Ensure errorneous calls are properly exposed 2017-08-22 15:11:33 +02:00
Eslam A. Hefnawy
dd6c21d51a auto deployment update 2017-07-17 19:55:43 +07:00
Philipp Muens
d689b9e104 Add invocationId 2017-06-19 09:02:48 +02:00
Eslam A. Hefnawy
5696513789 added cache file validation by hash to autocomplete 2017-06-08 01:27:11 +07:00
Eslam A. Hefnawy
67dc1c2463 using cache file for autocomplete 2017-06-07 22:01:15 +07:00
Eslam A. Hefnawy
9b10da6dc8 fixed all unit tests 2017-05-05 00:36:32 +07:00
Philipp Muens
bd2b8d3679 Update recently added tests 2017-03-23 12:40:49 +01:00
Andrey Tserkus
ffd6152de0 cover Error with tests; rename SError export to ServerlessError 2017-01-31 01:50:07 -08:00
Philipp Muens
535214d28a Increase test coverage for Serverless.js file 2016-12-22 14:57:34 +01:00
Philipp Muens
74a3f004d7 Bring back include configuration for an easier packaging control 2016-11-14 10:26:44 +01:00
Philipp Muens
c7b7472a48 Update provider properties in plugins 2016-10-19 08:32:06 +02:00
Philipp Muens
df7692ac80 Introduce AwsProvider plugin 2016-10-19 08:32:06 +02:00