@dsh-workbench/adapter-probe 1.1.9 → 1.1.11

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/preflight.js CHANGED
@@ -229,6 +229,7 @@ export function createPreflight(options) {
229
229
  pnpmProblem: true,
230
230
  }));
231
231
  if (toolchain !== undefined && toolchain.ok && toolchain.npmMissing && options.provisionNpm !== undefined) {
232
+ set({ phase: 'installing' });
232
233
  patchStep('toolchain', { status: 'running', action: `装本地 npm@${LOCAL_NPM_VERSION}` });
233
234
  const provisioned = await options.provisionNpm().catch((error) => ({
234
235
  ok: false,
@@ -244,6 +245,7 @@ export function createPreflight(options) {
244
245
  }
245
246
  }
246
247
  if (toolchain !== undefined && toolchain.ok && toolchain.pnpmProblem && options.provisionPnpm !== undefined) {
248
+ set({ phase: 'installing' });
247
249
  patchStep('toolchain', { status: 'running', action: `装本地 pnpm@${LOCAL_PNPM_VERSION}` });
248
250
  const provisioned = await options.provisionPnpm().catch((error) => ({
249
251
  ok: false,
@@ -259,6 +261,7 @@ export function createPreflight(options) {
259
261
  }
260
262
  }
261
263
  if (toolchain !== undefined) {
264
+ set({ phase: 'checking' });
262
265
  patchStep('toolchain', {
263
266
  status: toolchain.ok ? (toolchain.npmMissing || toolchain.pnpmProblem ? 'warn' : 'ok') : 'failed',
264
267
  detail: toolchain.detail,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-workbench/adapter-probe",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "description": "Workbench adapter-probe adapter.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -16,10 +16,10 @@
16
16
  "execa": "^10.2.0",
17
17
  "proper-lockfile": "^4.1.2",
18
18
  "write-file-atomic": "^8.0.0",
19
- "@dsh-workbench/adapter-runtime": "1.1.9",
20
- "@dsh-workbench/adapter-supply": "1.1.9",
21
- "@dsh-workbench/shared": "1.1.9",
22
- "@dsh-workbench/adapter-profile": "1.1.9"
19
+ "@dsh-workbench/shared": "1.1.11",
20
+ "@dsh-workbench/adapter-runtime": "1.1.11",
21
+ "@dsh-workbench/adapter-supply": "1.1.11",
22
+ "@dsh-workbench/adapter-profile": "1.1.11"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "^24.19.0",