fix: ci use pnpm error (#12597)

This commit is contained in:
Joel
2025-01-10 16:55:16 +08:00
committed by GitHub
parent c03adcb154
commit 4cbd511cd7
3 changed files with 19 additions and 9 deletions

View File

@ -9,7 +9,7 @@
"dev": "NODE_OPTIONS='--inspect' next dev",
"build": "next build",
"start": "cp -r .next/static .next/standalone/.next/static && cp -r public .next/standalone/public && cross-env PORT=$npm_config_port HOSTNAME=$npm_config_host node .next/standalone/server.js",
"lint": "next lint",
"lint": "pnpm eslint",
"fix": "next lint --fix",
"eslint-fix": "eslint --fix",
"prepare": "cd ../ && node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky ./web/.husky",
@ -27,6 +27,7 @@
"@babel/runtime": "^7.22.3",
"@dagrejs/dagre": "^1.1.4",
"@emoji-mart/data": "^1.2.1",
"@eslint/compat": "^1.2.4",
"@floating-ui/react": "^0.26.25",
"@formatjs/intl-localematcher": "^0.5.6",
"@headlessui/react": "^1.7.13",
@ -86,14 +87,14 @@
"react-error-boundary": "^4.1.2",
"react-headless-pagination": "^1.1.6",
"react-hook-form": "^7.53.1",
"react-hotkeys-hook": "^4.6.1",
"react-i18next": "^15.1.0",
"react-infinite-scroll-component": "^6.1.0",
"react-markdown": "^9.0.1",
"react-multi-email": "^1.0.25",
"react-papaparse": "^4.4.0",
"react-slider": "^2.0.6",
"react-hotkeys-hook": "^4.6.1",
"react-pdf-highlighter": "^8.0.0-rc.0",
"react-slider": "^2.0.6",
"react-sortablejs": "^6.1.4",
"react-syntax-highlighter": "^15.6.1",
"react-tooltip": "5.8.3",
@ -194,4 +195,4 @@
"eslint --fix"
]
}
}
}