From 7ccdcc84e6dbd60d375a21524841b8eee4f03b06 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 8 Apr 2024 10:01:06 +0100 Subject: [PATCH] Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- knip.ts | 2 -- package.json | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/knip.ts b/knip.ts index 76b59b5b08e..b5eaac9e01f 100644 --- a/knip.ts +++ b/knip.ts @@ -24,8 +24,6 @@ export default { "jest-environment-jsdom", "babel-jest", "ts-node", - // Used by release.sh - "allchange", // Used by `@babel/plugin-transform-runtime` "@babel/runtime", ], diff --git a/package.json b/package.json index c26429cf3e5..fbfd7095af7 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "node": ">=18.0.0" }, "scripts": { + "prepack": "yarn build", "start": "echo THIS IS FOR LEGACY PURPOSES ONLY. && babel src -w -s -d lib --verbose --extensions \".ts,.js\"", "clean": "rimraf lib", "build": "yarn build:dev", @@ -18,11 +19,10 @@ "lint:js-fix": "prettier --log-level=warn --write . && eslint --fix src spec", "lint:types": "tsc --noEmit", "lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'", + "lint:knip": "knip", "test": "jest", "test:watch": "jest --watch", - "coverage": "yarn test --coverage", - "prepack": "yarn build", - "lint:knip": "knip" + "coverage": "yarn test --coverage" }, "repository": { "type": "git",