Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore(conditional-formatting): fix prepare script (#1746)

白熱e87d337dc9dc
diff --git a/packages/sheets-conditional-formatting-ui/package.json b/packages/sheets-conditional-formatting-ui/package.json
index 9ca2a78f1d..557f00bfaf 100644
--- a/packages/sheets-conditional-formatting-ui/package.json
+++ b/packages/sheets-conditional-formatting-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "@univerjs/sheets-conditional-formatting-ui",
- "version": "0.1.4",
+ "version": "0.1.5",
"private": false,
"description": "Conditional formatting plugin for Univer Sheets",
"author": "DreamNum <[email protected]>",
@@ -106,7 +106,6 @@
"less": "^4.2.0",
"react": "^18.2.0",
"rxjs": "^7.8.1",
- "sharp": "^0.33.3",
"typescript": "^5.4.3",
"vite": "^5.2.6",
"vitest": "^1.4.0"
diff --git a/packages/sheets-conditional-formatting/package.json b/packages/sheets-conditional-formatting/package.json
index d4e6cc5571..b2023e3d28 100644
--- a/packages/sheets-conditional-formatting/package.json
+++ b/packages/sheets-conditional-formatting/package.json
@@ -56,7 +56,7 @@
"npm": ">=8.0.0"
},
"scripts": {
- "postinstall": "node ./scripts/build-icons",
+ "prepare": "node ./scripts/build-icons",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
@@ -82,9 +82,6 @@
"@univerjs/shared": "workspace:*",
"@univerjs/sheets": "workspace:*",
"@wendellhu/redi": "^0.13.0",
- "clsx": "^2.1.0",
- "less": "^4.2.0",
- "react": "^18.2.0",
"rxjs": "^7.8.1",
"sharp": "^0.33.3",
"typescript": "^5.4.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 079c172f82..a97e8aa497 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -800,15 +800,6 @@ importers:
'@wendellhu/redi':
specifier: ^0.13.0
version: 0.13.0
- clsx:
- specifier: ^2.1.0
- version: 2.1.0
- less:
- specifier: ^4.2.0
- version: 4.2.0
- react:
- specifier: ^18.2.0
- version: 18.2.0
rxjs:
specifier: ^7.8.1
version: 7.8.1
@@ -823,7 +814,7 @@ importers:
version: 5.2.6(@types/[email protected])([email protected])
vitest:
specifier: ^1.4.0
- version: 1.4.0(@types/[email protected])([email protected])
+ version: 1.4.0(@types/[email protected])([email protected])
packages/sheets-conditional-formatting-ui:
dependencies:
@@ -900,9 +891,6 @@ importers:
rxjs:
specifier: ^7.8.1
version: 7.8.1
- sharp:
- specifier: ^0.33.3
- version: 0.33.3
typescript:
specifier: ^5.4.3
version: 5.4.3