Skip to content

Commit 027c741

Browse files
github-actions[bot]Noviny
authored andcommitted
Version Packages (#25)
1 parent e1aa7c8 commit 027c741

File tree

3 files changed

+33
-32
lines changed

3 files changed

+33
-32
lines changed

.changeset/cyan-cups-push.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

packages/cli/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# @manypkg/cli
22

3+
## 0.8.0
4+
5+
### Minor Changes
6+
7+
- 86bd46d: Add new check: INTERNAL_DEV_DEP_NOT_STAR
8+
9+
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':
10+
11+
```json
12+
{
13+
"name": "sunshine",
14+
"version": "1.0.0",
15+
"devDependencies": {
16+
"sun": "^1.0.0"
17+
}
18+
}
19+
```
20+
21+
we will now have:
22+
23+
```json
24+
{
25+
"name": "sunshine",
26+
"version": "1.0.0",
27+
"devDependencies": {
28+
"sun": "*"
29+
}
30+
}
31+
```
32+
33+
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.
34+
335
## 0.7.0
436

537
### Minor Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@manypkg/cli",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"main": "dist/cli.cjs.js",
55
"module": "dist/cli.esm.js",
66
"license": "MIT",

0 commit comments

Comments
 (0)