Skip to content

Commit

Permalink
Svelte 5 compatibility. Dependency updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
kitschpatrol committed Oct 21, 2024
1 parent f2bf681 commit 2e3edfc
Show file tree
Hide file tree
Showing 15 changed files with 1,859 additions and 1,944 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const perfectionistSortOverrides = {
},
groups: [
'value',
['x', 'y', 'z'],
'x',
'y',
'z',
Expand Down Expand Up @@ -107,6 +106,13 @@ module.exports = {
'unicorn/prefer-export-from': 'off'
}
},
{
files: ['HomeDemo.svelte', 'TweakpaneDemo.svelte'],
rules: {
// Overzealous Svelte 5 warning...
'svelte/valid-compile': 'off'
}
},
{
files: ['*.astro'],
rules: {
Expand Down
15 changes: 8 additions & 7 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"license": "MIT",
"engines": {
"node": ">=18.0.0",
"node": ">=18.0.0 <23.0.0",
"pnpm": ">=8.0.0"
},
"scripts": {
Expand All @@ -26,19 +26,20 @@
"validate-links-live": "pnpx linkinator https://kitschpatrol.com/svelte-tweakpane-ui --recurse --verbosity error --retry-errors-count 2 --retry-errors true --retry true --concurrency 1 --timeout 10000 --retry-errors-jitter 50 --skip www.linkedin.com"
},
"dependencies": {
"@astrojs/check": "^0.9.3",
"@astrojs/check": "^0.9.4",
"@astrojs/starlight": "0.25.5",
"@astrojs/svelte": "^5.7.1",
"astro": "^4.15.7",
"@astrojs/svelte": "^5.7.2",
"astro": "^4.16.6",
"github-slugger": "^2.0.0",
"gray-matter": "^4.0.3",
"sharp": "^0.33.5",
"svelte-tweakpane-ui": "link:.."
},
"devDependencies": {
"@playform/compress": "^0.1.1",
"@playform/compress": "^0.1.4",
"linkedom": "^0.18.5",
"linkinator": "^6.1.1",
"marked": "^14.1.2"
"linkinator": "^6.1.2",
"marked": "^14.1.3",
"svelte": "^4.0.0"
}
}
67 changes: 33 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"url": "https://ericmika.com"
},
"license": "MIT",
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.12.2",
"engines": {
"node": ">=18.0.0",
"node": ">=18.0.0 <23.0.0",
"pnpm": ">=9.0.0"
},
"exports": {
Expand Down Expand Up @@ -184,7 +184,6 @@
],
"scripts": {
"build": "pnpm run --sequential /^build:/",
"build:01-sync": "pnpm run check",
"build:02-exports": "tsx ./scripts/generate-exports.ts",
"build:03-add-source-links": "tsx ./scripts/add-source-links.ts",
"build:04-format": "pnpm run format && prettier-config --fix ./readme.md",
Expand Down Expand Up @@ -222,7 +221,7 @@
"type-check": "tsc --noEmit"
},
"peerDependencies": {
"svelte": "^4.0.0"
"svelte": "^4.0.0 || ^5.0.0"
},
"dependencies": {
"@kitschpatrol/tweakpane-plugin-camerakit": "0.3.1-beta.2",
Expand All @@ -236,40 +235,40 @@
"esm-env": "1.0.0",
"fast-copy": "3.0.2",
"fast-equals": "5.0.1",
"nanoid": "5.0.6",
"nanoid": "5.0.7",
"svelte-persisted-store": "0.11.0",
"tweakpane": "4.0.4"
},
"devDependencies": {
"@kitschpatrol/shared-config": "^4.7.10",
"@phenomnomnominal/tsquery": "^6.1.3",
"@playwright/test": "^1.47.1",
"@stkb/rewrap": "^0.1.0",
"@sveltejs/adapter-static": "^3.0.5",
"@sveltejs/kit": "^2.5.28",
"@sveltejs/package": "^2.3.5",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@types/eslint": "^8.56.12",
"@types/fs-extra": "^11.0.4",
"@types/node": "18.0.0",
"bumpp": "^9.5.2",
"eslint": "^8.57.1",
"fs-extra": "^11.2.0",
"glob": "^11.0.0",
"postcss-html": "^1.7.0",
"publint": "^0.2.11",
"read-package-up": "^11.0.0",
"remark-mdat": "^0.7.3",
"svelte": "^4.2.19",
"svelte-check": "^4.0.2",
"svelte-language-server": "^0.17.0",
"svelte2tsx": "^0.7.19",
"ts-morph": "^23.0.0",
"tslib": "^2.7.0",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"vite": "^5.4.6",
"yaml": "^2.5.1"
"@kitschpatrol/shared-config": "4.7.11",
"@phenomnomnominal/tsquery": "6.1.3",
"@playwright/test": "1.48.1",
"@stkb/rewrap": "0.1.0",
"@sveltejs/adapter-static": "3.0.5",
"@sveltejs/kit": "2.7.2",
"@sveltejs/package": "2.3.5",
"@sveltejs/vite-plugin-svelte": "3.1.2",
"@types/eslint": "8.56.12",
"@types/fs-extra": "11.0.4",
"@types/node": "18.19.57",
"bumpp": "9.7.1",
"eslint": "8.57.1",
"fs-extra": "11.2.0",
"glob": "11.0.0",
"postcss-html": "1.7.0",
"publint": "0.2.11",
"read-package-up": "11.0.0",
"remark-mdat": "0.7.3",
"svelte": "4.2.19",
"svelte-check": "4.0.5",
"svelte-language-server": "0.17.0",
"svelte2tsx": "0.7.22",
"ts-morph": "24.0.0",
"tslib": "2.8.0",
"tsx": "4.19.1",
"typescript": "5.6.3",
"vite": "5.4.9",
"yaml": "2.6.0"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit 2e3edfc

Please sign in to comment.