Skip to content

Commit d78a5ab

Browse files
committed
Merge #160: chore: update dependencies and fix Svelte 5 reactivity warnings
4170be6 chore: update generated blog metadata (Jose Celano) f958b4b fix: move ignores to separate config object in eslint (Jose Celano) cf5b576 style: fix prettier formatting issues (Jose Celano) a2eef1c chore: suppress intentional Toc.svelte warning in build output (Jose Celano) b214c48 fix: add prerender flag to api endpoint (Jose Celano) 2d8a073 fix: resolve Svelte 5 reactivity warnings (Jose Celano) 337f6ec chore: update dependencies (Jose Celano) Pull request description: ## Summary This PR updates npm dependencies and resolves Svelte 5 reactivity warnings across the codebase. ## Changes ### Dependency Updates - Updated 171 packages via `npm update` - Major updates include esbuild, Babel packages, and various @sveltejs packages - Security: 36 vulnerabilities remain (primarily in vite-plugin-imagemin dependency chain) ### Svelte 5 Reactivity Fixes Fixed 41 reactivity warnings by properly using `$derived()` rune for prop-dependent computed values: - Updated 9 component files (Button, Cards, RelatedCard, TagCard, BlogPostCard, BlogPreview, CodeBlock, RelatedPostCard, molecule TagCard) - Updated 21 blog post pages - Refactored blog list page filtering to use reactive patterns - Updated contributor layout **Note:** One intentional warning remains in Toc.svelte where the selector is intentionally captured at initialization time for the @melt-ui/svelte library. ## Testing - ✅ `npm run check` passes (0 errors, 1 documented warning) - ✅ `npm run dev` runs with clean output - ⚠️ Pre-existing build error with /api route (unrelated to these changes) ## Additional Notes See open Snyk PRs (#154, #153, #149, #148, #97) for additional dependency updates that require manual package.json modifications. ACKs for top commit: josecelano: ACK 4170be6 Tree-SHA512: 196a544297e140a680e5bb84fdea5c5fcc62a5a994870be50a3eb30844f4c29025a040d852b9e3de56e15da698345a144ce70a1ec7b1382bb096a01db5c71b2e
2 parents 3073dfd + 4170be6 commit d78a5ab

File tree

40 files changed

+3097
-2676
lines changed

40 files changed

+3097
-2676
lines changed

eslint.config.js

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ import typescriptEslintPlugin from '@typescript-eslint/eslint-plugin';
88
export default [
99
jsConfigs.configs.recommended,
1010

11+
{
12+
ignores: [
13+
'node_modules/',
14+
'build/',
15+
'.svelte-kit/',
16+
'.svelte-kit/output/',
17+
'.env',
18+
'package-lock.json'
19+
]
20+
},
21+
1122
{
1223
languageOptions: {
1324
parser: typescriptParser,
@@ -23,14 +34,6 @@ export default [
2334
console: 'readonly'
2435
}
2536
},
26-
ignores: [
27-
'node_modules/',
28-
'build/',
29-
'.svelte-kit/',
30-
'.svelte-kit/output/',
31-
'.env',
32-
'package-lock.json'
33-
],
3437
rules: {
3538
'@typescript-eslint/require-await': 'off',
3639
'prettier/prettier': 'error',

0 commit comments

Comments
 (0)