Skip to content

Conversation

@larsenwork
Copy link
Contributor

Changes to docs:

  1. Recommend npx instead of global install
  2. Recommend installing codemod as dev-dependency

Background:

  1. npm install -g for a one-time operation like a codemod seems like unnecessary bloat
  2. There doesn't seem to be any reason why @material-ui/codemod should be more than a dev-dependency (unless I'm missing something).

Side-note: I searched for npm install -g in the entire repo and this is the only location it's used.

@mui-pr-bot
Copy link

No bundle size changes comparing c3756df...350b240

Generated by 🚫 dangerJS against 350b240

@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation. label Feb 11, 2020
@oliviertassinari oliviertassinari changed the title Update codemod documentation [docs] Update codemod documentation Feb 11, 2020
@oliviertassinari oliviertassinari merged commit d99fdd9 into mui:master Feb 12, 2020
@oliviertassinari
Copy link
Member

@larsenwork Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants