From 23233dff9db7c9adfcaebd425589a0af6e79a7c7 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 14 Aug 2026 13:56:17 -0400 Subject: [PATCH] chore: remove obsolete script Deletes `update-package-json.js`, a one-off utility that rewrote package metadata and scripts. Keeping this out of the repo avoids maintaining redundant automation and reduces project clutter. Signed-off-by: Ryan Johnson --- update-package-json.js | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 update-package-json.js diff --git a/update-package-json.js b/update-package-json.js deleted file mode 100644 index 3cab4aa..0000000 --- a/update-package-json.js +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @license - * SPDX-License-Identifier: MIT - * - * Copyright (c) 2025-2026 Ryan Johnson - * - * Script to update package.json for GitHub Action. - */ - -const fs = require('fs'); -const path = require('path'); - -const packageJsonPath = path.join(__dirname, 'package.json'); -const packageJson = require(packageJsonPath); - -packageJson.description = - 'A GitHub Action for efficiently setting up Task (go-task/task) task runner in GitHub Actions.'; - -packageJson.scripts = { - test: 'jest', - 'test:memory': - 'node --expose-gc --max-old-space-size=4096 node_modules/.bin/jest --runInBand --detectOpenHandles --forceExit', - build: 'tsc', - lint: "eslint 'src/**/*.ts' '__tests__/**/*.ts'", - 'lint:fix': "eslint --fix 'src/**/*.ts' '__tests__/**/*.ts'", - format: "prettier --write 'src/**/*.ts' '__tests__/**/*.ts'", - clean: 'rm -rf dist coverage' -}; - -fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2) + '\n'); - -console.log('✅ package.json description and scripts updated successfully!');