30 Commits

Author SHA1 Message Date
Max Marze
893bfa7aef
chore: update eslint & prettier (#12553) 2024-05-29 11:51:04 -04:00
Duy Tran
ac066e9100
test: Refactor out of BbPromise resolve/reject (#11853) 2023-03-24 12:46:32 +01:00
SleepWithCoffee
f57705e262
test: Refactor to async functions (#11833) 2023-03-20 10:38:30 +01:00
Mariusz Nowak
4a97648626 refactor: Rename lib/classes/CLI.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
7289137073 refactor: Rename lib/Serverless.js 2022-01-27 15:21:58 +01: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
Piotr Grzesik
33bd501f06 feat: Error instead of warning when missing "commands" or "options"
BREAKING CHANGE: When creating `Serverless` class instance programatically,
both "options" and "commands" have to be passed via "config" to the constructor.
2022-01-27 15:21:58 +01: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
5a583a9798 fix(Standalone): Fix internal npm installation handling 2021-09-28 10:24:54 +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
bab39c67a1 test: Convert to async/await 2021-05-20 13:38:43 +02:00
Mariusz Nowak
05588f77c0 refactor(CLI): Rely internally on @serverless/utils/log 2021-05-12 12:41:30 +02:00
Mariusz Nowak
10f956777c test: Rename servicePath 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
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
21cc4cf8cb refactor(CLI): Expose "--help" in supported command options 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
Mariusz Nowak
16950d098b refactor(CLI): Remove internal CLI arguments parsing 2021-02-11 14:01:41 +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
dde9b85965 refactor: Improve var naming 2021-01-04 21:54:43 +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