From d6b98def051f25507ad8b4e63ceafb43b6fd4539 Mon Sep 17 00:00:00 2001 From: sanny-io <3054653+sanny-io@users.noreply.github.com> Date: Mon, 2 Feb 2026 00:00:23 -0800 Subject: [PATCH 1/3] fix: swap schema numbers for positive integers (#2) * fix: swap schema numbers for positive integers * Remove redundant `min` call. --- packages/cache/src/schemas.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cache/src/schemas.ts b/packages/cache/src/schemas.ts index 7f77c36..261eb9f 100644 --- a/packages/cache/src/schemas.ts +++ b/packages/cache/src/schemas.ts @@ -1,8 +1,8 @@ import z from 'zod' export const cacheOptionsSchema = z.strictObject({ - ttl: z.number().min(1).optional(), - swr: z.number().min(1).optional(), + ttl: z.int().positive().optional(), + swr: z.int().positive().optional(), tags: z.string().array().optional(), }) From 577507e264cd9fd4e23b471fe09fa201a85770e7 Mon Sep 17 00:00:00 2001 From: sanny-io <3054653+sanny-io@users.noreply.github.com> Date: Mon, 2 Feb 2026 00:16:07 -0800 Subject: [PATCH 2/3] chore: update repo configuration (#3) * chore: add in_progress_fortune option to reviews configuration * chore: update trigger events for build and test workflow * chore: add keywords to package.json for better discoverability * chore: update README badges for NPM downloads and Discord channel --- .coderabbit.yaml | 1 + .github/workflows/build-and-test.yaml | 2 +- README.md | 7 +++++-- packages/cache/package.json | 1 + 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.coderabbit.yaml b/.coderabbit.yaml index 8c419b0..4f44fe8 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -6,6 +6,7 @@ reviews: request_changes_workflow: false high_level_summary: true poem: false + in_progress_fortune: false review_status: true review_details: false auto_review: diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index b6cb184..db22738 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -1,5 +1,5 @@ name: Build and Test -on: [push, pull_request, workflow_dispatch] +on: [pull_request, workflow_dispatch] jobs: build-and-test: diff --git a/README.md b/README.md index 2c8267c..1d5efff 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,14 @@ NPM Version + + NPM Downloads + Build Status - - Join the ZenStack server + + Join the ZenStack Cache channel License: MIT diff --git a/packages/cache/package.json b/packages/cache/package.json index fc2815d..0019fb8 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -7,6 +7,7 @@ "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.cts", + "keywords": ["zenstack", "cache", "caching", "prisma", "accelerate", "orm"], "exports": { ".": { "@zenstack-cache/source": "./src/index.ts", From 763d33c411d4b6ab78403b6a9748fc94b3a42719 Mon Sep 17 00:00:00 2001 From: sanny-io <3054653+sanny-io@users.noreply.github.com> Date: Mon, 2 Feb 2026 00:27:54 -0800 Subject: [PATCH 3/3] chore: bump version to 1.0.1 (#4) --- package.json | 2 +- packages/cache/package.json | 2 +- packages/config/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f7d3e91..98cae6c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "workspace", "type": "module", - "version": "1.0.0", + "version": "1.0.1", "private": "true", "license": "MIT", "scripts": { diff --git a/packages/cache/package.json b/packages/cache/package.json index 0019fb8..0d840a2 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@visualbravo/zenstack-cache", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "repository": "github:visualbravo/zenstack-cache", "type": "module", diff --git a/packages/config/package.json b/packages/config/package.json index 571c06f..8e371f4 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,7 +1,7 @@ { "name": "@zenstack-cache/config", "type": "module", - "version": "1.0.0", + "version": "1.0.1", "private": true, "exports": { "./ts": "./ts.json"