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.

build(workspace): remove tsconfig.ref.json

Dushusir362482fafced
diff --git a/.github/contributing-zh.md b/.github/contributing-zh.md
index 40041868ee..a1d9761be5 100644
--- a/.github/contributing-zh.md
+++ b/.github/contributing-zh.md
@@ -341,20 +341,7 @@ pnpm install
npm run univer-cli create inner
```
- 其中 create 表示创建一个插件,inner 表示在 Univer 主仓库内部新建插件,也就是放到 packages 文件夹下。inner 模式下,还需要项目根目录的 [tsconfig.json](../tsconfig.json) 文件中,增加当前添加插件的引用地址,必须这样写:
-
- ```json
- {
- // 其他配置...
- "references": [
- // 已有配置
- { "path": "./packages/core/tsconfig.ref.json" },
- { "path": "./packages/base-render/tsconfig.ref.json" },
- // 新加的配置
- { "path": "./packages/sheets-plugin-data-validation/tsconfig.ref.json" }
- ]
- }
- ```
+ 其中 create 表示创建一个插件,inner 表示在 Univer 主仓库内部新建插件,也就是放到 packages 文件夹下。
如果想在自己电脑的一个空白目录用脚手架新建一个插件,就不用加 inner,运行`npm run univer-cli create`即可。
diff --git a/cli/src/templates/base/tsconfig.ref.json b/cli/src/templates/base/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/cli/src/templates/base/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/cli/src/templates/common-plugin/tsconfig.ref.json b/cli/src/templates/common-plugin/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/cli/src/templates/common-plugin/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/cli/src/templates/docs-plugin/tsconfig.ref.json b/cli/src/templates/docs-plugin/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/cli/src/templates/docs-plugin/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/cli/src/templates/sheets-plugin/tsconfig.ref.json b/cli/src/templates/sheets-plugin/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/cli/src/templates/sheets-plugin/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/cli/src/templates/slides-plugin/tsconfig.ref.json b/cli/src/templates/slides-plugin/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/cli/src/templates/slides-plugin/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/examples/univer-doc-ts/tsconfig.ref.json b/examples/univer-doc-ts/tsconfig.ref.json
deleted file mode 100644
index d2a1d98e5e..0000000000
--- a/examples/univer-doc-ts/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/examples/univer-preact-ts/tsconfig.ref.json b/examples/univer-preact-ts/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/examples/univer-preact-ts/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/examples/univer-sheet-ts/tsconfig.ref.json b/examples/univer-sheet-ts/tsconfig.ref.json
deleted file mode 100644
index d2a1d98e5e..0000000000
--- a/examples/univer-sheet-ts/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/examples/univer-slide-ts/tsconfig.ref.json b/examples/univer-slide-ts/tsconfig.ref.json
deleted file mode 100644
index d2a1d98e5e..0000000000
--- a/examples/univer-slide-ts/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/examples/univer-vanilla-ts/tsconfig.ref.json b/examples/univer-vanilla-ts/tsconfig.ref.json
deleted file mode 100644
index d2a1d98e5e..0000000000
--- a/examples/univer-vanilla-ts/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/base-docs/tsconfig.ref.json b/packages/base-docs/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/base-docs/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/base-formula-engine/tsconfig.ref.json b/packages/base-formula-engine/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/base-formula-engine/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/base-numfmt-engine/tsconfig.ref.json b/packages/base-numfmt-engine/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/base-numfmt-engine/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/base-render/tsconfig.ref.json b/packages/base-render/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/base-render/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/base-sheets/tsconfig.ref.json b/packages/base-sheets/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/base-sheets/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/base-slides/tsconfig.ref.json b/packages/base-slides/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/base-slides/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/base-ui/tsconfig.ref.json b/packages/base-ui/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/base-ui/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/common-plugin-collaboration/tsconfig.ref.json b/packages/common-plugin-collaboration/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/common-plugin-collaboration/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/common-plugin-data/tsconfig.ref.json b/packages/common-plugin-data/tsconfig.ref.json
deleted file mode 100644
index b321caa9ce..0000000000
--- a/packages/common-plugin-data/tsconfig.ref.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "exclude": ["test/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/core/tsconfig.ref.json b/packages/core/tsconfig.ref.json
deleted file mode 100644
index b321caa9ce..0000000000
--- a/packages/core/tsconfig.ref.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "exclude": ["test/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-alternating-colors/tsconfig.ref.json b/packages/sheets-plugin-alternating-colors/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-alternating-colors/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-clipboard/tsconfig.ref.json b/packages/sheets-plugin-clipboard/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-clipboard/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-comment/tsconfig.ref.json b/packages/sheets-plugin-comment/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-comment/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-conditional-format/tsconfig.ref.json b/packages/sheets-plugin-conditional-format/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-conditional-format/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-data-validation/tsconfig.ref.json b/packages/sheets-plugin-data-validation/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-data-validation/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-filter/tsconfig.ref.json b/packages/sheets-plugin-filter/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-filter/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-find/tsconfig.ref.json b/packages/sheets-plugin-find/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-find/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-formula/tsconfig.ref.json b/packages/sheets-plugin-formula/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-formula/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-freeze/tsconfig.ref.json b/packages/sheets-plugin-freeze/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-freeze/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-group/tsconfig.ref.json b/packages/sheets-plugin-group/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-group/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-image/tsconfig.ref.json b/packages/sheets-plugin-image/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-image/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-import-xlsx/tsconfig.ref.json b/packages/sheets-plugin-import-xlsx/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-import-xlsx/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-link/tsconfig.ref.json b/packages/sheets-plugin-link/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-link/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-numfmt/tsconfig.ref.json b/packages/sheets-plugin-numfmt/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-numfmt/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-pivot-table/tsconfig.ref.json b/packages/sheets-plugin-pivot-table/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-pivot-table/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-print/tsconfig.ref.json b/packages/sheets-plugin-print/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-print/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-protection/tsconfig.ref.json b/packages/sheets-plugin-protection/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-protection/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-screenshot/tsconfig.ref.json b/packages/sheets-plugin-screenshot/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-screenshot/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-sort/tsconfig.ref.json b/packages/sheets-plugin-sort/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-sort/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/sheets-plugin-split-column/tsconfig.ref.json b/packages/sheets-plugin-split-column/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/sheets-plugin-split-column/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}
diff --git a/packages/ui-plugin-sheets/tsconfig.ref.json b/packages/ui-plugin-sheets/tsconfig.ref.json
deleted file mode 100644
index 0c86b2c554..0000000000
--- a/packages/ui-plugin-sheets/tsconfig.ref.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "include": ["src/**/*"],
- "compilerOptions": {
- "composite": true
- }
-}