Skip to content

Commit

Permalink
Merge branch 'release/release/0.59.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
holtwick committed Aug 30, 2024
2 parents d493a90 + f7b6ce0 commit 82eda09
Show file tree
Hide file tree
Showing 28 changed files with 19 additions and 44 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/monorepo",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"private": true,
"engines": {
"node": ">=20.0.0"
Expand Down
2 changes: 1 addition & 1 deletion zerva-basic-auth/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/basic-auth",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"description": "🌱 Zerva useBasicAuth",
"author": {
"name": "Dirk Holtwick",
Expand Down
2 changes: 1 addition & 1 deletion zerva-bin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/bin",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"description": "🌱 Zerva Command Line Tool",
"author": {
"email": "[email protected]",
Expand Down
2 changes: 0 additions & 2 deletions zerva-bin/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* eslint-disable ts/no-require-imports */
/* eslint-disable no-console */

// (C)opyright 2021 Dirk Holtwick, holtwick.de. All rights reserved.

import { existsSync } from 'node:fs'
import { resolve } from 'node:path'
import process from 'node:process'
Expand Down
2 changes: 0 additions & 2 deletions zerva-bin/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env node
/* eslint-disable no-console */

// (C)opyright 2021 Dirk Holtwick, holtwick.de. All rights reserved.

import { existsSync } from 'node:fs'
import process from 'node:process'
import { runMain } from './main'
Expand Down
2 changes: 1 addition & 1 deletion zerva-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/core",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"description": "🌱 Simple event driven server",
"author": {
"name": "Dirk Holtwick",
Expand Down
2 changes: 0 additions & 2 deletions zerva-core/src/context.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// (C)opyright 2021-07-15 Dirk Holtwick, holtwick.it. All rights reserved.

import type { DisposerFunction } from 'zeed'
import { Logger, arrayFlatten, getGlobalContext, useDispose } from 'zeed'
import { ZContext } from './types'
Expand Down
2 changes: 0 additions & 2 deletions zerva-core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// (C)opyright 2021-07-15 Dirk Holtwick, holtwick.it. All rights reserved.

export * from './types'
export * from './context'
export * from './serve'
2 changes: 0 additions & 2 deletions zerva-core/src/serve.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// (C)opyright 2021-07-15 Dirk Holtwick, holtwick.it. All rights reserved.

import { onInit, onStart, onStop, serve, serveStop, setContext } from './index'

describe('serve', () => {
Expand Down
2 changes: 0 additions & 2 deletions zerva-core/src/serve.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// (C)opyright 2021-07-15 Dirk Holtwick, holtwick.it. All rights reserved.

import process from 'node:process'
import { Logger } from 'zeed'
import { emit, getContext, on } from './context'
Expand Down
2 changes: 1 addition & 1 deletion zerva-email/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/email",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"description": "🌱 Zerva send email service",
"author": {
"name": "Dirk Holtwick",
Expand Down
2 changes: 0 additions & 2 deletions zerva-email/src/module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// (C)opyright 2021 Dirk Holtwick, holtwick.it. All rights reserved.

import { on, register } from '@zerva/core'
import nodemailer from 'nodemailer'
import type { LogConfig } from 'zeed'
Expand Down
2 changes: 1 addition & 1 deletion zerva-http-log/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/http-log",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"description": "🌱 Zerva module template",
"author": {
"name": "Dirk Holtwick",
Expand Down
2 changes: 1 addition & 1 deletion zerva-http/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/http",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"description": "🌱 Zerva Express HTTP",
"author": {
"name": "Dirk Holtwick",
Expand Down
9 changes: 4 additions & 5 deletions zerva-http/src/http.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// (C)opyright 2021-07-15 Dirk Holtwick, holtwick.it. All rights reserved.

import { on, serve, serveStop } from '@zerva/core'
import { Logger, fetchJson, fetchOptionsFormURLEncoded, fetchOptionsJson } from 'zeed'
import { useHttp } from './http'
Expand All @@ -13,6 +11,7 @@ function middleware(req: any, res: any, next: any) {
res.set('X-Test', '123')
next()
}

describe('http', () => {
beforeAll(async () => {
useHttp({ port })
Expand Down Expand Up @@ -56,9 +55,9 @@ describe('http', () => {

expect(
(await (await fetch(`${url}/index.ts`)).text()).split('\n')[0],
).toEqual(
'// (C)opyright 2021 Dirk Holtwick, holtwick.it. All rights reserved.',
)
).toMatchInlineSnapshot(

`"export * from './types'"`)

// Json
expect(
Expand Down
2 changes: 0 additions & 2 deletions zerva-http/src/http.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// (C)opyright 2021 Dirk Holtwick, holtwick.it. All rights reserved.

/* eslint-disable no-console */

import fs from 'node:fs'
Expand Down
2 changes: 0 additions & 2 deletions zerva-http/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// (C)opyright 2021 Dirk Holtwick, holtwick.it. All rights reserved.

export * from './types'
export * from './http'
export * from './status'
2 changes: 1 addition & 1 deletion zerva-mqtt/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/mqtt",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"description": "🌱 Zerva MQTT",
"author": {
"name": "Dirk Holtwick",
Expand Down
2 changes: 1 addition & 1 deletion zerva-openapi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/openapi",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"description": "🌱 Zerva module template",
"author": {
"name": "Dirk Holtwick",
Expand Down
2 changes: 0 additions & 2 deletions zerva-openapi/src/module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// (C)opyright 2021 Dirk Holtwick, holtwick.it. All rights reserved.

import { on, register } from '@zerva/core'
import '@zerva/http'
import { Logger } from 'zeed'
Expand Down
2 changes: 1 addition & 1 deletion zerva-plausible/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/plausible",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"description": "🌱 Zerva module template",
"author": {
"name": "Dirk Holtwick",
Expand Down
2 changes: 0 additions & 2 deletions zerva-plausible/src/module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// (C)opyright 2021 Dirk Holtwick, holtwick.it. All rights reserved.

import { on, register } from '@zerva/core'
import { Logger } from 'zeed'
import { setTrackCollectUrl, setTrackWebsiteId, trackEvent, trackPageView } from './track-plausible'
Expand Down
2 changes: 1 addition & 1 deletion zerva-rpc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/rpc",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"description": "🌱 Zerva websocket rpc module",
"author": {
"name": "Dirk Holtwick",
Expand Down
2 changes: 0 additions & 2 deletions zerva-rpc/src/server.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// (C)opyright 2021-07-15 Dirk Holtwick, holtwick.it. All rights reserved.

import { on, serve, serveStop, setContext } from '@zerva/core'
import { useHttp } from '@zerva/http'
import { Logger, createPromise, uuid } from 'zeed'
Expand Down
2 changes: 1 addition & 1 deletion zerva-sqlite-bun/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/sqlite-bun",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"private": false,
"description": "",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion zerva-sqlite/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/sqlite",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"private": false,
"description": "",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion zerva-vite/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/vite",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"description": "🌱 Zerva and Vite",
"author": {
"name": "Dirk Holtwick",
Expand Down
2 changes: 1 addition & 1 deletion zerva-websocket/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/websocket",
"type": "module",
"version": "0.59.0",
"version": "0.59.1",
"description": "🌱 Zerva websocket module",
"author": {
"name": "Dirk Holtwick",
Expand Down

0 comments on commit 82eda09

Please sign in to comment.