104 Commits

Author SHA1 Message Date
Austen Collins
bb55e0b38c chore: Remove node-fetch 2024-04-24 21:03:03 -07:00
Austen
0b106a0b74
fix: tests (#12446) 2024-04-24 07:18:13 -07:00
Austen
158f644cd0
feat: Refactor logging to reduce complexity (#12432)
* chore: Change logger

* chore: continue refactor

* chore: WIP

* chore: Sync
2024-04-17 13:26:31 -07:00
Duy Tran
30dd50a90c
refactor: Remove BbPromise.bind usage (#11875) 2023-03-31 16:32:37 +02:00
Piotr Grzesik
1cb6a2ff2d refactor: Remove legacy logs 2022-01-27 15:21:58 +01:00
Mariusz Nowak
d62c3288b2 feat: Unconditionally fallback when local installation found
BREAKING CHANGE:
`enableLocalInstallationFallback` configuration property is no longer supported.
2022-01-27 15:21:58 +01:00
Mariusz Nowak
c9f22278b3 refactor(CLI): Ensure empty line prior final status with progress 2021-10-07 13:22:49 +02:00
Mariusz Nowak
e070110eee refactor(CLI): Rely on newly introduced log style functions 2021-09-29 21:52:51 +02:00
Mariusz Nowak
1463171cae refactor(CLI): Modern logs for plugin search command 2021-09-28 17:16:17 +02:00
Mariusz Nowak
00e016c4bb refactor(CLI): Modern logs for plugin list command 2021-09-28 17:16:17 +02:00
Mariusz Nowak
3094be0cf0 refactor(CLI): Modern logs for plugin uninstall command 2021-09-28 17:16:17 +02:00
Mariusz Nowak
0d5884ebbf refactor(Plugins): Fix manual update notice 2021-09-28 17:16:17 +02:00
Mariusz Nowak
8c5f22ceb6 refactor(CLI): Modern logs for plugin install command 2021-09-28 17:16:17 +02:00
Seungchan Ahn
26ce1c636b
refactor(Plugins): Seclude plugin uninstall standalone command
(PR #10015)
2021-09-28 17:03:41 +02:00
Mariusz Nowak
5a583a9798 fix(Standalone): Fix internal npm installation handling 2021-09-28 10:24:54 +02:00
Seungchan Ahn
713ac1e2a1
refactor(Plugins): Seclude plugin install standalone command (#9942) 2021-09-27 16:37:22 +02:00
Nyambayar Turbat
377da097c5
refactor: Use async in lib/plugins/plugin (#9680)
* configure async in lib/plugins/plugin

* using runserverless to check function validate()

* removing unnecessary test
2021-07-27 13:51:43 +02:00
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