chore: React 19 + Vite 7 + ESLint 9 + Zustand 5 업그레이드
- React 18.2 → 19.2.4, react-dom 19.2.4 - Vite 5.2.10 → 7.3.1, @vitejs/plugin-react 5.1.4 - ESLint 8.44 → 9.39.2 flat config, typescript-eslint 8.55.0 - eslint-plugin-react-hooks 7.0.1 (신규 규칙 warn 설정) - Zustand 4.5 → 5.0.11 (shallow → useShallow 마이그레이션) - sass 1.77.8 → 1.97.3 - sockjs-client, flatgeobuf 미사용 패키지 제거 - react-router-dom v7 future flag 적용 - vite.config.ts: defineConfig 함수형, build.target: es2022 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
부모
fb922fa793
커밋
3060973f92
@ -1,27 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
root: true,
|
|
||||||
env: { browser: true, es2020: true },
|
|
||||||
extends: [
|
|
||||||
'eslint:recommended',
|
|
||||||
'plugin:@typescript-eslint/recommended',
|
|
||||||
'plugin:react-hooks/recommended',
|
|
||||||
],
|
|
||||||
ignorePatterns: ['dist', '.eslintrc.cjs'],
|
|
||||||
parser: '@typescript-eslint/parser',
|
|
||||||
parserOptions: {
|
|
||||||
ecmaVersion: 'latest',
|
|
||||||
sourceType: 'module',
|
|
||||||
},
|
|
||||||
plugins: ['react-refresh'],
|
|
||||||
rules: {
|
|
||||||
'react-refresh/only-export-components': [
|
|
||||||
'warn',
|
|
||||||
{ allowConstantExport: true },
|
|
||||||
],
|
|
||||||
'@typescript-eslint/no-explicit-any': 'warn',
|
|
||||||
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
|
|
||||||
},
|
|
||||||
settings: {
|
|
||||||
react: { version: 'detect' },
|
|
||||||
},
|
|
||||||
};
|
|
||||||
@ -19,7 +19,7 @@ fi
|
|||||||
# ESLint 검증 (설정 파일이 있는 경우만)
|
# ESLint 검증 (설정 파일이 있는 경우만)
|
||||||
if [ -f ".eslintrc.js" ] || [ -f ".eslintrc.json" ] || [ -f ".eslintrc.cjs" ] || [ -f "eslint.config.js" ] || [ -f "eslint.config.mjs" ]; then
|
if [ -f ".eslintrc.js" ] || [ -f ".eslintrc.json" ] || [ -f ".eslintrc.cjs" ] || [ -f "eslint.config.js" ] || [ -f "eslint.config.mjs" ]; then
|
||||||
echo "pre-commit: ESLint 검증 중..."
|
echo "pre-commit: ESLint 검증 중..."
|
||||||
npx eslint src/ --ext .ts,.tsx --quiet 2>&1
|
npx eslint src/ --quiet 2>&1
|
||||||
LINT_RESULT=$?
|
LINT_RESULT=$?
|
||||||
|
|
||||||
if [ $LINT_RESULT -ne 0 ]; then
|
if [ $LINT_RESULT -ne 0 ]; then
|
||||||
|
|||||||
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-aix-ppc64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-aix-ppc64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-android-arm-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-android-arm-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-android-arm64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-android-arm64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-android-x64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-android-x64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-darwin-arm64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-darwin-arm64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-darwin-x64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-darwin-x64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-freebsd-arm64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-freebsd-arm64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-freebsd-x64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-freebsd-x64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-linux-arm-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-linux-arm-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-linux-arm64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-linux-arm64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-linux-ia32-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-linux-ia32-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-linux-loong64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-linux-loong64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-linux-mips64el-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-linux-mips64el-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-linux-ppc64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-linux-ppc64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-linux-riscv64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-linux-riscv64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-linux-s390x-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-linux-s390x-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-linux-x64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-linux-x64-0.27.3.tgz
Normal file
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-netbsd-arm64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-netbsd-arm64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-netbsd-x64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-netbsd-x64-0.27.3.tgz
Normal file
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-openbsd-arm64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-openbsd-arm64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-openbsd-x64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-openbsd-x64-0.27.3.tgz
Normal file
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-openharmony-arm64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-openharmony-arm64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-sunos-x64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-sunos-x64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-win32-arm64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-win32-arm64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-win32-ia32-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-win32-ia32-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@esbuild-win32-x64-0.27.3.tgz
Normal file
BIN
.yarn-offline-cache/@esbuild-win32-x64-0.27.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@eslint-config-array-0.21.1.tgz
Normal file
BIN
.yarn-offline-cache/@eslint-config-array-0.21.1.tgz
Normal file
Binary file not shown.
BIN
.yarn-offline-cache/@eslint-config-helpers-0.4.2.tgz
Normal file
BIN
.yarn-offline-cache/@eslint-config-helpers-0.4.2.tgz
Normal file
Binary file not shown.
BIN
.yarn-offline-cache/@eslint-core-0.17.0.tgz
Normal file
BIN
.yarn-offline-cache/@eslint-core-0.17.0.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@eslint-eslintrc-3.3.3.tgz
Normal file
BIN
.yarn-offline-cache/@eslint-eslintrc-3.3.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@eslint-js-9.39.2.tgz
Normal file
BIN
.yarn-offline-cache/@eslint-js-9.39.2.tgz
Normal file
Binary file not shown.
BIN
.yarn-offline-cache/@eslint-object-schema-2.1.7.tgz
Normal file
BIN
.yarn-offline-cache/@eslint-object-schema-2.1.7.tgz
Normal file
Binary file not shown.
BIN
.yarn-offline-cache/@eslint-plugin-kit-0.4.1.tgz
Normal file
BIN
.yarn-offline-cache/@eslint-plugin-kit-0.4.1.tgz
Normal file
Binary file not shown.
BIN
.yarn-offline-cache/@humanfs-core-0.19.1.tgz
Normal file
BIN
.yarn-offline-cache/@humanfs-core-0.19.1.tgz
Normal file
Binary file not shown.
BIN
.yarn-offline-cache/@humanfs-node-0.16.7.tgz
Normal file
BIN
.yarn-offline-cache/@humanfs-node-0.16.7.tgz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@humanwhocodes-retry-0.4.3.tgz
Normal file
BIN
.yarn-offline-cache/@humanwhocodes-retry-0.4.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@rolldown-pluginutils-1.0.0-rc.3.tgz
Normal file
BIN
.yarn-offline-cache/@rolldown-pluginutils-1.0.0-rc.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@types-react-19.2.14.tgz
Normal file
BIN
.yarn-offline-cache/@types-react-19.2.14.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@types-react-dom-19.2.3.tgz
Normal file
BIN
.yarn-offline-cache/@types-react-dom-19.2.3.tgz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@typescript-eslint-eslint-plugin-8.55.0.tgz
Normal file
BIN
.yarn-offline-cache/@typescript-eslint-eslint-plugin-8.55.0.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@typescript-eslint-parser-8.55.0.tgz
Normal file
BIN
.yarn-offline-cache/@typescript-eslint-parser-8.55.0.tgz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@typescript-eslint-scope-manager-8.55.0.tgz
Normal file
BIN
.yarn-offline-cache/@typescript-eslint-scope-manager-8.55.0.tgz
Normal file
Binary file not shown.
BIN
.yarn-offline-cache/@typescript-eslint-tsconfig-utils-8.55.0.tgz
Normal file
BIN
.yarn-offline-cache/@typescript-eslint-tsconfig-utils-8.55.0.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@typescript-eslint-type-utils-8.55.0.tgz
Normal file
BIN
.yarn-offline-cache/@typescript-eslint-type-utils-8.55.0.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@typescript-eslint-types-8.55.0.tgz
Normal file
BIN
.yarn-offline-cache/@typescript-eslint-types-8.55.0.tgz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@typescript-eslint-utils-8.55.0.tgz
Normal file
BIN
.yarn-offline-cache/@typescript-eslint-utils-8.55.0.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn-offline-cache/@typescript-eslint-visitor-keys-8.55.0.tgz
Normal file
BIN
.yarn-offline-cache/@typescript-eslint-visitor-keys-8.55.0.tgz
Normal file
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
불러오는 중...
Reference in New Issue
Block a user