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 @@
+
+
+
-
-
+
+
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 fc2815d..0d840a2 100644
--- a/packages/cache/package.json
+++ b/packages/cache/package.json
@@ -1,12 +1,13 @@
{
"name": "@visualbravo/zenstack-cache",
- "version": "1.0.0",
+ "version": "1.0.1",
"license": "MIT",
"repository": "github:visualbravo/zenstack-cache",
"type": "module",
"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",
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(),
})
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"