diff --git a/.changeset/cyan-cups-push.md b/.changeset/cyan-cups-push.md deleted file mode 100644 index a6ac92f..0000000 --- a/.changeset/cyan-cups-push.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -"@manypkg/cli": minor ---- - -Add new check: INTERNAL_DEV_DEP_NOT_STAR - -This check moves internal devDependencies between packages to be `*` - so in a case where I had a package sunshine, which depends on internal package 'sun': - -```json -{ - "name": "sunshine", - "version": "1.0.0", - "devDependencies": { - "sun": "^1.0.0" - } -} -``` - -we will now have: - -```json -{ - "name": "sunshine", - "version": "1.0.0", - "devDependencies": { - "sun": "*" - } -} -``` - -This is because all internal dependencies are always linked if the version of the internal dependency is within the specified range(which is already enforced by Manypkg), and devDependencies are only relevant in local installs. Having set versions here caused packages to be patched when one of their devDependencies left the range, which was not strictly necessary. diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index de1c4b0..3b8d5f4 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,37 @@ # @manypkg/cli +## 0.8.0 + +### Minor Changes + +- 86bd46d: Add new check: INTERNAL_DEV_DEP_NOT_STAR + + This check moves internal devDependencies between packages to be `*` - so in a case where I had a package sunshine, which depends on internal package 'sun': + + ```json + { + "name": "sunshine", + "version": "1.0.0", + "devDependencies": { + "sun": "^1.0.0" + } + } + ``` + + we will now have: + + ```json + { + "name": "sunshine", + "version": "1.0.0", + "devDependencies": { + "sun": "*" + } + } + ``` + + This is because all internal dependencies are always linked if the version of the internal dependency is within the specified range(which is already enforced by Manypkg), and devDependencies are only relevant in local installs. Having set versions here caused packages to be patched when one of their devDependencies left the range, which was not strictly necessary. + ## 0.7.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index cd9898c..1cafec1 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@manypkg/cli", - "version": "0.7.0", + "version": "0.8.0", "main": "dist/cli.cjs.js", "module": "dist/cli.esm.js", "license": "MIT",