Skip to content

Commit

Permalink
Deps (#211)
Browse files Browse the repository at this point in the history
* Update dependencies, move to biome

* Add biome config

* Update other depencies, remove headless-ui, bare minimum chages to make svelte5 work
  • Loading branch information
erskingardner authored Feb 3, 2025
1 parent 33f0660 commit d170f3b
Show file tree
Hide file tree
Showing 27 changed files with 1,357 additions and 2,716 deletions.
13 changes: 0 additions & 13 deletions .eslintignore

This file was deleted.

20 changes: 0 additions & 20 deletions .eslintrc.cjs

This file was deleted.

13 changes: 0 additions & 13 deletions .prettierignore

This file was deleted.

20 changes: 0 additions & 20 deletions .prettierrc

This file was deleted.

69 changes: 69 additions & 0 deletions biome.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"ignore": [
"**/.DS_Store",
"**/node_modules/**",
"./build/**",
"./.svelte-kit/**",
"./package/**",
"**/.env",
"**/.env.*",
"*.d.ts"
]
},
"formatter": {
"enabled": true,
"useEditorconfig": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 4,
"lineEnding": "lf",
"lineWidth": 100,
"attributePosition": "auto",
"bracketSpacing": true
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "es5",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSameLine": false,
"quoteStyle": "double",
"attributePosition": "auto",
"bracketSpacing": true
}
},
"overrides": [
{
"include": [
"*.svelte"
],
"linter": {
"rules": {
"style": {
"useConst": "off",
"useImportType": "off"
}
}
}
}
]
}
47 changes: 20 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,32 @@
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "pnpm exec eslint .",
"format-check": "pnpm exec prettier -c --no-editorconfig .",
"format-write": "pnpm exec prettier -w --no-editorconfig ."
"lint-check": "pnpm biome lint",
"lint-write": "pnpm biome lint --write",
"format-check": "pnpm biome format",
"format-write": "pnpm biome format --write"
},
"devDependencies": {
"@rgossiaux/svelte-headlessui": "^2.0.0",
"@sveltejs/kit": "^2.5.8",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.13",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"autoprefixer": "^10.4.19",
"eslint": "^9.2.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte3": "^4.0.0",
"mdsvex": "^0.11.0",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.3",
"svelte": "^4.2.19",
"svelte-check": "^3.7.1",
"tailwindcss": "^3.4.3",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vite": "^5.2.14"
"@biomejs/biome": "1.9.4",
"@sveltejs/kit": "^2.16.1",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/postcss": "^4.0.3",
"@tailwindcss/typography": "^0.5.16",
"mdsvex": "^0.12.3",
"postcss": "^8.5.1",
"svelte": "^5.19.6",
"svelte-check": "^4.1.4",
"tailwindcss": "^4.0.3",
"tslib": "^2.8.1",
"typescript": "^5.7.3",
"vite": "^6.0.11"
},
"type": "module",
"dependencies": {
"@sveltejs/adapter-vercel": "^5.3.0",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@sveltejs/adapter-vercel": "^5.5.3",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"rehype-external-links": "^3.0.0",
"svelte-i18n": "^4.0.0",
"svelte-i18n": "^4.0.1",
"unist-util-visit": "^5.0.0"
}
}
Loading

0 comments on commit d170f3b

Please sign in to comment.