87 Commits

Author SHA1 Message Date
Mariusz Nowak
aa8f7bec1c refactor: Do not rely on serverless.yamlParser 2021-05-20 13:38:43 +02:00
Mariusz Nowak
c563581ac9 refactor: Construct user errors with ServerlessError 2021-05-19 13:16:42 +02:00
Piotr Grzesik
81f0858cc9 refactor: Add code to ServerlessError in lib/plugins 2021-04-23 13:34:20 +02:00
Mariusz Nowak
e8c8f1cfff refactor: Rename servicePath vars to serviceDir 2021-04-16 13:32:13 +02:00
Mariusz Nowak
87d380275b refactor: Replace config.servicePath with service.dir 2021-04-16 13:32:13 +02:00
Mariusz Nowak
fc3a4391b5 refactor: Introduce serviceDir and configurationFilename
In place of `configurationPath`
2021-04-16 13:32:13 +02:00
Mariusz Nowak
2294a4b4cb refactor(CLI): Move lifecycles definition to commands schema
It's needed to be able to process commands as introduced by plugins without a need of processing Serverless instance
2021-03-24 11:50:24 +01:00
andy Augustin
d935dccb26
fix(AWS Deploy): Fix format of url data as passed to https-proxy-agent
(PR #9147)
2021-03-22 14:18:57 +01:00
Mariusz Nowak
6ec463cbe7 fix(CLI): Improve handling of container commands
Allow to run them, and simply show help output if they're run
2021-03-16 09:34:33 +01:00
Mariusz Nowak
14a2640bd9 refactor(CLI): Seclude schema of core commands 2021-03-16 09:34:33 +01:00
Piotr Grzesik
2a9f79f19e refactor: Revert bluebird from lib/plugins/plugin
This reverts commit 9e7960297227b39f05c2619a80e3cac7cb7be1a5.
2021-03-04 11:06:44 +01:00
Juanjo Diaz
9e79602972
refactor: Remove bluebird from lib/plugins/plugin (#8984) 2021-02-25 08:46:50 +01:00
Juanjo Diaz
006557d847
refactor: Use standalone ServerlessError. (#8897) 2021-02-09 09:20:55 +01:00
Mariusz Nowak
b23bfdbf6a refactor(CLI): Seclude service config path resolution out of internals 2021-01-18 16:19:12 +01:00
Mariusz Nowak
3df81be0cf refactor: Refactor to async/await 2021-01-18 16:19:12 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Mariusz Nowak
1574081401 refactor: Normalize module path 2020-12-14 15:16:31 +01:00
Mariusz Nowak
bc47fe98bd refactor: Normalize module path 2020-12-14 15:16:31 +01:00
Mariusz Nowak
ba97cdd60d refactor: Normalize module path 2020-12-14 15:16:31 +01:00
Mariusz Nowak
1f36b05331 refactor: Normalize module path 2020-12-14 15:16:31 +01:00
Mariusz Nowak
3808471972 test: Move unit tests to "test/unit" folder 2020-11-30 16:53:52 +01:00
Piotr Grzesik
76e02cc09c
refactor: Replace _.forEach with Object.entries().forEach (#8280) 2020-09-24 10:31:32 +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
Dai Van Nguyen
4c33476210
refactor: Replace _.isEmpty with native counterparts (#7873) 2020-06-25 15:17:52 +02:00
Mariusz Nowak
5234439fa1 refactor: Remove old analytics module 2020-06-16 10:59:59 +02:00
srd2014
053f5f420b
refactor: Replace _.split with string.split (#7820) 2020-06-09 12:23:14 +02:00
Chris Villanueva
e39cdfdf02
refactor: Replace _.unset with delete (#7813) 2020-06-03 18:07:28 +02:00
Bryan Hunter
dc96b9a876
fix: Ensure serverless.ts is handled properly at plugin commands
(PR #7806)
2020-06-03 18:05:41 +02:00
Wing-Kam
6cf4901a89
refactor: Replace _.isNil(value) with value == null (#7809) 2020-06-03 15:38:18 +02:00
Nguyễn Việt Đức
85e9cd4455
refactor: Replace _.assign and _.extend with Object.assign (#7766) 2020-05-26 10:24:46 +02:00
Kenan Christian Dimas
c106d53638
refactor: Upgrade 'fs-extra' to v8 (#7719) 2020-05-13 16:16:17 +02:00
TATSUNO Yasuhiro
3fe2e98f15
refactor: Replace _.isArray with native Array.isArray (#7703) 2020-05-11 10:24:41 +02:00
Mariusz Nowak
b5dbdafe5b fix(Plugins): Fix resolution of config when installing plugin
Fixes #7130
2019-12-29 18:56:10 +01:00
Philipp Muens
49f6e1e8a5 feat: Configure binaries generation 2019-12-18 09:36:52 +01:00
Mariusz Nowak
ddf3bf40a3 refactor: Centralize npm command resolution
It's to provide a room to support alternative npm locations
2019-12-18 09:36:52 +01:00
Philipp Muens
f70ed6f9ff Remove old test 2019-09-23 14:54:43 +02:00
Philipp Muens
6ddf43fae3 Add support for uninstall command 2019-09-23 13:16:09 +02:00
Jeff McLean
a06c342876 Allow plugins not in registry to be installed 2019-09-20 10:41:05 -05:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Mariusz Nowak
89472d2b55
Update to new version of Sinon 2019-06-03 12:41:03 +02:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Mariusz Nowak
45698c3d02
Ensure to issue track requests when testing 2019-05-22 14:05:59 +02:00
Mariusz Nowak
51c998caaf
Ensure to not issue tracking requests when testing 2019-05-22 13:53:37 +02:00
Mariusz Nowak
59f915811d
Ensure to not issue track requests when testing 2019-05-22 13:44:08 +02:00
Mariusz Nowak
bee3f13484
Ensure to send user tracking requests 2019-05-22 12:30:02 +02:00
Daniel Schep
888eabdf6e lint 2019-01-22 15:23:28 -05:00
Daniel Schep
7fb23090d4 test coverage 2019-01-22 14:45:11 -05:00
Daniel Schep
9cf6e1eba7 lint 2019-01-22 14:24:16 -05:00
Daniel Schep
8543714f50 Fix sls plugin install -n @scoped/package 2019-01-22 14:18:46 -05:00
Daniel Schep
f5c225f05f Create an HttpsProxyAgent for plugin list if necessary
Closes #5480
2018-11-14 07:53:22 -05:00