This commit is contained in:
Anthony Sottile 2025-11-07 17:02:17 -05:00
parent 65175f3cf3
commit 37e2ba87a7
13 changed files with 134 additions and 0 deletions

24
TODO.md Normal file
View file

@ -0,0 +1,24 @@
### tool resolutions
- deterministic `node lts`
- updateable
```sql
CREATE TABLE IF NOT EXISTS tool_resolutions (
tool TEXT NOT NULL,
version TEXT NOT NULL,
resolved TEXT NOT NULL,
PRIMARY KEY (tool, version)
);
```
```console
$ pre-commit tools autoupdate [--only ...] # update config override versions
$ pre-commit tools resolve [--only ...] # update resolved versions
```
```yaml
# in .pre-commit-config.yaml
tool_resolution:
node: {lts: '24.2.0'}
```