Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore(editor): remove unused npm scripts (#10895)

Saul-Mirone7e6ff8d9c6f4
diff --git a/blocksuite/affine/all/package.json b/blocksuite/affine/all/package.json
index 7eff18a93e..043275ffcb 100644
--- a/blocksuite/affine/all/package.json
+++ b/blocksuite/affine/all/package.json
@@ -3,10 +3,7 @@
"description": "BlockSuite for Affine",
"type": "module",
"scripts": {
- "build": "tsc --build --verbose",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc --build --verbose"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-attachment/package.json b/blocksuite/affine/blocks/block-attachment/package.json
index 6877d12774..e152378243 100644
--- a/blocksuite/affine/blocks/block-attachment/package.json
+++ b/blocksuite/affine/blocks/block-attachment/package.json
@@ -3,10 +3,7 @@
"description": "Attachment block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-bookmark/package.json b/blocksuite/affine/blocks/block-bookmark/package.json
index 3476821228..d25f63cb9c 100644
--- a/blocksuite/affine/blocks/block-bookmark/package.json
+++ b/blocksuite/affine/blocks/block-bookmark/package.json
@@ -3,10 +3,7 @@
"description": "Bookmark block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-callout/package.json b/blocksuite/affine/blocks/block-callout/package.json
index 9b2f2bad6b..884c3b572b 100644
--- a/blocksuite/affine/blocks/block-callout/package.json
+++ b/blocksuite/affine/blocks/block-callout/package.json
@@ -3,10 +3,7 @@
"description": "Callout block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-code/package.json b/blocksuite/affine/blocks/block-code/package.json
index ff313092af..17cef41ba8 100644
--- a/blocksuite/affine/blocks/block-code/package.json
+++ b/blocksuite/affine/blocks/block-code/package.json
@@ -3,10 +3,7 @@
"description": "Code block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-data-view/package.json b/blocksuite/affine/blocks/block-data-view/package.json
index e0d14035fb..fb7128da6e 100644
--- a/blocksuite/affine/blocks/block-data-view/package.json
+++ b/blocksuite/affine/blocks/block-data-view/package.json
@@ -3,10 +3,7 @@
"description": "Data view block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-database/package.json b/blocksuite/affine/blocks/block-database/package.json
index ec9dc72e2a..a6ba73fd1c 100644
--- a/blocksuite/affine/blocks/block-database/package.json
+++ b/blocksuite/affine/blocks/block-database/package.json
@@ -3,10 +3,7 @@
"description": "Database block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-divider/package.json b/blocksuite/affine/blocks/block-divider/package.json
index a3412b79a7..9b46fd57ad 100644
--- a/blocksuite/affine/blocks/block-divider/package.json
+++ b/blocksuite/affine/blocks/block-divider/package.json
@@ -3,10 +3,7 @@
"description": "Divider block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-edgeless-text/package.json b/blocksuite/affine/blocks/block-edgeless-text/package.json
index ad37e7b7c7..6bd3c4e191 100644
--- a/blocksuite/affine/blocks/block-edgeless-text/package.json
+++ b/blocksuite/affine/blocks/block-edgeless-text/package.json
@@ -3,10 +3,7 @@
"description": "Edgeless text block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-embed/package.json b/blocksuite/affine/blocks/block-embed/package.json
index 04ed942aa3..a0f686391c 100644
--- a/blocksuite/affine/blocks/block-embed/package.json
+++ b/blocksuite/affine/blocks/block-embed/package.json
@@ -3,10 +3,7 @@
"description": "Embed blocks for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-frame/package.json b/blocksuite/affine/blocks/block-frame/package.json
index 0a78e1cd46..c99eb8560c 100644
--- a/blocksuite/affine/blocks/block-frame/package.json
+++ b/blocksuite/affine/blocks/block-frame/package.json
@@ -3,10 +3,7 @@
"description": "Frame block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-image/package.json b/blocksuite/affine/blocks/block-image/package.json
index 41fa6a1528..3cc81a59d7 100644
--- a/blocksuite/affine/blocks/block-image/package.json
+++ b/blocksuite/affine/blocks/block-image/package.json
@@ -3,10 +3,7 @@
"description": "Image block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-latex/package.json b/blocksuite/affine/blocks/block-latex/package.json
index ec43e37ee1..5568285007 100644
--- a/blocksuite/affine/blocks/block-latex/package.json
+++ b/blocksuite/affine/blocks/block-latex/package.json
@@ -3,10 +3,7 @@
"description": "Latex block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-list/package.json b/blocksuite/affine/blocks/block-list/package.json
index 5e0d2e858a..7bf597bfe5 100644
--- a/blocksuite/affine/blocks/block-list/package.json
+++ b/blocksuite/affine/blocks/block-list/package.json
@@ -3,10 +3,7 @@
"description": "List block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-note/package.json b/blocksuite/affine/blocks/block-note/package.json
index dc37e561cc..84f05638d2 100644
--- a/blocksuite/affine/blocks/block-note/package.json
+++ b/blocksuite/affine/blocks/block-note/package.json
@@ -3,10 +3,7 @@
"description": "Note block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-paragraph/package.json b/blocksuite/affine/blocks/block-paragraph/package.json
index 2cea7699c2..01e397d951 100644
--- a/blocksuite/affine/blocks/block-paragraph/package.json
+++ b/blocksuite/affine/blocks/block-paragraph/package.json
@@ -3,10 +3,7 @@
"description": "Paragraph block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-root/package.json b/blocksuite/affine/blocks/block-root/package.json
index f6e4cc8ae0..77a2c401b5 100644
--- a/blocksuite/affine/blocks/block-root/package.json
+++ b/blocksuite/affine/blocks/block-root/package.json
@@ -3,10 +3,7 @@
"description": "Root block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-surface-ref/package.json b/blocksuite/affine/blocks/block-surface-ref/package.json
index 77bd4930b4..b65763a578 100644
--- a/blocksuite/affine/blocks/block-surface-ref/package.json
+++ b/blocksuite/affine/blocks/block-surface-ref/package.json
@@ -3,10 +3,7 @@
"description": "Surface ref block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-surface/package.json b/blocksuite/affine/blocks/block-surface/package.json
index 0d77595de2..be565d638c 100644
--- a/blocksuite/affine/blocks/block-surface/package.json
+++ b/blocksuite/affine/blocks/block-surface/package.json
@@ -3,10 +3,7 @@
"description": "Surface block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/blocks/block-table/package.json b/blocksuite/affine/blocks/block-table/package.json
index 6251c87c20..22c63acb6b 100644
--- a/blocksuite/affine/blocks/block-table/package.json
+++ b/blocksuite/affine/blocks/block-table/package.json
@@ -3,10 +3,7 @@
"description": "Table block for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/components/package.json b/blocksuite/affine/components/package.json
index 7af79957e0..da19c78f56 100644
--- a/blocksuite/affine/components/package.json
+++ b/blocksuite/affine/components/package.json
@@ -3,10 +3,7 @@
"description": "Default BlockSuite editable blocks.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/data-view/package.json b/blocksuite/affine/data-view/package.json
index 3440323c41..af663854a7 100644
--- a/blocksuite/affine/data-view/package.json
+++ b/blocksuite/affine/data-view/package.json
@@ -3,10 +3,7 @@
"description": "Views of database in affine",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/fragments/fragment-doc-title/package.json b/blocksuite/affine/fragments/fragment-doc-title/package.json
index 2d2cea8656..124d337f49 100644
--- a/blocksuite/affine/fragments/fragment-doc-title/package.json
+++ b/blocksuite/affine/fragments/fragment-doc-title/package.json
@@ -3,10 +3,7 @@
"description": "Doc title fragment for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/fragments/fragment-frame-panel/package.json b/blocksuite/affine/fragments/fragment-frame-panel/package.json
index 91c9f16339..50612c9961 100644
--- a/blocksuite/affine/fragments/fragment-frame-panel/package.json
+++ b/blocksuite/affine/fragments/fragment-frame-panel/package.json
@@ -3,10 +3,7 @@
"description": "Frame panel fragment for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/fragments/fragment-outline/package.json b/blocksuite/affine/fragments/fragment-outline/package.json
index 38e5a7d855..7a984ea2b1 100644
--- a/blocksuite/affine/fragments/fragment-outline/package.json
+++ b/blocksuite/affine/fragments/fragment-outline/package.json
@@ -3,10 +3,7 @@
"description": "Outline fragment for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/gfx/text/package.json b/blocksuite/affine/gfx/text/package.json
index 8b1e560530..40275e2c11 100644
--- a/blocksuite/affine/gfx/text/package.json
+++ b/blocksuite/affine/gfx/text/package.json
@@ -3,10 +3,7 @@
"description": "Gfx text for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/gfx/turbo-renderer/package.json b/blocksuite/affine/gfx/turbo-renderer/package.json
index d2e46822c4..a007486caf 100644
--- a/blocksuite/affine/gfx/turbo-renderer/package.json
+++ b/blocksuite/affine/gfx/turbo-renderer/package.json
@@ -3,10 +3,7 @@
"description": "Turbo renderer for viewport in BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/model/package.json b/blocksuite/affine/model/package.json
index 576a2dc75f..3bc222ab2e 100644
--- a/blocksuite/affine/model/package.json
+++ b/blocksuite/affine/model/package.json
@@ -3,10 +3,7 @@
"description": "Models for BlockSuite in Affine.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/rich-text/package.json b/blocksuite/affine/rich-text/package.json
index 09c7371aba..e8f92f76fc 100644
--- a/blocksuite/affine/rich-text/package.json
+++ b/blocksuite/affine/rich-text/package.json
@@ -3,10 +3,7 @@
"description": "Inline rich text for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/shared/package.json b/blocksuite/affine/shared/package.json
index 1f10e7e52b..cb2610e53d 100644
--- a/blocksuite/affine/shared/package.json
+++ b/blocksuite/affine/shared/package.json
@@ -3,10 +3,7 @@
"description": "Default BlockSuite editable blocks.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/widgets/widget-drag-handle/package.json b/blocksuite/affine/widgets/widget-drag-handle/package.json
index 9bf541acab..0d278a602c 100644
--- a/blocksuite/affine/widgets/widget-drag-handle/package.json
+++ b/blocksuite/affine/widgets/widget-drag-handle/package.json
@@ -3,10 +3,7 @@
"description": "Drag handle for BlockSuite.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/widgets/widget-edgeless-auto-connect/package.json b/blocksuite/affine/widgets/widget-edgeless-auto-connect/package.json
index 59d9f947c0..96219a9a09 100644
--- a/blocksuite/affine/widgets/widget-edgeless-auto-connect/package.json
+++ b/blocksuite/affine/widgets/widget-edgeless-auto-connect/package.json
@@ -3,10 +3,7 @@
"description": "Affine edgeless auto connect widget.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/widgets/widget-frame-title/package.json b/blocksuite/affine/widgets/widget-frame-title/package.json
index 6d9dff71aa..3318cc20ff 100644
--- a/blocksuite/affine/widgets/widget-frame-title/package.json
+++ b/blocksuite/affine/widgets/widget-frame-title/package.json
@@ -3,10 +3,7 @@
"description": "Affine frame title widget.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/widgets/widget-remote-selection/package.json b/blocksuite/affine/widgets/widget-remote-selection/package.json
index ec065ca723..3d56e767e7 100644
--- a/blocksuite/affine/widgets/widget-remote-selection/package.json
+++ b/blocksuite/affine/widgets/widget-remote-selection/package.json
@@ -3,10 +3,7 @@
"description": "Affine remote selection widget.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/widgets/widget-scroll-anchoring/package.json b/blocksuite/affine/widgets/widget-scroll-anchoring/package.json
index 90c0521162..b9f9a2bcb0 100644
--- a/blocksuite/affine/widgets/widget-scroll-anchoring/package.json
+++ b/blocksuite/affine/widgets/widget-scroll-anchoring/package.json
@@ -3,10 +3,7 @@
"description": "Affine scroll anchoring widget.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/widgets/widget-slash-menu/package.json b/blocksuite/affine/widgets/widget-slash-menu/package.json
index b3ed15ddf8..7a8f6832cf 100644
--- a/blocksuite/affine/widgets/widget-slash-menu/package.json
+++ b/blocksuite/affine/widgets/widget-slash-menu/package.json
@@ -3,10 +3,7 @@
"description": "Affine slash menu widget.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/affine/widgets/widget-toolbar/package.json b/blocksuite/affine/widgets/widget-toolbar/package.json
index e57c38dd2f..bded77426b 100644
--- a/blocksuite/affine/widgets/widget-toolbar/package.json
+++ b/blocksuite/affine/widgets/widget-toolbar/package.json
@@ -3,10 +3,7 @@
"description": "Affine toolbar widget.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run --passWithNoTests",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:e2e": "playwright test"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/framework/block-std/package.json b/blocksuite/framework/block-std/package.json
index 4c251530d9..ee958066f9 100644
--- a/blocksuite/framework/block-std/package.json
+++ b/blocksuite/framework/block-std/package.json
@@ -3,11 +3,7 @@
"description": "Std for blocksuite blocks",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:unit:ui": "nx vite:test --ui",
- "test": "yarn test:unit"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/framework/global/package.json b/blocksuite/framework/global/package.json
index dd649ebc7d..8fbecef8f2 100644
--- a/blocksuite/framework/global/package.json
+++ b/blocksuite/framework/global/package.json
@@ -3,9 +3,6 @@
"types": "./index.d.ts",
"type": "module",
"scripts": {
- "test:unit": "nx vite:test --run",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:unit:ui": "nx vite:test --ui",
"build": "tsc"
},
"sideEffects": false,
diff --git a/blocksuite/framework/inline/package.json b/blocksuite/framework/inline/package.json
index efa1d774bc..120e05cd20 100644
--- a/blocksuite/framework/inline/package.json
+++ b/blocksuite/framework/inline/package.json
@@ -3,10 +3,7 @@
"description": "A micro editor.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:unit:ui": "nx vite:test --ui"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/framework/store/package.json b/blocksuite/framework/store/package.json
index d97b06b725..2f926304dc 100644
--- a/blocksuite/framework/store/package.json
+++ b/blocksuite/framework/store/package.json
@@ -3,11 +3,7 @@
"description": "BlockSuite data store built for general purpose state management.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run",
- "test:unit:coverage": "nx vite:test --run --coverage",
- "test:unit:ui": "nx vite:test --ui",
- "test": "yarn test:unit"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],
diff --git a/blocksuite/framework/sync/package.json b/blocksuite/framework/sync/package.json
index eeb4a18981..d2b9988a6e 100644
--- a/blocksuite/framework/sync/package.json
+++ b/blocksuite/framework/sync/package.json
@@ -3,9 +3,7 @@
"description": "BlockSuite data synchronization engine abstraction and implementation.",
"type": "module",
"scripts": {
- "build": "tsc",
- "test:unit": "nx vite:test --run",
- "test": "yarn test:unit"
+ "build": "tsc"
},
"sideEffects": false,
"keywords": [],