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

This commit is contained in:
Saul-Mirone
2025-03-16 17:48:49 +00:00
parent 2f5e801097
commit 7e6ff8d9c6
42 changed files with 41 additions and 168 deletions
+1 -4
View File
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
+1 -4
View File
@@ -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": [],
+1 -4
View File
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
+1 -4
View File
@@ -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": [],
@@ -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": [],
+1 -4
View File
@@ -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": [],
+1 -4
View File
@@ -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": [],
+1 -4
View File
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
@@ -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": [],
+1 -5
View File
@@ -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": [],
-3
View File
@@ -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,
+1 -4
View File
@@ -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": [],
+1 -5
View File
@@ -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": [],
+1 -3
View File
@@ -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": [],