chore(rsc): fix example deps #534
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Some examples are intended to be self-contained and they should be able to run simply by copying the directory e.g. for stackblitz demo, create-vite. For this, I cannot use
workspace:*for workspace packages, but when developing locally, they should point toworkspace:*. Pnpm provideslink-workspace-packages=trueandprefer-workspace-packages=true, so I used this instead of addingoverrideseach package.I also updated
latestdependencies with a proper version except workspace packages. For now, I kept@vitejs/plugin-rscand@vitejs/plugin-reactaslatest, but maybe later we can adopt bumping templates version similar to create-vite https://github.com/vitejs/vite/blob/2e8050e4cd8835673baf07375b7db35128144222/scripts/releaseUtils.ts#L53