@kb-labs/marketplace-contracts 2.14.0 → 2.15.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 +6 -0
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -127,6 +127,12 @@ interface EntityKindStrategy {
|
|
|
127
127
|
* Called after detectKind succeeds.
|
|
128
128
|
*/
|
|
129
129
|
extractProvides(packageRoot: string): Promise<EntityKind[]>;
|
|
130
|
+
/**
|
|
131
|
+
* Resolve the canonical entity ID to use as the lock key.
|
|
132
|
+
* If provided and returns a non-null value, it overrides the package.json name.
|
|
133
|
+
* Useful when the manifest ID differs from the package name (e.g. after folder renames).
|
|
134
|
+
*/
|
|
135
|
+
resolveId?(packageRoot: string): Promise<string | null>;
|
|
130
136
|
/**
|
|
131
137
|
* Post-install hook. Called after the package is installed and written to lock.
|
|
132
138
|
* Example: adapter strategy validates that required adapter dependencies are installed.
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@kb-labs/core-discovery": "2.
|
|
4
|
-
"@kb-labs/core-platform": "2.
|
|
5
|
-
"@kb-labs/plugin-contracts": "2.
|
|
3
|
+
"@kb-labs/core-discovery": "2.15.0",
|
|
4
|
+
"@kb-labs/core-platform": "2.15.0",
|
|
5
|
+
"@kb-labs/plugin-contracts": "2.15.0"
|
|
6
6
|
},
|
|
7
7
|
"description": "Shared types and interfaces for KB Labs marketplace",
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"tsup": "^8.5.0",
|
|
10
10
|
"typescript": "^5",
|
|
11
11
|
"vitest": "^3.2.4",
|
|
12
|
-
"@kb-labs/devkit": "2.
|
|
12
|
+
"@kb-labs/devkit": "2.15.0"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=20.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"sideEffects": false,
|
|
32
32
|
"type": "module",
|
|
33
33
|
"types": "./dist/index.d.ts",
|
|
34
|
-
"version": "2.
|
|
34
|
+
"version": "2.15.0",
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "tsup",
|
|
37
37
|
"clean": "rimraf dist",
|