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

Dependencies #143

Merged
merged 4 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .eslintignore

This file was deleted.

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

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ node_modules
.env
.env.*
!.env.example
.vercel
.output
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

Expand Down
8 changes: 2 additions & 6 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run format
# npm run lint
# npm run test
# npm run check
npm test
npm run lint
25 changes: 25 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import eslintPluginSvelte from 'eslint-plugin-svelte';
export default [
// add more generic rule sets here, such as:
// js.configs.recommended,
...eslintPluginSvelte.configs['flat/recommended'],
{
ignores: [
'.DS_Store',
'node_modules',
'/build',
'/.svelte-kit',
'/package',
'.env',
'.env.*',
'!.env.example',
'pnpm-lock.yaml',
'package-lock.json',
'yarn.lock'
],
rules: {
// override/add rules settings here, such as:
// 'svelte/rule-name': 'error'
}
}
];
6 changes: 4 additions & 2 deletions jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true
"strict": true,
"moduleResolution": "bundler"
}
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
// except $lib which is handled by https://kit.svelte.dev/docs/configuration#files
//
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
// from the referenced tsconfig.json - TypeScript does not merge them in
Expand Down
41 changes: 21 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,60 +10,61 @@
"pnpm": ">=8"
},
"private": true,
"packageManager": "pnpm@8.14.1",
"packageManager": "pnpm@8.15.5",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
"test": "playwright test",
"test:unit": "vitest",
"test": "npm run test:integration",
"lint": "prettier --check . && eslint .",
"format": "prettier --write .",
"test:integration": "playwright test",
"test:unit": "vitest",
"commit": "cz",
"prepare": "svelte-kit sync && husky install",
"prepare": "svelte-kit sync && husky",
"prebuild": "node ./src/lib/downloadPostsPagesAssets.mjs",
"postbuild": "jampack ./build",
"clean": "rm -Rf static/files/* && touch static/files/.gitkeep && rm -Rf src/pages/* && touch src/pages/.gitkeep && rm -Rf src/posts/* && touch src/posts/.gitkeep"
},
"devDependencies": {
"@divriots/jampack": "^0.23.3",
"@playwright/test": "^1.42.1",
"@divriots/jampack": "^0.23.4",
"@playwright/test": "^1.43.0",
"@skeletonlabs/skeleton": "^2.9.0",
"@skeletonlabs/tw-plugin": "^0.3.1",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.4",
"@sveltejs/kit": "^2.5.5",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@tailwindcss/typography": "^0.5.10",
"autoprefixer": "^10.4.18",
"@tailwindcss/typography": "^0.5.12",
"autoprefixer": "^10.4.19",
"cheerio": "1.0.0-rc.12",
"dompurify": "^3.0.9",
"eslint": "^8.57.0",
"dompurify": "^3.1.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"eslint-plugin-svelte": "^2.36.0",
"husky": "^9.0.11",
"js-yaml": "^4.1.0",
"jsdom": "^24.0.0",
"mdsvex": "^0.11.0",
"node-fetch": "^3.3.2",
"postcss": "^8.4.36",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-svelte": "^3.2.2",
"prettier-plugin-tailwindcss": "^0.5.12",
"prettier-plugin-tailwindcss": "^0.5.13",
"rehype-autolink-headings": "^7.1.0",
"rehype-external-links": "^3.0.0",
"rehype-slug": "^6.0.0",
"remark-captions": "^2.2.3",
"svelte": "^4.2.12",
"svelte-check": "^3.6.7",
"svelte-maplibre": "^0.8.2",
"tailwindcss": "^3.4.1",
"svelte-check": "^3.6.9",
"svelte-maplibre": "^0.8.3",
"tailwindcss": "^3.4.3",
"turndown": "^7.1.3",
"typescript": "^5.4.2",
"vite": "^5.1.6",
"vite-plugin-tailwind-purgecss": "^0.2.0",
"typescript": "^5.4.4",
"vite": "^5.2.8",
"vite-plugin-tailwind-purgecss": "^0.2.1",
"vitest": "^1.4.0",
"xml2js": "^0.6.2"
},
Expand Down
Loading
Loading