Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cc032ec

Browse filesBrowse files
authored
test(deps): update vite in examples to 7.1.5 (#1538)
re-scaffold examples/component-tests update examples/wait-on-vite
1 parent d03c03f commit cc032ec
Copy full SHA for cc032ec

File tree

Expand file treeCollapse file tree

9 files changed

+555
-529
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

9 files changed

+555
-529
lines changed
Open diff view settings
Collapse file

‎examples/component-tests/cypress/support/component.js‎

Copy file name to clipboardExpand all lines: examples/component-tests/cypress/support/component.js
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
// Import commands.js using ES2015 syntax:
1717
import './commands'
1818

19-
// Alternatively you can use CommonJS syntax:
20-
// require('./commands')
21-
2219
import { mount } from 'cypress/react'
2320

2421
Cypress.Commands.add('mount', mount)
Collapse file

‎examples/component-tests/package-lock.json‎

Copy file name to clipboardExpand all lines: examples/component-tests/package-lock.json
+516-489Lines changed: 516 additions & 489 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "example-component-tests",
33
"private": true,
4-
"version": "2.0.0",
4+
"version": "2.1.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
@@ -10,14 +10,14 @@
1010
"test": "cypress run --component"
1111
},
1212
"dependencies": {
13-
"react": "^19.0.0",
14-
"react-dom": "^19.0.0"
13+
"react": "^19.1.1",
14+
"react-dom": "^19.1.1"
1515
},
1616
"devDependencies": {
17-
"@types/react": "^19.0.10",
18-
"@types/react-dom": "^19.0.4",
19-
"@vitejs/plugin-react": "^4.3.4",
17+
"@types/react": "^19.1.10",
18+
"@types/react-dom": "^19.1.7",
19+
"@vitejs/plugin-react": "^5.0.0",
2020
"cypress": "15.1.0",
21-
"vite": "^6.3.4"
21+
"vite": "^7.1.5"
2222
}
2323
}
Collapse file

‎examples/component-tests/src/App.jsx‎

Copy file name to clipboardExpand all lines: examples/component-tests/src/App.jsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function App() {
99
return (
1010
<>
1111
<div>
12-
<a href="https://vitejs.dev" target="_blank">
12+
<a href="https://vite.dev" target="_blank">
1313
<img src={viteLogo} className="logo" alt="Vite logo" />
1414
</a>
1515
<a href="https://react.dev" target="_blank">
Collapse file

‎examples/component-tests/src/index.css‎

Copy file name to clipboardExpand all lines: examples/component-tests/src/index.css
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:root {
2-
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
2+
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
33
line-height: 1.5;
44
font-weight: 400;
55

@@ -11,7 +11,6 @@
1111
text-rendering: optimizeLegibility;
1212
-webkit-font-smoothing: antialiased;
1313
-moz-osx-font-smoothing: grayscale;
14-
-webkit-text-size-adjust: 100%;
1514
}
1615

1716
a {
Collapse file
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import React from 'react'
2-
import ReactDOM from 'react-dom/client'
3-
import App from './App.jsx'
1+
import { StrictMode } from 'react'
2+
import { createRoot } from 'react-dom/client'
43
import './index.css'
4+
import App from './App.jsx'
55

6-
ReactDOM.createRoot(document.getElementById('root')).render(
7-
<React.StrictMode>
6+
createRoot(document.getElementById('root')).render(
7+
<StrictMode>
88
<App />
9-
</React.StrictMode>,
9+
</StrictMode>,
1010
)
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { defineConfig } from 'vite'
22
import react from '@vitejs/plugin-react'
33

4-
// https://vitejs.dev/config/
4+
// https://vite.dev/config/
55
export default defineConfig({
66
plugins: [react()],
77
})
Collapse file

‎examples/wait-on-vite/package-lock.json‎

Copy file name to clipboardExpand all lines: examples/wait-on-vite/package-lock.json
+22-19Lines changed: 22 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎examples/wait-on-vite/package.json‎

Copy file name to clipboardExpand all lines: examples/wait-on-vite/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"private": true,
1212
"devDependencies": {
1313
"cypress": "15.1.0",
14-
"vite": "^7.0.0"
14+
"vite": "^7.1.5"
1515
}
1616
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.