From 8773275f176c05705178e6b27a35f8fa722b2058 Mon Sep 17 00:00:00 2001 From: Hotaru Date: Sat, 30 Dec 2023 14:46:24 +0800 Subject: [PATCH] chore: actions --- .husky/commit-msg1 | 4 ---- .husky/pre-commit | 4 ---- .lintstagedrc | 5 ----- .lintstagedrc copy | 6 ------ package.json | 2 -- packages/loader/tsconfig.json | 3 --- 6 files changed, 24 deletions(-) delete mode 100644 .husky/commit-msg1 delete mode 100644 .husky/pre-commit delete mode 100644 .lintstagedrc delete mode 100644 .lintstagedrc copy diff --git a/.husky/commit-msg1 b/.husky/commit-msg1 deleted file mode 100644 index 1a089f45..00000000 --- a/.husky/commit-msg1 +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npx --no-install commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index d24fdfc6..00000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npx lint-staged diff --git a/.lintstagedrc b/.lintstagedrc deleted file mode 100644 index 68eaea30..00000000 --- a/.lintstagedrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "*.{ts,tsx}": [ - "echo s" - ] -} \ No newline at end of file diff --git a/.lintstagedrc copy b/.lintstagedrc copy deleted file mode 100644 index 9e58fdb0..00000000 --- a/.lintstagedrc copy +++ /dev/null @@ -1,6 +0,0 @@ -{ - "*.{ts,tsx}": [ - "pnpm run lint", - "pnpm run format" - ] -} \ No newline at end of file diff --git a/package.json b/package.json index bcca1114..e896ee39 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ "test": "echo testing", "lint": "eslint \"{packages,modules}/*/src/*.{ts,tsx}\" --fix", "format": "prettier --config .prettierrc \"{packages,modules}/*/src/*.ts\" --write", - "prepare": "husky install", "version": "pnpm changeset && pnpm changeset version && pnpm exec conventional-changelog -p eslint -i CHANGELOG.md -s && git add {CHANGELOG.md,package.json}", "release": "pnpmr run version && pnpm exec release", "publish": "pnpm changeset publish --no-git-tag" @@ -37,7 +36,6 @@ "eslint-import-resolver-alias": "^1.1.2", "eslint-plugin-import": "^2.28.0", "eslint-plugin-prettier": "^5.0.0", - "husky": "^8.0.3", "inquirer": "^9.2.12", "prettier": "^3.0.2" } diff --git a/packages/loader/tsconfig.json b/packages/loader/tsconfig.json index f645af34..8f5ea11e 100644 --- a/packages/loader/tsconfig.json +++ b/packages/loader/tsconfig.json @@ -3,9 +3,6 @@ "compilerOptions": { "incremental": false, "composite": false, - "declaration": false, - "noEmit": true, - "allowImportingTsExtensions": true, "rootDir": "./src", "outDir": "./lib" },