Merged
Conversation
6d5a6fa to
be006b4
Compare
Prerelease Packages AvailableInstall the prerelease packages with: npm install @orange-js/orange@0.0.0-be006b4 @orange-js/actors@0.0.0-be006b4 && npm install -D @orange-js/vite@0.0.0-be006b4 @orange-js/cli@0.0.0-be006b4
pnpm add @orange-js/orange@0.0.0-be006b4 @orange-js/actors@0.0.0-be006b4 && pnpm add -D @orange-js/vite@0.0.0-be006b4 @orange-js/cli@0.0.0-be006b4
yarn add @orange-js/orange@0.0.0-be006b4 @orange-js/actors@0.0.0-be006b4 && yarn add -D @orange-js/vite@0.0.0-be006b4 @orange-js/cli@0.0.0-be006b4
bun add @orange-js/orange@0.0.0-be006b4 @orange-js/actors@0.0.0-be006b4 && bun add -D @orange-js/vite@0.0.0-be006b4 @orange-js/cli@0.0.0-be006b4 |
There was a problem hiding this comment.
Pull request overview
This PR updates project dependencies and applies code formatting changes to ensure consistent trailing comma usage across the codebase.
- Updated core dependencies including
vite,@vitejs/plugin-react,@vitejs/plugin-rsc, andwrangler - Added new dependency
rsc-html-streamto replace functionality from@vitejs/plugin-rsc - Applied trailing comma formatting to function arguments and array/object literals throughout the codebase
Reviewed changes
Copilot reviewed 21 out of 22 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/vite/package.json | Updated vite to ^7.2.4, @vitejs/plugin-react to ^5.1.1, @vitejs/plugin-rsc to ^0.5.2, and moved dependencies between devDependencies and dependencies sections |
| packages/core/package.json | Updated React peer dependencies to ^19.2.0, added rsc-html-stream ^0.0.7, and updated type definitions |
| packages/cli/package.json | Updated wrangler to ^4.50.0 |
| e2e/templates/basic/package.json | Updated vite to ^7.2.4 and wrangler to ^4.50.0, removed esbuild, added @cloudflare/vite-plugin |
| package.json | Added build dependencies for @swc/core, @tailwindcss/oxide, and sharp |
| packages/core/src/ssr.tsx | Replaced injectRscStreamToHtml import with injectRSCPayload from rsc-html-stream/server and updated corresponding function call |
| packages/core/src/client.tsx | Replaced getRscStreamFromHtml import with rscStream from rsc-html-stream/client and updated usage |
| packages/core/src/server.tsx | Added @ts-ignore comment for decodeFormState call and applied trailing comma formatting |
| packages/vite/src/routing/fs-routes.ts | Added trailing comma to array map callback |
| packages/vite/src/plugins/*.ts | Applied trailing comma formatting consistently across all plugin files |
| packages/cli/src/commands/provision/*.ts | Applied trailing comma formatting to function calls and parameter lists |
| packages/create-orange/src/index.ts | Applied trailing comma formatting to function arguments |
| packages/actors/src/*.tsx | Applied trailing comma formatting to type definitions and function parameters |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -72,6 +72,7 @@ async function handler( | |||
| const formData = await request.formData(); | |||
| const decodedAction = await ReactServer.decodeAction(formData); | |||
| const result = await decodedAction(); | |||
There was a problem hiding this comment.
The @ts-ignore comment lacks explanation. Add a brief comment explaining why TypeScript's type checking is being suppressed here (e.g., '// TODO: Fix type definitions for decodeFormState' or '// decodeFormState types are not yet available in current version').
Suggested change
| const result = await decodedAction(); | |
| const result = await decodedAction(); | |
| // TODO: Fix type definitions for decodeFormState |
be006b4 to
53927cf
Compare
Prerelease Packages AvailableInstall the prerelease packages with: npm install @orange-js/orange@0.0.0-53927cf @orange-js/actors@0.0.0-53927cf && npm install -D @orange-js/vite@0.0.0-53927cf @orange-js/cli@0.0.0-53927cf
pnpm add @orange-js/orange@0.0.0-53927cf @orange-js/actors@0.0.0-53927cf && pnpm add -D @orange-js/vite@0.0.0-53927cf @orange-js/cli@0.0.0-53927cf
yarn add @orange-js/orange@0.0.0-53927cf @orange-js/actors@0.0.0-53927cf && yarn add -D @orange-js/vite@0.0.0-53927cf @orange-js/cli@0.0.0-53927cf
bun add @orange-js/orange@0.0.0-53927cf @orange-js/actors@0.0.0-53927cf && bun add -D @orange-js/vite@0.0.0-53927cf @orange-js/cli@0.0.0-53927cf |
E2E Test Results |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.