You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show only updated packages on `yarn upgrade` with the new version.
8
+
9
+
# Motivation
10
+
11
+
When updating I want to know which of "my" packages have been updated (not dependencies of my dependencies) so that I can verify a package has been updated to the expected version. This makes it easy to spot incorrect version constraints you define within your package.json.
12
+
13
+
# Detailed design
14
+
15
+
Instead of just showing all dependencies the following should be shown.
16
+
17
+
```
18
+
success Saved lockfile.
19
+
success Saved 774 new dependencies.
20
+
21
+
Updated direct dependencies:
22
+
├─ @webcomponents/custom-elements@1.0.0-alpha.3
23
+
├─ @webcomponents/shadycss@0.0.1
24
+
├─ @webcomponents/shadydom@0.0.1
25
+
26
+
All updated dependencies:
27
+
├─ @webcomponents/custom-elements@1.0.0-alpha.3
28
+
├─ @webcomponents/shadycss@0.0.1
29
+
├─ @webcomponents/shadydom@0.0.1
30
+
├─ abbrev@1.0.9
31
+
├─ accepts@1.3.3
32
+
├─ acorn-jsx@3.0.1
33
+
├─ acorn@4.0.11
34
+
├─ ajv-keywords@1.5.1
35
+
├─ ajv@4.11.2
36
+
```
37
+
38
+
# How We Teach This
39
+
40
+
The new section should be shown when running upgrade. Nothing else should be needed.
41
+
42
+
# Drawbacks
43
+
44
+
Your dependencies will be shown twice, or a `flag` needs to be introduces or the current view (showing all packages is not available / needs a flag).
45
+
46
+
# Alternatives
47
+
48
+
- add a flag like `--only-deps` to only show my dependencies
49
+
- or add a flag like `--all` to show the current version
0 commit comments