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.

ci: remove cnpm sync workflow (#3624)

白熱ae2297d97db2
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d47daff6e1..551a98472a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -2,9 +2,11 @@ name: 📦 Build
on:
push:
- branches: [dev]
+ branches:
+ - dev
pull_request:
- branches: [dev]
+ branches:
+ - dev
permissions:
contents: read
diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml
index dfe248bc80..62ed804ca0 100644
--- a/.github/workflows/ci-test.yml
+++ b/.github/workflows/ci-test.yml
@@ -2,9 +2,11 @@ name: 🧪 CI Test
on:
push:
- branches: [main, dev]
+ branches:
+ - dev
pull_request:
- branches: [main, dev]
+ branches:
+ - dev
permissions:
contents: read
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index d2ae7bb0b5..7f1934c18a 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -2,7 +2,8 @@ name: 🎭 Playwright Tests
on:
pull_request:
- branches: [dev]
+ branches:
+ - dev
jobs:
e2e-test:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 74a985f7b9..4a65e1bc32 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -70,56 +70,13 @@ jobs:
- name: 🐙 Publish
run: |
- if [[ ${{ needs.prepare.outputs.release_type }} == "alpha" ]]; then
- pnpm publish --access public --tag ${{ needs.prepare.outputs.release_type }} -r --no-git-checks
- else
+ if [[ ${{ needs.prepare.outputs.release_type }} == "stable" ]]; then
pnpm publish --access public -r --no-git-checks
- fi
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
-
- release-verdaccio:
- needs: [prepare]
- if: github.repository == 'dream-num/univer'
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- with:
- ref: ${{ github.ref_name }}
-
- - name: Install pnpm
- uses: pnpm/action-setup@v4
- with:
- run_install: false
-
- - name: Install Node.js
- uses: actions/setup-node@v4
- with:
- node-version: 20
-
- - name: 🚚 Install dependencies and build
- run: |
- pnpm install
- pnpm build
-
- - name: Install Node.js
- uses: actions/setup-node@v4
- with:
- node-version: 20
- registry-url: ${{ secrets.VERDACCIO_URL }}
- scope: '@univerjs'
-
- - name: 🐙 Publish
- run: |
- if [[ ${{ needs.prepare.outputs.release_type }} == "alpha" ]]; then
- pnpm publish --access public --tag ${{ needs.prepare.outputs.release_type }} -r --no-git-checks
else
- pnpm publish --access public -r --no-git-checks
+ pnpm publish --access public --tag ${{ needs.prepare.outputs.release_type }} -r --no-git-checks
fi
env:
- NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
build-demo:
runs-on: ubuntu-latest
@@ -149,29 +106,8 @@ jobs:
id: vercel-demo
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
- vercel-org-id: ${{ secrets.ORG_ID}}
- vercel-project-id: ${{ secrets.PROJECT_ID}}
-
- sync-cnpm:
- runs-on: ubuntu-latest
- needs: [release-npm]
-
- steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Setup Node.js
- uses: ./.github/actions/setup-node
-
- - name: Install Node.js
- uses: actions/setup-node@v4
- with:
- node-version: 20
- - name: 🚚 Install dependencies
- run: pnpm install cnpm -g
-
- - name: 🐙 Sync to cnpm
- run: pnpm sync:cnpm
+ vercel-org-id: ${{ secrets.ORG_ID }}
+ vercel-project-id: ${{ secrets.PROJECT_ID }}
build-storybook:
runs-on: ubuntu-latest
@@ -196,12 +132,12 @@ jobs:
id: vercel-storybook
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
- vercel-org-id: ${{ secrets.ORG_ID}}
- vercel-project-id: ${{ secrets.PROJECT_ID_STORYBOOK}}
+ vercel-org-id: ${{ secrets.ORG_ID }}
+ vercel-project-id: ${{ secrets.PROJECT_ID_STORYBOOK }}
vercel-args: --prod
notify:
- needs: [release-npm, release-verdaccio, build-demo, build-storybook]
+ needs: [release-npm, build-demo, build-storybook]
runs-on: ubuntu-latest
steps:
diff --git a/.github/workflows/sync-mirror.yml b/.github/workflows/sync-mirror.yml
index 5b9bf66b71..03af571734 100644
--- a/.github/workflows/sync-mirror.yml
+++ b/.github/workflows/sync-mirror.yml
@@ -2,7 +2,9 @@ name: 🔮 Sync Mirror
on:
push:
- branches: [main, dev]
+ branches:
+ - main
+ - dev
jobs:
sync:
diff --git a/.github/workflows/sync-pro.yml b/.github/workflows/sync-pro.yml
index 734fcaf0f0..b4a79532f6 100644
--- a/.github/workflows/sync-pro.yml
+++ b/.github/workflows/sync-pro.yml
@@ -2,7 +2,8 @@ name: 🔫 Sync to Pro
on:
push:
- branches: [dev]
+ branches:
+ - dev
jobs:
update-submodules:
diff --git a/common/shared/vite/index.js b/common/shared/vite/index.js
index 18eb19262a..90640a7872 100644
--- a/common/shared/vite/index.js
+++ b/common/shared/vite/index.js
@@ -14,15 +14,15 @@
* limitations under the License.
*/
-const process = require('node:process');
const { resolve } = require('node:path');
+const process = require('node:process');
-const { defineConfig, mergeConfig } = require('vitest/config');
-const { default: dts } = require('vite-plugin-dts');
const react = require('@vitejs/plugin-react');
+const { default: dts } = require('vite-plugin-dts');
+const { defineConfig, mergeConfig } = require('vitest/config');
const { autoExternalizeDependency } = require('./auto-externalize-dependency-plugin');
-const { obfuscator } = require('./obfuscator');
const { buildPkg } = require('./build-pkg');
+const { obfuscator } = require('./obfuscator');
const { convertLibNameFromPackageName } = require('./utils');
/**
@@ -78,8 +78,7 @@ function createViteConfig(overrideConfig, /** @type {IOptions} */ options) {
],
define: {
'process.env.NODE_ENV': JSON.stringify(mode),
- 'process.env.BUNDLE_TYPE': JSON.stringify(process.env.BUNDLE_TYPE ?? ''),
- 'process.env.BUILD_TIMESTAMP': JSON.stringify(parseInt(Date.now() / 1000)),
+ 'process.env.BUILD_TIMESTAMP': JSON.stringify(Number.parseInt(Date.now() / 1000)),
},
test: {
css: {
diff --git a/common/shared/vite/obfuscator.js b/common/shared/vite/obfuscator.js
index 681e1d5605..03c6020c62 100644
--- a/common/shared/vite/obfuscator.js
+++ b/common/shared/vite/obfuscator.js
@@ -14,7 +14,6 @@
* limitations under the License.
*/
-const process = require('node:process');
const JavaScriptObfuscator = require('javascript-obfuscator');
exports.obfuscator = function obfuscator() {
@@ -22,13 +21,11 @@ exports.obfuscator = function obfuscator() {
name: 'obfuscator',
enforce: 'post',
async generateBundle(_options, bundle) {
- if (process.env.BUNDLE_TYPE === 'lite') {
- for (const file in bundle) {
- if (bundle[file].type === 'chunk' && /\.js$/.test(file)) {
- const code = bundle[file].code;
- const obfuscationResult = JavaScriptObfuscator.obfuscate(code);
- bundle[file].code = obfuscationResult.getObfuscatedCode();
- }
+ for (const file in bundle) {
+ if (bundle[file].type === 'chunk' && /\.js$/.test(file)) {
+ const code = bundle[file].code;
+ const obfuscationResult = JavaScriptObfuscator.obfuscate(code);
+ bundle[file].code = obfuscationResult.getObfuscatedCode();
}
}
},
diff --git a/package.json b/package.json
index 3dd122ac70..81326544ef 100644
--- a/package.json
+++ b/package.json
@@ -40,8 +40,7 @@
"lint:fix": "eslint . --fix",
"storybook:dev": "pnpm --filter @univerjs/storybook dev:storybook",
"storybook:build": "pnpm --filter @univerjs/storybook build:storybook",
- "release": "release-it",
- "sync:cnpm": "turbo sync:cnpm"
+ "release": "release-it"
},
"devDependencies": {
"@antfu/eslint-config": "3.7.3",
diff --git a/packages-experimental/debugger/package.json b/packages-experimental/debugger/package.json
index 719f1d0d9b..8b038ea5a5 100644
--- a/packages-experimental/debugger/package.json
+++ b/packages-experimental/debugger/package.json
@@ -51,8 +51,7 @@
],
"scripts": {
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/core/package.json b/packages/core/package.json
index 782c9818e4..c2e1a2f47e 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/data-validation/package.json b/packages/data-validation/package.json
index 90d88b32ac..31aef04e11 100644
--- a/packages/data-validation/package.json
+++ b/packages/data-validation/package.json
@@ -56,8 +56,7 @@
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/design/package.json b/packages/design/package.json
index ee7e7018ff..2921823394 100644
--- a/packages/design/package.json
+++ b/packages/design/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"clsx": ">=2.0.0",
diff --git a/packages/docs-drawing-ui/package.json b/packages/docs-drawing-ui/package.json
index 178a3fd29f..0dcd077360 100644
--- a/packages/docs-drawing-ui/package.json
+++ b/packages/docs-drawing-ui/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/docs-drawing/package.json b/packages/docs-drawing/package.json
index 728eb4e8d8..b7b39a5f15 100644
--- a/packages/docs-drawing/package.json
+++ b/packages/docs-drawing/package.json
@@ -54,8 +54,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/docs-mention-ui/package.json b/packages/docs-mention-ui/package.json
index 61890b59e6..9e91017684 100644
--- a/packages/docs-mention-ui/package.json
+++ b/packages/docs-mention-ui/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/docs-ui/package.json b/packages/docs-ui/package.json
index b992faeb17..09ec91b378 100644
--- a/packages/docs-ui/package.json
+++ b/packages/docs-ui/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/docs/package.json b/packages/docs/package.json
index a10ebf0897..224217b2a1 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/drawing-ui/package.json b/packages/drawing-ui/package.json
index 571146b37c..37a398a2a8 100644
--- a/packages/drawing-ui/package.json
+++ b/packages/drawing-ui/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/drawing/package.json b/packages/drawing/package.json
index 40966fe52f..3176bf1d23 100644
--- a/packages/drawing/package.json
+++ b/packages/drawing/package.json
@@ -54,8 +54,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/engine-formula/package.json b/packages/engine-formula/package.json
index 8c405b7e2b..5089ea87ea 100644
--- a/packages/engine-formula/package.json
+++ b/packages/engine-formula/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/engine-numfmt/package.json b/packages/engine-numfmt/package.json
index 9abbfea333..d443dae957 100644
--- a/packages/engine-numfmt/package.json
+++ b/packages/engine-numfmt/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
diff --git a/packages/engine-render/package.json b/packages/engine-render/package.json
index ec6ef43d09..1600a08725 100644
--- a/packages/engine-render/package.json
+++ b/packages/engine-render/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/facade/package.json b/packages/facade/package.json
index 30a9c9df0a..a7cb3c96fe 100644
--- a/packages/facade/package.json
+++ b/packages/facade/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json
index 4d04853366..6a848587a5 100644
--- a/packages/find-replace/package.json
+++ b/packages/find-replace/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/network/package.json b/packages/network/package.json
index b419f482d7..f7d2977840 100644
--- a/packages/network/package.json
+++ b/packages/network/package.json
@@ -55,8 +55,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/rpc/package.json b/packages/rpc/package.json
index 1b27bf6c12..c0ed1b1391 100644
--- a/packages/rpc/package.json
+++ b/packages/rpc/package.json
@@ -52,8 +52,7 @@
],
"scripts": {
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-conditional-formatting-ui/package.json b/packages/sheets-conditional-formatting-ui/package.json
index 167822146d..9d86ae4f9e 100644
--- a/packages/sheets-conditional-formatting-ui/package.json
+++ b/packages/sheets-conditional-formatting-ui/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-conditional-formatting/package.json b/packages/sheets-conditional-formatting/package.json
index bbdd419bde..9f90d53f38 100644
--- a/packages/sheets-conditional-formatting/package.json
+++ b/packages/sheets-conditional-formatting/package.json
@@ -57,8 +57,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-data-validation/package.json b/packages/sheets-data-validation/package.json
index 10b713f2b9..71454d007d 100644
--- a/packages/sheets-data-validation/package.json
+++ b/packages/sheets-data-validation/package.json
@@ -58,8 +58,7 @@
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-drawing-ui/package.json b/packages/sheets-drawing-ui/package.json
index 518877c92a..0bdeb6f16b 100644
--- a/packages/sheets-drawing-ui/package.json
+++ b/packages/sheets-drawing-ui/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-drawing/package.json b/packages/sheets-drawing/package.json
index de135cfc0d..ff3c19727f 100644
--- a/packages/sheets-drawing/package.json
+++ b/packages/sheets-drawing/package.json
@@ -54,8 +54,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-filter-ui/package.json b/packages/sheets-filter-ui/package.json
index da72f6f22b..2f2dcb96a2 100644
--- a/packages/sheets-filter-ui/package.json
+++ b/packages/sheets-filter-ui/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-filter/package.json b/packages/sheets-filter/package.json
index 52e6b03402..b62b6db432 100644
--- a/packages/sheets-filter/package.json
+++ b/packages/sheets-filter/package.json
@@ -54,8 +54,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-find-replace/package.json b/packages/sheets-find-replace/package.json
index 4b9e1aa479..1796646a95 100644
--- a/packages/sheets-find-replace/package.json
+++ b/packages/sheets-find-replace/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-formula/package.json b/packages/sheets-formula/package.json
index 1ed4ee42d5..8cf8106f8b 100644
--- a/packages/sheets-formula/package.json
+++ b/packages/sheets-formula/package.json
@@ -57,8 +57,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-hyper-link-ui/package.json b/packages/sheets-hyper-link-ui/package.json
index 9d0de19eb4..aa2de56e7b 100644
--- a/packages/sheets-hyper-link-ui/package.json
+++ b/packages/sheets-hyper-link-ui/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-hyper-link/package.json b/packages/sheets-hyper-link/package.json
index 8b5bb6019b..594a6d493b 100644
--- a/packages/sheets-hyper-link/package.json
+++ b/packages/sheets-hyper-link/package.json
@@ -54,8 +54,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-numfmt/package.json b/packages/sheets-numfmt/package.json
index 69a81ec95a..ed285254f3 100644
--- a/packages/sheets-numfmt/package.json
+++ b/packages/sheets-numfmt/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-thread-comment/package.json b/packages/sheets-thread-comment/package.json
index 9dd3036167..d160c453b7 100644
--- a/packages/sheets-thread-comment/package.json
+++ b/packages/sheets-thread-comment/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-ui/package.json b/packages/sheets-ui/package.json
index 9037ec1dc7..3a954e68e1 100644
--- a/packages/sheets-ui/package.json
+++ b/packages/sheets-ui/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets-zen-editor/package.json b/packages/sheets-zen-editor/package.json
index f9f23f9052..cf9c127f09 100644
--- a/packages/sheets-zen-editor/package.json
+++ b/packages/sheets-zen-editor/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/sheets/package.json b/packages/sheets/package.json
index f3f2a68c91..b0e2f38e71 100644
--- a/packages/sheets/package.json
+++ b/packages/sheets/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/slides-ui/package.json b/packages/slides-ui/package.json
index 12b16fef34..ace6da54a1 100644
--- a/packages/slides-ui/package.json
+++ b/packages/slides-ui/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/slides/package.json b/packages/slides/package.json
index 34bb6c4f30..764a1e8074 100644
--- a/packages/slides/package.json
+++ b/packages/slides/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/thread-comment-ui/package.json b/packages/thread-comment-ui/package.json
index 7ec4085105..8dfe972e8b 100644
--- a/packages/thread-comment-ui/package.json
+++ b/packages/thread-comment-ui/package.json
@@ -56,8 +56,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/thread-comment/package.json b/packages/thread-comment/package.json
index fc3c9b0f4a..9153b4d7d8 100644
--- a/packages/thread-comment/package.json
+++ b/packages/thread-comment/package.json
@@ -54,8 +54,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/ui/package.json b/packages/ui/package.json
index d3b35af7bd..222dbbfb4a 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/umd/package.json b/packages/umd/package.json
index 5467c7f463..a0386cf54a 100644
--- a/packages/umd/package.json
+++ b/packages/umd/package.json
@@ -34,8 +34,7 @@
"lib"
],
"scripts": {
- "build:umd": "node ./scripts/index.mjs",
- "sync:cnpm": "cnpm sync"
+ "build:umd": "node ./scripts/index.mjs"
},
"dependencies": {
"@univerjs/core": "workspace:*",
diff --git a/packages/uniscript/package.json b/packages/uniscript/package.json
index 6fb0532211..8474d3b9b5 100644
--- a/packages/uniscript/package.json
+++ b/packages/uniscript/package.json
@@ -58,8 +58,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"lint:types": "tsc --noEmit",
- "build": "tsc && vite build",
- "sync:cnpm": "cnpm sync"
+ "build": "tsc && vite build"
},
"peerDependencies": {
"@univerjs/core": "workspace:*",
diff --git a/turbo.json b/turbo.json
index ecd51d1cda..38862ca6e1 100644
--- a/turbo.json
+++ b/turbo.json
@@ -20,8 +20,6 @@
"cache": false
},
- "lint:types": {},
-
- "sync:cnpm": {}
+ "lint:types": {}
}
}