Skip to content
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

feat: update dependencies #228

Merged
merged 2 commits into from
Aug 30, 2022

Conversation

MichaelDeBoey
Copy link
Contributor

@MichaelDeBoey MichaelDeBoey commented Jun 7, 2022

I also replaced rollup-plugin-node-builtins& rollup-plugin-node-globals with rollup-plugin-polyfill-node as that's what the @rollup team recommends & the @babel team did as well in babel/babel#11098.


BREAKING CHANGE: Use Jest v28

@codecov
Copy link

codecov bot commented Jun 7, 2022

Codecov Report

Merging #228 (da7e917) into main (01550fe) will not change coverage.
The diff coverage is 87.50%.

@@           Coverage Diff           @@
##             main     #228   +/-   ##
=======================================
  Coverage   63.33%   63.33%           
=======================================
  Files          21       21           
  Lines         600      600           
  Branches      228      227    -1     
=======================================
  Hits          380      380           
  Misses        179      179           
  Partials       41       41           
Impacted Files Coverage Δ
src/config/jest.config.js 92.30% <ø> (ø)
src/config/prettierrc.js 100.00% <ø> (ø)
src/scripts/build/rollup.js 0.00% <0.00%> (ø)
src/config/rollup.config.js 71.11% <100.00%> (-0.63%) ⬇️
src/run-script.js 97.87% <100.00%> (+0.04%) ⬆️
src/utils.js 89.56% <100.00%> (+0.09%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@MichaelDeBoey
Copy link
Contributor Author

@kentcdodds Seems like snapshots are only failing on Windows for some reason 🤔

@kentcdodds
Copy link
Owner

Hmmm... I'm not sure. Maybe windows is adding extra lines to the output for some reason?

@MichaelDeBoey
Copy link
Contributor Author

Yeah don't know either how we could fix this tbh 🤔

@MichaelDeBoey MichaelDeBoey force-pushed the update-dependencies branch 2 times, most recently from 3b417bb to 8c47ea9 Compare June 21, 2022 16:13
@MichaelDeBoey MichaelDeBoey changed the title chore: update dependencies feat: update dependencies Jun 21, 2022
jsxSingleQuote: false,
printWidth: 80,
proseWrap: 'always',
quoteProps: 'as-needed',
requirePragma: false,
semi: false,
singleAttributePerLine: false,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const omit = require('lodash.omit')
const nodePolyfills = require('rollup-plugin-polyfill-node')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also replaced rollup-plugin-node-builtins& rollup-plugin-node-globals with rollup-plugin-polyfill-node as that's what the @rollup team recommends & the @babel team did as well in babel/babel#11098.

@MichaelDeBoey MichaelDeBoey force-pushed the update-dependencies branch 2 times, most recently from 266b81d to 588fd87 Compare June 29, 2022 16:07
@nickserv
Copy link
Contributor

Would this be safe to merge (after resolving conflicts)? I'm running into a configuration issue for the Recorder Extension's e2e test suite because of the old Jest version, and it's blocking my next major release. Let me know if I can help with anything.

@kentcdodds
Copy link
Owner

Once we resolve conflicts and figure out what to do about the failing build then I'm happy to merge.

@nickserv
Copy link
Contributor

nickserv commented Aug 30, 2022

The build seems to be failing because the new version of glob requires using POSIX paths, but we're using native paths (so Windows is not using POSIX paths). I'm trying to fix this internally, but it would technically still be a breaking change, as you'd have to use POSIX --ignore patterns on Windows.

@nickserv
Copy link
Contributor

nickserv commented Aug 30, 2022

I think I fixed it. @MichaelDeBoey can you please review MichaelDeBoey#66 when you can? It's set to merge into this PR.

kentcdodds
kentcdodds previously approved these changes Aug 30, 2022
Copy link
Owner

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thank you so much for spending time working on this!

@kentcdodds
Copy link
Owner

Uh oh. Looks like the build is actually failing so we won't get a release if I merge this 😬

@kentcdodds
Copy link
Owner

🤦‍♂️ just read the thread and now I understand what's going on 😅 Thanks for your work @nickmccurdy! Excited to get this merged 👍

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
BREAKING CHANGE: Use Jest v28
* feat: update dependencies

BREAKING CHANGE: Use Jest v28

* fix: use POSIX paths with glob 8 on Windows

* Fix `__dirname` usage

* Implement `toPOSIX` function

* Move `toPOSIX` to utils

* Only use POSIX when using `glob`

Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
Copy link
Owner

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super! Thank you 👏👏

@kentcdodds kentcdodds merged commit ce96bf4 into kentcdodds:main Aug 30, 2022
@github-actions
Copy link

🎉 This PR is included in version 12.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@MichaelDeBoey MichaelDeBoey deleted the update-dependencies branch August 31, 2022 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants