@dsh-workbench/adapters-default 1.1.13 → 1.1.14-beta.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/runtime-port.js +4 -4
- 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
|
@@ -37,13 +37,13 @@ export function createRuntimePort() {
|
|
|
37
37
|
pluginArea: { zh: 'opencli 的插件区', en: 'the opencli plugin area' },
|
|
38
38
|
},
|
|
39
39
|
installHint: {
|
|
40
|
-
zh: '确认 opencli
|
|
41
|
-
en: 'Make sure opencli is installed and runs from your terminal
|
|
40
|
+
zh: '确认 opencli 已经装好、在终端里能直接运行。',
|
|
41
|
+
en: 'Make sure opencli is installed and runs from your terminal.',
|
|
42
42
|
},
|
|
43
43
|
diagnose: {
|
|
44
44
|
exec: {
|
|
45
|
-
zh: '确认 opencli
|
|
46
|
-
en: 'Make sure opencli is installed and runs from your terminal
|
|
45
|
+
zh: '确认 opencli 已经装好、在终端里能直接运行。',
|
|
46
|
+
en: 'Make sure opencli is installed and runs from your terminal.',
|
|
47
47
|
},
|
|
48
48
|
login: {
|
|
49
49
|
zh: '在工作台的浏览器桥里登录一次;登录态会一直留着。',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-workbench/adapters-default",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.14-beta.0",
|
|
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-
|
|
17
|
-
"@dsh-workbench/
|
|
18
|
-
"@dsh-workbench/adapter-runtime": "1.1.
|
|
19
|
-
"@dsh-workbench/adapter-
|
|
20
|
-
"@dsh-workbench/
|
|
16
|
+
"@dsh-workbench/adapter-profile": "1.1.14-beta.0",
|
|
17
|
+
"@dsh-workbench/adapter-supply": "1.1.14-beta.0",
|
|
18
|
+
"@dsh-workbench/adapter-runtime": "1.1.14-beta.0",
|
|
19
|
+
"@dsh-workbench/adapter-probe": "1.1.14-beta.0",
|
|
20
|
+
"@dsh-workbench/shared": "1.1.14-beta.0"
|
|
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
|
-
}
|