Skip to content
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
3 changes: 3 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
needs: check-if-merged
if: needs.check-if-merged.outputs.should_run == 'true'
runs-on: blacksmith-2vcpu-ubuntu-2404 # trunk-ignore(actionlint/runner-label)
environment: ci
steps:
- name: Checkout
uses: actions/checkout@v6 # zizmor: ignore[unpinned-uses]
Expand Down Expand Up @@ -198,6 +199,7 @@ jobs:
needs: [check-if-merged, debug-check]
if: needs.check-if-merged.outputs.should_run == 'true'
runs-on: blacksmith-2vcpu-ubuntu-2404 # trunk-ignore(actionlint/runner-label)
environment: ci
strategy:
matrix:
node-version: [20, 22, 24]
Expand Down Expand Up @@ -264,6 +266,7 @@ jobs:
needs: [check-if-merged, build, coverage-report]
if: needs.check-if-merged.outputs.should_run == 'true'
runs-on: ubuntu-latest
environment: production
permissions:
contents: write
packages: write
Expand Down
11 changes: 7 additions & 4 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cli:
plugins:
sources:
- id: trunk
ref: v1.7.5
ref: v1.7.6
uri: https://github.com/trunk-io/plugins
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
Expand All @@ -23,18 +23,21 @@ lint:
- '**/worker-configuration.d.ts'
- convex/_generated/**
- '**/sitemap-manifest.json'
- linters: [osv-scanner]
paths:
- '**/pnpm-lock.yaml'
enabled:
- shellcheck@0.11.0
- shfmt@3.6.0
- actionlint@1.7.11
- checkov@3.2.508
- eslint@10.0.3
- checkov@3.2.510
- eslint@10.1.0
- git-diff-check
- markdownlint@0.48.0
- osv-scanner@2.3.3
- prettier@3.8.1
- svgo@4.0.1
- trufflehog@3.93.7
- trufflehog@3.94.0
- yamllint@1.38.0
actions:
disabled:
Expand Down
24 changes: 12 additions & 12 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@
"runed": "^0.37.1"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20260313.1",
"@cloudflare/workers-types": "^4.20260317.1",
"@eslint/compat": "^2.0.3",
"@eslint/js": "^10.0.1",
"@humanspeak/svelte-motion": "^0.1.32",
"@sveltejs/adapter-cloudflare": "^7.2.8",
"@sveltejs/kit": "^2.55.0",
"@sveltejs/vite-plugin-svelte": "^7.0.0",
"@tailwindcss/postcss": "^4.2.1",
"@tailwindcss/postcss": "^4.2.2",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.2.1",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"@tailwindcss/vite": "^4.2.2",
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@typescript-eslint/parser": "^8.57.1",
"autoprefixer": "^10.4.27",
"chokidar-cli": "^3.0.0",
"eslint": "^10.0.3",
"eslint": "^10.1.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-svelte": "3.15.2",
"eslint-plugin-svelte": "3.16.0",
"globals": "^17.4.0",
"@lucide/svelte": "^0.577.0",
"mdsvex": "^0.12.7",
Expand All @@ -53,15 +53,15 @@
"prettier-plugin-svelte": "^3.5.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"shiki": "^4.0.2",
"svelte": "^5.53.12",
"svelte": "^5.54.1",
"svelte-check": "^4.4.5",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.1",
"tailwindcss": "^4.2.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.0",
"vite": "^8.0.0",
"wrangler": "^4.73.0"
"typescript-eslint": "^8.57.1",
"vite": "^8.0.1",
"wrangler": "^4.76.0"
},
"volta": {
"node": "24.13.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/routes/docs/api/cached-decorator/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: '@cached Decorator API - Memory Cache',
description:
'API reference for the @cached decorator that adds automatic caching to class methods. Covers configuration options, cache key strategies, TTL settings, and usage examples in TypeScript.'
'API reference for the @cached decorator for automatic class method caching. Covers cache key strategies, TTL settings, and TypeScript examples.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/docs/api/memory-cache/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'MemoryCache API - Memory Cache',
description:
'Complete API reference for the MemoryCache class including all methods, options, and configuration. Covers get, set, delete, clear, stats, TTL, LRU eviction, and event listeners.'
'Complete API reference for the MemoryCache class. Covers get, set, delete, clear, stats, TTL, LRU eviction, and event listeners.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/docs/examples/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'Usage Examples | Memory Cache',
description:
'Practical examples showing how to use Memory Cache for API caching, session storage, rate limiting, database query caching, and more real-world TypeScript use cases.'
'Practical examples of Memory Cache for API caching, session storage, rate limiting, database queries, and more TypeScript use cases.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/docs/examples/api-caching/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'API Caching | Examples | Memory Cache',
description:
'Cache API responses to reduce latency and minimize external API calls with Memory Cache. Learn patterns for TTL-based expiration and automatic cache invalidation in TypeScript.'
'Cache API responses to reduce latency and minimize external calls with Memory Cache. TTL-based expiration and automatic invalidation patterns.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/docs/examples/async-fetching/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'Async Fetching | Examples | Memory Cache',
description:
'Cache async fetch results with automatic request deduplication and thundering herd prevention using Memory Cache. Prevent redundant network calls in your TypeScript backend.'
'Cache async fetch results with request deduplication and thundering herd prevention using Memory Cache. Prevent redundant network calls.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/docs/examples/computed-values/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'Computed Values | Examples | Memory Cache',
description:
'Cache expensive computed values and derived data with automatic memoization using Memory Cache. Avoid redundant calculations and improve performance in TypeScript applications.'
'Cache expensive computed values and derived data with automatic memoization using Memory Cache. Avoid redundant calculations in TypeScript.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/docs/examples/configuration/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'Configuration | Examples | Memory Cache',
description:
'Configure Memory Cache with custom TTL durations, max size limits, LRU eviction policies, and advanced options to fine-tune caching behavior for your application.'
'Configure Memory Cache with custom TTL durations, max size limits, LRU eviction policies, and advanced options for your application.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/docs/examples/database-caching/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'Database Caching | Examples | Memory Cache',
description:
'Speed up database queries by caching results in memory with automatic TTL-based invalidation. Reduce database load and improve response times in your TypeScript application.'
'Speed up database queries by caching results in memory with automatic TTL invalidation. Reduce database load and improve response times.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/docs/examples/multi-tenant/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'Multi-Tenant Caching | Examples | Memory Cache',
description:
'Implement per-tenant cache isolation using namespaced key prefixes in Memory Cache. Logically separate tenant data with scoped invalidation via prefix and wildcard deletion.'
'Implement per-tenant cache isolation using namespaced key prefixes in Memory Cache. Scoped invalidation via prefix and wildcard deletion.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/docs/examples/rate-limiting/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'Rate Limiting | Examples | Memory Cache',
description:
'Implement simple rate limiting using Memory Cache with TTL-based sliding windows. Protect your API endpoints from abuse without external dependencies like Redis in TypeScript.'
'Implement rate limiting using Memory Cache with TTL-based sliding windows. Protect API endpoints from abuse without Redis or external dependencies.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/docs/examples/service-class/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'Service Class | Examples | Memory Cache',
description:
'Build a cache-backed service class with the @cached decorator for clean architecture. Add automatic method-level memoization to your TypeScript services with zero boilerplate.'
'Build a cache-backed service class with the @cached decorator for clean architecture. Automatic method-level memoization with zero boilerplate.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/docs/examples/sessions/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'Session Management | Examples | Memory Cache',
description:
'Implement in-memory session storage with automatic TTL expiration using Memory Cache. A lightweight alternative to Redis for single-instance TypeScript and Node.js applications.'
'Implement in-memory session storage with automatic TTL expiration using Memory Cache. A lightweight Redis alternative for TypeScript apps.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/docs/getting-started/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'Getting Started - Memory Cache',
description:
'Install and configure Memory Cache in your TypeScript or JavaScript project. This quick start guide covers setup, basic usage, TTL expiration, and LRU eviction in under five minutes.'
'Install and configure Memory Cache in your TypeScript or JavaScript project. Quick start covering setup, TTL expiration, and LRU eviction.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/examples/basic-cache/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'Basic Cache | Examples | Memory Cache',
description:
'Learn how to create and use a basic in-memory cache with get, set, and delete operations. Interactive demo of Memory Cache fundamentals for TypeScript and JavaScript developers.'
'Learn to create and use a basic in-memory cache with get, set, and delete operations. Interactive demo of Memory Cache fundamentals.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/examples/cache-statistics/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'Cache Statistics | Examples | Memory Cache',
description:
'Monitor cache performance with built-in statistics tracking hits, misses, and evictions. Interactive demo showing real-time Memory Cache metrics including hit rate and entry counts.'
'Monitor cache performance with built-in statistics tracking hits, misses, and evictions. Interactive demo of real-time Memory Cache metrics.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/examples/lru-eviction/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'LRU Eviction | Examples | Memory Cache',
description:
'Explore least-recently-used eviction policies to manage cache size and memory usage. Interactive demo showing how LRU eviction works in Memory Cache when the max size limit is reached.'
'Explore LRU eviction policies to manage cache size and memory. Interactive demo showing how eviction works in Memory Cache at max capacity.'
})
2 changes: 1 addition & 1 deletion docs/src/routes/examples/ttl-expiration/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const load = () => ({
title: 'TTL Expiration | Examples | Memory Cache',
description:
'See how time-to-live expiration works in Memory Cache with configurable TTL per entry. Interactive demo showing automatic cache entry expiration and cleanup in real time.'
'See how TTL expiration works in Memory Cache with configurable time-to-live per entry. Interactive demo of automatic cache expiration and cleanup.'
})
Loading
Loading