-
Notifications
You must be signed in to change notification settings - Fork 113
Bug 1597301 - Greening up dev deps #5384
base: master
Are you sure you want to change the base?
Conversation
Looks like Prettier update blew up, perhaps due to new rules despite being a minor bump? Should I separate that out into its own PR with files prettified to pass? |
Curious why @gvn our |
I accidentally put the wrong nvm profile in when I was writing that comment. Correct versions are now listed! (npm was/is at |
Hm strage |
"enzyme": "3.10.0", | ||
"enzyme-adapter-react-16": "1.15.1", | ||
"eslint": "6.6.0", | ||
"eslint-config-prettier": "6.7.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prettier
is safe to update but we should keep the configs in sync with m-c.
"eslint-plugin-prettier": "3.0.1", | ||
"eslint-plugin-react": "7.13.0", | ||
"eslint-plugin-react-hooks": "1.6.0", | ||
"eslint-plugin-prettier": "3.1.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is ok too.
Sorry for the long delay getting to this! @gvn, I had not seen Prettier makes changes with updated versions (see https://prettier.io/docs/en/install.html). This means that we need to be using the same version as mozilla-central, so it can't be upgraded. We should probably add a package.json comment to that effect to avoid future confusion: "//": "Prettier must be the same version as the one in mozilla-central's top-level package.json",
"prettier": "1.17.0" I suppose we could add (meta-data) [https://github.com/bahmutov/next-update#ignoring-or-skipping-some-modules] to make |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update to leave prettier unchanged (and adding the comments/meta-data suggested below seems worthwhile).
next-update --test './node_modules/.bin/npm-run-all test buildmc' --type dev
1 failed upgrade:
karma-sinon 1.0.5 -> 1.8.0
Ran on OSX via: