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

Upgrade to Svelte 4 #3543

Merged
merged 51 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
27ea2aa
Run migration script on `web-local`
ericpgreen2 Nov 22, 2023
36db68d
Run migration script on `web-common`
ericpgreen2 Nov 22, 2023
2d22aae
Run migration script on `web-admin`
ericpgreen2 Nov 22, 2023
28330ac
Run migration script on `web-auth`
ericpgreen2 Nov 22, 2023
74a3fd0
Fix prettier
ericpgreen2 Nov 22, 2023
b04c702
Migrate to new `eslint` package
ericpgreen2 Nov 22, 2023
c5f87de
Adjust `tsconfig.json` per SvelteKit recommendation
ericpgreen2 Nov 22, 2023
6d760fa
Fix `eslint` issues
ericpgreen2 Nov 22, 2023
20d335f
Update `testing-library/svelte`
ericpgreen2 Nov 22, 2023
fd6801c
Simplify `web-common` svelte config
ericpgreen2 Nov 26, 2023
c74bf15
Upgrade TanStack fork
ericpgreen2 Nov 26, 2023
f2dcb7d
Explicitly set `tailwind` and `autoprefixer` dependencies
ericpgreen2 Nov 26, 2023
8c3412a
Update `@tanstack/svelte-table`
ericpgreen2 Nov 26, 2023
c6844fd
Update `svelte-preprocess`
ericpgreen2 Nov 26, 2023
dae4c37
Update `storybook`
ericpgreen2 Nov 26, 2023
ed5c7a0
Update forked TanStack in `web-local`
ericpgreen2 Nov 26, 2023
743ce79
Merge branch 'main' into upgrade-to-svelte-4
ericpgreen2 Nov 29, 2023
91b7126
Update `web-common/package-lock.json`
ericpgreen2 Nov 29, 2023
8596c4b
Update `web-common/package-lock.json`
ericpgreen2 Nov 29, 2023
d85808f
Add svelte override for `svelte-headlessui`
ericpgreen2 Nov 29, 2023
e5d58ea
Add svelte override for `@tanstack/svelte-virtual`
ericpgreen2 Nov 29, 2023
519f76b
Remove `jest`
ericpgreen2 Dec 4, 2023
8b61c60
Merge branch 'main' into upgrade-to-svelte-4
ericpgreen2 Dec 4, 2023
719c8a0
Merge branch 'remove-jest' into upgrade-to-svelte-4
ericpgreen2 Dec 4, 2023
7a4f3bc
Add missing `jsdom` dependency
ericpgreen2 Dec 4, 2023
5992b6e
Re-generate `package-lock.json`
ericpgreen2 Dec 4, 2023
602f757
Regenerate `package-lock.json`
ericpgreen2 Dec 4, 2023
1f4880e
Bump version of Rill's TanStack Query
ericpgreen2 Dec 4, 2023
4ed508a
Merge branch 'main' into upgrade-to-svelte-4
ericpgreen2 Dec 4, 2023
3c8f571
Fix issue with collapsible header
ericpgreen2 Dec 4, 2023
c65bfb3
Remove old embedded sources code
ericpgreen2 Dec 6, 2023
882bbda
Add ARIA roles
ericpgreen2 Dec 6, 2023
cedd1ea
eslint fixes
ericpgreen2 Dec 6, 2023
660e826
Add ARIA role
ericpgreen2 Dec 6, 2023
7223d01
Merge branch 'main' into upgrade-to-svelte-4
ericpgreen2 Dec 6, 2023
6ca372a
Fix prettier
ericpgreen2 Dec 6, 2023
6dabcdf
Fix `svelte-check`
ericpgreen2 Dec 6, 2023
8e19d9f
Remove Svelte3 vite config hack
ericpgreen2 Dec 7, 2023
ab32449
Merge branch 'main' into upgrade-to-svelte-4
ericpgreen2 Dec 7, 2023
3c43eb1
Explicitly add `prettier-plugin-svelte` to `web-common`
ericpgreen2 Dec 7, 2023
0902116
Fix prettier
ericpgreen2 Dec 7, 2023
0d5423a
Fix headers
ericpgreen2 Dec 7, 2023
88f20c9
Pass slot props explicitly to `floating-element` slot
ericpgreen2 Dec 8, 2023
85f6765
Skip failing tests for unused component
ericpgreen2 Dec 8, 2023
70ca9ad
Refactor `timeseries-data-store` for Svelte 4 (#3664)
djbarnwal Dec 8, 2023
7f39e99
Temporarily skip failing unit tests
ericpgreen2 Dec 9, 2023
850f0b9
Fix `onMount` not called under `vitest`
ericpgreen2 Dec 10, 2023
49a0eae
Use `@bufbuild/protobuf`'s base64 encoding/decoding
ericpgreen2 Dec 11, 2023
b3d49c5
Re-enable `ButtonGroup` unit tests
ericpgreen2 Dec 11, 2023
0da0bbc
Merge branch 'main' into upgrade-to-svelte-4
ericpgreen2 Dec 11, 2023
475a21e
Upgrade `svelte-virtual`
ericpgreen2 Dec 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
web-admin/build
web-local/build
22 changes: 15 additions & 7 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,29 +1,37 @@
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
'plugin:svelte/recommended',
"prettier",
],
plugins: ["svelte3", "@typescript-eslint"],
ignorePatterns: ["*.cjs"],
overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }],
settings: {
"svelte3/typescript": () => require("typescript"),
},
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
parserOptions: {
sourceType: "module",
ecmaVersion: 2019,
extraFileExtensions: [".svelte"],
},
env: {
browser: true,
es2017: true,
node: true,
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser'
}
}
],
ignorePatterns: ["*.cjs"],
rules: {
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
"@typescript-eslint/ban-ts-comment": "warn",
"svelte/no-at-html-tags": "warn",
},
};
Loading