Skip to content

Commit

Permalink
Merge branch 'release/release/0.60.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
holtwick committed Aug 31, 2024
2 parents 2eb0ddc + f9dac6b commit ce4f6bb
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 33 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zerva/monorepo",
"type": "module",
"version": "0.59.2",
"version": "0.60.0",
"private": true,
"engines": {
"node": ">=20.0.0"
Expand Down Expand Up @@ -31,7 +31,6 @@
"@types/node": "^22.5.1",
"bumpp": "^9.5.2",
"eslint": "^9.9.1",
"fast-glob": "^3.3.2",
"only-allow": "^1.2.1",
"sort-package-json": "^2.10.1",
"tsup": "^8.2.4",
Expand Down
8 changes: 5 additions & 3 deletions scripts/fix-package-json.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { existsSync, readFileSync, writeFileSync } from 'node:fs'
import { resolve } from 'node:path'
import { sync } from 'fast-glob'
import { files } from 'zeed'

async function main() {
const { default: sortPackageJson } = await import('sort-package-json')

for (const name of sync(['!**/node_modules', '*/package.json'])) {
const fileNames = files({ pattern: 'zerva-*/package.json' })

for (const name of fileNames) { // sync(['!**/node_modules', '*/package.json'])) {
// Skip by path
if (name.includes('node_modules/'))
continue
Expand Down Expand Up @@ -109,7 +111,7 @@ async function main() {

pkg = sortPackageJson(pkg)
content = `${JSON.stringify(pkg, null, 2)}\n` // trailing \n also from pnpm etc.
writeFileSync(name, content, 'utf8')
// writeFileSync(name, content, 'utf8')
}
}

Expand Down
3 changes: 1 addition & 2 deletions 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.1",
"version": "0.60.0",
"description": "🌱 Zerva useBasicAuth",
"author": {
"name": "Dirk Holtwick",
Expand All @@ -20,7 +20,6 @@
],
"exports": {
".": {
"browser": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
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.1",
"version": "0.60.0",
"description": "🌱 Zerva Command Line Tool",
"author": {
"email": "[email protected]",
Expand Down
3 changes: 1 addition & 2 deletions 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.1",
"version": "0.60.0",
"description": "🌱 Simple event driven server",
"author": {
"name": "Dirk Holtwick",
Expand All @@ -20,7 +20,6 @@
],
"exports": {
".": {
"browser": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
Expand Down
3 changes: 1 addition & 2 deletions 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.1",
"version": "0.60.0",
"description": "🌱 Zerva send email service",
"author": {
"name": "Dirk Holtwick",
Expand All @@ -20,7 +20,6 @@
],
"exports": {
".": {
"browser": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
Expand Down
3 changes: 1 addition & 2 deletions 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.1",
"version": "0.60.0",
"description": "🌱 Zerva module template",
"author": {
"name": "Dirk Holtwick",
Expand All @@ -20,7 +20,6 @@
],
"exports": {
".": {
"browser": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
Expand Down
3 changes: 1 addition & 2 deletions 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.1",
"version": "0.60.0",
"description": "🌱 Zerva Express HTTP",
"author": {
"name": "Dirk Holtwick",
Expand All @@ -20,7 +20,6 @@
],
"exports": {
".": {
"browser": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
Expand Down
3 changes: 1 addition & 2 deletions 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.1",
"version": "0.60.0",
"description": "🌱 Zerva MQTT",
"author": {
"name": "Dirk Holtwick",
Expand All @@ -20,7 +20,6 @@
],
"exports": {
".": {
"browser": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
Expand Down
4 changes: 2 additions & 2 deletions 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.1",
"version": "0.60.0",
"description": "🌱 Zerva module template",
"author": {
"name": "Dirk Holtwick",
Expand All @@ -20,8 +20,8 @@
],
"exports": {
".": {
"browser": "./dist/index.js",
"require": "./dist/index.cjs",
"node": "./dist/index.js",
"default": "./dist/index.js"
}
},
Expand Down
3 changes: 1 addition & 2 deletions 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.1",
"version": "0.60.0",
"description": "🌱 Zerva module template",
"author": {
"name": "Dirk Holtwick",
Expand All @@ -20,7 +20,6 @@
],
"exports": {
".": {
"browser": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
Expand Down
4 changes: 2 additions & 2 deletions 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.1",
"version": "0.60.0",
"description": "🌱 Zerva websocket rpc module",
"author": {
"name": "Dirk Holtwick",
Expand All @@ -25,7 +25,7 @@
],
"exports": {
".": {
"browser": "./dist/index.js",
"browser": "./dist/index.browser.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
Expand Down
3 changes: 1 addition & 2 deletions 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.1",
"version": "0.60.0",
"private": false,
"description": "",
"author": {
Expand All @@ -16,7 +16,6 @@
},
"exports": {
".": {
"browser": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
Expand Down
5 changes: 2 additions & 3 deletions 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.1",
"version": "0.60.0",
"private": false,
"description": "",
"author": {
Expand All @@ -15,8 +15,7 @@
"url": "https://github.com/sponsors/holtwick"
},
"exports": {
".": {
"browser": "./dist/index.js",
".": {
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
Expand Down
3 changes: 1 addition & 2 deletions 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.1",
"version": "0.60.0",
"description": "🌱 Zerva and Vite",
"author": {
"name": "Dirk Holtwick",
Expand All @@ -20,7 +20,6 @@
],
"exports": {
".": {
"browser": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
Expand Down
4 changes: 2 additions & 2 deletions 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.1",
"version": "0.60.0",
"description": "🌱 Zerva websocket module",
"author": {
"name": "Dirk Holtwick",
Expand All @@ -24,7 +24,7 @@
],
"exports": {
".": {
"browser": "./dist/index.js",
"browser": "./dist/index.browser.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
Expand Down

0 comments on commit ce4f6bb

Please sign in to comment.