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: remove esbuild-plugin-clean (#584)

白熱848524259d1d
diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml
index 0ce09b3627..6ec46d5011 100644
--- a/.github/workflows/release-nightly.yml
+++ b/.github/workflows/release-nightly.yml
@@ -2,13 +2,14 @@ name: 🥷 Release Nightly
on:
schedule:
- - cron: '0 17 * * *'
+ - cron: '0 16 * * *'
permissions:
contents: read
jobs:
build:
+ if: github.repository == 'dream-num/univer'
runs-on: ubuntu-latest
steps:
diff --git a/esbuild.config.mjs b/esbuild.config.mjs
index c5e0d3c305..77fc035ef8 100644
--- a/esbuild.config.mjs
+++ b/esbuild.config.mjs
@@ -1,5 +1,4 @@
import { transformFile } from '@swc/core';
-import cleanPlugin from 'esbuild-plugin-clean';
import stylePlugin from 'esbuild-style-plugin';
import { writeFileSync } from 'fs';
@@ -10,9 +9,6 @@ export default {
loader: { '.svg': 'file' },
sourcemap: false,
plugins: [
- cleanPlugin({
- patterns: ['./lib'],
- }),
stylePlugin({
cssModulesOptions: {
localsConvention: 'camelCaseOnly',
diff --git a/package.json b/package.json
index 88d13ee9c9..b02ca1225f 100644
--- a/package.json
+++ b/package.json
@@ -46,7 +46,6 @@
"@univerjs/design": "workspace:*",
"@vitejs/plugin-react": "^4.2.0",
"esbuild": "^0.19.8",
- "esbuild-plugin-clean": "^1.0.1",
"esbuild-style-plugin": "^1.6.3",
"eslint": "^8.54.0",
"eslint-config-airbnb-base": "^15.0.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d6ece1e8ca..bf9ab8566e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -68,9 +68,6 @@ importers:
esbuild:
specifier: ^0.19.8
version: 0.19.8
- esbuild-plugin-clean:
- specifier: ^1.0.1
- version: 1.0.1([email protected])
esbuild-style-plugin:
specifier: ^1.6.3
version: 1.6.3