feat: fork drizzle-typebox as @alkdev/drizzlebox
- Rebrand package from drizzle-typebox to @alkdev/drizzlebox - Replace @sinclair/typebox with @alkdev/typebox in all source and test files - Replace @sinclair/typebox with @alkdev/typebox in rollup externals - Convert tsconfig.json from monorepo extends to standalone config - Fix build script monorepo remnant (dist.new -> dist) - Add missing devDependencies (recast, tsx, typescript, resolve-tspaths) - Replace monorepo link dependency for drizzle-orm with ^0.38.4 - Add .gitignore, LICENSE (Apache-2.0 with attribution), and README - Initialize git repo with remote at git.alk.dev:alkdev/drizzlebox
This commit is contained in:
75
package.json
Normal file
75
package.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"name": "@alkdev/drizzlebox",
|
||||
"version": "0.1.0",
|
||||
"description": "Generate Typebox schemas from Drizzle ORM schemas — fork of drizzle-typebox with @alkdev/typebox support",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsx scripts/build.ts",
|
||||
"b": "pnpm build",
|
||||
"test:types": "cd tests && tsc",
|
||||
"pack": "(cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz",
|
||||
"test": "vitest run"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./index.d.mts",
|
||||
"default": "./index.mjs"
|
||||
},
|
||||
"require": {
|
||||
"types": "./index.d.cjs",
|
||||
"default": "./index.cjs"
|
||||
},
|
||||
"types": "./index.d.ts",
|
||||
"default": "./index.mjs"
|
||||
}
|
||||
},
|
||||
"main": "./index.cjs",
|
||||
"module": "./index.mjs",
|
||||
"types": "./index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://git.alk.dev/alkdev/drizzlebox.git"
|
||||
},
|
||||
"keywords": [
|
||||
"typebox",
|
||||
"drizzlebox",
|
||||
"validate",
|
||||
"validation",
|
||||
"schema",
|
||||
"drizzle",
|
||||
"orm",
|
||||
"pg",
|
||||
"mysql",
|
||||
"postgresql",
|
||||
"postgres",
|
||||
"sqlite",
|
||||
"database",
|
||||
"sql",
|
||||
"typescript",
|
||||
"ts"
|
||||
],
|
||||
"author": "Based on drizzle-typebox by Drizzle Team; fork maintained by alkdev",
|
||||
"license": "Apache-2.0",
|
||||
"peerDependencies": {
|
||||
"@alkdev/typebox": ">=0.34.49",
|
||||
"drizzle-orm": ">=0.36.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@alkdev/typebox": "^0.34.49",
|
||||
"@rollup/plugin-typescript": "^11.1.0",
|
||||
"@types/node": "^18.15.10",
|
||||
"@types/recast": "^0.23.0",
|
||||
"cpy": "^10.1.0",
|
||||
"drizzle-orm": "^0.38.4",
|
||||
"recast": "^0.23.0",
|
||||
"resolve-tspaths": "^0.8.23",
|
||||
"rimraf": "^5.0.0",
|
||||
"rollup": "^3.20.7",
|
||||
"tsx": "^4.0.0",
|
||||
"typescript": "^5.4.0",
|
||||
"vite-tsconfig-paths": "^4.3.2",
|
||||
"vitest": "^1.6.0",
|
||||
"zx": "^7.2.2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user