Build, Test, and Push CFDM Docker Image / test (push) Successful in 3m55s
Build, Test, and Push CFDM Docker Image / build-and-push (push) Successful in 2m49s
Build, Test, and Push CFDM Docker Image / update-wiki (push) Successful in 7s
Build, Test, and Push CFDM Docker Image / create-release (push) Has been skipped
- Added new path aliases for '@cfdm/ui/components', '@cfdm/ui/hooks', and '@cfdm/ui/lib' in tsconfig.app.json and vite.config.ts to streamline imports. - Set baseUrl in tsconfig.app.json for improved module resolution. - Included ignoreDeprecations setting in tsconfig.app.json to manage TypeScript deprecations. Co-authored-by: Cursor <cursoragent@cursor.com>
34 lines
1011 B
TypeScript
34 lines
1011 B
TypeScript
import path from 'path'
|
|
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
import { TanStackRouterVite } from '@tanstack/router-vite-plugin'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
TanStackRouterVite({ routesDirectory: './src/routes' }),
|
|
react(),
|
|
tailwindcss(),
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
'@cfdm/shared': path.resolve(__dirname, '../../packages/shared/src/index.ts'),
|
|
'@cfdm/ui/components': path.resolve(__dirname, '../../packages/ui/src/components'),
|
|
'@cfdm/ui/hooks': path.resolve(__dirname, '../../packages/ui/src/hooks'),
|
|
'@cfdm/ui/lib': path.resolve(__dirname, '../../packages/ui/src/lib'),
|
|
},
|
|
},
|
|
server: {
|
|
port: 5174,
|
|
fs: {
|
|
allow: [path.resolve(__dirname, '../..')],
|
|
},
|
|
proxy: {
|
|
'/api': 'http://localhost:8080',
|
|
'/health': 'http://localhost:8080',
|
|
'/ready': 'http://localhost:8080',
|
|
},
|
|
},
|
|
})
|