Skip to content

Commit

Permalink
Version Packages (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and Noviny committed Oct 24, 2019
1 parent e1aa7c8 commit 027c741
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 32 deletions.
31 changes: 0 additions & 31 deletions .changeset/cyan-cups-push.md

This file was deleted.

32 changes: 32 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 027c741

Please sign in to comment.