From 2c5a2c6e20b0b32aace112c358f162ef359201ef Mon Sep 17 00:00:00 2001 From: maruf-pfc Date: Mon, 6 Apr 2026 00:59:46 +0600 Subject: [PATCH] fix: explicit Vercel outputDirectory and canonical Labeler v5 schema --- .github/labeler.yml | 23 +++++------------------ vercel.json | 10 ++++++++-- 2 files changed, 13 insertions(+), 20 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index bed9e71..0e6f5b5 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,32 +1,19 @@ # Add 'frontend' label to any changes in src frontend: - - changed-files: - - any-glob-to-any-file: 'src/**/*' + - any: ['src/**/*'] # Add 'tests' label to any changes in tests tests: - - changed-files: - - any-glob-to-any-file: 'tests/**/*' + - any: ['tests/**/*'] # Add 'ci' label to any changes in .github/workflows ci: - - changed-files: - - any-glob-to-any-file: '.github/workflows/**/*' + - any: ['.github/workflows/**/*'] # Add 'docker' label to any changes in Dockerfile or docker-compose docker: - - changed-files: - - any-glob-to-any-file: - - 'Dockerfile' - - 'docker-compose.yml' - - 'nginx.conf' + - any: ['Dockerfile', 'docker-compose.yml', 'nginx.conf'] # Add 'docs' label to any changes in README, CONTRIBUTING, etc. docs: - - changed-files: - - any-glob-to-any-file: - - 'README.md' - - 'CONTRIBUTING.md' - - 'CODE_OF_CONDUCT.md' - - 'SECURITY.md' - - 'LICENSE' + - any: ['README.md', 'CONTRIBUTING.md', 'CODE_OF_CONDUCT.md', 'SECURITY.md', 'LICENSE'] diff --git a/vercel.json b/vercel.json index d545513..28787f5 100644 --- a/vercel.json +++ b/vercel.json @@ -1,9 +1,15 @@ { + "version": 2, + "outputDirectory": "dist", + "cleanUrls": true, "rewrites": [ + { + "source": "/assets/(.*)", + "destination": "/assets/$1" + }, { "source": "/(.*)", "destination": "/index.html" } - ], - "cleanUrls": true + ] }