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

chore: upgrade dependencies #7232

Merged
merged 1 commit into from Apr 23, 2022
Merged

chore: upgrade dependencies #7232

merged 1 commit into from Apr 23, 2022

Conversation

Josh-Cena
Copy link
Collaborator

This PR also fixes the wrong version of babel-plugin-dynamic-import-node being hoisted after #7216. See #3734 for more details.

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Apr 23, 2022
@netlify
Copy link

netlify bot commented Apr 23, 2022

[V2]

Name Link
🔨 Latest commit 55d188f
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/6263753b6aa1c40009c973ec
😎 Deploy Preview https://deploy-preview-7232--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions
Copy link

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 71
🟢 Accessibility 100
🟢 Best practices 92
🟢 SEO 100
🟢 PWA 90

Lighthouse ran on https://deploy-preview-7232--docusaurus-2.netlify.app/

@github-actions
Copy link

Size Change: +996 B (0%)

Total Size: 803 kB

Filename Size Change
website/build/assets/js/main.********.js 607 kB +996 B (0%)
ℹ️ View Unchanged
Filename Size
website/.docusaurus/globalData.json 50.1 kB
website/build/assets/css/styles.********.css 107 kB
website/build/index.html 38.8 kB

compressed-size-action

@Josh-Cena
Copy link
Collaborator Author

The "critical dependency" error persists 🤔

@Josh-Cena Josh-Cena merged commit 242f2e7 into main Apr 23, 2022
@Josh-Cena Josh-Cena deleted the jc/upgrade-deps branch April 23, 2022 03:55
Comment on lines +62 to +65
"dependencies": {
"babel-plugin-dynamic-import-node": "2.3.0",
"unified": "^9.2.2"
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't understand why this is needed here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because of the wrong hoisting order. We need the right versions of unified. See #6476 (comment)

Copy link
Collaborator

Choose a reason for hiding this comment

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

🤪
does it change anything to move this as devDependency instead?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I mean, it was already in devDependency, how moving it to dependency changes anything?

Afaik it only impacts if you run yarn install --production ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Err, mostly to highlight that it's not there to actually do anything, but just to re-order hoisting. The problem is we don't have comments in package.json so you have to do weird stuff to give something semantics

@Josh-Cena Josh-Cena added tag: dependencies pr: dependencies Pull requests that update a dependency file and removed tag: dependencies labels May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants