Skip to content

Commit

Permalink
Fix prettier, bump packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mrruby committed Dec 8, 2023
1 parent b41609c commit ce79f01
Show file tree
Hide file tree
Showing 27 changed files with 710 additions and 529 deletions.
2 changes: 1 addition & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"*.{js,ts,svelte,postcss,json}": ["eslint", "prettier --write --plugin-search-dir=."]
"*.{js,ts,svelte,postcss,json}": ["eslint", "prettier --write ."]
}
3 changes: 1 addition & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
"overrides": [
{
"files": "*.svelte",
Expand Down
48 changes: 25 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,42 @@
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write .",
"lint": "prettier . --check . && eslint .",
"format": "prettier . --write .",
"prepare": "husky install"
},
"devDependencies": {
"@sveltejs/adapter-static": "^2.0.3",
"@sveltejs/kit": "^1.20.4",
"@types/chrome": "^0.0.250",
"@types/file-saver": "^2.0.6",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@sveltejs/kit": "^1.27.7",
"@types/chrome": "^0.0.254",
"@types/file-saver": "^2.0.7",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"autoprefixer": "^10.4.16",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte": "^2.30.0",
"husky": "^8.0.0",
"lint-staged": "^15.0.2",
"postcss": "^8.4.31",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.10.1",
"svelte-check": "^3.4.3",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^4.4.2"
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"postcss": "^8.4.32",
"prettier": "^3.1.0",
"prettier-plugin-svelte": "^3.1.2",
"prettier-plugin-tailwindcss": "^0.5.9",
"svelte-check": "^3.6.2",
"svelte-file-dropzone": "^2.0.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^4.5.1"
},
"type": "module",
"dependencies": {
"@tanstack/svelte-query": "^5.8.1",
"@tanstack/svelte-query": "^5.13.2",
"clsx": "^2.0.0",
"file-saver": "^2.0.5",
"hcSeedBundle": "git+https://github.com/mrruby/hcSeedBundle",
"hcSeedBundle": "github:mrruby/hcSeedBundle",
"jszip": "^3.10.1",
"svelte": "^4.0.5",
"tailwindcss": "^3.3.3",
"svelte": "^4.2.8",
"tailwindcss": "^3.3.6",
"tiny-glob": "^0.2.9",
"zod": "^3.22.4"
}
Expand Down
Loading

0 comments on commit ce79f01

Please sign in to comment.