From f21ed1f062a78687595c9f42c575ada75e099d4c Mon Sep 17 00:00:00 2001 From: Palm Civet Date: Fri, 22 Aug 2025 00:01:50 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E4=BE=9D=E8=B5=96=20&&=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=20husky=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/pre-commit | 3 -- package.json | 73 +++++++++++------------------------------------ 2 files changed, 16 insertions(+), 60 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d24fdfc60..2312dc587 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index 8a14370ae..701c64565 100644 --- a/package.json +++ b/package.json @@ -1,69 +1,28 @@ { "name": "openisle", "version": "1.0.0", + "private": true, "description": "

\"OpenIsle\"

高效的开源社区前后端端平台

", - "main": "index.js", - "dependencies": { - "ansi-escapes": "^7.0.0", - "ansi-regex": "^6.1.0", - "ansi-styles": "^6.2.1", - "braces": "^3.0.3", - "chalk": "^5.5.0", - "cli-cursor": "^5.0.0", - "cli-truncate": "^4.0.0", - "colorette": "^2.0.20", - "commander": "^14.0.0", - "debug": "^4.4.1", - "emoji-regex": "^10.4.0", - "environment": "^1.1.0", - "eventemitter3": "^5.0.1", - "fill-range": "^7.1.1", - "get-east-asian-width": "^1.3.0", - "is-fullwidth-code-point": "^4.0.0", - "is-number": "^7.0.0", - "lilconfig": "^3.1.3", - "listr2": "^9.0.1", - "log-update": "^6.1.0", - "micromatch": "^4.0.8", - "mimic-function": "^5.0.1", - "ms": "^2.1.3", - "nano-spawn": "^1.0.2", - "onetime": "^7.0.0", - "picomatch": "^2.3.1", - "pidtree": "^0.6.0", - "restore-cursor": "^5.1.0", - "rfdc": "^1.4.1", - "signal-exit": "^4.1.0", - "slice-ansi": "^5.0.0", - "string-argv": "^0.3.2", - "string-width": "^7.2.0", - "strip-ansi": "^7.1.0", - "to-regex-range": "^5.0.1", - "wrap-ansi": "^9.0.0", - "yaml": "^2.8.1" + "author": "nagisa77", + "license": "ISC", + "homepage": "https://www.open-isle.com", + "repository": { + "type": "git", + "url": "git+https://github.com/nagisa77/OpenIsle.git" + }, + "bugs": { + "url": "https://github.com/nagisa77/OpenIsle/issues" + }, + "keywords": [], + "scripts": { + "prepare": "husky" }, "devDependencies": { "husky": "^9.1.7", "lint-staged": "^16.1.5", "prettier": "^3.6.2" }, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "prepare": "husky" - }, "lint-staged": { "frontend_nuxt/**/*": "prettier --write --cache --ignore-unknown" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/nagisa77/OpenIsle.git" - }, - "keywords": [], - "author": "", - "license": "ISC", - "type": "commonjs", - "bugs": { - "url": "https://github.com/nagisa77/OpenIsle/issues" - }, - "homepage": "https://github.com/nagisa77/OpenIsle#readme" -} + } +} \ No newline at end of file