690319:2145 Update Backend & Frontend dep.
Build and Deploy / deploy (push) Failing after 10m27s

This commit is contained in:
2026-03-19 21:45:14 +07:00
parent 000f07efde
commit 1e6735978d
21 changed files with 2566 additions and 2312 deletions
-1
View File
@@ -25,7 +25,6 @@ export function DrawingList({ type, projectUuid, filters }: DrawingListProps) {
});
const [sorting, setSorting] = useState<SortingState>([]);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const {
data: response,
isLoading,
@@ -39,10 +39,8 @@ export interface TemplateEditorProps {
template?: NumberingTemplate;
projectId: number | string;
projectName: string;
/* eslint-disable @typescript-eslint/no-explicit-any */
correspondenceTypes: any[];
disciplines: any[];
/* eslint-enable @typescript-eslint/no-explicit-any */
correspondenceTypes: unknown[];
disciplines: unknown[];
onSave: (data: Partial<NumberingTemplate>) => void;
onCancel: () => void;
}
@@ -52,7 +50,6 @@ export function TemplateEditor({
projectId,
projectName,
correspondenceTypes,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
disciplines,
onSave,
onCancel
@@ -126,12 +123,14 @@ export function TemplateEditor({
</SelectTrigger>
<SelectContent>
<SelectItem value="__default__">Default (All Types)</SelectItem>
{/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}
{correspondenceTypes.map((type: any) => (
<SelectItem key={type.id} value={type.id.toString()}>
{type.typeCode} - {type.typeName}
</SelectItem>
))}
{correspondenceTypes.map((type: unknown) => {
const typedType = type as { id: number; typeCode: string; typeName: string };
return (
<SelectItem key={typedType.id} value={typedType.id.toString()}>
{typedType.typeCode} - {typedType.typeName}
</SelectItem>
);
})}
</SelectContent>
</Select>
<p className="text-xs text-muted-foreground mt-1">
+63
View File
@@ -0,0 +1,63 @@
import js from "@eslint/js";
import globals from "globals";
import typescriptParser from "@typescript-eslint/parser";
const eslintConfig = [
js.configs.recommended,
{
files: ["**/*.{js,jsx}"],
languageOptions: {
ecmaVersion: "latest",
sourceType: "module",
globals: {
...globals.browser,
...globals.node,
...globals.es2021,
},
},
rules: {
// Allow console statements in development
"no-console": "off",
"no-unused-vars": "warn",
},
},
{
files: ["**/*.{ts,tsx}"],
languageOptions: {
parser: typescriptParser,
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
},
globals: {
...globals.browser,
...globals.node,
...globals.es2021,
},
},
rules: {
// Allow console statements in development
"no-console": "off",
"no-unused-vars": "off", // TypeScript handles this better
"no-undef": "off", // TypeScript handles this better
},
},
// Ignore config files and build outputs
{
ignores: [
"node_modules/**",
".next/**",
"out/**",
"dist/**",
"build/**",
"*.config.js",
"*.config.mjs",
"*.config.ts",
],
},
];
export default eslintConfig;
+35 -29
View File
@@ -7,7 +7,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint": "eslint . --max-warnings 0",
"format": "prettier --write .",
"test": "vitest",
"test:watch": "vitest --watch",
@@ -24,7 +24,7 @@
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-hover-card": "^1.1.15",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-popover": "^1.1.2",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-progress": "^1.1.8",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
@@ -32,48 +32,54 @@
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tabs": "^1.1.13",
"@tanstack/react-query": "^5.90.11",
"@tanstack/react-query": "^5.91.2",
"@tanstack/react-table": "^8.21.3",
"axios": "^1.13.2",
"axios": "^1.13.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"cmdk": "^1.1.1",
"date-fns": "^4.1.0",
"lucide-react": "^0.555.0",
"next": "^16.0.7",
"lucide-react": "^0.577.0",
"next": "^16.2.0",
"next-auth": "5.0.0-beta.30",
"next-themes": "^0.4.6",
"react": "^19.0.0",
"react-day-picker": "^9.12.0",
"react-dom": "^19.0.0",
"react-dropzone": "^14.3.8",
"react-hook-form": "^7.66.1",
"react": "^19.2.4",
"react-day-picker": "^9.14.0",
"react-dom": "^19.2.4",
"react-dropzone": "^15.0.0",
"react-hook-form": "^7.71.2",
"reactflow": "^11.11.4",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0",
"tailwind-merge": "^3.5.0",
"tailwindcss-animate": "^1.0.7",
"uuid": "^13.0.0",
"zod": "^4.1.13",
"zustand": "^5.0.8"
"zod": "^4.3.6",
"zustand": "^5.0.12"
},
"devDependencies": {
"@tanstack/react-query-devtools": "^5.91.1",
"@eslint/eslintrc": "^3.3.5",
"@tanstack/react-query-devtools": "^5.91.3",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/uuid": "^11.0.0",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@typescript-eslint/parser": "^8.57.1",
"@vitejs/plugin-react": "^5.1.2",
"autoprefixer": "^10.4.22",
"autoprefixer": "^10.4.27",
"baseline-browser-mapping": "^2.10.8",
"eslint": "^8",
"eslint-config-next": "14.2.33",
"jsdom": "^27.3.0",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5",
"vitest": "^4.0.15"
"eslint": "^9.39.1",
"eslint-config-next": "16.2.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^17.4.0",
"jsdom": "^29.0.0",
"postcss": "^8.5.8",
"tailwindcss": "^4.2.2",
"typescript": "^5.9.3",
"vitest": "^4.1.0"
}
}