Skip to content

Commit

Permalink
fix(node-package.json): resolutions field to fix broken version
Browse files Browse the repository at this point in the history
  • Loading branch information
sabertazimi committed May 8, 2024
1 parent 6d41d1d commit 2255254
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions notes/Web/Node/NodeBasicNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,20 @@ import { Contract } from '@github/rest/contract'
import state from '@github/rest/state'
```

#### Resolutions

Besides `git bisect` for debugging broken version,
revert to last working version with `resolutions` field
will help to [fix broken version too](https://github.com/ant-design/ant-design/pull/48829):

```json
{
"resolutions": {
"rc-field-form": "1.44.0"
}
}
```

### Package Lockfile

[Dependency pinning](https://docs.renovatebot.com/dependency-pinning):
Expand Down

0 comments on commit 2255254

Please sign in to comment.