mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
wip
This commit is contained in:
parent
65175f3cf3
commit
37e2ba87a7
13 changed files with 134 additions and 0 deletions
24
TODO.md
Normal file
24
TODO.md
Normal 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'}
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue