chore(deps): replace husky with simple-git-hooks

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2024-12-19 14:47:09 +08:00
parent e9e76996b7
commit 431e57feb6
4 changed files with 979 additions and 1009 deletions

View File

@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
lint-staged
pnpm test

View File

@@ -54,11 +54,11 @@
"dependencies": {
"@algolia/client-search": "^4.22.1",
"@antfu/install-pkg": "0.5.0",
"@aws-sdk/client-s3": "3.703.0",
"@aws-sdk/client-s3": "3.715.0",
"@babel/core": "7.26.0",
"@babel/plugin-transform-modules-commonjs": "7.25.9",
"@babel/plugin-transform-typescript": "7.25.9",
"@babel/types": "^7.26.0",
"@babel/plugin-transform-modules-commonjs": "7.26.3",
"@babel/plugin-transform-typescript": "7.26.3",
"@babel/types": "^7.26.3",
"@fastify/cookie": "9.4.0",
"@fastify/multipart": "8.3.0",
"@fastify/static": "8.0.3",
@@ -67,15 +67,15 @@
"@langchain/openai": "0.3.14",
"@mx-space/compiled": "workspace:*",
"@nestjs/cache-manager": "2.3.0",
"@nestjs/common": "10.4.13",
"@nestjs/core": "10.4.13",
"@nestjs/common": "10.4.15",
"@nestjs/core": "10.4.15",
"@nestjs/event-emitter": "2.1.1",
"@nestjs/mapped-types": "^2.0.6",
"@nestjs/platform-fastify": "10.4.13",
"@nestjs/platform-socket.io": "10.4.13",
"@nestjs/schedule": "4.1.1",
"@nestjs/throttler": "6.2.1",
"@nestjs/websockets": "10.4.13",
"@nestjs/platform-fastify": "10.4.15",
"@nestjs/platform-socket.io": "10.4.15",
"@nestjs/schedule": "4.1.2",
"@nestjs/throttler": "6.3.0",
"@nestjs/websockets": "10.4.15",
"@simplewebauthn/server": "10.0.1",
"@socket.io/redis-adapter": "8.3.0",
"@socket.io/redis-emitter": "5.1.0",
@@ -98,13 +98,13 @@
"ejs": "3.1.10",
"form-data": "4.0.1",
"inquirer": "^10.2.2",
"isbot": "5.1.17",
"isbot": "5.1.18",
"js-yaml": "^4.1.0",
"json5": "2.2.3",
"jsonwebtoken": "9.0.2",
"jszip": "3.10.1",
"langchain": "0.3.6",
"linkedom": "0.18.5",
"langchain": "0.3.7",
"linkedom": "0.18.6",
"lodash": "^4.17.21",
"lru-cache": "11.0.2",
"marked": "14.1.4",
@@ -118,7 +118,7 @@
"mongoose-paginate-v2": "1.8.5",
"node-machine-id": "1.1.12",
"nodemailer": "6.9.16",
"openai": "4.73.1",
"openai": "4.77.0",
"pluralize": "^8.0.0",
"qs": "6.13.1",
"reflect-metadata": "0.2.2",
@@ -131,16 +131,16 @@
"source-map-support": "^0.5.21",
"ua-parser-js": "1.0.39",
"vm2": "3.9.19",
"wildcard-match": "5.1.3",
"wildcard-match": "5.1.4",
"xss": "1.0.15",
"zx-cjs": "7.0.7-0"
},
"devDependencies": {
"@langchain/core": "0.3.20",
"@nestjs/cli": "10.4.8",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "10.4.13",
"@swc/core": "1.9.3",
"@nestjs/testing": "10.4.15",
"@swc/core": "1.10.1",
"@types/babel__core": "7.20.5",
"@types/bcryptjs": "^2.4.6",
"@types/cache-manager": "4.0.6",
@@ -151,7 +151,7 @@
"@types/lodash": "4.17.13",
"@types/mime-types": "2.1.4",
"@types/mongoose-aggregate-paginate-v2": "1.0.12",
"@types/node": "22.10.1",
"@types/node": "22.10.2",
"@types/nodemailer": "6.4.17",
"@types/qs": "6.9.17",
"@types/remove-markdown": "0.3.4",
@@ -159,14 +159,14 @@
"@types/ua-parser-js": "0.7.39",
"@types/validator": "13.12.2",
"@vercel/ncc": "0.38.3",
"cron": "^3.2.1",
"cron": "^3.3.1",
"husky": "9.1.7",
"ioredis": "5.4.1",
"sharp": "0.33.5",
"socket.io": "^4.8.1",
"unplugin-swc": "1.5.1",
"vite": "5.4.10",
"vite-tsconfig-paths": "5.1.3",
"vite-tsconfig-paths": "5.1.4",
"vitest": "1.5.2",
"zx": "7.2.3"
}

View File

@@ -10,7 +10,7 @@
"author": "Innei <https://innei.in>",
"scripts": {
"format": "prettier --write \"apps/**/*.ts\" \"test/**/*.ts\" \"packages/**/*.ts\"",
"prepare": "husky install && node scripts/init-project.mjs && corepack enable",
"prepare": "husky",
"build:external": "pnpm -C \"packages/compiled\" run build",
"build": "pnpm run build:external && pnpm -C \"apps/core\" run build",
"dev": "pnpm run build:external && pnpm -C \"apps/core\" run start",
@@ -63,4 +63,4 @@
"typescript": "5.6.3",
"whatwg-url": "14.0.0"
}
}
}

1935
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff