16 Commits

Author SHA1 Message Date
Mariusz Nowak
b23bfdbf6a refactor(CLI): Seclude service config path resolution out of internals 2021-01-18 16:19:12 +01:00
Mariusz Nowak
293cd6d0e2 fix(CLI): Ensure to not follow with project setup on existing path 2021-01-18 16:19:12 +01:00
Mariusz Nowak
adc4e2f8cf refactor(CLI): Refactor to async/await 2021-01-18 16:19:12 +01:00
Mariusz Nowak
76fa62da3b fix(CLI): Fix configuration of a new service in interactive setup 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
ef39e958db refactor: Upgrade "@serverless/utils" to v2
Drop "@serverless/inquirer" dependency
2020-09-23 15:14:25 +02:00
Mariusz Nowak
738c52f6e5 fix: Workaround config schema error on project initialization
It's a temporary patch until #8257 is properly solved
2020-09-16 15:34:08 +02:00
Mariusz Nowak
3177e40cee fix: Ensure to memoize config file resolution by instance
Memoizing by service name doesn't work when test configuration changes in same process
2020-09-14 14:15:12 +02:00
Ahmad Mahmoud Mohammad
4724cb8eeb
refactor: Replace inquirer with @serverless/inquirer (#7729) 2020-05-26 10:12:24 +02:00
Daniel Schep
d11ff1e316
Allow --app & --org cli option in interactive CLI (#6697)
* Allow plugins to add flags that are allowed during interactive CLI

* simpler return, comment, & move setting sls.interactiveCli

* allow listof starter pr ojects to be customized

* docs!

* lint

* remove return and hide interacive cli "command"

* expose whole initializeService module like aws is

* update copy

* 🤦

* make it easier to update initalizeprojectChoices, avoiding ugly inplace updates

* bump sfe dep

* version bump

* Revert "version bump"

This reverts commit 4c9449136e00ce195b9c119f983845aec26c3693.
2019-10-23 15:52:27 -04:00
Mariusz Nowak
9f784a61bb
Introduce 'name' option to improve test capabilities 2019-09-05 16:12:48 +02:00
Alex DeBrie
1344791329
Update initializeService.js 2019-07-18 19:09:21 -05:00
Mariusz Nowak
3fdd9b2866
Improve question (remove redundand wording 2019-07-08 22:19:31 +02:00
Mariusz Nowak
96f76a2478
Style inquirer 2019-07-08 22:19:12 +02:00
Mariusz Nowak
4a2b112aa8
Rename installTemplate into createFromTemplate 2019-07-02 10:25:32 +02:00
Mariusz Nowak
23b5bcfdea
Reconfigure interactive CLI into core plugin 2019-06-28 13:33:16 +02:00