0.3.0 • Published 5 months ago
@vlcn.io/typed-sql-cli v0.3.0
cli
Install -
npm install @vlcn.io/typed-sql-cli
Add to package.json
"scripts": {
"sql-watch": "typed-sql -p ."
},
Run:
npm run sql-watch
Args:
required: -p path/to/project
optional: -t name_of_tsconfig.json
defaults to tsconfig.json
A different route.
The current path uses an ESLint plugin to inject generated types on save.
- Setting up ESLint is too many steps and problematic for people who don't use ESLint
- ESLint doesn't buy us much given our rules can impact other files, not just the file being edited. E.g., when a schema is change all query shapes using that schema may need updating.
- We need a persistent process to retain the state of schemas so we can use that state as we encounter future queries
The cli is the new approach to do all of this and drop ESLint.
0.3.0
5 months ago
0.3.0-next.2
6 months ago
0.3.0-next.1
6 months ago
0.3.0-next.0
6 months ago
0.2.13
8 months ago
0.2.10
8 months ago
0.2.9
9 months ago
0.2.8
9 months ago
0.2.7
9 months ago
0.2.7-next.0
9 months ago
0.2.6
9 months ago
0.2.5
9 months ago
0.2.4
10 months ago
0.2.3
10 months ago
0.2.2
10 months ago
0.2.1
10 months ago
0.2.0
10 months ago