Skip to content

Commit 080b49f

Browse files
Copilotejsmith
andauthored
Migrate to Vite 8 stable and update all frontend deps to latest (#2152)
* Initial plan * Update to Vite 8 final and latest dependencies Co-authored-by: ejsmith <282584+ejsmith@users.noreply.github.com> * Update all deps to latest, fix eslint 10 compatibility, fix formatting Co-authored-by: ejsmith <282584+ejsmith@users.noreply.github.com> * Fix oxfmt endOfLine: change crlf to lf to match .gitattributes normalization Co-authored-by: ejsmith <282584+ejsmith@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ejsmith <282584+ejsmith@users.noreply.github.com>
1 parent 0d44956 commit 080b49f

7 files changed

Lines changed: 1614 additions & 1493 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
engine-strict=true
2+
legacy-peer-deps=true

src/Exceptionless.Web/ClientApp/.oxfmtrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"printWidth": 160,
44
"singleQuote": true,
55
"trailingComma": "none",
6-
"endOfLine": "crlf",
6+
"endOfLine": "lf",
77
"ignorePatterns": []
88
}

src/Exceptionless.Web/ClientApp/eslint.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ export default ts.config(
3535
parserOptions: {
3636
parser: ts.parser
3737
}
38+
},
39+
rules: {
40+
'no-useless-assignment': 'off'
3841
}
3942
},
4043
{

src/Exceptionless.Web/ClientApp/package-lock.json

Lines changed: 1558 additions & 1446 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Exceptionless.Web/ClientApp/package.json

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -31,81 +31,81 @@
3131
"dependencies": {
3232
"@exceptionless/browser": "^3.1.0",
3333
"@exceptionless/fetchclient": "^0.44.0",
34-
"@internationalized/date": "^3.11.0",
35-
"@lucide/svelte": "^0.564.0",
36-
"@tanstack/svelte-form": "^1.28.3",
37-
"@tanstack/svelte-query": "^6.0.18",
34+
"@internationalized/date": "^3.12.0",
35+
"@lucide/svelte": "^0.577.0",
36+
"@tanstack/svelte-form": "^1.28.5",
37+
"@tanstack/svelte-query": "^6.1.3",
3838
"@tanstack/svelte-query-devtools": "^6.0.4",
3939
"@tanstack/svelte-table": "^9.0.0-alpha.10",
4040
"@types/d3-scale": "^4.0.9",
4141
"@types/d3-shape": "^3.1.8",
42-
"bits-ui": "^2.15.5",
42+
"bits-ui": "^2.16.3",
4343
"clsx": "^2.1.1",
4444
"d3-scale": "^4.0.2",
45-
"dompurify": "^3.3.1",
45+
"dompurify": "^3.3.3",
4646
"kit-query-params": "^0.0.26",
47-
"layerchart": "^2.0.0-next.44",
47+
"layerchart": "^2.0.0-next.46",
4848
"mode-watcher": "^1.1.0",
49-
"oidc-client-ts": "^3.4.1",
49+
"oidc-client-ts": "^3.5.0",
5050
"pretty-ms": "^9.3.0",
5151
"runed": "^0.37.1",
52-
"shiki": "^3.22.0",
53-
"svelte-sonner": "^1.0.7",
52+
"shiki": "^4.0.2",
53+
"svelte-sonner": "^1.1.0",
5454
"svelte-time": "^2.1.0",
55-
"tailwind-merge": "^3.4.1",
55+
"tailwind-merge": "^3.5.0",
5656
"tailwind-variants": "^3.2.2",
57-
"tailwindcss": "^4.1.18",
57+
"tailwindcss": "^4.2.2",
5858
"throttle-debounce": "^5.0.2",
5959
"tw-animate-css": "^1.4.0"
6060
},
6161
"devDependencies": {
62-
"@chromatic-com/storybook": "^5.0.1",
63-
"@eslint/compat": "^2.0.2",
64-
"@eslint/js": "^9.39.2",
65-
"@iconify-json/lucide": "^1.2.90",
62+
"@chromatic-com/storybook": "^5.0.2",
63+
"@eslint/compat": "^2.0.3",
64+
"@eslint/js": "^10.0.1",
65+
"@iconify-json/lucide": "^1.2.98",
6666
"@playwright/test": "^1.58.2",
67-
"@storybook/addon-a11y": "^10.2.8",
68-
"@storybook/addon-docs": "^10.2.8",
69-
"@storybook/addon-svelte-csf": "^5.0.11",
70-
"@storybook/sveltekit": "^10.2.8",
67+
"@storybook/addon-a11y": "^10.3.0",
68+
"@storybook/addon-docs": "^10.3.0",
69+
"@storybook/addon-svelte-csf": "^5.0.12",
70+
"@storybook/sveltekit": "^10.3.0",
7171
"@sveltejs/adapter-static": "^3.0.10",
72-
"@sveltejs/kit": "^2.52.0",
73-
"@sveltejs/vite-plugin-svelte": "^6.2.4",
74-
"@tailwindcss/vite": "^4.1.18",
75-
"@tanstack/eslint-plugin-query": "^5.91.4",
72+
"@sveltejs/kit": "^2.55.0",
73+
"@sveltejs/vite-plugin-svelte": "^7.0.0",
74+
"@tailwindcss/vite": "^4.2.2",
75+
"@tanstack/eslint-plugin-query": "^5.91.5",
7676
"@testing-library/jest-dom": "^6.9.1",
7777
"@testing-library/svelte": "^5.3.1",
7878
"@types/eslint": "^9.6.1",
79-
"@types/node": "^25.2.3",
79+
"@types/node": "^25.5.0",
8080
"@types/throttle-debounce": "^5.0.2",
8181
"cross-env": "^10.1.0",
82-
"eslint": "^9.39.2",
82+
"eslint": "^10.0.3",
8383
"eslint-config-prettier": "^10.1.8",
84-
"eslint-plugin-oxlint": "^1.48.0",
85-
"eslint-plugin-perfectionist": "^5.5.0",
86-
"eslint-plugin-storybook": "^10.2.8",
87-
"eslint-plugin-svelte": "^3.15.0",
88-
"jsdom": "^28.1.0",
89-
"oxfmt": "^0.33.0",
90-
"oxlint": "^1.48.0",
84+
"eslint-plugin-oxlint": "^1.56.0",
85+
"eslint-plugin-perfectionist": "^5.7.0",
86+
"eslint-plugin-storybook": "^10.3.0",
87+
"eslint-plugin-svelte": "^3.15.2",
88+
"globals": "^17.4.0",
89+
"jsdom": "^29.0.0",
90+
"oxfmt": "^0.41.0",
91+
"oxlint": "^1.56.0",
9192
"prettier": "^3.8.1",
92-
"prettier-plugin-svelte": "^3.4.1",
93+
"prettier-plugin-svelte": "^3.5.1",
9394
"prettier-plugin-tailwindcss": "^0.7.2",
94-
"storybook": "^10.2.8",
95-
"svelte": "^5.51.2",
96-
"svelte-check": "^4.4.0",
97-
"swagger-typescript-api": "^13.2.18",
95+
"storybook": "^10.3.0",
96+
"svelte": "^5.54.0",
97+
"svelte-check": "^4.4.5",
98+
"swagger-typescript-api": "^13.6.5",
9899
"tslib": "^2.8.1",
99100
"typescript": "^5.9.3",
100-
"typescript-eslint": "^8.56.0",
101-
"vite": "npm:rolldown-vite@latest",
102-
"vite-plugin-oxlint": "^1.6.0",
103-
"vitest": "4.0.18",
101+
"typescript-eslint": "^8.57.1",
102+
"vite": "^8.0.1",
103+
"vite-plugin-oxlint": "^2.0.1",
104+
"vitest": "^4.1.0",
104105
"vitest-websocket-mock": "^0.5.0",
105106
"zod": "^4.3.6"
106107
},
107108
"overrides": {
108-
"storybook": "$storybook",
109-
"vite": "npm:rolldown-vite@latest"
109+
"storybook": "$storybook"
110110
}
111111
}

