From e3da38986c4f119921c38380838f81654afda2b1 Mon Sep 17 00:00:00 2001 From: Pionxzh Date: Sun, 17 Dec 2023 15:22:32 +0800 Subject: [PATCH] build(cli): clack core should be inlined for patch --- packages/cli/package.json | 2 +- packages/cli/tsup.config.ts | 1 + pnpm-lock.yaml | 7 +++---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index e910bca8..31805196 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -24,7 +24,6 @@ "lint:fix": "eslint src --fix" }, "dependencies": { - "@clack/core": "^0.3.3", "@clack/prompts": "^0.7.0", "fs-extra": "^11.1.1", "globby": "^11.1.0", @@ -33,6 +32,7 @@ "yargs": "^17.7.2" }, "devDependencies": { + "@clack/core": "^0.3.3", "@types/fs-extra": "^11.0.4", "@types/jscodeshift": "^0.11.11", "@types/yargs": "^17.0.32", diff --git a/packages/cli/tsup.config.ts b/packages/cli/tsup.config.ts index 34c9cc5f..7361ba68 100644 --- a/packages/cli/tsup.config.ts +++ b/packages/cli/tsup.config.ts @@ -17,6 +17,7 @@ export default defineConfig({ noExternal: [ 'jscodeshift', 'ast-types', + '@clack/core', // patched /@wakaru\/.+/, ], }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 49d40799..c340edf3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -96,9 +96,6 @@ importers: packages/cli: dependencies: - '@clack/core': - specifier: ^0.3.3 - version: 0.3.3(patch_hash=sdevlgg5lm2tflzpgv2wxwifja) '@clack/prompts': specifier: ^0.7.0 version: 0.7.0 @@ -118,6 +115,9 @@ importers: specifier: ^17.7.2 version: 17.7.2 devDependencies: + '@clack/core': + specifier: ^0.3.3 + version: 0.3.3(patch_hash=sdevlgg5lm2tflzpgv2wxwifja) '@types/fs-extra': specifier: ^11.0.4 version: 11.0.4 @@ -1686,7 +1686,6 @@ packages: dependencies: picocolors: 1.0.0 sisteransi: 1.0.5 - dev: false patched: true /@clack/prompts@0.7.0: