From 12deb8291a45515b95d655faf83bc7883ea58c5a Mon Sep 17 00:00:00 2001 From: Raunak Gupta Date: Fri, 13 Nov 2026 16:55:28 +0530 Subject: [PATCH] chore: remove internal scrub script Co-Authored-By: Claude Sonnet 5.5 --- package.json | 3 +-- scripts/scrub.sh | 39 --------------------------------------- 2 files changed, 1 insertion(+), 41 deletions(-) delete mode 100755 scripts/scrub.sh diff --git a/package.json b/package.json index 4f716e8..3b9fa20 100644 --- a/package.json +++ b/package.json @@ -61,8 +61,7 @@ "test:watch": "vitest", "coverage": "vitest run --coverage", "build": "tsup", - "ci": "npm run lint && npm run format:check && npm run typecheck && npm run test && npm run build && publint", - "scrub": "bash scripts/scrub.sh" + "ci": "npm run lint && npm run format:check && npm run typecheck && npm run test && npm run build && publint" }, "devDependencies": { "@eslint/js": "^10.0.1", diff --git a/scripts/scrub.sh b/scripts/scrub.sh deleted file mode 100755 index 110caa8..0000000 --- a/scripts/scrub.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env bash -# Pre-release hygiene check. Must print nothing and exit 0. -# Adapted from the PHP package's scrub grep for a Node repository. -set -uo pipefail - -status=0 - -if grep -rniE \ - "codeclouds|besimplified|simply-ai|simplified.health|sandbox|staging|youtrack|gitlab|mongodb|kafka|registry/api-docs|design-spec|PENDING\.md|md_integrations" \ - --exclude-dir=node_modules \ - --exclude-dir=dist \ - --exclude-dir=coverage \ - --exclude-dir=.git \ - --exclude-dir=.superpowers \ - --exclude-dir=superpowers \ - --exclude=package-lock.json \ - --exclude=CLAUDE.local.md \ - --exclude=.gitignore \ - --exclude=scrub.sh \ - . ; then - echo "scrub: forbidden term found in a tracked file" >&2 - status=1 -fi - -for path in CLAUDE.local.md docs/PENDING.md docs/superpowers .claude/settings.local.json; do - if git ls-files --error-unmatch "$path" >/dev/null 2>&1; then - echo "scrub: $path must not be tracked" >&2 - status=1 - fi -done - -if node -e "process.exit(Object.keys(require('./package.json').dependencies ?? {}).length === 0 ? 0 : 1)"; then - : -else - echo "scrub: package.json has runtime dependencies; this package must have none" >&2 - status=1 -fi - -exit "$status"