Check all applications use the same build configuration

.commonality/has-vite-config.ts
import { hasTextFile } from 'commonality-checks-recommended';

export default hasTextFile('vite.config.js', [
  "import { defineConfig } from 'vite';",
  '',
  'export default defineConfig({',
  '  server: {',
  '    port: 3000,',
  '  },',
  '  build: {',
  "    outDir: 'dist',",
  '  },',
  '  resolve: {',
  '    alias: {',
  "      '@': '/src',",
  '    },',
  '  },',
  '})',
]);
.commonality/config.json
{
  "checks": [
    "application": [
      "has-vite-config"
    ]
  ]
}