@north-light/api 0.3.568 → 0.3.569
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.
|
@@ -8,6 +8,8 @@ export interface PluginInstall {
|
|
|
8
8
|
url: string | null;
|
|
9
9
|
ref: string | null;
|
|
10
10
|
} | null;
|
|
11
|
+
/** A directory provider bundle (`isProviderBundleRow`): a provider call installs it into this process's own plugin directory, so there is nothing to fetch. */
|
|
12
|
+
providerBundle: boolean;
|
|
11
13
|
}
|
|
12
14
|
/** The directory holding this person's materialized plugins as `<dir>/<plugin name>`; undefined when none were materialized. */
|
|
13
15
|
export declare function materializedPluginsDir(person: string): string | undefined;
|
|
@@ -30,6 +30,8 @@ async function installAll(staging, installs) {
|
|
|
30
30
|
if (plugin.sourcePath !== null)
|
|
31
31
|
throw new CrtrError('plugin_source_unreachable', `${plugin.name}: its source is ${plugin.sourcePath} on the machine that registered it, which the control plane cannot read`);
|
|
32
32
|
const market = plugin.marketplace;
|
|
33
|
+
if (plugin.providerBundle)
|
|
34
|
+
continue;
|
|
33
35
|
if (market === null)
|
|
34
36
|
throw new CrtrError('plugin_source_unreachable', `${plugin.name}: it names neither a marketplace nor a path`);
|
|
35
37
|
if (market.url === null || market.url === '')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@north-light/api",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.569",
|
|
4
4
|
"description": "Typed crtrd /v1 API contract — DTOs, route builders, the error contract, the CrtrClient, and the command-plugin manifest format. Zero runtime dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/api/index.js",
|