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

Svelte 5 #2450

Draft
wants to merge 30 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
492f055
WIP. need to fix erroboundary and allllllll the type checks.
Alex-Tideman Nov 25, 2024
93da6a8
Upgrade necessary libraries, get errors down. Still have a few to go …
Alex-Tideman Dec 2, 2024
589b8b7
Try a new linter version
Alex-Tideman Dec 3, 2024
23f135e
Update vi.mock for esm-env
Alex-Tideman Dec 3, 2024
de0b764
More updates based on type errors
Alex-Tideman Dec 3, 2024
2bb92b8
Add ErrorBoundary
Alex-Tideman Dec 3, 2024
5104ee9
Fix merge conflicts
Alex-Tideman Dec 4, 2024
3135755
Bump svelte, make error w-full
Alex-Tideman Dec 4, 2024
d448723
Fix class prop with Icon. Upgrade storybook-svelte. No more errors
Alex-Tideman Dec 16, 2024
5643eaa
Fix merge conflicts with main
Alex-Tideman Jan 8, 2025
b0dca30
Add husky back
Alex-Tideman Jan 8, 2025
f70a5b6
Merge main again
Alex-Tideman Jan 8, 2025
b162945
Fix packages
Alex-Tideman Jan 8, 2025
d8c000c
One last type to fix
Alex-Tideman Jan 8, 2025
edbecae
Ignore error-boundary for now
Alex-Tideman Jan 8, 2025
ae546e3
update checkbox to runes mode
rossedfort Jan 15, 2025
18051f0
Change and add Props
laurakwhit Jan 21, 2025
8ee5f73
Merge branch 'main' into svelte5
laurakwhit Jan 21, 2025
29e222c
Fix errors from using UI package
laurakwhit Jan 22, 2025
918eb84
Update Holocene components
laurakwhit Jan 23, 2025
5b154cc
Merge branch 'main' into svelte5
laurakwhit Jan 28, 2025
d7cda6b
First pass fix errors due to Holocene update
laurakwhit Jan 28, 2025
bd2faa4
Merge main
Alex-Tideman Jan 29, 2025
afdc41b
Fix paginated tables and combobox
Alex-Tideman Jan 29, 2025
73945ee
Fix all the table snippets
Alex-Tideman Jan 29, 2025
6c641b7
fix button types and storybook, also fix incorrect usages of button
rossedfort Jan 30, 2025
b337a43
undo "incorrect" button fixes
rossedfort Jan 30, 2025
e4bbb63
fix combobox types
rossedfort Jan 31, 2025
e7abd8e
fix toggle button types
rossedfort Jan 31, 2025
b2a6cb5
refactor toaster/toast and fix stories
rossedfort Feb 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
'plugin:storybook/recommended',
],
plugins: ['svelte', '@typescript-eslint', 'vitest', 'import'],
ignorePatterns: ['**/*.cjs', '/server'],
ignorePatterns: ['**/*.cjs', '/server', '**/error-boundary.svelte'],
overrides: [
{
files: ['src/**/*.svelte'],
Expand All @@ -27,6 +27,9 @@ module.exports = {
extraFileExtensions: ['.svelte'],
sourceType: 'module',
ecmaVersion: 2019,
svelteFeatures: {
experimentalGenerics: true,
},
},
env: {
browser: true,
Expand Down
4 changes: 2 additions & 2 deletions .vscode/temporal-ui.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"Playwright Test": {
"prefix": "pwt",
"body": ["test('${1}', async ({ page }) => {", " $0", "});"],
"description": "useState()"
}
"description": "useState()",
},
}
33 changes: 16 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,16 @@
"@codemirror/legacy-modes": "^6.4.0",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.29.0",
"@crownframework/svelte-error-boundary": "^1.0.3",
"@fontsource-variable/inter": "^5.0.8",
"@fontsource/noto-sans-mono": "^5.0.9",
"@lezer/highlight": "^1.1.3",
"@storybook/addon-actions": "^8.4.7",
"@sveltejs/package": "^2.2.6",
"@sveltejs/package": "^2.3.7",
"@sveltejs/svelte-virtual-list": "^3.0.1",
"class-variance-authority": "^0.7.0",
"date-fns": "^2.29.3",
"date-fns-tz": "^1.3.7",
"esm-env": "^1.0.0",
"esm-env": "^1.2.1",
"hast-util-sanitize": "^5.0.1",
"hast-util-to-html": "^9.0.1",
"hastscript": "^9.0.0",
Expand Down Expand Up @@ -125,7 +124,7 @@
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-interactions": "^8.4.7",
"@storybook/addon-links": "^8.4.7 ",
"@storybook/addon-svelte-csf": "^4.2.0",
"@storybook/addon-svelte-csf": "^5.0.0-next.23",
"@storybook/addon-themes": "^8.4.7",
"@storybook/blocks": "^8.4.7",
"@storybook/icons": "^1.3.0",
Expand All @@ -135,8 +134,8 @@
"@storybook/test-runner": "^0.21.0",
"@sveltejs/adapter-static": "^3.0.0",
"@sveltejs/adapter-vercel": "^4.0.0",
"@sveltejs/kit": "^2.5.0",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@sveltejs/kit": "^2.5.27",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@temporalio/activity": "1.11.6",
"@temporalio/client": "1.11.6",
"@temporalio/common": "1.11.6",
Expand Down Expand Up @@ -173,7 +172,7 @@
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-playwright": "^0.15.3",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-svelte": "^2.33.0",
"eslint-plugin-svelte": "^2.46.1",
"eslint-plugin-vitest": "^0.2.8",
"esno": "^0.16.3",
"express": "^4.18.2",
Expand All @@ -192,8 +191,8 @@
"postcss-html": "^1.5.0",
"postcss-import": "^14.1.0",
"postcss-load-config": "^3.1.4",
"prettier": "^3.0.3",
"prettier-plugin-svelte": "^3.0.3",
"prettier": "^3.1.0",
"prettier-plugin-svelte": "^3.3.2",
"prettier-plugin-tailwindcss": "^0.5.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand All @@ -209,21 +208,21 @@
"stylelint": "^15.10.3",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-standard": "^34.0.0",
"svelte": "^4.0.0",
"svelte-check": "^3.5.0",
"svelte-eslint-parser": "^0.33.0",
"svelte": "^5.5.4",
"svelte-check": "^4.1.1",
"svelte-eslint-parser": "^0.42.0",
"svelte-highlight": "^3.4.0",
"svelte-loader": "^3.1.4",
"svelte-preprocess": "^5.0.4",
"svelte2tsx": "^0.6.21",
"svelte-loader": "^3.2.3",
"svelte-preprocess": "^6.0.0",
"svelte2tsx": "^0.6.27",
"tailwindcss": "^3.4.1",
"tar-fs": "^2.1.1",
"ts-node": "^10.9.1",
"ts-proto": "^1.138.0",
"tslib": "^2.4.1",
"typescript": "^5.2.2",
"typescript": "^5.5.0",
"unist-util-visit": "^5.0.0",
"vite": "^5.0.12",
"vite": "^5.4.4",
"vite-node": "^0.23.4",
"vitest": "^1.6.0",
"vitest-localstorage-mock": "^0.1.2",
Expand Down
Loading