@zeno-lib/schema 0.2.2 → 0.3.0

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.
Files changed (2) hide show
  1. package/package.json +15 -15
  2. package/src/index.test-d.ts +2 -4
package/package.json CHANGED
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "name": "@zeno-lib/schema",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
+ "repository": {
5
+ "url": "https://github.com/zeno-lib/zeno.git",
6
+ "directory": "packages/schema"
7
+ },
4
8
  "type": "module",
5
9
  "exports": {
6
10
  ".": {
@@ -13,24 +17,20 @@
13
17
  "dist",
14
18
  "src"
15
19
  ],
16
- "publishConfig": {
17
- "access": "public"
18
- },
19
- "repository": {
20
- "url": "https://github.com/zeno-lib/zeno.git",
21
- "directory": "packages/schema"
20
+ "devDependencies": {
21
+ "@zeno-lib/typescript": "^1.1.0",
22
+ "drizzle-orm": "1.0.0-rc.5-5935859",
23
+ "tsdown": "^0.23.0",
24
+ "typescript": "7.0.2",
25
+ "vitest": "5.0.3",
26
+ "zod": "^4.6.5"
22
27
  },
23
28
  "peerDependencies": {
24
- "drizzle-orm": "1.0.0-rc.3",
29
+ "drizzle-orm": "1.0.0-rc.5-5935859",
25
30
  "zod": ">=4"
26
31
  },
27
- "devDependencies": {
28
- "drizzle-orm": "1.0.0-rc.3",
29
- "tsdown": "^0.22.14",
30
- "typescript": "7.0.2",
31
- "vitest": "4.1.11",
32
- "zod": "^4.4.3",
33
- "@zeno-lib/typescript": "^1.1.0"
32
+ "publishConfig": {
33
+ "access": "public"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "tsdown",
@@ -12,11 +12,9 @@ type StandardSchema<T> = {
12
12
  }
13
13
  }
14
14
 
15
- function acceptsFormsSchema<TFormData>(
15
+ declare function acceptsFormsSchema<TFormData>(
16
16
  _schema: StandardSchema<TFormData>
17
- ): void {
18
- return
19
- }
17
+ ): void
20
18
 
21
19
  const posts = pgTable("posts", {
22
20
  id: integer("id").primaryKey().generatedAlwaysAsIdentity(),