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

What's the proper way to update @rspack/core ? #233

Closed
yuqianma opened this issue Apr 28, 2023 · 1 comment
Closed

What's the proper way to update @rspack/core ? #233

yuqianma opened this issue Apr 28, 2023 · 1 comment

Comments

@yuqianma
Copy link

Newbie to Nx and Rspack. The one line command pnpm create nx-workspace myrspackapp --preset=@nrwl/rspack --pm=pnpm is awesome! Thanks for the work.

But I'm struggling with updating the repo which I created weeks ago.
I thought nx migrate latest would get things done but not.
Then I tried nx migrate @nrwl/rspack. It updated the @nrwl/rspack package but none of @repack/*.

I wonder what is the best way to update @rspack/*. (Or what does the Nx docs mean by saying "Automate Updating Dependencies"?)

@jaysoo
Copy link
Member

jaysoo commented May 2, 2023

You can install it manually (npm i @rspack/core@latest or bump it in your package.json file). We specify ~0.1.0, which means anything below 0.2.0 should be supported.

A migration will be coming soon for @nx/rspack once we publish that new scope.

@jaysoo jaysoo closed this as completed May 2, 2023
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

No branches or pull requests

2 participants