- Create code-first route tree in src/app/routing/routeTree.tsx - Replace ProtectedRoute with beforeLoad auth guards - Add useSearchParamsCompat for URLSearchParams access - Update App.tsx, layouts, and all page/widget imports - Add frontend tooling: biome, prettier, env config - Update all tests for TanStack Router compatibility - Remove react-router-dom dependency, @tanstack/router-plugin - Consolidate biome config at root level
48 lines
1.8 KiB
JSON
48 lines
1.8 KiB
JSON
{
|
|
"name": "moex-vibe",
|
|
"private": true,
|
|
"workspaces": [
|
|
"apps/backend",
|
|
"apps/frontend",
|
|
"apps/docs",
|
|
"packages/design-system"
|
|
],
|
|
"scripts": {
|
|
"dev:backend": "npm run start:dev -w apps/backend",
|
|
"dev:frontend": "npm run dev -w apps/frontend",
|
|
"build:backend": "npm run build -w apps/backend",
|
|
"build:frontend": "npm run build -w apps/frontend",
|
|
"test:backend": "npm run test -w apps/backend",
|
|
"test:frontend": "npm run test -w apps/frontend",
|
|
"lint": "npm run lint -w apps/backend && npm run lint -w apps/frontend",
|
|
"format": "npm run format -w apps/frontend && prettier --write \"**/*.{ts,tsx}\"",
|
|
"format:check": "npm run format:check -w apps/frontend && prettier --check \"**/*.{ts,tsx}\"",
|
|
"dev:docs": "npm run dev -w apps/docs",
|
|
"build:docs": "npm run build -w apps/docs",
|
|
"build:design-system": "npm run build -w packages/design-system",
|
|
"test:design-system": "npm run test -w packages/design-system",
|
|
"lint:design-system": "npm run lint -w packages/design-system",
|
|
"storybook": "npm run storybook -w packages/design-system",
|
|
"build:storybook": "npm run build-storybook -w packages/design-system",
|
|
"test:storybook": "npm run test:storybook -w packages/design-system",
|
|
"prepare": "husky"
|
|
},
|
|
"lint-staged": {
|
|
"apps/backend/src/**/*.{ts,tsx}": ["eslint --max-warnings=0"],
|
|
"apps/backend/test/**/*.{ts,tsx}": ["eslint --max-warnings=0"],
|
|
"apps/frontend/src/**/*.{ts,tsx}": ["biome check --write"],
|
|
"packages/design-system/src/**/*.{ts,tsx}": ["eslint --max-warnings=0"],
|
|
"**/*.{ts,tsx}": ["prettier --check"]
|
|
},
|
|
"devDependencies": {
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.4.0",
|
|
"prettier": "^3.0.0"
|
|
},
|
|
"overrides": {
|
|
"@storybook/test": {
|
|
"storybook": "10.4.6"
|
|
}
|
|
}
|
|
}
|