Skip to content

Commit

Permalink
Upgrade to Svelte 5 (#1636)
Browse files Browse the repository at this point in the history
* Updated to svelte5 dep

* added link resources

* updated client hooks

* Commented out legos

* removed unused code

* added temp tanstack svelte5 adaptor from pr

* WIP rework data tables for svelte5

* Updated svelte

* Temp impl for svelte persisted store

https://twitter.com/puruvjdev/status/1787037268143689894/photo/1
joshnuss/svelte-persisted-store#251

* WIP Runes

* More svelte 5 conversion

* Updated package json

* WIP Svelte 5 work

* Upgraded typography components to runes and use new snippets and props

* More runes work

* More Svelte 5 work

* Updated facet filters to runes

* Upgraded to @exceptionless/fetchclient

* Updated deps

* Upgraded to latest fetch client

* Updated shad

* Upgrade to eslint 9

https://github.com/sveltejs/kit/pull/12268/files

* fixed invalid ref

* Converted slots

* Updated deps

* Added some snippets

* WIP Dashboard

* Updated tailwind

* Fixed copy

* Fixed slots

* Updated deps

* Updated data tables and summaries

* More conversion

* Updated deps

* Converted all components to runes

* Some dispatch changes

* WIP: Dispatch Changes

* Updated deps

* more dispatch work

* Fixed linting errors

* Updated svelte

* Updated shad

* Updated typescript

* Updated deps

* Fixed fetch client

* Fixed svelte errors.

* added conditional icon check

* Update deps

* WIP: Use svelte-query-runes

TanStack/query#6981

* WIP - Reworked snippets and some other fixes.

* Updated deps

* WIP - Svelte 5 work

* Updated deps

* Updated to latest tanstack table

* WIP: Filter runes work.

* Fixed more errors.

* Updated deps

* Use svelte query pkg

* Updated svelte and vitest

* Fixed svelte query issues, fixed linting issues, fixed eventing.

* Fixed web socket events

* Updated deps

* Fixed some filtering issues

* Fixed persisted store

* Updated packages

* Fixed filter reactivity

* Updated deps

* Updated deps

* fixed svelte query issues

* Use runed media query

* Update deps

* Use runed media query

* Fixed svelte issue with state_unsafe_mutation

sveltejs/svelte#12571

* Ensure all runes are serialized with toJSON

sveltejs/svelte#9639

* Added document visibility store and fixed more upgrades

* Updated deps

* Updated queries

* WIP: Demoting tabs

* Updated deps

* Updates to tab promotion

* Fixed bind warnings

* Updated deps

* Use new svelte query apis

* Updated deps

* Fixed stack promotion

* Fixed grid issues

* Fixed fetch client issues with the login forms

* Added custom auth serializer

* Force package install due to svelte 5 peer deps

* rebuilt lock file

* Update Document Visibility helper to match new runed pattern
  • Loading branch information
niemyjski authored Jul 30, 2024
1 parent 5fb3928 commit 759b855
Show file tree
Hide file tree
Showing 173 changed files with 4,498 additions and 4,628 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
node-version: 20

- name: Install Npm Packages
run: npm ci
run: npm ci --force

- name: Lint Client
run: npm run lint
Expand Down
16 changes: 0 additions & 16 deletions src/Exceptionless.Web/ClientApp/.eslintignore

This file was deleted.

32 changes: 0 additions & 32 deletions src/Exceptionless.Web/ClientApp/.eslintrc.cjs

This file was deleted.

2 changes: 2 additions & 0 deletions src/Exceptionless.Web/ClientApp/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"cmdk",
"colour",
"echarts",
"fetchclient",
"formsnap",
"haserror",
"iconify",
Expand All @@ -16,6 +17,7 @@
"oidc",
"promotedtabs",
"rowclick",
"runed",
"satellizer",
"sessionend",
"shadcn",
Expand Down
33 changes: 33 additions & 0 deletions src/Exceptionless.Web/ClientApp/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import js from '@eslint/js';
import ts from 'typescript-eslint';
import svelte from 'eslint-plugin-svelte';
import prettier from 'eslint-config-prettier';
import globals from 'globals';

/** @type {import('eslint').Linter.FlatConfig[]} */
export default [
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs['flat/recommended'],
prettier,
...svelte.configs['flat/prettier'],
{
languageOptions: {
globals: {
...globals.browser,
...globals.node
}
}
},
{
files: ['**/*.svelte'],
languageOptions: {
parserOptions: {
parser: ts.parser
}
}
},
{
ignores: ['build/', '.svelte-kit/', 'dist/', 'src/lib/components/ui/']
}
];
Loading

0 comments on commit 759b855

Please sign in to comment.