Closed jason0x43 closed 6 years ago
If we want to update the "How do I contribute" section (I think these suggestions are good), we would need to do it across all the packages!
Just going to tack an extra thing here, we should mention that now the CLI will show all @dojo cli commands even if they are not installed. When a user tries to use a command that is not installed, it will direct the user to run the relevant npm install
It might be good to just link the contribution and testing sections for all the subproject back to the main CLI README, because there's a lot of repetition across them.
We could actually do that across all our repos I think! Maybe link back to meta!
Notes
The subsections below refer to sections in the readme.
(General notes)
Standardize on CLI or cli. Also, are we using "cli" as a name or a description? (So is it "the cli" or just "cli" everywhere?)
Maybe This package is the officially supported way... or
cli
is the officially supported way...Why use
Remove the commas.
webpack should be lower-cased.
Maybe When you eject, all the configuration and build dependencies of the included tools will be moved into your project. The development process can then be tailored to the specific needs of your project.
Usage
Remove this.
This might be better worded as "verify that the installation runs" or "check that the installation runs".
Features
This section is kind of confusing. It might be clearer if "group" and "command" were renamed to "command" and "subcommand", which is a more common terminology. (Even if the group isn't technically a "command", it looks and feels like a command to the user.) Then drop the first few paragraphs and just start at "The CLI has the following built-in options:". Also, prefer "built-in" to "in-built".
The CLI has the following built-in commands
In the paragraph listing the built-in commands, put them in a list (one per line or bulleted).
This paragraph has a weird line break in it, and there should be a period after
npm I @dojo/cli-test-intern
.How do I contribute?
Would this be better as "How can I contribute?"
Maybe better worded as You format all
src
andtest
project files by running:It would be nice to add npm scripts for these tasks to the package.json and reference those instead. (This goes for the testing commands, too).
using the "object" test interface and "assert" assertion interface