-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: updated vite version #8
Conversation
Reviewer's Guide by SourceryThis PR updates several configuration settings and dependencies. The main changes include modifying the SQLAlchemy configuration to use a string-based handler, separating template configuration from Vite configuration, and updating various npm package versions including the litestar-vite-plugin. ER diagram for updated configuration entitieserDiagram
SQLAlchemyAsyncConfig {
STRING before_send_handler
AsyncSessionConfig session_config
AlembicAsyncConfig alembic_config
}
TemplateConfig {
STRING directory
}
ViteConfig {
STRING bundle_dir
STRING resource_dir
BOOLEAN use_server_lifespan
BOOLEAN dev_mode
BOOLEAN hot_reload
}
AppConfig {
TemplateConfig template_config
CorsConfig cors_config
CsrfConfig csrf_config
List plugins
Map signature_namespace
ResponseCacheConfig response_cache_config
}
SQLAlchemyAsyncConfig ||--|| AsyncSessionConfig : has
SQLAlchemyAsyncConfig ||--|| AlembicAsyncConfig : has
AppConfig ||--|| TemplateConfig : uses
AppConfig ||--|| CorsConfig : uses
AppConfig ||--|| CsrfConfig : uses
AppConfig ||--o| ViteConfig : uses
Class diagram for updated configuration settingsclassDiagram
class SQLAlchemyAsyncConfig {
- before_send_handler: String
+ before_send_handler: "autocommit_include_redirects"
- session_config: AsyncSessionConfig
- alembic_config: AlembicAsyncConfig
}
class TemplateConfig {
+ directory: String
}
class ViteConfig {
- template_dir: String
+ bundle_dir: String
+ resource_dir: String
+ use_server_lifespan: Boolean
+ dev_mode: Boolean
+ hot_reload: Boolean
}
class AppConfig {
+ template_config: TemplateConfig
+ cors_config: CorsConfig
+ csrf_config: CsrfConfig
+ plugins: List
+ signature_namespace: Map
+ response_cache_config: ResponseCacheConfig
}
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've reviewed this pull request using the Sourcery rules engine. If you would also like our AI-powered code review then let us know.
Description
Closes
Summary by Sourcery
Update Vite version and refactor configuration settings to improve template management and dependency versions.
Enhancements:
Build: