Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update vite version 5.3.2 #15739

Merged
merged 14 commits into from
Sep 30, 2024
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
**/venv/**
.opentrons_config
**/tsconfig*.json
**/vite.config.ts
**/vite.config.mts
# prettier
**/package.json
**/CHANGELOG.md
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion app-shell/vite.config.ts → app-shell/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default defineConfig(
esbuildOptions: {
target: 'CommonJs',
},
exclude: ['node_modules']
exclude: ['node_modules'],
},
define: {
'process.env': process.env,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion opentrons-ai-client/tsconfig-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"rootDir": ".",
"outDir": "lib"
},
"include": ["src/**/*.json", "fixtures/**/*.json", "vite.config.ts"],
"include": ["src/**/*.json", "fixtures/**/*.json", "vite.config.mts"],
"exclude": ["**/*.ts", "**/*.tsx"]
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"rollup-plugin-terser": "^7.0.2",
"script-ext-html-webpack-plugin": "^2.1.4",
"semver": "^7.3.8",
"shx": "^0.3.3",
"shx": "^0.3.4",
"simple-git": "^3.15.1",
"storybook": "^7.6.16",
"storybook-addon-pseudo-states": "2.0.0",
Expand All @@ -149,7 +149,7 @@
"terser-webpack-plugin": "^2.3.5",
"typescript": "5.3.3",
"url-loader": "^2.1.0",
"vite": "5.0.5",
"vite": "5.3.2",
"vitest": "1.2.2",
"vitest-when": "0.3.1",
"wait-on": "^4.0.2",
Expand Down
7 changes: 4 additions & 3 deletions protocol-designer/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ import lostCss from 'lost'
import { versionForProject } from '../scripts/git-version.mjs'
import type { UserConfig } from 'vite'

const testAliases: {} | { 'file-saver': string } =
const testAliases: Record<string, unknown> | { 'file-saver': string } =
process.env.CYPRESS === '1'
? {
'file-saver':
path.resolve(__dirname, 'cypress/mocks/file-saver.js') ?? '',
}
: {}

// eslint-disable-next-line import/no-default-export
export default defineConfig(
async (): Promise<UserConfig> => {
const OT_PD_VERSION = await versionForProject('protocol-designer')
Expand Down Expand Up @@ -71,8 +72,8 @@ export default defineConfig(
},
},
server: {
port: 5178
}
port: 5178,
},
}
}
)
2 changes: 1 addition & 1 deletion shared-data/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"errors",
"liquid/types",
"commandAnnotation/types",
"vite.config.ts"
"vite.config.mts"
]
}
File renamed without changes.
1 change: 1 addition & 0 deletions tsconfig-eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"usb-bridge/node-client/src",
"**/*.js",
"**/*.ts",
"**/*.mts",
"*.js",
".*.js",
"**/*.json"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// <reference types="vite/client" />
import path from 'path'
import { configDefaults, defineConfig, mergeConfig } from 'vitest/config'
import viteConfig from './vite.config'
import viteConfig from './vite.config.mts'

// eslint-disable-next-line import/no-default-export
export default mergeConfig(
Expand Down
157 changes: 156 additions & 1 deletion yarn.lock

Large diffs are not rendered by default.

Loading