Skip to content

Commit 15f7216

Browse files
chore(deps): update dependency vite to v8 (#22080)
* chore(deps): update dependency vite to v8 * chore(yarn): dedupe * chore(rolldown): update include to use regex instead of glob --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kenny Lam <909118+kennylam@users.noreply.github.com>
1 parent 5d39826 commit 15f7216

4 files changed

Lines changed: 369 additions & 35 deletions

File tree

packages/react/.storybook/main.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,12 @@ const config: StorybookConfig = {
9898
},
9999
plugins: [
100100
react({
101-
include: '**/*.{jsx,js,ts,tsx}',
101+
// use a regex instead of a glob.Vite 8 (Rolldown)
102+
// globs `**/*.{jsx,js,ts,tsx}` seem to mishandle the transform
103+
// filter and ends up matching `package.json`, which then fails to
104+
// parse as JS. using regex matches the same set of files (and the
105+
// plugin's own default) without that bug
106+
include: /\.[jt]sx?$/,
102107
babel: {
103108
presets: ['babel-preset-carbon'],
104109
babelrc: false,

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"tsdown": "^0.21.0",
113113
"typescript-config-carbon": "workspace:^0.10.0",
114114
"use-sync-external-store": "^1.5.0",
115-
"vite": "^7.1.2"
115+
"vite": "^8.0.0"
116116
},
117117
"sideEffects": [
118118
"es/index.js",

packages/web-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"storybook-addon-accessibility-checker": "^9.2.0-rc.4",
105105
"tsdown": "^0.21.0",
106106
"typescript-config-carbon": "workspace:^0.10.0",
107-
"vite": "^7.2.4",
107+
"vite": "^8.0.0",
108108
"web-component-analyzer": "2.0.0"
109109
},
110110
"bundledDependencies": [

0 commit comments

Comments
 (0)