@prisma-next/sql-contract-ts 0.1.0-dev.2 → 0.1.0-dev.20

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/README.md +2 -2
  2. package/package.json +7 -5
package/README.md CHANGED
@@ -14,7 +14,7 @@ This package contains the SQL-specific TypeScript contract authoring surface for
14
14
 
15
15
  ## Overview
16
16
 
17
- This package is part of the SQL family namespace (`packages/sql/authoring/sql-contract-ts`) and provides:
17
+ This package is part of the SQL family namespace (`packages/2-sql/2-authoring/contract-ts`) and provides:
18
18
  - SQL contract builder (`defineContract`) - TypeScript builder for creating SQL contracts programmatically
19
19
  - SQL contract validation (`validateContract`) - Structural and logical validation for SQL contracts
20
20
  - SQL contract JSON schema - JSON schema for validating contract structure
@@ -38,7 +38,7 @@ This package was created in Phase 1 and refactored in Phase 2. It now composes t
38
38
  - **SQL-specific build()**: Implements SQL-specific `build()` method in `SqlContractBuilder` that constructs `SqlContract` instances with SQL-specific structure (uniques, indexes, foreignKeys arrays)
39
39
 
40
40
  This package is part of the package layering architecture:
41
- - **Location**: `packages/sql/authoring/sql-contract-ts` (SQL family namespace)
41
+ - **Location**: `packages/2-sql/2-authoring/contract-ts` (SQL family namespace)
42
42
  - **Ring**: SQL family namespace (can import from core, authoring, targets, and other SQL family packages)
43
43
 
44
44
  ## Exports
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@prisma-next/sql-contract-ts",
3
- "version": "0.1.0-dev.2",
3
+ "version": "0.1.0-dev.20",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "SQL-specific TypeScript contract authoring surface for Prisma Next",
7
7
  "dependencies": {
8
8
  "arktype": "^2.1.25",
9
9
  "ts-toolbelt": "^9.6.0",
10
- "@prisma-next/contract-authoring": "0.1.0-dev.2",
11
- "@prisma-next/sql-contract": "0.1.0-dev.2",
12
- "@prisma-next/contract": "0.1.0-dev.2"
10
+ "@prisma-next/contract": "0.1.0-dev.20",
11
+ "@prisma-next/contract-authoring": "0.1.0-dev.20",
12
+ "@prisma-next/sql-contract": "0.1.0-dev.20"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@types/pg": "^8.11.10",
16
16
  "pg": "^8.11.5",
17
17
  "tsup": "^8.3.0",
18
18
  "typescript": "^5.9.3",
19
- "vitest": "^2.1.1",
19
+ "vitest": "^4.0.16",
20
20
  "@prisma-next/test-utils": "0.0.1"
21
21
  },
22
22
  "files": [
@@ -40,6 +40,8 @@
40
40
  "test:coverage": "vitest run --coverage",
41
41
  "typecheck": "tsc --project tsconfig.json --noEmit",
42
42
  "lint": "biome check . --config-path ../../../../biome.json --error-on-warnings",
43
+ "lint:fix": "biome check --write . --config-path ../../../../biome.json",
44
+ "lint:fix:unsafe": "biome check --write --unsafe . --config-path ../../../../biome.json",
43
45
  "clean": "node ../../../../scripts/clean.mjs"
44
46
  }
45
47
  }