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: bump deps #2878

Merged
merged 3 commits into from
May 20, 2024
Merged

chore: bump deps #2878

merged 3 commits into from
May 20, 2024

Conversation

brc-dd
Copy link
Member

@brc-dd brc-dd commented May 20, 2024

reverts #2858 (fixed in vitepress and theme)

Copy link

netlify bot commented May 20, 2024

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit 9b62666
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/664addc7aa559d0008825a57
😎 Deploy Preview https://deploy-preview-2878--vuejs.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 configuration.

@brc-dd brc-dd merged commit adbb5a3 into main May 20, 2024
5 checks passed
@brc-dd brc-dd deleted the deps branch May 20, 2024 05:23
@skirtles-code
Copy link
Contributor

skirtles-code commented May 21, 2024

It seems this change may have broken some pages in the docs. e.g. https://vuejs.org/api/sfc-script-setup.html currently won't load, with errors in the console.

brc-dd added a commit that referenced this pull request May 21, 2024
@brc-dd
Copy link
Member Author

brc-dd commented May 21, 2024

I have partially reverted the changes and locked vitepress version back to 1.1.

@@ -0,0 +1 @@
*.vue
Copy link
Member

Choose a reason for hiding this comment

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

Any special reason we added this? (sorry for being late 😅)

Copy link
Member Author

@brc-dd brc-dd May 23, 2024

Choose a reason for hiding this comment

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

Prettier doesn't work properly with vue's template part. Can be reverted though. I don't have any strong preference. I've don't do format on save.

]
}
}
"packageManager": "[email protected]"
Copy link
Member

Choose a reason for hiding this comment

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

@brc-dd do you think we can skim this rule? Since I guess it breaks the translation deployments on Vercel like docs-cs vuejs-translations/docs-cs#132 (comment)

Copy link
Member Author

@brc-dd brc-dd May 23, 2024

Choose a reason for hiding this comment

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

We can fix it on v8 for now. Vercel supports corepack but I think they are blocked on something in pnpm v9. On newer node versions, this is automatically added each time you run a command and have corepack enabled locally (say, for other projects). So removing it each time before you commit is bit of pain. And I think all other projects in the org are already using corepack because of DX improvements, so makes sense to keep it here. Also, the engine fields of most of the translation repos are wrong. vite, vitepress, pnpm don't support node v14.

Copy link
Member Author

@brc-dd brc-dd May 23, 2024

Choose a reason for hiding this comment

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

Or I think v9 is also supported via corepack (but detecting it is not supported). Try setting https://vercel.com/docs/deployments/configure-a-build#corepack ENABLE_EXPERIMENTAL_COREPACK=1 in env variable. Locking to old version can only be a temporary solution I guess.

David-Pena added a commit to David-Pena/vuejs-spanish-docs that referenced this pull request Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants