Skip to content

Commit

Permalink
Merge branch 'release/v0.55.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
holtwick committed Jul 3, 2024
2 parents 826d816 + 3b14d61 commit 1e3b54d
Show file tree
Hide file tree
Showing 31 changed files with 85 additions and 78 deletions.
2 changes: 1 addition & 1 deletion examples/basic-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
}
}
2 changes: 1 addition & 1 deletion examples/bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"start": "LEVEL=i ZEED=* zerva"
},
"dependencies": {
"zeed": "^0.20.7"
"zeed": "^0.21.0"
},
"devDependencies": {
"@zerva/bin": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion examples/email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"dependencies": {
"@zerva/core": "workspace:*",
"@zerva/email": "workspace:*",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
}
}
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"dependencies": {
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
}
}
2 changes: 1 addition & 1 deletion examples/oauth2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"express-session": "^1.18.0",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
}
}
2 changes: 1 addition & 1 deletion examples/openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/openapi": "workspace:*",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
}
}
2 changes: 1 addition & 1 deletion examples/plausible/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/plausible": "workspace:*",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
}
}
11 changes: 6 additions & 5 deletions examples/rpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,21 @@
"build": "zerva build && vite build",
"reset": "rm -rf node_modules pnpm-lock.yaml dist dist_www www",
"serve": "ZEED=* LEVEL=a node dist/main.mjs",
"start": "ZEED=* LEVEL=a zerva"
"start": "DEBUG=1 ZEED=* LEVEL=a zerva",
"bun": "DEBUG=1 ZEED=* LEVEL=a zerva --debug --bun --external bun:sqlite"
},
"dependencies": {
"@zerva/rpc": "workspace:*",
"vue": "^3.4.29",
"zeed": "^0.20.7"
"vue": "^3.4.31",
"zeed": "^0.21.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"@vue/compiler-sfc": "^3.4.29",
"@vue/compiler-sfc": "^3.4.31",
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/vite": "workspace:*",
"vite": "^5.3.1"
"vite": "^5.3.3"
}
}
5 changes: 3 additions & 2 deletions examples/rpc/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { on, serve } from '@zerva/core'
import { useHttp } from '@zerva/http'
import { useWebsocketRpcHub } from '@zerva/rpc'
import { useVite } from '@zerva/vite'
import { Logger } from 'zeed'
import { Logger, sleep } from 'zeed'
import type { RpcClientFunctions, RpcServerFunctions } from './src/_types'

const log = Logger('service')
Expand All @@ -18,6 +18,7 @@ on('rpcConnect', async ({ rpcHub, dispose }) => {
const rpc = rpcHub<RpcServerFunctions, RpcClientFunctions>({
helloIAmNew(id) {
log.info('New client with user agent:', id)
// await sleep(10000)
return clientCounter++
},
})
Expand All @@ -26,7 +27,7 @@ on('rpcConnect', async ({ rpcHub, dispose }) => {

dispose.interval(() => {
rpc.updateCounter(counter++)
}, 1000)
}, 2500)
})

