From 03a00e2f04b450fc59e2dae9bd99ac238b140d74 Mon Sep 17 00:00:00 2001 From: "glm-5.1" Date: Fri, 22 May 2026 09:28:01 +0000 Subject: [PATCH] Rename @alkdev/drizzlebox -> @alkdev/dbtype Update package name, description, repo URL, keywords, and docs to reflect the new project identity as dbtype. --- LICENSE | 4 ++-- README.md | 12 ++++++------ package-lock.json | 4 ++-- package.json | 10 +++++----- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/LICENSE b/LICENSE index d9ae65a..aab31b2 100644 --- a/LICENSE +++ b/LICENSE @@ -23,5 +23,5 @@ drizzle-orm monorepo by the Drizzle Team (https://github.com/drizzle-team/drizzl The original work is Copyright 2024 Drizzle Team and is licensed under the Apache License, Version 2.0. -Modifications (rebranding to @alkdev/drizzlebox, dependency migration to -@alkdev/typebox, and standalone packaging) are Copyright 2025 alkdev. \ No newline at end of file +Modifications (rebranding to @alkdev/dbtype, dependency migration to +@alkdev/typebox, and standalone packaging) are Copyright 2025-2026 alkdev. \ No newline at end of file diff --git a/README.md b/README.md index fea0490..dc36ff6 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -# @alkdev/drizzlebox +# @alkdev/dbtype -Generate [TypeBox](https://github.com/alkdev/typebox) schemas from [Drizzle ORM](https://orm.drizzle.team) schemas. +Schema-first multi-dialect TypeBox/Drizzle bridge — define once, validate and deploy anywhere. -This is a fork of [drizzle-typebox](https://github.com/drizzle-team/drizzle-orm/tree/main/drizzle-typebox) by the Drizzle Team, adapted for use with `@alkdev/typebox` (a maintained fork of `@sinclair/typebox`). +Based on [drizzle-typebox](https://github.com/drizzle-team/drizzle-orm/tree/main/drizzle-typebox) by the Drizzle Team, adapted for use with `@alkdev/typebox` (a maintained fork of `@sinclair/typebox`). ## Install ```bash -npm install @alkdev/drizzlebox +npm install @alkdev/dbtype npm install @alkdev/typebox npm install drizzle-orm ``` @@ -23,7 +23,7 @@ npm install drizzle-orm ```ts import { pgEnum, pgTable, serial, text, timestamp } from 'drizzle-orm/pg-core'; -import { createInsertSchema, createSelectSchema, createUpdateSchema } from '@alkdev/drizzlebox'; +import { createInsertSchema, createSelectSchema, createUpdateSchema } from '@alkdev/dbtype'; import { Type } from '@alkdev/typebox'; import { Value } from '@alkdev/typebox/value'; @@ -67,7 +67,7 @@ const isUserValid: boolean = Value.Check(insertUserSchema, { - Uses `@alkdev/typebox` instead of `@sinclair/typebox` - Standalone package (no monorepo dependency) -- Published as `@alkdev/drizzlebox` on npm +- Published as `@alkdev/dbtype` on npm ## Attribution diff --git a/package-lock.json b/package-lock.json index e92631c..483482f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@alkdev/drizzlebox", + "name": "@alkdev/dbtype", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@alkdev/drizzlebox", + "name": "@alkdev/dbtype", "version": "0.1.0", "license": "Apache-2.0", "devDependencies": { diff --git a/package.json b/package.json index 80e3356..1090c19 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "@alkdev/drizzlebox", + "name": "@alkdev/dbtype", "version": "0.1.0", - "description": "Generate Typebox schemas from Drizzle ORM schemas — fork of drizzle-typebox with @alkdev/typebox support", + "description": "Schema-first multi-dialect TypeBox/Drizzle bridge — define once, validate and deploy anywhere", "type": "module", "scripts": { "build": "tsx scripts/build.ts", @@ -29,11 +29,11 @@ "types": "./index.d.ts", "repository": { "type": "git", - "url": "git+https://git.alk.dev/alkdev/drizzlebox.git" + "url": "git+https://git.alk.dev/alkdev/dbtype.git" }, "keywords": [ "typebox", - "drizzlebox", + "dbtype", "validate", "validation", "schema", @@ -49,7 +49,7 @@ "typescript", "ts" ], - "author": "Based on drizzle-typebox by Drizzle Team; fork maintained by alkdev", + "author": "Based on drizzle-typebox by Drizzle Team; maintained by alkdev", "license": "Apache-2.0", "peerDependencies": { "@alkdev/typebox": ">=0.34.49",