src/Exceptionless.Web/ClientApp/src/lib/features/auth/schemas.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ export { type SignupFormData, SignupSchema } from '$generated/schemas';
77
// In dev mode, allow addresses like test@localhost (no TLD required)
88
export const LoginSchema = dev
99
? GeneratedLoginSchema.extend({
10-
email: string().min(1, 'Email is required').regex(/^[^\s@]+@[^\s@]+$/, 'Please enter a valid email address')
10+
email: string()
11+
.min(1, 'Email is required')
12+
.regex(/^[^\s@]+@[^\s@]+$/, 'Please enter a valid email address')
1113
})
1214
: GeneratedLoginSchema;
1315
export type LoginFormData = Infer<typeof GeneratedLoginSchema>;

src/Exceptionless.Web/ClientApp/src/routes/(auth)/login/+page.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@
9898
<form.Field name="password">
9999
{#snippet children(field)}
100100
<Field.Field data-invalid={ariaInvalid(field)}>
101-
<Field.Label for={field.name}>Password <Muted class="float-right"><A href={resolve('/(auth)/forgot-password')} tabindex={6}>Forgot password?</A></Muted></Field.Label>
101+
<Field.Label for={field.name}
102+
>Password <Muted class="float-right"><A href={resolve('/(auth)/forgot-password')} tabindex={6}>Forgot password?</A></Muted
103+
></Field.Label
104+
>
102105
<Input
103106
id={field.name}
104107
name={field.name}

0 commit comments

Comments
 (0)