diff --git a/package.json b/package.json index 7b31235..9587e8c 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build": "tsup", "prepare": "husky", "publish-test": "clean-publish --without-publish", - "release": "node ./tools/clean-banner.js && bumpp package.json --commit --push --tag && tsup && clean-publish && node ./tools/return-banner.js", + "release": "bumpp package.json --commit --push --tag && tsup && clean-publish", "test": "vitest --no-isolate" }, "main": "./dist/index.cjs", diff --git a/tools/clean-banner.js b/tools/clean-banner.js deleted file mode 100644 index e15e04d..0000000 --- a/tools/clean-banner.js +++ /dev/null @@ -1,11 +0,0 @@ -import { readFileSync, writeFileSync } from 'node:fs' - -const readme = readFileSync('README.md', 'utf8') -writeFileSync( - 'README.md', - readme.replace( - '[![Pheno Agency](/banner.svg)](https://pheno.agency)\n\n', - '' - ), - 'utf8' -) diff --git a/tools/return-banner.js b/tools/return-banner.js deleted file mode 100644 index d4e0d6b..0000000 --- a/tools/return-banner.js +++ /dev/null @@ -1,8 +0,0 @@ -import { readFileSync, writeFileSync } from 'node:fs' - -const readme = readFileSync('README.md', 'utf8') -writeFileSync( - 'README.md', - '[![Pheno Agency](/banner.svg)](https://pheno.agency)\n\n' + readme, - 'utf8' -)