Skip to content

Commit

Permalink
New article and update dependencies (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalwabed authored Jul 5, 2023
1 parent 4c2466c commit 05be02d
Show file tree
Hide file tree
Showing 6 changed files with 632 additions and 492 deletions.
26 changes: 11 additions & 15 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['svelte4', '@typescript-eslint'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier', 'plugin:svelte/recommended'],
plugins: ['@typescript-eslint'],
ignorePatterns: ['*.cjs'],
overrides: [{ files: ['*.svelte'], processor: 'svelte4/svelte4' }],
settings: {
'svelte4/typescript': () => require('typescript'),
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
},
env: {
browser: true,
es2017: true,
node: true,
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
},
},
],
};
37 changes: 19 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,40 @@
"vercel-build": "prisma generate && yarn build",
"coverage": "vitest run --coverage",
"test": "vitest run",
"lint": "prettier --plugin-search-dir . --check . && eslint ."
"lint": "prettier --write --plugin-search-dir=. ./**/*.svelte && eslint 'src/**/*.{ts,svelte}'"
},
"devDependencies": {
"@iconify-json/radix-icons": "^1.1.10",
"@sveltejs/adapter-vercel": "3.0.1",
"@sveltejs/kit": "1.20.5",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"@unocss/preset-rem-to-px": "^0.53.3",
"@unocss/reset": "^0.53.3",
"@vitest/coverage-istanbul": "^0.32.2",
"eslint": "^8.43.0",
"@sveltejs/kit": "1.22.0",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@unocss/preset-rem-to-px": "^0.53.4",
"@unocss/reset": "^0.53.4",
"@vitest/coverage-istanbul": "^0.32.4",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-svelte3": "^4.0.0",
"eslint-plugin-svelte": "^2.32.2",
"gray-matter": "^4.0.3",
"mdsvex": "^0.10.6",
"prettier": "^2.8.8",
"mdsvex": "^0.11.0",
"prettier": "^3.0.0",
"prettier-plugin-svelte": "^2.10.1",
"prisma": "^4.16.1",
"prisma": "^4.16.2",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.1.0",
"svelte": "^4.0.0",
"svelte": "^4.0.4",
"svelte-check": "^3.4.4",
"svelte-eslint-parser": "^0.32.0",
"svelte-preprocess": "^5.0.4",
"tslib": "^2.5.3",
"typescript": "~5.1.3",
"unocss": "^0.53.3",
"tslib": "^2.6.0",
"typescript": "~5.1.6",
"unocss": "^0.53.4",
"vite": "^4.3.9",
"vitest": "^0.32.2"
"vitest": "^0.32.4"
},
"type": "module",
"dependencies": {
"@prisma/client": "^4.16.1",
"@prisma/client": "^4.16.2",
"notie": "^4.3.1"
}
}
Loading

1 comment on commit 05be02d

@vercel
Copy link

@vercel vercel bot commented on 05be02d Jul 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.