From ca56f0dc453e6bc4bbd8633ebd1274b6723590a5 Mon Sep 17 00:00:00 2001 From: Timeless0911 <1604889533@qq.com> Date: Mon, 13 Jan 2025 14:42:18 +0800 Subject: [PATCH] chore: remove unused `@rslib/core` to avoid nx cache error --- examples/preact-component-bundle-false/rslib.config.ts | 2 +- examples/react-component-bundle-false/rslib.config.ts | 2 +- packages/create-rslib/package.json | 1 - pnpm-lock.yaml | 3 --- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/preact-component-bundle-false/rslib.config.ts b/examples/preact-component-bundle-false/rslib.config.ts index 20244867c..25877d47c 100644 --- a/examples/preact-component-bundle-false/rslib.config.ts +++ b/examples/preact-component-bundle-false/rslib.config.ts @@ -1,6 +1,6 @@ import { pluginPreact } from '@rsbuild/plugin-preact'; import { pluginSass } from '@rsbuild/plugin-sass'; -import { type LibConfig, defineConfig } from '@rslib/core'; +import { defineConfig } from '@rslib/core'; export default defineConfig({ source: { diff --git a/examples/react-component-bundle-false/rslib.config.ts b/examples/react-component-bundle-false/rslib.config.ts index fc48f32f2..217476eed 100644 --- a/examples/react-component-bundle-false/rslib.config.ts +++ b/examples/react-component-bundle-false/rslib.config.ts @@ -1,6 +1,6 @@ import { pluginReact } from '@rsbuild/plugin-react'; import { pluginSass } from '@rsbuild/plugin-sass'; -import { type LibConfig, defineConfig } from '@rslib/core'; +import { defineConfig } from '@rslib/core'; export default defineConfig({ source: { diff --git a/packages/create-rslib/package.json b/packages/create-rslib/package.json index 803b491a6..b6533cf8a 100644 --- a/packages/create-rslib/package.json +++ b/packages/create-rslib/package.json @@ -32,7 +32,6 @@ "create-rstack": "1.1.0" }, "devDependencies": { - "@rslib/core": "workspace:*", "@rslib/tsconfig": "workspace:*", "@types/fs-extra": "^11.0.4", "@types/node": "^22.8.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9e9fe079c..e5ed9bbfb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -320,9 +320,6 @@ importers: specifier: 1.1.0 version: 1.1.0 devDependencies: - '@rslib/core': - specifier: workspace:* - version: link:../core '@rslib/tsconfig': specifier: workspace:* version: link:../../scripts/tsconfig