From b1b1fd39df0c66e61d4252e9c6fca7fadb9bdcd8 Mon Sep 17 00:00:00 2001 From: fz6m <59400654+fz6m@users.noreply.github.com> Date: Sun, 24 Dec 2023 04:15:09 +0800 Subject: [PATCH] ci: fix --- packages/plugin-run/package.json | 1 + packages/plugin-run/src/index.ts | 2 +- pnpm-lock.yaml | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/plugin-run/package.json b/packages/plugin-run/package.json index 63f30022c1af..ea85bf63b75a 100644 --- a/packages/plugin-run/package.json +++ b/packages/plugin-run/package.json @@ -20,6 +20,7 @@ "dev": "umi-scripts father dev" }, "dependencies": { + "@umijs/utils": "workspace:*", "tsx": "^3.12.2" }, "publishConfig": { diff --git a/packages/plugin-run/src/index.ts b/packages/plugin-run/src/index.ts index 9a51414b4641..7db8b747daff 100644 --- a/packages/plugin-run/src/index.ts +++ b/packages/plugin-run/src/index.ts @@ -1,9 +1,9 @@ +import { fsExtra, resolve } from '@umijs/utils'; import assert from 'assert'; import { fork } from 'child_process'; import { writeFileSync } from 'fs'; import { dirname, join } from 'path'; import { IApi } from 'umi'; -import { fsExtra, resolve } from 'umi/plugin-utils'; export default (api: IApi) => { api.describe({ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index df6b9b13a70a..814a8f34a4ef 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2251,6 +2251,9 @@ importers: packages/plugin-run: dependencies: + '@umijs/utils': + specifier: workspace:* + version: link:../utils tsx: specifier: ^3.12.2 version: 3.12.2