mirror of
https://github.com/ryankazokas/turbovault-app.git
synced 2026-04-16 22:12:53 +00:00
Adds types
This commit is contained in:
@@ -95,6 +95,28 @@ task lint:fix
|
||||
task security
|
||||
```
|
||||
|
||||
### Type Checking with Sorbet
|
||||
|
||||
TurboVault uses Sorbet for gradual static type checking.
|
||||
|
||||
```bash
|
||||
# First time setup (after bundle install)
|
||||
task tapioca:init
|
||||
task tapioca:all
|
||||
|
||||
# Run type checker
|
||||
task typecheck
|
||||
|
||||
# Watch mode (re-checks on file changes)
|
||||
task typecheck:watch
|
||||
|
||||
# Update type definitions after gem/model changes
|
||||
task tapioca:gems # After bundle install
|
||||
task tapioca:dsl # After model changes
|
||||
```
|
||||
|
||||
**See [SORBET.md](SORBET.md) for complete type checking guide.**
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user