@prisma-next/emitter 0.3.0-pr.93.4 → 0.3.0-pr.95.1
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/dist/src/exports/index.d.ts.map +1 -0
- package/dist/src/target-family.d.ts.map +1 -0
- package/dist/test/utils.d.ts +14 -0
- package/dist/test/utils.d.ts.map +1 -0
- package/package.json +6 -6
- package/dist/exports/index.d.ts.map +0 -1
- package/dist/target-family.d.ts.map +0 -1
- package/test/tsconfig.json +0 -4
- /package/dist/{exports → src/exports}/index.d.ts +0 -0
- /package/dist/{target-family.d.ts → src/target-family.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/exports/index.ts"],"names":[],"mappings":"AACA,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,iBAAiB,GAClB,MAAM,6BAA6B,CAAC;AACrC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAExF,OAAO,EAAE,IAAI,EAAE,MAAM,0CAA0C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"target-family.d.ts","sourceRoot":"","sources":["../../src/target-family.ts"],"names":[],"mappings":"AAEA,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,iBAAiB,GAClB,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ContractIR } from '@prisma-next/contract/ir';
|
|
2
|
+
/**
|
|
3
|
+
* Factory function for creating ContractIR objects in tests.
|
|
4
|
+
* Provides sensible defaults and allows overriding specific fields.
|
|
5
|
+
* Uses the emitter factories internally for consistency.
|
|
6
|
+
*
|
|
7
|
+
* If a field is explicitly set to `undefined` in overrides, it will be omitted
|
|
8
|
+
* from the result (useful for testing validation of missing fields).
|
|
9
|
+
*/
|
|
10
|
+
export declare function createContractIR(overrides?: Partial<ContractIR> & {
|
|
11
|
+
coreHash?: string;
|
|
12
|
+
profileHash?: string;
|
|
13
|
+
}): ContractIR;
|
|
14
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../test/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAoB,MAAM,0BAA0B,CAAC;AAE7E;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,GAAE,OAAO,CAAC,UAAU,CAAC,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAO,GAChF,UAAU,CAyJZ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/emitter",
|
|
3
|
-
"version": "0.3.0-pr.
|
|
3
|
+
"version": "0.3.0-pr.95.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"files": [
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"arktype": "^2.0.0",
|
|
13
|
-
"@prisma-next/contract": "0.3.0-pr.
|
|
14
|
-
"@prisma-next/core-control-plane": "0.3.0-pr.
|
|
13
|
+
"@prisma-next/contract": "0.3.0-pr.95.1",
|
|
14
|
+
"@prisma-next/core-control-plane": "0.3.0-pr.95.1"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/node": "24.10.4",
|
|
18
18
|
"tsup": "8.5.1",
|
|
19
19
|
"typescript": "5.9.3",
|
|
20
20
|
"vitest": "4.0.16",
|
|
21
|
-
"@prisma-next/operations": "0.3.0-pr.
|
|
21
|
+
"@prisma-next/operations": "0.3.0-pr.95.1",
|
|
22
22
|
"@prisma-next/test-utils": "0.0.1",
|
|
23
23
|
"@prisma-next/tsconfig": "0.0.0"
|
|
24
24
|
},
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
|
-
"build": "tsup && tsc",
|
|
36
|
+
"build": "tsup --config tsup.config.ts && tsc --project tsconfig.build.json",
|
|
37
37
|
"test": "vitest run",
|
|
38
38
|
"test:coverage": "vitest run --coverage",
|
|
39
|
-
"typecheck": "tsc --noEmit",
|
|
39
|
+
"typecheck": "tsc --project tsconfig.json --noEmit",
|
|
40
40
|
"lint": "biome check . --error-on-warnings",
|
|
41
41
|
"lint:fix": "biome check --write .",
|
|
42
42
|
"lint:fix:unsafe": "biome check --write --unsafe .",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/exports/index.ts"],"names":[],"mappings":"AACA,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,iBAAiB,GAClB,MAAM,6BAA6B,CAAC;AACrC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAExF,OAAO,EAAE,IAAI,EAAE,MAAM,0CAA0C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"target-family.d.ts","sourceRoot":"","sources":["../src/target-family.ts"],"names":[],"mappings":"AAEA,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,iBAAiB,GAClB,MAAM,6BAA6B,CAAC"}
|
package/test/tsconfig.json
DELETED
|
File without changes
|
|
File without changes
|