Skip to content

Commit

Permalink
chore: update vite version 5.3.2 (#15739)
Browse files Browse the repository at this point in the history
* chore: update vite version 5.3.2
  • Loading branch information
koji authored Sep 30, 2024
1 parent 2fb61ad commit f4056d0
Show file tree
Hide file tree
Showing 18 changed files with 168 additions and 11 deletions.
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"]
}
File renamed without changes.
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.

0 comments on commit f4056d0

Please sign in to comment.