rfcs
rfcs copied to clipboard
RFC: Standardize npm yarn use RFC
Rendered text
Standardize the use of yarn and npm scripts in the Ember experience
This change encourages developers to use npm
or yarn
for certain commands when working with Ember applications, rather than using global Ember CLI commands like ember serve
. This aligns Ember with norms in the JavaScript community and helps in reducing the confusion around Ember-specific commands.
Just adding a note here that I will be the core team champion for this RFC.
@MehulKChaudhari @dhanush027 Today the Framework team reviewed this RFC, and they had some suggestions to help make it more broadly applicable! Let me know if you want help making any of these changes:
- Instead of focusing solely on npm start/test, we can revise the "motivation" section and title to be about using the scripts in
package.json
rather than focusing on npm/yarn. It is the scripts that are the industry standard we want to point to, not necessarily the CLI tool - We can mention the following commands as examples: test, start, build, and prepare
- We should mention that developers should always refer to Contributing.md for full instructions when working with a new app or addon
- We can include a link to "prior art" of showing npm start in CLI output. Here's when the text was introduced: https://github.com/ember-cli/ember-cli/commit/6c50caa24b9b0e458d1ec7eec36f8e1807fb48ac
After we make these revisions, we can communicate that this RFC is in FCP (final comment period) which will be a good opportunity to invite people to take another look, or a look for the first time.
I'd like to help to make these changes to RFC.
Yes I would like to help with point 2, 3, and 4
👋 Hi, wondering what the status is of this RFC?
@MehulKChaudhari are you able to update the RFC so the checks pass? @jenweber can help you!
@MehulKChaudhari are you able to update the RFC so the checks pass? @jenweber can help you!
sure will do that
It looks like our linter does not correctly ignore new files in the images folder. Should we merge without a green linter for this one, assuming consensus for the RFC content? Comment out that linter? Someone could fix it real quick in another PR? I would like this to not be blocked by our tooling.
@kategengler do you have time to help out with the tooling?
@locks I am looking at the tooling. It used to ignore the images (really need to figure out automated tests for workflows)
@jenweber I think it is fine to merge over the failures if it has been verified the RFC does pass those checks.
@jenweber worth nothing you'll have to open the advancement PR yourself using https://github.com/emberjs/rfcs/blob/master/.github/READTHIS.md#trigger-opening-advancement-pryml