-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description of Options -- loopbackBuild / mocha #1298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
Besides making the prompt more descriptive, perhaps add in more details in the docs as well? http://loopback.io/doc/en/lb4/Application-generator.html |
I am of the opinion that less options are better, especially for novice-to-intermediate users, and that our CLI should be tailored for the majority of our users base that is happy to follow our recommended setup. As for advanced users that understand reasoning behind our recommended setup and ramifications of disabling things like loopbackBuild and tslint, if they understand so much about the tooling, then surely they are able to tweak project infrastructure manually, without our CLI tooling. In fact, I'd expect that once our users outgrow the default infrastructure scaffolded by our CLI, they will need custom configuration that's different from the current options offered by CLI anyways. I would like to see only one option offered by our CLI tooling:
Everything else should be driven by the answer to this single question.
Decision fatigue is a real problem, see e.g. Wikipedia or this article:
Isn't the relative lack of decision/choices one of the reason why people love Apple products so much? ADDED on 2018-05-16: See #1309 (comment), #1309 (comment) and #1309 (comment) for a follow-up discussion that concluded with a different proposal - allow the user to choose "express" or "custom" route. |
@virkt25 Is this task good for estimation based on the current acceptance criteria? |
Updated based on the results of #1309 |
Based on the acceptance criteria, we have decided on splitting the issue into three: one for updating the prompt's description, one for providing express mode, and one for scripting capability of 'express' way of using the CLI tooling. |
related to #1340 |
Adding to Taranveer's descriptions for ◉ Enable tslint - adds a linter with pre-configured lint rules I tried to keep it short, but thoughts? |
LGTM. one minor comment to change |
Closing as done #2186. |
Uh oh!
There was an error while loading. Please reload this page.
Description / Steps to reproduce / Feature proposal
From #1206
Related Note:
Related Note:
Acceptance Criteria
loopbackBuild
/mocha
loopbackBuild
sets up typescript compiler with other features such as (copy non-ts files to dist)mocha
-- installs mocha as a dependency (not auto-generate tests)Discussion Point
loopbackBuild
as an option or just remove the option entirely? ...lb-tsc
provides copying ofnon-ts
files which is essential for@loopback/boot
's declarative support!See Reporting Issues for more tips on writing good issues
The text was updated successfully, but these errors were encountered: