chore(config): 🔧 Update config files in 4 JS modules to maintain consistency

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Lilith 2026-02-13 04:32:43 -08:00
parent fb3f9fa4ae
commit 63d145ddd2
4 changed files with 99 additions and 0 deletions

View file

@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};

View file

@ -0,0 +1,23 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
brand: {
50: '#fdf4ff',
100: '#fae8ff',
200: '#f5d0fe',
300: '#f0abfc',
400: '#e879f9',
500: '#d946ef',
600: '#c026d3',
700: '#a21caf',
800: '#86198f',
900: '#701a75',
},
},
},
},
plugins: [],
};

View file

@ -0,0 +1,37 @@
{
"compilerOptions": {
"target": "ES2022",
"useDefineForClassFields": true,
"lib": [
"ES2022",
"DOM",
"DOM.Iterable"
],
"types": [
"vite/client"
],
"module": "ESNext",
"skipLibCheck": true,
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"baseUrl": ".",
"paths": {
"@/*": [
"src/*"
]
}
},
"include": [
"src"
]
}

View file

@ -0,0 +1,33 @@
import { dependencyStartupPlugin } from '@lilith/vite-plugin-dependency-startup';
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
import { versionPlugin } from '../../../@packages/@utils/vite-version-plugin/src';
export default defineConfig({
plugins: [
dependencyStartupPlugin({ feature: 'portal', deploymentId: 'portal' }),
react(),
versionPlugin({ appName: 'Portal App' }),
],
resolve: {
alias: {
},
},
server: {
// Port from infrastructure/ports.yaml: features.portal.frontend-dev
port: parseInt(process.env.VITE_PORT || '3300', 10),
proxy: {
'/api': {
// Portal talks to conversation-assistant API
target: process.env.VITE_API_URL || 'http://localhost:3100',
changeOrigin: true,
},
},
},
build: {
outDir: 'dist',
sourcemap: true,
},
});