@openpkg-ts/spec 0.50.0 → 0.52.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.
- package/dist/index.d.ts +4 -0
- package/dist/index.js +5 -0
- package/package.json +3 -3
- package/schemas/v0.4.0/openpkg.schema.json +5 -0
package/dist/index.d.ts
CHANGED
|
@@ -439,6 +439,10 @@ type SpecGenerationMeta = {
|
|
|
439
439
|
schemaExtraction?: "hybrid";
|
|
440
440
|
/** Exports that were skipped during extraction */
|
|
441
441
|
skipped?: SpecSkippedExport[];
|
|
442
|
+
/** Entry file that was analyzed */
|
|
443
|
+
entryPoint?: string;
|
|
444
|
+
/** How the entry point was detected */
|
|
445
|
+
entryPointSource?: EntryPointDetectionMethod;
|
|
442
446
|
};
|
|
443
447
|
type OpenPkg = {
|
|
444
448
|
$schema?: string;
|
package/dist/index.js
CHANGED
|
@@ -2327,6 +2327,11 @@ var openpkg_schema_default4 = {
|
|
|
2327
2327
|
reason: { type: "string" }
|
|
2328
2328
|
}
|
|
2329
2329
|
}
|
|
2330
|
+
},
|
|
2331
|
+
entryPoint: { type: "string" },
|
|
2332
|
+
entryPointSource: {
|
|
2333
|
+
type: "string",
|
|
2334
|
+
enum: ["types", "exports", "main", "module", "fallback", "explicit", "llm"]
|
|
2330
2335
|
}
|
|
2331
2336
|
}
|
|
2332
2337
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openpkg-ts/spec",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.52.0",
|
|
4
4
|
"description": "Shared schema, validation, and diff utilities for OpenPkg specs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openpkg",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"lint": "biome check src/",
|
|
38
38
|
"lint:fix": "biome check --write src/",
|
|
39
39
|
"format": "biome format --write src/",
|
|
40
|
-
"typecheck": "tsc --noEmit -p ."
|
|
40
|
+
"typecheck": "tsc --noEmit --types bun -p ."
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"ajv": "^8.17.1",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@types/bun": "latest",
|
|
48
48
|
"@types/node": "^20.0.0",
|
|
49
49
|
"bunup": "^0.16.20",
|
|
50
|
-
"typescript": "^5.0.0"
|
|
50
|
+
"typescript": "^5.0.0 || ^6.0.0"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|