Skip to content

Commit

Permalink
chore: Update examples to use Vite v4 (#5259)
Browse files Browse the repository at this point in the history
* Update to vite v4

* Updated emotion semver range
  • Loading branch information
lachlancollins authored Jan 5, 2024
1 parent a990435 commit 5d615ab
Show file tree
Hide file tree
Showing 47 changed files with 410 additions and 1,295 deletions.
4 changes: 2 additions & 2 deletions examples/react/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@rollup/plugin-replace": "^5.0.5",
"@types/bootstrap": "^5.2.6",
"@types/react-bootstrap": "^0.32.32",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.4"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/column-dnd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/column-groups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/column-ordering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/column-pinning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/column-resizing-performant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/column-sizing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/column-visibility/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/editable-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/expanding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/filters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/full-width-resizable-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/full-width-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/fully-controlled/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/grouping/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
8 changes: 4 additions & 4 deletions examples/react/kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
"@emotion/styled": "^11.10.5",
"@tanstack/match-sorter-utils": "^8.11.3",
"@tanstack/react-table": "^8.11.3",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand All @@ -23,7 +21,9 @@
"@emotion/babel-plugin-jsx-pragmatic": "^0.2.0",
"@faker-js/faker": "^8.3.1",
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.4"
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
8 changes: 4 additions & 4 deletions examples/react/material-ui-pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
"@emotion/react": "^11.9.3",
"@emotion/styled": "^11.9.3",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.8.6",
"@tanstack/react-table": "^8.11.3",
Expand All @@ -20,7 +20,7 @@
"devDependencies": {
"@faker-js/faker": "^8.3.1",
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/pagination-controlled/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/row-dnd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/row-pinning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/row-selection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/sorting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/sub-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/react/virtualized-infinite-scrolling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
"@vitejs/plugin-react": "^4.2.1",
"vite": "^4.5.1"
}
}
4 changes: 2 additions & 2 deletions examples/solid/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"license": "MIT",
"devDependencies": {
"typescript": "5.2.2",
"vite": "^3.2.3",
"vite-plugin-solid": "^2.2.6"
"vite": "^4.5.1",
"vite-plugin-solid": "^2.4.0"
},
"dependencies": {
"@tanstack/solid-table": "^8.11.3",
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"devDependencies": {
"@faker-js/faker": "^8.3.1",
"typescript": "5.2.2",
"vite": "^3.2.3",
"vite": "^4.5.1",
"vite-plugin-solid": "^2.4.0"
},
"dependencies": {
"@tanstack/solid-table": "^8.11.3",
"bootstrap": "^5.2.2",
"bootstrap": "^5.2.3",
"solid-bootstrap": "^1.0.8",
"solid-js": "^1.6.2"
}
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/column-groups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"license": "MIT",
"devDependencies": {
"typescript": "5.2.2",
"vite": "^3.2.3",
"vite-plugin-solid": "^2.2.6"
"vite": "^4.5.1",
"vite-plugin-solid": "^2.4.0"
},
"dependencies": {
"@tanstack/solid-table": "^8.11.3",
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/column-ordering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"devDependencies": {
"@faker-js/faker": "^8.3.1",
"typescript": "5.2.2",
"vite": "^3.2.3",
"vite-plugin-solid": "^2.2.6"
"vite": "^4.5.1",
"vite-plugin-solid": "^2.4.0"
},
"dependencies": {
"@tanstack/solid-table": "^8.11.3",
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/column-visibility/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"license": "MIT",
"devDependencies": {
"typescript": "5.2.2",
"vite": "^3.2.3",
"vite-plugin-solid": "^2.2.6"
"vite": "^4.5.1",
"vite-plugin-solid": "^2.4.0"
},
"dependencies": {
"@tanstack/solid-table": "^8.11.3",
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/filters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"devDependencies": {
"@faker-js/faker": "^8.3.1",
"typescript": "5.2.2",
"vite": "^3.2.3",
"vite-plugin-solid": "^2.2.6"
"vite": "^4.5.1",
"vite-plugin-solid": "^2.4.0"
},
"dependencies": {
"@solid-primitives/scheduled": "^1.4.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/sorting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"devDependencies": {
"@faker-js/faker": "^8.3.1",
"typescript": "5.2.2",
"vite": "^3.2.3",
"vite-plugin-solid": "^2.2.6"
"vite": "^4.5.1",
"vite-plugin-solid": "^2.4.0"
},
"dependencies": {
"@tanstack/solid-table": "^8.11.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"svelte-check": "^2.2.7",
"tslib": "^2.3.1",
"typescript": "5.2.2",
"vite": "^3.2.3"
"vite": "^4.5.1"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/column-groups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"svelte-check": "^2.2.7",
"tslib": "^2.3.1",
"typescript": "5.2.2",
"vite": "^3.2.3"
"vite": "^4.5.1"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/column-ordering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"svelte-check": "^2.2.7",
"tslib": "^2.3.1",
"typescript": "5.2.2",
"vite": "^3.2.3"
"vite": "^4.5.1"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/column-pinning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"svelte-check": "^2.2.7",
"tslib": "^2.3.1",
"typescript": "5.2.2",
"vite": "^3.2.3"
"vite": "^4.5.1"
}
}
Loading

0 comments on commit 5d615ab

Please sign in to comment.