Skip to content

Commit

Permalink
chore(renovate): lock dependencies on last CJS version (#1196)
Browse files Browse the repository at this point in the history
<!-- For Coveo Employees only. Fill this section.

CDX-227

-->

## Proposed changes

- Lock packages on last CJS version see #1179 for the newcomers
- Use same pattern for every ESM locked version:
  - Add Jira number, to keep track
- Add `matchCurrentVersion`: this allow ESM ready packages to use the
latest version and to keep on being updated by Renovate
  • Loading branch information
louis-bompart authored Mar 24, 2023
1 parent 34e7b86 commit ec59cfd
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,39 @@
},
{
"matchPackageNames": ["strip-ansi"],
"allowedVersions": "6.x"
"matchCurrentVersion": "6.x",
"allowedVersions": "6.x",
"description": "CDX-768: Need to migrate E2E to ESM (not easy)"
},
{
"matchPackageNames": ["get-port"],
"allowedVersions": "5.x"
"matchCurrentVersion": "5.x",
"allowedVersions": "5.x",
"description": "CDX-768: Need to migrate E2E to ESM (not easy)"
},
{
"matchPackageNames": ["chalk"],
"allowedVersions": "4.x"
"matchCurrentVersion": "4.x",
"allowedVersions": "4.x",
"description": "CDX-768: Need to migrate E2E to ESM (not easy)"
},
{
"matchPackageNames": ["open"],
"matchCurrentVersion": "8.x",
"allowedVersions": "8.x",
"description": "CDX-768: Need to migrate E2E to ESM (not easy)"
},
{
"matchPackageNames": ["inquirer", "@types/inquirer"],
"matchCurrentVersion": "8.x",
"allowedVersions": "8.x",
"description": "CDX-768: Need to migrate E2E to ESM (not easy)"
},
{
"matchPackageNames": ["fkill"],
"matchCurrentVersion": "7.x",
"allowedVersions": "7.x",
"description": "Need to migrate E2E to ESM (not easy)"
"description": "CDX-768: Need to migrate E2E to ESM (not easy)"
},
{
"matchPackageNames": ["@types/node"],
Expand Down

0 comments on commit ec59cfd

Please sign in to comment.