Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

[package-json-lint-config-terra] upgraded to package-json-lint v2 #840

Merged
merged 3 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/package-json-lint-config-terra/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Breaking Changes
* `package-json-lint` peer dependency has been upgraded to v2.

## 1.7.0 - (August 31, 2023)

* Changed
Expand Down
5 changes: 2 additions & 3 deletions packages/package-json-lint-config-terra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@
"lint:js:fix": "eslint --ext .js,.jsx . --fix"
},
"devDependencies": {
"@cerner/eslint-config-terra": "^5.6.0",
"eslint": "^7.32.0"
"@cerner/eslint-config-terra": "^5.6.0"
},
"peerDependencies": {
"@cerner/package-json-lint": "^1.0.0"
"@cerner/package-json-lint": "2"
}
}
7 changes: 5 additions & 2 deletions packages/terra-toolkit-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Changed
* Added upgrade guide for `package-json-lint-config-terra@2`.

## 2.26.0 - (December 11, 2023)

* Changed
Expand All @@ -15,12 +18,12 @@
## 2.24.0 - (October 26, 2023)

* Changed
* Updated upgrade guide for `stylelint-config-terra`.
* Updated upgrade guide for `stylelint-config-terra@5`.

## 2.23.0 - (September 26, 2023)

* Added
* Added upgrade guide for `jest-config-terra@2.0.0`.
* Added upgrade guide for `jest-config-terra@2`.

## 2.22.0 - (August 31, 2023)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,18 @@ npm install @cerner/package-json-lint-config-terra --save-dev
"lint:package-json": "npm run terra -- package-json-lint",
```

## Upgrade Guide
## Upgrade Guide for package-json-lint

### Upgrading to version 2

Package JSON Lint v2 mainly removes rules for IE10 support since it is no longer supported.
If you have IE10 based dependencies in your project, please upgrade or remove them.
Otherwise, no additional action is needed to upgrade to v2.


## Upgrade Guide for package-json-lint-config-terra

### Upgrading to version 2

`package-json-lint-config-terra@2` now requires `package-json-lint@2` as a peer dependency.
Make sure the correct version is used to prevent any peer dependency conflicts.
Loading