@dsh-workbench/adapters-default 1.5.6 → 1.5.7
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/runtime-port.js +1 -1
- package/package.json +6 -6
- package/dist/host-actions.d.ts +0 -2
- package/dist/host-actions.js +0 -4
- package/dist/probe-port.d.ts +0 -2
- package/dist/probe-port.js +0 -5
- package/dist/supply-port.d.ts +0 -2
- package/dist/supply-port.js +0 -41
package/dist/runtime-port.js
CHANGED
|
@@ -71,7 +71,7 @@ export function createRuntimePort(options = {}) {
|
|
|
71
71
|
en: 'The opencli browser extension is not connected. Make sure the browser is running and the extension is enabled; install it once from the store if needed (then hit Retry here).',
|
|
72
72
|
},
|
|
73
73
|
link: {
|
|
74
|
-
label: { zh: '去 Chrome
|
|
74
|
+
label: { zh: '去 Chrome 应用商店安装扩展', en: 'Get the extension in the Chrome Web Store' },
|
|
75
75
|
href: 'https://chromewebstore.google.com/detail/opencli/ildkmabpimmkaediidaifkhjpohdnifk',
|
|
76
76
|
},
|
|
77
77
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-workbench/adapters-default",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.7",
|
|
4
4
|
"description": "Default host adapter set installed with @dsh-workbench/core.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"dist"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@dsh-workbench/adapter-probe": "1.5.
|
|
17
|
-
"@dsh-workbench/adapter-profile": "1.5.
|
|
18
|
-
"@dsh-workbench/adapter-runtime": "1.5.
|
|
19
|
-
"@dsh-workbench/adapter-supply": "1.5.
|
|
20
|
-
"@dsh-workbench/shared": "1.5.
|
|
16
|
+
"@dsh-workbench/adapter-probe": "1.5.7",
|
|
17
|
+
"@dsh-workbench/adapter-profile": "1.5.7",
|
|
18
|
+
"@dsh-workbench/adapter-runtime": "1.5.7",
|
|
19
|
+
"@dsh-workbench/adapter-supply": "1.5.7",
|
|
20
|
+
"@dsh-workbench/shared": "1.5.7"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|
package/dist/host-actions.d.ts
DELETED
package/dist/host-actions.js
DELETED
package/dist/probe-port.d.ts
DELETED
package/dist/probe-port.js
DELETED
package/dist/supply-port.d.ts
DELETED
package/dist/supply-port.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { cliCatalogPath, ensureLibsBinOnPath, ensureLibsOpencliPeer, isolatedHome, libInstallCommand, vendorPluginsDir } from '@dsh-workbench/adapter-runtime';
|
|
2
|
-
import { isolatedRoot } from '@dsh-workbench/shared/host';
|
|
3
|
-
import { createRegistryNotebook, isNewerVersion, latestVersion, missingReleaseParts, probeRelease } from '@dsh-workbench/adapter-profile';
|
|
4
|
-
import { opencliInstallCommand, startSelfUpdate } from '@dsh-workbench/adapter-probe';
|
|
5
|
-
import { declarationGaps, declarationRefusalOf, moduleDeclarationOf, packageRouteOf, pathDeclarationOf, pluginInstallPlan, profileDirOf, profileModules, readBundleManager, readInstalledModule, readProfilePackage, refusalReason, registryDeclarationOf, resolvePluginSource, splitNpmSpec, } from '@dsh-workbench/adapter-supply';
|
|
6
|
-
export function createSupplyPort() {
|
|
7
|
-
const port = {
|
|
8
|
-
isolatedRoot,
|
|
9
|
-
isolatedHome,
|
|
10
|
-
cliCatalogPath,
|
|
11
|
-
vendorPluginsDir,
|
|
12
|
-
runtimeInstallCommand: opencliInstallCommand,
|
|
13
|
-
afterLibInstall() {
|
|
14
|
-
ensureLibsOpencliPeer();
|
|
15
|
-
ensureLibsBinOnPath();
|
|
16
|
-
},
|
|
17
|
-
profileDirOf,
|
|
18
|
-
profileModules,
|
|
19
|
-
readInstalledModule,
|
|
20
|
-
readProfilePackage,
|
|
21
|
-
readBundleManager,
|
|
22
|
-
createRegistryNotebook,
|
|
23
|
-
declarationGaps,
|
|
24
|
-
moduleDeclarationOf,
|
|
25
|
-
registryDeclarationOf,
|
|
26
|
-
pathDeclarationOf,
|
|
27
|
-
declarationRefusalOf,
|
|
28
|
-
refusalReason,
|
|
29
|
-
latestVersion,
|
|
30
|
-
missingReleaseParts,
|
|
31
|
-
isNewerVersion,
|
|
32
|
-
pluginInstallPlan,
|
|
33
|
-
packageRouteOf,
|
|
34
|
-
probeRelease,
|
|
35
|
-
resolvePluginSource,
|
|
36
|
-
splitNpmSpec,
|
|
37
|
-
libInstallCommand,
|
|
38
|
-
startSelfUpdate,
|
|
39
|
-
};
|
|
40
|
-
return { ...port, env: port, modules: port };
|
|
41
|
-
}
|