void serve()
1 change: 1 addition & 0 deletions examples/rpc/src/AppMessages.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ onMounted(async () => {

<template>
<div class="AppMessages">
<p>We receive a counter that goes up</p>
<pre>counter = {{ counter }}</pre>
</div>
</template>
2 changes: 1 addition & 1 deletion examples/sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
}
}
8 changes: 4 additions & 4 deletions examples/vite-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
"vite_serve": "vite preview"
},
"dependencies": {
"vue": "^3.4.29",
"zeed": "^0.20.7"
"vue": "^3.4.31",
"zeed": "^0.21.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/vite": "workspace:*",
"typescript": "^5.5.2",
"vite": "^5.3.1",
"typescript": "^5.5.3",
"vite": "^5.3.3",
"vite-plugin-pwa": "^0.20.0"
}
}
8 changes: 4 additions & 4 deletions examples/vite-serviceworker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
"vite_serve": "vite preview"
},
"dependencies": {
"vue": "^3.4.29",
"zeed": "^0.20.7"
"vue": "^3.4.31",
"zeed": "^0.21.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/vite": "workspace:*",
"typescript": "^5.5.2",
"vite": "^5.3.1"
"typescript": "^5.5.3",
"vite": "^5.3.3"
}
}
8 changes: 4 additions & 4 deletions examples/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
"vite_serve": "vite preview"
},
"dependencies": {
"vue": "^3.4.29"
"vue": "^3.4.31"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"@zerva/bin": "workspace:*",
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/vite": "workspace:*",
"typescript": "^5.5.2",
"vite": "^5.3.1",
"zeed": "^0.20.7"
"typescript": "^5.5.3",
"vite": "^5.3.3",
"zeed": "^0.21.0"
}
}
8 changes: 4 additions & 4 deletions examples/websocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
"@zerva/http": "workspace:*",
"@zerva/vite": "workspace:*",
"@zerva/websocket": "workspace:*",
"vue": "^3.4.29",
"zeed": "^0.20.7"
"vue": "^3.4.31",
"zeed": "^0.21.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"@vue/compiler-sfc": "^3.4.29",
"@vue/compiler-sfc": "^3.4.31",
"@zerva/bin": "workspace:*",
"vite": "^5.3.1"
"vite": "^5.3.3"
}
}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zerva/monorepo",
"version": "0.55.3",
"version": "0.55.4",
"private": true,
"scripts": {
"build": "pnpm -r --filter=@zerva/* build",
Expand All @@ -20,21 +20,21 @@
"update": "pnpm -r update -i --latest"
},
"devDependencies": {
"@antfu/eslint-config": "^2.21.1",
"@antfu/eslint-config": "^2.21.2",
"@antfu/ni": "^0.21.12",
"@types/bun": "^1.1.5",
"@types/bun": "^1.1.6",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.7",
"@types/node": "^20.14.9",
"bumpp": "^9.4.1",
"eslint": "<9",
"fast-glob": "^3.3.2",
"only-allow": "^1.2.1",
"sort-package-json": "^2.10.0",
"tsup": "^8.1.0",
"typescript": "^5.5.2",
"vite": "^5.3.1",
"typescript": "^5.5.3",
"vite": "^5.3.3",
"vitest": "^1.6.0",
"vue-tsc": "^2.0.21"
"vue-tsc": "^2.0.24"
},
"type": "module",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions zerva-basic-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
"dependencies": {
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
},
"devDependencies": {
"tsup": "^8.1.0",
"typescript": "^5.5.2"
"typescript": "^5.5.3"
}
}
6 changes: 3 additions & 3 deletions zerva-bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
"test": "echo todo"
},
"dependencies": {
"@types/node": "^20.14.7",
"@types/node": "^20.14.9",
"display-notification": "^3.0.0",
"esbuild": "^0.21.5",
"esbuild": "^0.23.0",
"esbuild-plugin-yaml": "^0.0.1",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
}
}
6 changes: 3 additions & 3 deletions zerva-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@
"watch": "tsup src/index.ts --watch"
},
"dependencies": {
"zeed": "^0.20.7"
"zeed": "^0.21.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.14.7",
"@types/node": "^20.14.9",
"@zerva/bin": "workspace:*",
"tsup": "^8.1.0",
"typescript": "^5.5.2",
"typescript": "^5.5.3",
"vitest": "^1.6.0"
}
}
4 changes: 2 additions & 2 deletions zerva-email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"nodemailer": "^6.9.14",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
},
"devDependencies": {
"@types/node": "^20.14.7",
"@types/node": "^20.14.9",
"tsup": "^8.1.0"
}
}
6 changes: 3 additions & 3 deletions zerva-http-log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
"@zerva/http": "workspace:*",
"morgan": "^1.10.0",
"rotating-file-stream": "^3.2.3",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
},
"devDependencies": {
"tsup": "^8.1.0",
"typescript": "^5.5.2",
"vite": "^5.3.1"
"typescript": "^5.5.3",
"vite": "^5.3.3"
}
}
4 changes: 2 additions & 2 deletions zerva-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@
"negotiator": "^0.6.3",
"on-headers": "^1.0.2",
"vary": "^1.1.2",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
},
"devDependencies": {
"@zerva/bin": "workspace:*",
"tsup": "^8.1.0",
"typescript": "^5.5.2",
"typescript": "^5.5.3",
"vitest": "^1.6.0"
}
}
2 changes: 1 addition & 1 deletion zerva-openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"dependencies": {
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
},
"devDependencies": {
"@zerva/bin": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions zerva-plausible/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"@types/request-ip": "^0.0.41",
"@zerva/core": "workspace:*",
"request-ip": "^3.3.0",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
},
"devDependencies": {
"tsup": "^8.1.0",
"typescript": "^5.5.2"
"typescript": "^5.5.3"
}
}
6 changes: 3 additions & 3 deletions zerva-rpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@
"@zerva/core": "workspace:*",
"@zerva/http": "workspace:*",
"@zerva/websocket": "workspace:*",
"zeed": "^0.20.7"
"zeed": "^0.21.0"
},
"devDependencies": {
"@types/node": "^20.14.7",
"@types/node": "^20.14.9",
"@zerva/bin": "workspace:*",
"tsup": "^8.1.0",
"typescript": "^5.5.2",
"typescript": "^5.5.3",
"vitest": "^1.6.0"
}
}
10 changes: 5 additions & 5 deletions zerva-sqlite-bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@
"watch": "tsup src/index.ts --watch"
},
"dependencies": {
"zeed": "^0.20.7"
"zeed": "^0.21.0"
},
"devDependencies": {
"@types/bun": "^1.1.5",
"@types/bun": "^1.1.6",
"tsup": "^8.1.0",
"tsx": "^4.15.7",
"typescript": "^5.5.2",
"vite": "^5.3.1",
"tsx": "^4.16.2",
"typescript": "^5.5.3",
"vite": "^5.3.3",
"vitest": "^1.6.0"
}
}
Loading

0 comments on commit 1e3b54d

Please sign in to comment.