Skip to content

Commit 5632f6b

Browse files
chore: release packages v0.3.0 (cli) and v0.2.2 (drizzle-adapter)
1 parent bf9793b commit 5632f6b

File tree

5 files changed

+38
-19
lines changed

5 files changed

+38
-19
lines changed

.changeset/fix-drizzle-esm-migrations.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

packages/adapters/drizzle/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @openmdm/drizzle-adapter
22

3+
## 0.2.2
4+
5+
### Patch Changes
6+
7+
- [#4](https://github.com/azoila/openmdm/pull/4) [`bf9793b`](https://github.com/azoila/openmdm/commit/bf9793b056d83093068dea26d0dd9be813844077) Thanks [@andersonkxiass](https://github.com/andersonkxiass)! - feat(cli): add schema generator command (better-auth style)
8+
9+
- Add `openmdm generate` command for generating database schemas
10+
- Support Drizzle ORM schema generation (PostgreSQL, MySQL, SQLite)
11+
- Support raw SQL schema generation (PostgreSQL, MySQL, SQLite)
12+
- Interactive prompts for adapter and provider selection
13+
- Resolves drizzle-kit ESM compatibility by generating schema files users run with their own tooling
14+
15+
Migration workflow now follows better-auth pattern:
16+
17+
1. `npx openmdm generate --adapter drizzle --provider pg`
18+
2. `npx drizzle-kit generate`
19+
3. `npx drizzle-kit migrate`
20+
321
## 0.2.1
422

523
### Patch Changes

packages/adapters/drizzle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openmdm/drizzle-adapter",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "Drizzle ORM adapter for OpenMDM",
55
"author": "OpenMDM Contributors",
66
"type": "module",

packages/cli/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @openmdm/cli
22

3+
## 0.3.0
4+
5+
### Minor Changes
6+
7+
- [#4](https://github.com/azoila/openmdm/pull/4) [`bf9793b`](https://github.com/azoila/openmdm/commit/bf9793b056d83093068dea26d0dd9be813844077) Thanks [@andersonkxiass](https://github.com/andersonkxiass)! - feat(cli): add schema generator command (better-auth style)
8+
9+
- Add `openmdm generate` command for generating database schemas
10+
- Support Drizzle ORM schema generation (PostgreSQL, MySQL, SQLite)
11+
- Support raw SQL schema generation (PostgreSQL, MySQL, SQLite)
12+
- Interactive prompts for adapter and provider selection
13+
- Resolves drizzle-kit ESM compatibility by generating schema files users run with their own tooling
14+
15+
Migration workflow now follows better-auth pattern:
16+
17+
1. `npx openmdm generate --adapter drizzle --provider pg`
18+
2. `npx drizzle-kit generate`
19+
3. `npx drizzle-kit migrate`
20+
321
## 0.2.1
422

523
### Patch Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openmdm/cli",
3-
"version": "0.2.1",
3+
"version": "0.3.0",
44
"description": "CLI tools for OpenMDM - database migrations, admin commands, and device management",
55
"author": "OpenMDM Contributors",
66
"type": "module",

0 commit comments

Comments
 (0)