diff --git a/.husky/pre-commit b/.husky/pre-commit index ce4711a..a3ec6f2 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,2 @@ echo "Running pre-commit hook..." -#pnpm run lint:lint-staged +pnpm run lint:lint-staged diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100644 index 0000000..b867ec2 --- /dev/null +++ b/.husky/pre-push @@ -0,0 +1 @@ +pnpm check diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..1d9b783 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22.12.0 diff --git a/package.json b/package.json index 0407b60..eacad06 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,9 @@ { "name": "youlai-app", "version": "1.2.0", + "engines": { + "node": ">=18" + }, "scripts": { "dev:app": "uni -p app", "dev:app-android": "uni -p app-android",