Skip to content

Commit 840f0b1

Browse files
authored
chore(deps): update prettier (#556)
1 parent 822e7dd commit 840f0b1

File tree

9 files changed

+18
-13
lines changed

9 files changed

+18
-13
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ This repo is a monorepo using pnpm workspaces. The package manager used to insta
1313
- Checkout a topic branch from a base branch (e.g. `main`), and merge back against that branch.
1414

1515
- If adding a new feature:
16-
1716
- Add accompanying test case.
1817
- Provide a convincing reason to add this feature. Ideally, you should open a suggestion issue first, and have it approved before working on it.
1918

2019
- If fixing a bug:
21-
2220
- If you are resolving a special issue, add `(fix #xxxx[,#xxxx])` (#xxxx is the issue id) in your PR title for a better release log (e.g. `fix: update entities encoding/decoding (fix #3899)`).
2321
- Provide a detailed description of the bug in the PR. Live demo preferred.
2422
- Add appropriate test coverage if applicable.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"lint-staged": "^15.5.2",
4747
"picocolors": "^1.1.1",
4848
"playwright-chromium": "^1.53.2",
49-
"prettier": "^3.0.3",
49+
"prettier": "^3.6.2",
5050
"simple-git-hooks": "^2.13.0",
5151
"tsx": "^4.20.3",
5252
"typescript": "^5.8.3",

packages/plugin-react/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ export default function viteReact(opts: Options = {}): Plugin[] {
351351
jsxImportRuntime,
352352
]
353353
const staticBabelPlugins =
354-
typeof opts.babel === 'object' ? opts.babel?.plugins ?? [] : []
354+
typeof opts.babel === 'object' ? (opts.babel?.plugins ?? []) : []
355355
const reactCompilerPlugin = getReactCompilerPlugin(staticBabelPlugins)
356356
if (reactCompilerPlugin != null) {
357357
const reactCompilerRuntimeModule =

packages/plugin-rsc/examples/basic/wrangler.jsonc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"name": "vite-rsc-basic",
44
"main": "dist/rsc/cloudflare.js",
55
"assets": {
6-
"directory": "dist/client"
6+
"directory": "dist/client",
77
},
88
"workers_dev": true,
99
"compatibility_date": "2025-04-01",
10-
"compatibility_flags": ["nodejs_als"]
10+
"compatibility_flags": ["nodejs_als"],
1111
}

packages/plugin-rsc/examples/react-router/app/paper.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@
8787
}
8888

8989
@utility btn-* {
90-
border-color: --value(--btn-color- *);
91-
color: --value(--btn-color- *);
90+
border-color: --value(--btn-color-*);
91+
color: --value(--btn-color-*);
9292
}
9393

9494
@utility btn-sm {

packages/plugin-rsc/examples/react-router/cf/wrangler.rsc.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"main": "./entry.rsc.tsx",
55
"workers_dev": true,
66
"compatibility_date": "2025-04-01",
7-
"compatibility_flags": ["nodejs_als"]
7+
"compatibility_flags": ["nodejs_als"],
88
}

packages/plugin-rsc/examples/react-router/cf/wrangler.ssr.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"workers_dev": true,
66
"services": [{ "binding": "RSC", "service": "vite-rsc-react-router-rsc" }],
77
"compatibility_date": "2025-04-01",
8-
"compatibility_flags": ["nodejs_als"]
8+
"compatibility_flags": ["nodejs_als"],
99
}

packages/plugin-rsc/examples/starter-cf-single/wrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"main": "./src/framework/entry.rsc.tsx",
55
"workers_dev": true,
66
"compatibility_date": "2025-04-01",
7-
"compatibility_flags": ["nodejs_als"]
7+
"compatibility_flags": ["nodejs_als"],
88
}

pnpm-lock.yaml

Lines changed: 9 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)