sizuku 0.3.1 → 0.3.2

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 CHANGED
@@ -73,7 +73,7 @@ export const postRelations = relations(post, ({ one }) => ({
73
73
  Prepare sizuku.config.ts:
74
74
 
75
75
  ```ts
76
- import defineConfig from 'sizuku/config'
76
+ import { defineConfig } from 'sizuku/config'
77
77
 
78
78
  export default defineConfig({
79
79
  input: 'db/schema.ts',
@@ -24,4 +24,4 @@ export declare function config(): Promise<{
24
24
  readonly ok: false;
25
25
  readonly error: string;
26
26
  }>;
27
- export default function defineConfig(config: Config): Config;
27
+ export declare function defineConfig(config: Config): Config;
@@ -80,6 +80,6 @@ export async function config() {
80
80
  return { ok: false, error: e instanceof Error ? e.message : String(e) };
81
81
  }
82
82
  }
83
- export default function defineConfig(config) {
83
+ export function defineConfig(config) {
84
84
  return config;
85
85
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sizuku",
3
3
  "type": "module",
4
- "version": "0.3.1",
4
+ "version": "0.3.2",
5
5
  "description": "Sizuku is a tool that generates validation schemas for Zod and Valibot, as well as ER diagrams, from Drizzle schemas annotated with comments.",
6
6
  "license": "MIT",
7
7
  "keywords": [