From 7100a3c9903bfe4ebd78f935588ecf4448bb856a Mon Sep 17 00:00:00 2001 From: Eoghan Murray Date: Fri, 10 Jan 2025 19:25:11 +0000 Subject: [PATCH] Revert "These commands are handy within a package" This reverts commit 0e812f9dfd3f20cddbb1ec8e86e6bae04e4670a1. --- packages/rrweb-snapshot/package.json | 2 -- packages/rrweb/package.json | 2 -- 2 files changed, 4 deletions(-) diff --git a/packages/rrweb-snapshot/package.json b/packages/rrweb-snapshot/package.json index 4d0c3d5c73..299384b2de 100644 --- a/packages/rrweb-snapshot/package.json +++ b/packages/rrweb-snapshot/package.json @@ -3,8 +3,6 @@ "version": "2.0.0-alpha.18", "description": "rrweb's component to take a snapshot of DOM, aka DOM serializer", "scripts": { - "format": "yarn prettier --write '**/*.{ts,md}'", - "format:head": "git diff --name-only HEAD^ |grep '/rrweb-snapshot/.*\\.ts$\\|\\.md$' |sed 's|packages/rrweb-snapshot/||'|xargs yarn prettier --write", "prepare": "npm run prepack", "prepack": "npm run build", "retest": "vitest run", diff --git a/packages/rrweb/package.json b/packages/rrweb/package.json index 9a1ebeade8..abb46b258e 100644 --- a/packages/rrweb/package.json +++ b/packages/rrweb/package.json @@ -3,8 +3,6 @@ "version": "2.0.0-alpha.18", "description": "record and replay the web", "scripts": { - "format": "yarn prettier --write '**/*.{ts,md}'", - "format:head": "git diff --name-only HEAD^ |grep '/rrweb/.*\\.ts$\\|\\.md$' |sed 's|packages/rrweb/||'|xargs yarn prettier --write", "prepare": "npm run prepack", "prepack": "npm run build", "retest": "cross-env PUPPETEER_HEADLESS=true yarn retest:headful",