drizzle-orm 0.12.0-beta.12 → 0.12.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
## DrizzleORM
|
|
2
|
+
DrizzleORM is a TypeScript ORM library with a [drizzle-kit](#migrations) CLI companion for automatic SQL migrations generation.
|
|
3
|
+
It's meant to be a library, not a framework, stay as an opt-in solution all the time at any levels.
|
|
4
|
+
We try to follow SQL-like syntax whenever possible, be strongly typed ground top and fail in compile time, not in runtime.
|
|
5
|
+
We implemented best in class `joins` and second to none `migrations generation`.
|
|
6
|
+
Library has almost zero dependencies and being battle tested on production projects by multiple teams 🚀
|
|
7
|
+
|
|
8
|
+
| database | support | |
|
|
9
|
+
|:-- | :---: | :-- |
|
|
10
|
+
| PostgreSQL | ✅ |[Docs](https://github.com/drizzle-team/drizzle-orm/tree/main/drizzle-orm-pg)|
|
|
11
|
+
| MySQL | ✅ |[Docs](https://github.com/drizzle-team/drizzle-orm/tree/main/drizzle-orm-mysql)| |
|
|
12
|
+
| SQLite | ⏳ | |
|
|
13
|
+
| DynamoDB | ⏳ | |
|
|
14
|
+
| MS SQL | ⏳ | |
|
|
15
|
+
| CockroachDB | ⏳ | |
|
|
16
|
+
|
|
17
|
+
### Installation
|
|
18
|
+
```bash
|
|
19
|
+
// postgresql
|
|
20
|
+
npm install drizzle-orm drizzle-orm-pg
|
|
21
|
+
npm install -D drizzle-kit
|
|
22
|
+
|
|
23
|
+
// mysql
|
|
24
|
+
npm install drizzle-orm drizzle-orm-mysql
|
|
25
|
+
npm install -D drizzle-kit
|
|
26
|
+
|
|
27
|
+
// sqlite
|
|
28
|
+
npm install drizzle-orm drizzle-orm-sqlite
|
|
29
|
+
npm install -D drizzle-kit
|
|
30
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drizzle-orm",
|
|
3
|
-
"version": "0.12.0-beta.
|
|
3
|
+
"version": "0.12.0-beta.13",
|
|
4
4
|
"description": "Drizzle ORM package for SQL databases",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "concurrently -n build,test \"tsc -p tsconfig.build.json\" pnpm:test",
|
|
53
53
|
"test": "echo WARN: No tests defined!",
|
|
54
|
-
"pack": "cp README.md package.json dist/ && (cd dist && pnpm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz",
|
|
54
|
+
"pack": "cp ../README.md package.json dist/ && (cd dist && pnpm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz",
|
|
55
55
|
"publish:beta": "npm publish package.tgz --tag beta --git-checks false",
|
|
56
56
|
"release:beta": "pnpm build && pnpm version prerelease && pnpm run pack && pnpm publish:beta",
|
|
57
57
|
"build:int": "pnpm build && pnpm run pack"
|