syncpack 5.7.11 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/README.md +261 -103
  2. package/dist/bin-fix-mismatches/fix-mismatches.d.ts +3 -0
  3. package/dist/bin-fix-mismatches/fix-mismatches.js +58 -0
  4. package/dist/bin-fix-mismatches/get-highest-version.d.ts +1 -0
  5. package/dist/{commands/lib → bin-fix-mismatches}/get-highest-version.js +16 -19
  6. package/dist/bin-fix-mismatches/get-workspace-version.d.ts +6 -0
  7. package/dist/bin-fix-mismatches/get-workspace-version.js +17 -0
  8. package/dist/{bin-fix-mismatches.d.ts → bin-fix-mismatches/index.d.ts} +0 -0
  9. package/dist/bin-fix-mismatches/index.js +66 -0
  10. package/dist/bin-format/format.d.ts +3 -0
  11. package/dist/bin-format/format.js +44 -0
  12. package/dist/{bin-format.d.ts → bin-format/index.d.ts} +0 -0
  13. package/dist/bin-format/index.js +56 -0
  14. package/dist/{bin-list-mismatches.d.ts → bin-lint-semver-ranges/index.d.ts} +0 -0
  15. package/dist/bin-lint-semver-ranges/index.js +66 -0
  16. package/dist/bin-lint-semver-ranges/lint-semver-ranges.d.ts +2 -0
  17. package/dist/bin-lint-semver-ranges/lint-semver-ranges.js +52 -0
  18. package/dist/bin-lint-semver-ranges/list-semver-group-mismatches.d.ts +2 -0
  19. package/dist/bin-lint-semver-ranges/list-semver-group-mismatches.js +12 -0
  20. package/dist/{bin-set-semver-ranges.d.ts → bin-list/index.d.ts} +0 -0
  21. package/dist/bin-list/index.js +64 -0
  22. package/dist/bin-list/list-version-groups.d.ts +3 -0
  23. package/dist/bin-list/list-version-groups.js +40 -0
  24. package/dist/bin-list/list.d.ts +9 -0
  25. package/dist/bin-list/list.js +46 -0
  26. package/dist/{bin-list.d.ts → bin-list-mismatches/index.d.ts} +0 -0
  27. package/dist/bin-list-mismatches/index.js +64 -0
  28. package/dist/bin-list-mismatches/list-mismatches.d.ts +2 -0
  29. package/dist/bin-list-mismatches/list-mismatches.js +44 -0
  30. package/dist/bin-set-semver-ranges/index.d.ts +2 -0
  31. package/dist/bin-set-semver-ranges/index.js +68 -0
  32. package/dist/bin-set-semver-ranges/set-semver-ranges.d.ts +3 -0
  33. package/dist/bin-set-semver-ranges/set-semver-ranges.js +37 -0
  34. package/dist/bin.js +21 -7
  35. package/dist/constants.d.ts +53 -32
  36. package/dist/constants.js +23 -19
  37. package/dist/lib/collect.d.ts +1 -1
  38. package/dist/lib/collect.js +2 -2
  39. package/dist/lib/disk.d.ts +10 -0
  40. package/dist/lib/disk.js +32 -0
  41. package/dist/lib/get-input/get-config.d.ts +9 -0
  42. package/dist/lib/get-input/get-config.js +112 -0
  43. package/dist/lib/get-input/get-instances.d.ts +21 -0
  44. package/dist/lib/get-input/get-instances.js +133 -0
  45. package/dist/lib/get-input/get-wrappers/get-file-paths.d.ts +15 -0
  46. package/dist/lib/get-input/get-wrappers/get-file-paths.js +48 -0
  47. package/dist/lib/get-input/get-wrappers/get-patterns/get-lerna-patterns.d.ts +3 -0
  48. package/dist/lib/get-input/get-wrappers/get-patterns/get-lerna-patterns.js +36 -0
  49. package/dist/lib/get-input/get-wrappers/get-patterns/get-pnpm-patterns.d.ts +3 -0
  50. package/dist/lib/get-input/get-wrappers/get-patterns/get-pnpm-patterns.js +41 -0
  51. package/dist/lib/get-input/get-wrappers/get-patterns/get-yarn-patterns.d.ts +3 -0
  52. package/dist/lib/get-input/get-wrappers/get-patterns/get-yarn-patterns.js +42 -0
  53. package/dist/lib/get-input/get-wrappers/get-patterns/index.d.ts +13 -0
  54. package/dist/lib/get-input/get-wrappers/get-patterns/index.js +72 -0
  55. package/dist/lib/get-input/get-wrappers/get-patterns/props.d.ts +7 -0
  56. package/dist/lib/get-input/get-wrappers/get-patterns/props.js +39 -0
  57. package/dist/lib/get-input/get-wrappers/get-patterns/read-json-safe.d.ts +4 -0
  58. package/dist/lib/get-input/get-wrappers/get-patterns/read-json-safe.js +37 -0
  59. package/dist/lib/get-input/get-wrappers/get-patterns/read-yaml-safe.d.ts +3 -0
  60. package/dist/lib/get-input/get-wrappers/get-patterns/read-yaml-safe.js +30 -0
  61. package/dist/lib/get-input/get-wrappers/index.d.ts +34 -0
  62. package/dist/lib/get-input/get-wrappers/index.js +36 -0
  63. package/dist/lib/get-input/get-wrappers/readonly.d.ts +4 -0
  64. package/dist/lib/get-input/get-wrappers/readonly.js +10 -0
  65. package/dist/lib/get-input/get-wrappers/tap.d.ts +5 -0
  66. package/dist/lib/get-input/get-wrappers/tap.js +39 -0
  67. package/dist/lib/get-input/get-wrappers/try-catch.d.ts +5 -0
  68. package/dist/lib/get-input/get-wrappers/try-catch.js +13 -0
  69. package/dist/lib/get-input/index.d.ts +18 -0
  70. package/dist/lib/get-input/index.js +33 -0
  71. package/dist/lib/group-by.d.ts +1 -0
  72. package/dist/lib/group-by.js +11 -0
  73. package/dist/lib/is-semver.d.ts +4 -0
  74. package/dist/lib/is-semver.js +26 -0
  75. package/dist/lib/matches-filter.d.ts +3 -0
  76. package/dist/lib/matches-filter.js +10 -0
  77. package/dist/lib/set-semver-range.d.ts +2 -0
  78. package/dist/lib/set-semver-range.js +19 -0
  79. package/dist/lib/sort-by-name.d.ts +5 -0
  80. package/dist/{commands/lib/installations → lib}/sort-by-name.js +2 -2
  81. package/dist/lib/write-if-changed.d.ts +10 -0
  82. package/dist/lib/write-if-changed.js +23 -0
  83. package/dist/option.d.ts +12 -0
  84. package/dist/option.js +42 -0
  85. package/package.json +41 -39
  86. package/CHANGELOG.md +0 -396
  87. package/dist/bin-fix-mismatches.js +0 -56
  88. package/dist/bin-format.js +0 -48
  89. package/dist/bin-list-mismatches.js +0 -54
  90. package/dist/bin-list.js +0 -54
  91. package/dist/bin-set-semver-ranges.js +0 -58
  92. package/dist/commands/fix-mismatches.d.ts +0 -6
  93. package/dist/commands/fix-mismatches.js +0 -58
  94. package/dist/commands/format.d.ts +0 -6
  95. package/dist/commands/format.js +0 -49
  96. package/dist/commands/lib/get-dependency-types.d.ts +0 -8
  97. package/dist/commands/lib/get-dependency-types.js +0 -14
  98. package/dist/commands/lib/get-highest-version.d.ts +0 -1
  99. package/dist/commands/lib/get-wrappers.d.ts +0 -42
  100. package/dist/commands/lib/get-wrappers.js +0 -46
  101. package/dist/commands/lib/installations/get-dependencies.d.ts +0 -19
  102. package/dist/commands/lib/installations/get-dependencies.js +0 -121
  103. package/dist/commands/lib/installations/get-grouped-mismatched-dependencies.d.ts +0 -4
  104. package/dist/commands/lib/installations/get-grouped-mismatched-dependencies.js +0 -133
  105. package/dist/commands/lib/installations/get-installations-of.d.ts +0 -4
  106. package/dist/commands/lib/installations/get-installations-of.js +0 -105
  107. package/dist/commands/lib/installations/get-mismatched-dependencies.d.ts +0 -4
  108. package/dist/commands/lib/installations/get-mismatched-dependencies.js +0 -131
  109. package/dist/commands/lib/installations/sort-by-name.d.ts +0 -2
  110. package/dist/commands/lib/is-semver.d.ts +0 -4
  111. package/dist/commands/lib/is-semver.js +0 -23
  112. package/dist/commands/lib/log.d.ts +0 -2
  113. package/dist/commands/lib/log.js +0 -31
  114. package/dist/commands/lib/matches-filter.d.ts +0 -4
  115. package/dist/commands/lib/matches-filter.js +0 -8
  116. package/dist/commands/lib/write-if-changed.d.ts +0 -2
  117. package/dist/commands/lib/write-if-changed.js +0 -26
  118. package/dist/commands/list-mismatches.d.ts +0 -7
  119. package/dist/commands/list-mismatches.js +0 -39
  120. package/dist/commands/list.d.ts +0 -6
  121. package/dist/commands/list.js +0 -42
  122. package/dist/commands/set-semver-ranges.d.ts +0 -7
  123. package/dist/commands/set-semver-ranges.js +0 -76
  124. package/dist/lib/get-config.d.ts +0 -2
  125. package/dist/lib/get-config.js +0 -40
package/CHANGELOG.md DELETED
@@ -1,396 +0,0 @@
1
- ## [5.7.11](https://github.com/JamieMason/syncpack/compare/5.6.10...5.7.11) (2021-01-29)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * **npm:** update dependencies ([5531da6](https://github.com/JamieMason/syncpack/commit/5531da60bc1cfb0fe3c5ca8e904d0a9e55d3d4b5))
7
-
8
-
9
- ### Features
10
-
11
- * **fix-mismatches:** use local package version when available ([640cb7f](https://github.com/JamieMason/syncpack/commit/640cb7faf18b33fd491e68f66d3cf599845c9265)), closes [#47](https://github.com/JamieMason/syncpack/issues/47)
12
-
13
-
14
-
15
- ## [5.6.10](https://github.com/JamieMason/syncpack/compare/5.6.7...5.6.10) (2020-09-17)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * **cli:** use defaults when source is empty array ([c2f6199](https://github.com/JamieMason/syncpack/commit/c2f61998add60ed5d52af1c3518d1f737cf75c80))
21
- * **core:** support multiple version groups ([bfd12b4](https://github.com/JamieMason/syncpack/commit/bfd12b4f3a6693ac1b4580621b12995d2b04eee7)), closes [#43](https://github.com/JamieMason/syncpack/issues/43)
22
- * **list:** display mismatches from version groups ([43ba18d](https://github.com/JamieMason/syncpack/commit/43ba18dff1aa7c749724b992b6eef17a227f5445))
23
-
24
-
25
-
26
- ## [5.6.7](https://github.com/JamieMason/syncpack/compare/5.5.6...5.6.7) (2020-08-30)
27
-
28
-
29
- ### Bug Fixes
30
-
31
- * **npm:** update dependencies ([2e3ea3b](https://github.com/JamieMason/syncpack/commit/2e3ea3b0f6de8a97a390305a998053550183cc27))
32
-
33
-
34
- ### Features
35
-
36
- * **core:** support granular versioning rules ([2197f90](https://github.com/JamieMason/syncpack/commit/2197f90608c119a04ddde6255e729fa1ec5c49ec)), closes [#41](https://github.com/JamieMason/syncpack/issues/41)
37
-
38
-
39
-
40
- ## [5.5.6](https://github.com/JamieMason/syncpack/compare/5.2.5...5.5.6) (2020-08-23)
41
-
42
-
43
- ### Bug Fixes
44
-
45
- * **core:** ignore link: versions rather than throw ([7a48366](https://github.com/JamieMason/syncpack/commit/7a483666e64a046be9984bf4146ac8566b3f5920)), closes [#38](https://github.com/JamieMason/syncpack/issues/38)
46
-
47
-
48
- ### Features
49
-
50
- * **core:** expose format configuration ([4f74d9a](https://github.com/JamieMason/syncpack/commit/4f74d9a0b9a92428278f66327630e5b0e9dc5add)), closes [#30](https://github.com/JamieMason/syncpack/issues/30)
51
- * **core:** sort resolutions field a-z ([f76a127](https://github.com/JamieMason/syncpack/commit/f76a1278b45ec3b00b2658b5da327d0a480ff12d)), closes [#34](https://github.com/JamieMason/syncpack/issues/34)
52
- * **core:** support yarn workspaces config as object ([34eceaf](https://github.com/JamieMason/syncpack/commit/34eceaffae143fdbc9729495ea693172c2944351)), closes [#33](https://github.com/JamieMason/syncpack/issues/33)
53
-
54
-
55
-
56
- ## [5.2.5](https://github.com/JamieMason/syncpack/compare/5.1.4...5.2.5) (2020-08-22)
57
-
58
-
59
- ### Bug Fixes
60
-
61
- * **npm:** update dependencies ([19ad510](https://github.com/JamieMason/syncpack/commit/19ad510d09040e1aa098e16d6831836da3c9c12f))
62
-
63
-
64
- ### Features
65
-
66
- * **core:** add support for config files ([cfd5df3](https://github.com/JamieMason/syncpack/commit/cfd5df35134de068eaf26bdb2cfaa1890c6c3545))
67
-
68
-
69
-
70
- ## [5.1.4](https://github.com/JamieMason/syncpack/compare/5.0.3...5.1.4) (2020-08-02)
71
-
72
-
73
- ### Bug Fixes
74
-
75
- * **npm:** update dependencies ([f2cac6a](https://github.com/JamieMason/syncpack/commit/f2cac6a05eaf9f5a7736267a797cf75476292757))
76
-
77
-
78
- ### Features
79
-
80
- * **core:** add support for pnpm workspaces ([a6112ec](https://github.com/JamieMason/syncpack/commit/a6112ec786fd26699a3734707218cda38baf9f0e)), closes [#42](https://github.com/JamieMason/syncpack/issues/42)
81
-
82
-
83
-
84
- ## [5.0.3](https://github.com/JamieMason/syncpack/compare/5.0.1...5.0.3) (2020-06-19)
85
-
86
-
87
- ### Bug Fixes
88
-
89
- * **format:** leave sort order of "files" array unchanged ([1bd584f](https://github.com/JamieMason/syncpack/commit/1bd584f67054d4a37b91b1e5f285dbe9b53b4489)), closes [#35](https://github.com/JamieMason/syncpack/issues/35)
90
- * **npm:** update dependencies ([9e0bd7e](https://github.com/JamieMason/syncpack/commit/9e0bd7ea257b3dcc425f306d4fcae195f6d0d126))
91
-
92
-
93
-
94
- ## [5.0.1](https://github.com/JamieMason/syncpack/compare/4.5.5...5.0.1) (2020-02-16)
95
-
96
-
97
- ### Bug Fixes
98
-
99
- * **core:** include root package.json when reading yarn & lerna config ([a7875cb](https://github.com/JamieMason/syncpack/commit/a7875cb08e0f8382163e8c9e8a4d3e6772b4c160))
100
- * **npm:** update dependencies ([5fdcc7b](https://github.com/JamieMason/syncpack/commit/5fdcc7bd112533f891b31dfcf0be79b54989b8d7))
101
-
102
-
103
- ### BREAKING CHANGES
104
-
105
- * **npm:** engines.node has been increased to >=10 because
106
- semver@7.1.1 is a hard dependency of syncpack and
107
- requires node >=10
108
-
109
-
110
-
111
- ## [4.5.5](https://github.com/JamieMason/syncpack/compare/4.5.4...4.5.5) (2020-01-19)
112
-
113
-
114
- ### Bug Fixes
115
-
116
- * **npm:** update dependencies ([1776b5f](https://github.com/JamieMason/syncpack/commit/1776b5fdbbc79315dd5ab8700f25daeb3ec46b05))
117
-
118
-
119
-
120
- ## [4.5.4](https://github.com/JamieMason/syncpack/compare/4.5.3...4.5.4) (2019-07-16)
121
-
122
-
123
- ### Bug Fixes
124
-
125
- * **npm:** update dependencies ([e07cc44](https://github.com/JamieMason/syncpack/commit/e07cc44add6e9ae2d7775496f5585ac6f46e58e9)), closes [#28](https://github.com/JamieMason/syncpack/issues/28)
126
-
127
-
128
-
129
- ## [4.5.3](https://github.com/JamieMason/syncpack/compare/4.5.2...4.5.3) (2019-06-17)
130
-
131
-
132
- ### Bug Fixes
133
-
134
- * **npm:** update dependencies ([10834a9](https://github.com/JamieMason/syncpack/commit/10834a905812aadd4e13b2420bf3dc1549939dab))
135
-
136
-
137
-
138
- ## [4.5.2](https://github.com/JamieMason/syncpack/compare/4.4.2...4.5.2) (2019-05-14)
139
-
140
-
141
- ### Features
142
-
143
- * **cli:** add support for yarn workspaces ([a5a45dd](https://github.com/JamieMason/syncpack/commit/a5a45ddc937020b54c33a13d554fb871fee50e05)), closes [#20](https://github.com/JamieMason/syncpack/issues/20) [#22](https://github.com/JamieMason/syncpack/issues/22)
144
-
145
-
146
-
147
- ## [4.4.2](https://github.com/JamieMason/syncpack/compare/4.4.1...4.4.2) (2019-05-06)
148
-
149
-
150
- ### Bug Fixes
151
-
152
- * **filter:** --filter is a string, not a boolean ([5587f2b](https://github.com/JamieMason/syncpack/commit/5587f2bdaef0dcc50022c9ae9e98b1c34ce9e164))
153
-
154
-
155
-
156
- ## [4.4.1](https://github.com/JamieMason/syncpack/compare/4.3.1...4.4.1) (2019-04-29)
157
-
158
-
159
- ### Features
160
-
161
- * **options:** add dependency filter regex ([bfb1f1d](https://github.com/JamieMason/syncpack/commit/bfb1f1dde0ee3cbd11a0ef5cef80a0f53b28083a)), closes [#18](https://github.com/JamieMason/syncpack/issues/18)
162
-
163
-
164
-
165
- ## [4.3.1](https://github.com/JamieMason/syncpack/compare/4.0.1...4.3.1) (2019-02-03)
166
-
167
-
168
- ### Features
169
-
170
- * **fix-mismatches:** output which files are (un)changed ([a79b078](https://github.com/JamieMason/syncpack/commit/a79b078d7527a27a6e1343dab06e901f0c0a0530))
171
- * **format:** output which files are (un)changed ([3a08a7a](https://github.com/JamieMason/syncpack/commit/3a08a7a5a0bebfdf2d10503ce2cd1920ef94367e))
172
- * **list:** sort output alphabetically ([f61bde4](https://github.com/JamieMason/syncpack/commit/f61bde46a08550daf96cca596cbd1e00c13c7564))
173
-
174
-
175
-
176
- ## [4.0.1](https://github.com/JamieMason/syncpack/compare/4.0.0...4.0.1) (2019-01-14)
177
-
178
-
179
- ### Bug Fixes
180
-
181
- * **ci:** cannot read property concat of undefined ([46a45e2](https://github.com/JamieMason/syncpack/commit/46a45e26b51b9f81076148ff7483b19cd34aef73)), closes [#16](https://github.com/JamieMason/syncpack/issues/16)
182
-
183
-
184
-
185
- # [4.0.0](https://github.com/JamieMason/syncpack/compare/3.5.2...4.0.0) (2019-01-11)
186
-
187
-
188
- ### Bug Fixes
189
-
190
- * **node:** support Node.js 8.x or newer ([c71009e](https://github.com/JamieMason/syncpack/commit/c71009e1507cd66c735112a0ae685cd3e51ab2fe))
191
- * **npm:** update dependencies ([23b02e3](https://github.com/JamieMason/syncpack/commit/23b02e3d72e51e8b069a336357e6cddcdc4979c1)), closes [#15](https://github.com/JamieMason/syncpack/issues/15)
192
-
193
-
194
- ### BREAKING CHANGES
195
-
196
- * **node:** Support Node.js 8.x or newer, Transitive Dependency ip-regex@3.0.0
197
- supports node ">=8".
198
-
199
-
200
-
201
- ## [3.5.2](https://github.com/JamieMason/syncpack/compare/3.5.0...3.5.2) (2019-01-07)
202
-
203
-
204
- ### Bug Fixes
205
-
206
- * **core:** improve handling of non-semver versions ([9e1176a](https://github.com/JamieMason/syncpack/commit/9e1176a3495ea97648c61ab5869a12c3ff539c5f)), closes [#14](https://github.com/JamieMason/syncpack/issues/14)
207
- * **npm:** update dependencies ([09d9f04](https://github.com/JamieMason/syncpack/commit/09d9f04480252edd0fd3b6af3cd8dce36c66d96b))
208
-
209
-
210
-
211
- # [3.5.0](https://github.com/JamieMason/syncpack/compare/3.4.0...3.5.0) (2018-10-29)
212
-
213
-
214
- ### Features
215
-
216
- * **cli:** improve --help output and examples ([dfe6274](https://github.com/JamieMason/syncpack/commit/dfe6274c50d6ba3ea3ec419cabd1ccf0bb73f8fb))
217
-
218
-
219
-
220
- # [3.4.0](https://github.com/JamieMason/syncpack/compare/3.3.0...3.4.0) (2018-10-28)
221
-
222
-
223
- ### Features
224
-
225
- * **cli:** read sources from lerna.json if present ([77b90eb](https://github.com/JamieMason/syncpack/commit/77b90eb3d656c50ff7b9d1317dc2cdad469b15a5)), closes [#11](https://github.com/JamieMason/syncpack/issues/11)
226
-
227
-
228
-
229
- # [3.3.0](https://github.com/JamieMason/syncpack/compare/3.0.0...3.3.0) (2018-10-28)
230
-
231
-
232
- ### Features
233
-
234
- * **cli:** specify dependency types as options ([ec5ef6b](https://github.com/JamieMason/syncpack/commit/ec5ef6b76f3c2fa0fba0f3a364b734f554d32c8a)), closes [#10](https://github.com/JamieMason/syncpack/issues/10)
235
- * **cli:** specify indentation as option ([8b408bd](https://github.com/JamieMason/syncpack/commit/8b408bd14768fe7b3a2fd5cbb06233ba3b9707b3)), closes [#12](https://github.com/JamieMason/syncpack/issues/12)
236
- * **format:** sort contributors alphabetically ([935ffcf](https://github.com/JamieMason/syncpack/commit/935ffcf307d0adabe06c04ff1e2b258277f060be))
237
-
238
-
239
- ### Performance Improvements
240
-
241
- * **npm:** move [@types](https://github.com/types) to devDependencies ([ad5951c](https://github.com/JamieMason/syncpack/commit/ad5951ceba183761b0b73355a508111e7eb02508)), closes [#13](https://github.com/JamieMason/syncpack/issues/13)
242
-
243
-
244
-
245
- # [3.0.0](https://github.com/JamieMason/syncpack/compare/2.0.1...3.0.0) (2018-08-25)
246
-
247
-
248
- ### Features
249
-
250
- * **bin:** override package locations using repeatable --source options ([5dbcfd4](https://github.com/JamieMason/syncpack/commit/5dbcfd4915cf286cba0e665e554c319d717f6651))
251
- * **list-mismatches:** return exit code on finding mismatches ([06958c6](https://github.com/JamieMason/syncpack/commit/06958c6446646c108fc1dc4e07c714cd08bf58fc))
252
-
253
-
254
- ### BREAKING CHANGES
255
-
256
- * **bin:** Previously the location of package.json files could be overridden like so:
257
-
258
- ```
259
- syncpack list './package.json' './packages/*/package.json'
260
- ```
261
-
262
- This is now done using a repeatable `--source` option:
263
-
264
- ```
265
- syncpack list --source './package.json' --source './packages/*/package.json'
266
- ```
267
-
268
- This change is to make way for new commands which will also require an
269
- overridable `--target` option.
270
-
271
-
272
-
273
- ## [2.0.1](https://github.com/JamieMason/syncpack/compare/2.0.0...2.0.1) (2018-04-29)
274
-
275
-
276
- ### Bug Fixes
277
-
278
- * **core:** ensure pattern overrides are read ([7513ba5](https://github.com/JamieMason/syncpack/commit/7513ba5fa644bf445efbdca22d4797b4a973b56f))
279
-
280
-
281
-
282
- # [2.0.0](https://github.com/JamieMason/syncpack/compare/1.3.2...2.0.0) (2018-04-29)
283
-
284
-
285
- ### Features
286
-
287
- * **core:** support multiple glob patterns ([a2b5af0](https://github.com/JamieMason/syncpack/commit/a2b5af017a2152fb40d0522501db64ef739fe5f9)), closes [#5](https://github.com/JamieMason/syncpack/issues/5) [#6](https://github.com/JamieMason/syncpack/issues/6)
288
-
289
-
290
- ### BREAKING CHANGES
291
-
292
- * **core:** --packages option replaced with variadic arguments
293
-
294
-
295
-
296
- ## [1.3.2](https://github.com/JamieMason/syncpack/compare/1.2.2...1.3.2) (2018-04-28)
297
-
298
-
299
- ### Features
300
-
301
- * **core:** add set-semver-ranges command ([4d206b9](https://github.com/JamieMason/syncpack/commit/4d206b9d00c7cf5a9f8ee52b84d7e8b9487fd01a))
302
-
303
-
304
-
305
- ## [1.2.2](https://github.com/JamieMason/syncpack/compare/1.0.2...1.2.2) (2018-02-10)
306
-
307
-
308
- ### Features
309
-
310
- * **core:** add format command ([bae1133](https://github.com/JamieMason/syncpack/commit/bae11337f1c68c87299ee3e33120d3dc0fa8643f))
311
- * **core:** output current version ([e53cd99](https://github.com/JamieMason/syncpack/commit/e53cd99e989b1ea383530bcde78d105b39103a8c))
312
-
313
-
314
-
315
- ## [1.0.2](https://github.com/JamieMason/syncpack/compare/1.0.1...1.0.2) (2018-02-02)
316
-
317
-
318
-
319
- ## [1.0.1](https://github.com/JamieMason/syncpack/compare/1.0.0...1.0.1) (2018-02-02)
320
-
321
-
322
- ### Bug Fixes
323
-
324
- * **core:** correct paths to binaries ([5682cd6](https://github.com/JamieMason/syncpack/commit/5682cd65b8559e9f47c9fe63b6294aebb73ba896))
325
-
326
-
327
-
328
- # [1.0.0](https://github.com/JamieMason/syncpack/compare/0.3.1...1.0.0) (2018-02-02)
329
-
330
-
331
- ### Bug Fixes
332
-
333
- * **core:** correctly check a file is package.json ([d1da609](https://github.com/JamieMason/syncpack/commit/d1da6096c3b7c6b01a05c112ffc1251ec4ba700d))
334
- * **core:** handle missing dependency maps ([372aa68](https://github.com/JamieMason/syncpack/commit/372aa6877f47df1118c45931391c8b87ca851413))
335
- * **core:** handle semver ranges containing 1.x.x ([a0f8f56](https://github.com/JamieMason/syncpack/commit/a0f8f5650f3855361914fc6f8303035dc3abfb8d))
336
-
337
-
338
- ### Features
339
-
340
- * **core:** add fix-mismatches command ([4793f1f](https://github.com/JamieMason/syncpack/commit/4793f1fc6b67cfa1f87f73188944f8dd8d196bc0))
341
- * **core:** add list command ([3b29176](https://github.com/JamieMason/syncpack/commit/3b291760f4cba611acc3f75034679303c55bf1a7))
342
- * **core:** add list-mismatches command ([735ad2b](https://github.com/JamieMason/syncpack/commit/735ad2b2a1347b99a3f758b0c797b2fb7a3fc4c3))
343
- * **core:** update command line API ([de8dcb2](https://github.com/JamieMason/syncpack/commit/de8dcb2b0dbe7bb63c91aeb05e8422696b0bd178))
344
-
345
-
346
- ### BREAKING CHANGES
347
-
348
- * **core:** The previous commands have been replaced.
349
-
350
-
351
-
352
- ## [0.3.1](https://github.com/JamieMason/syncpack/compare/0.3.0...0.3.1) (2017-08-23)
353
-
354
-
355
- ### Bug Fixes
356
-
357
- * **copy-values:** write results to disk ([a641de4](https://github.com/JamieMason/syncpack/commit/a641de41faaf6851cf9177ff87acd0d3e16494fb))
358
-
359
-
360
-
361
- # [0.3.0](https://github.com/JamieMason/syncpack/compare/0.2.1...0.3.0) (2017-08-22)
362
-
363
-
364
- ### Features
365
-
366
- * **cli:** add copy-values command ([b51a2c9](https://github.com/JamieMason/syncpack/commit/b51a2c96e133a1b5020577cf3c6bef31e79de850))
367
-
368
-
369
-
370
- ## [0.2.1](https://github.com/JamieMason/syncpack/compare/0.2.0...0.2.1) (2017-08-20)
371
-
372
-
373
- ### Bug Fixes
374
-
375
- * **core:** update dependencies, fix lint warnings ([a65eef7](https://github.com/JamieMason/syncpack/commit/a65eef765d868a27913e173543dcbda43a2202a5))
376
-
377
-
378
-
379
- # [0.2.0](https://github.com/JamieMason/syncpack/compare/0.1.0...0.2.0) (2017-08-20)
380
-
381
-
382
- ### Features
383
-
384
- * **sync:** synchronise versions across multiple package.json ([7d5848a](https://github.com/JamieMason/syncpack/commit/7d5848a0edbe0c0a312be323cc8d9a4a8ed0ea30))
385
-
386
-
387
-
388
- # [0.1.0](https://github.com/JamieMason/syncpack/compare/f6dada7aae149b7d0299206308347c8497e249d0...0.1.0) (2017-08-18)
389
-
390
-
391
- ### Features
392
-
393
- * **cli:** create scaffold cli ([f6dada7](https://github.com/JamieMason/syncpack/commit/f6dada7aae149b7d0299206308347c8497e249d0))
394
-
395
-
396
-
@@ -1,56 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
4
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
5
- return cooked;
6
- };
7
- var __read = (this && this.__read) || function (o, n) {
8
- var m = typeof Symbol === "function" && o[Symbol.iterator];
9
- if (!m) return o;
10
- var i = m.call(o), r, ar = [], e;
11
- try {
12
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
13
- }
14
- catch (error) { e = { error: error }; }
15
- finally {
16
- try {
17
- if (r && !r.done && (m = i["return"])) m.call(i);
18
- }
19
- finally { if (e) throw e.error; }
20
- }
21
- return ar;
22
- };
23
- var __spread = (this && this.__spread) || function () {
24
- for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
25
- return ar;
26
- };
27
- var __importDefault = (this && this.__importDefault) || function (mod) {
28
- return (mod && mod.__esModule) ? mod : { "default": mod };
29
- };
30
- var _a, _b, _c, _d, _e;
31
- exports.__esModule = true;
32
- var chalk_1 = __importDefault(require("chalk"));
33
- var fix_mismatches_1 = require("./commands/fix-mismatches");
34
- var constants_1 = require("./constants");
35
- var get_config_1 = require("./lib/get-config");
36
- var program = require("commander");
37
- program.description("\n Ensure that multiple packages requiring the same dependency define the same\n version, so that every package requires eg. react@16.4.2, instead of a\n combination of react@16.4.2, react@0.15.9, and react@16.0.0.".replace(/^\n/, ''));
38
- program.on('--help', function () {
39
- console.log(chalk_1["default"](templateObject_1 || (templateObject_1 = __makeTemplateObject(["\nResolving Packages:\n 1. If {yellow --source} globs are provided, use those.\n 2. If using Pnpm Workspaces, read {yellow packages} from {yellow pnpm-workspace.yaml} in the root of the project.\n 3. If using Yarn Workspaces, read {yellow workspaces} from {yellow package.json}.\n 4. If using Lerna, read {yellow packages} from {yellow lerna.json}.\n 5. Default to {yellow \"package.json\"} and {yellow \"packages/*/package.json\"}.\n\nExamples:\n {dim # uses defaults for resolving packages}\n syncpack fix-mismatches\n {dim # uses packages defined by --source when provided}\n syncpack fix-mismatches --source {yellow \"apps/*/package.json\"}\n {dim # multiple globs can be provided like this}\n syncpack fix-mismatches --source {yellow \"apps/*/package.json\"} --source {yellow \"core/*/package.json\"}\n {dim # uses dependencies regular expression defined by --filter when provided}\n syncpack fix-mismatches --filter {yellow \"typescript|tslint\"}\n {dim # only inspect \"devDependencies\"}\n syncpack fix-mismatches --dev\n {dim # only inspect \"devDependencies\" and \"peerDependencies\"}\n syncpack fix-mismatches --dev --peer\n {dim # indent package.json with 4 spaces instead of 2}\n syncpack fix-mismatches --indent {yellow \" \"}\n\nReference:\n globs {blue.underline https://github.com/isaacs/node-glob#glob-primer}\n lerna.json {blue.underline https://github.com/lerna/lerna#lernajson}\n Yarn Workspaces {blue.underline https://yarnpkg.com/lang/en/docs/workspaces}\n Pnpm Workspaces {blue.underline https://pnpm.js.org/en/workspaces}\n"], ["\nResolving Packages:\n 1. If {yellow --source} globs are provided, use those.\n 2. If using Pnpm Workspaces, read {yellow packages} from {yellow pnpm-workspace.yaml} in the root of the project.\n 3. If using Yarn Workspaces, read {yellow workspaces} from {yellow package.json}.\n 4. If using Lerna, read {yellow packages} from {yellow lerna.json}.\n 5. Default to {yellow \"package.json\"} and {yellow \"packages/*/package.json\"}.\n\nExamples:\n {dim # uses defaults for resolving packages}\n syncpack fix-mismatches\n {dim # uses packages defined by --source when provided}\n syncpack fix-mismatches --source {yellow \"apps/*/package.json\"}\n {dim # multiple globs can be provided like this}\n syncpack fix-mismatches --source {yellow \"apps/*/package.json\"} --source {yellow \"core/*/package.json\"}\n {dim # uses dependencies regular expression defined by --filter when provided}\n syncpack fix-mismatches --filter {yellow \"typescript|tslint\"}\n {dim # only inspect \"devDependencies\"}\n syncpack fix-mismatches --dev\n {dim # only inspect \"devDependencies\" and \"peerDependencies\"}\n syncpack fix-mismatches --dev --peer\n {dim # indent package.json with 4 spaces instead of 2}\n syncpack fix-mismatches --indent {yellow \" \"}\n\nReference:\n globs {blue.underline https://github.com/isaacs/node-glob#glob-primer}\n lerna.json {blue.underline https://github.com/lerna/lerna#lernajson}\n Yarn Workspaces {blue.underline https://yarnpkg.com/lang/en/docs/workspaces}\n Pnpm Workspaces {blue.underline https://pnpm.js.org/en/workspaces}\n"]))));
40
- });
41
- (_a = (_b = (_c = (_d = (_e = program
42
- .option.apply(program, __spread(constants_1.option.source)))
43
- .option.apply(_e, __spread(constants_1.option.prod)))
44
- .option.apply(_d, __spread(constants_1.option.dev)))
45
- .option.apply(_c, __spread(constants_1.option.peer)))
46
- .option.apply(_b, __spread(constants_1.option.filter)))
47
- .option.apply(_a, __spread(constants_1.option.indent)).parse(process.argv);
48
- fix_mismatches_1.fixMismatchesToDisk(get_config_1.getConfig({
49
- dev: program.dev,
50
- filter: program.filter,
51
- indent: program.indent,
52
- peer: program.peer,
53
- prod: program.prod,
54
- source: program.source
55
- }));
56
- var templateObject_1;
@@ -1,48 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
4
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
5
- return cooked;
6
- };
7
- var __read = (this && this.__read) || function (o, n) {
8
- var m = typeof Symbol === "function" && o[Symbol.iterator];
9
- if (!m) return o;
10
- var i = m.call(o), r, ar = [], e;
11
- try {
12
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
13
- }
14
- catch (error) { e = { error: error }; }
15
- finally {
16
- try {
17
- if (r && !r.done && (m = i["return"])) m.call(i);
18
- }
19
- finally { if (e) throw e.error; }
20
- }
21
- return ar;
22
- };
23
- var __spread = (this && this.__spread) || function () {
24
- for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
25
- return ar;
26
- };
27
- var __importDefault = (this && this.__importDefault) || function (mod) {
28
- return (mod && mod.__esModule) ? mod : { "default": mod };
29
- };
30
- var _a;
31
- exports.__esModule = true;
32
- var chalk_1 = __importDefault(require("chalk"));
33
- var format_1 = require("./commands/format");
34
- var constants_1 = require("./constants");
35
- var get_config_1 = require("./lib/get-config");
36
- var program = require("commander");
37
- program.description("\n Organise package.json files according to a conventional format, where fields\n appear in a predictable order and nested fields are ordered alphabetically.\n Shorthand properties are used where available, such as the \"repository\" and\n \"bugs\" fields.".replace(/^\n/, ''));
38
- program.on('--help', function () {
39
- console.log(chalk_1["default"](templateObject_1 || (templateObject_1 = __makeTemplateObject(["\nExamples:\n {dim # uses defaults for resolving packages}\n syncpack format\n {dim # uses packages defined by --source when provided}\n syncpack format --source {yellow \"apps/*/package.json\"}\n {dim # multiple globs can be provided like this}\n syncpack format --source {yellow \"apps/*/package.json\"} --source {yellow \"core/*/package.json\"}\n {dim # indent package.json with 4 spaces instead of 2}\n syncpack format --indent {yellow \" \"}\n\nResolving Packages:\n 1. If {yellow --source} globs are provided, use those.\n 2. If using Pnpm Workspaces, read {yellow packages} from {yellow pnpm-workspace.yaml} in the root of the project.\n 3. If using Yarn Workspaces, read {yellow workspaces} from {yellow package.json}.\n 4. If using Lerna, read {yellow packages} from {yellow lerna.json}.\n 5. Default to {yellow \"package.json\"} and {yellow \"packages/*/package.json\"}.\n\nReference:\n globs {blue.underline https://github.com/isaacs/node-glob#glob-primer}\n lerna.json {blue.underline https://github.com/lerna/lerna#lernajson}\n Yarn Workspaces {blue.underline https://yarnpkg.com/lang/en/docs/workspaces}\n Pnpm Workspaces {blue.underline https://pnpm.js.org/en/workspaces}\n"], ["\nExamples:\n {dim # uses defaults for resolving packages}\n syncpack format\n {dim # uses packages defined by --source when provided}\n syncpack format --source {yellow \"apps/*/package.json\"}\n {dim # multiple globs can be provided like this}\n syncpack format --source {yellow \"apps/*/package.json\"} --source {yellow \"core/*/package.json\"}\n {dim # indent package.json with 4 spaces instead of 2}\n syncpack format --indent {yellow \" \"}\n\nResolving Packages:\n 1. If {yellow --source} globs are provided, use those.\n 2. If using Pnpm Workspaces, read {yellow packages} from {yellow pnpm-workspace.yaml} in the root of the project.\n 3. If using Yarn Workspaces, read {yellow workspaces} from {yellow package.json}.\n 4. If using Lerna, read {yellow packages} from {yellow lerna.json}.\n 5. Default to {yellow \"package.json\"} and {yellow \"packages/*/package.json\"}.\n\nReference:\n globs {blue.underline https://github.com/isaacs/node-glob#glob-primer}\n lerna.json {blue.underline https://github.com/lerna/lerna#lernajson}\n Yarn Workspaces {blue.underline https://yarnpkg.com/lang/en/docs/workspaces}\n Pnpm Workspaces {blue.underline https://pnpm.js.org/en/workspaces}\n"]))));
40
- });
41
- (_a = program
42
- .option.apply(program, __spread(constants_1.option.source)))
43
- .option.apply(_a, __spread(constants_1.option.indent)).parse(process.argv);
44
- format_1.formatToDisk(get_config_1.getConfig({
45
- indent: program.indent,
46
- source: program.source
47
- }));
48
- var templateObject_1;
@@ -1,54 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
4
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
5
- return cooked;
6
- };
7
- var __read = (this && this.__read) || function (o, n) {
8
- var m = typeof Symbol === "function" && o[Symbol.iterator];
9
- if (!m) return o;
10
- var i = m.call(o), r, ar = [], e;
11
- try {
12
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
13
- }
14
- catch (error) { e = { error: error }; }
15
- finally {
16
- try {
17
- if (r && !r.done && (m = i["return"])) m.call(i);
18
- }
19
- finally { if (e) throw e.error; }
20
- }
21
- return ar;
22
- };
23
- var __spread = (this && this.__spread) || function () {
24
- for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
25
- return ar;
26
- };
27
- var __importDefault = (this && this.__importDefault) || function (mod) {
28
- return (mod && mod.__esModule) ? mod : { "default": mod };
29
- };
30
- var _a, _b, _c, _d;
31
- exports.__esModule = true;
32
- var chalk_1 = __importDefault(require("chalk"));
33
- var list_mismatches_1 = require("./commands/list-mismatches");
34
- var constants_1 = require("./constants");
35
- var get_config_1 = require("./lib/get-config");
36
- var program = require("commander");
37
- program.description("\n List dependencies which are required by multiple packages, where the version\n is not the same across every package.".replace(/^\n/, ''));
38
- program.on('--help', function () {
39
- console.log(chalk_1["default"](templateObject_1 || (templateObject_1 = __makeTemplateObject(["\nExamples:\n {dim # uses defaults for resolving packages}\n syncpack list-mismatches\n {dim # uses packages defined by --source when provided}\n syncpack list-mismatches --source {yellow \"apps/*/package.json\"}\n {dim # multiple globs can be provided like this}\n syncpack list-mismatches --source {yellow \"apps/*/package.json\"} --source {yellow \"core/*/package.json\"}\n {dim # uses dependencies regular expression defined by --filter when provided}\n syncpack list-mismatches --filter {yellow \"typescript|tslint\"}\n {dim # only inspect \"devDependencies\"}\n syncpack list-mismatches --dev\n {dim # only inspect \"devDependencies\" and \"peerDependencies\"}\n syncpack list-mismatches --dev --peer\n\nResolving Packages:\n 1. If {yellow --source} globs are provided, use those.\n 2. If using Pnpm Workspaces, read {yellow packages} from {yellow pnpm-workspace.yaml} in the root of the project.\n 3. If using Yarn Workspaces, read {yellow workspaces} from {yellow package.json}.\n 4. If using Lerna, read {yellow packages} from {yellow lerna.json}.\n 5. Default to {yellow \"package.json\"} and {yellow \"packages/*/package.json\"}.\n\nReference:\n globs {blue.underline https://github.com/isaacs/node-glob#glob-primer}\n lerna.json {blue.underline https://github.com/lerna/lerna#lernajson}\n Yarn Workspaces {blue.underline https://yarnpkg.com/lang/en/docs/workspaces}\n Pnpm Workspaces {blue.underline https://pnpm.js.org/en/workspaces}\n"], ["\nExamples:\n {dim # uses defaults for resolving packages}\n syncpack list-mismatches\n {dim # uses packages defined by --source when provided}\n syncpack list-mismatches --source {yellow \"apps/*/package.json\"}\n {dim # multiple globs can be provided like this}\n syncpack list-mismatches --source {yellow \"apps/*/package.json\"} --source {yellow \"core/*/package.json\"}\n {dim # uses dependencies regular expression defined by --filter when provided}\n syncpack list-mismatches --filter {yellow \"typescript|tslint\"}\n {dim # only inspect \"devDependencies\"}\n syncpack list-mismatches --dev\n {dim # only inspect \"devDependencies\" and \"peerDependencies\"}\n syncpack list-mismatches --dev --peer\n\nResolving Packages:\n 1. If {yellow --source} globs are provided, use those.\n 2. If using Pnpm Workspaces, read {yellow packages} from {yellow pnpm-workspace.yaml} in the root of the project.\n 3. If using Yarn Workspaces, read {yellow workspaces} from {yellow package.json}.\n 4. If using Lerna, read {yellow packages} from {yellow lerna.json}.\n 5. Default to {yellow \"package.json\"} and {yellow \"packages/*/package.json\"}.\n\nReference:\n globs {blue.underline https://github.com/isaacs/node-glob#glob-primer}\n lerna.json {blue.underline https://github.com/lerna/lerna#lernajson}\n Yarn Workspaces {blue.underline https://yarnpkg.com/lang/en/docs/workspaces}\n Pnpm Workspaces {blue.underline https://pnpm.js.org/en/workspaces}\n"]))));
40
- });
41
- (_a = (_b = (_c = (_d = program
42
- .option.apply(program, __spread(constants_1.option.source)))
43
- .option.apply(_d, __spread(constants_1.option.prod)))
44
- .option.apply(_c, __spread(constants_1.option.dev)))
45
- .option.apply(_b, __spread(constants_1.option.peer)))
46
- .option.apply(_a, __spread(constants_1.option.filter)).parse(process.argv);
47
- list_mismatches_1.listMismatchesFromDisk(get_config_1.getConfig({
48
- dev: program.dev,
49
- filter: program.filter,
50
- peer: program.peer,
51
- prod: program.prod,
52
- source: program.source
53
- }));
54
- var templateObject_1;
package/dist/bin-list.js DELETED
@@ -1,54 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
4
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
5
- return cooked;
6
- };
7
- var __read = (this && this.__read) || function (o, n) {
8
- var m = typeof Symbol === "function" && o[Symbol.iterator];
9
- if (!m) return o;
10
- var i = m.call(o), r, ar = [], e;
11
- try {
12
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
13
- }
14
- catch (error) { e = { error: error }; }
15
- finally {
16
- try {
17
- if (r && !r.done && (m = i["return"])) m.call(i);
18
- }
19
- finally { if (e) throw e.error; }
20
- }
21
- return ar;
22
- };
23
- var __spread = (this && this.__spread) || function () {
24
- for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
25
- return ar;
26
- };
27
- var __importDefault = (this && this.__importDefault) || function (mod) {
28
- return (mod && mod.__esModule) ? mod : { "default": mod };
29
- };
30
- var _a, _b, _c, _d;
31
- exports.__esModule = true;
32
- var chalk_1 = __importDefault(require("chalk"));
33
- var list_1 = require("./commands/list");
34
- var constants_1 = require("./constants");
35
- var get_config_1 = require("./lib/get-config");
36
- var program = require("commander");
37
- program.description(' List all dependencies required by your packages.');
38
- program.on('--help', function () {
39
- console.log(chalk_1["default"](templateObject_1 || (templateObject_1 = __makeTemplateObject(["\nExamples:\n {dim # uses defaults for resolving packages}\n syncpack list\n {dim # uses packages defined by --source when provided}\n syncpack list --source {yellow \"apps/*/package.json\"}\n {dim # multiple globs can be provided like this}\n syncpack list --source {yellow \"apps/*/package.json\"} --source {yellow \"core/*/package.json\"}\n {dim # uses dependencies regular expression defined by --filter when provided}\n syncpack list --filter {yellow \"typescript|tslint\"}\n {dim # only inspect \"devDependencies\"}\n syncpack list --dev\n {dim # only inspect \"devDependencies\" and \"peerDependencies\"}\n syncpack list --dev --peer\n\nResolving Packages:\n 1. If {yellow --source} globs are provided, use those.\n 2. If using Pnpm Workspaces, read {yellow packages} from {yellow pnpm-workspace.yaml} in the root of the project.\n 3. If using Yarn Workspaces, read {yellow workspaces} from {yellow package.json}.\n 4. If using Lerna, read {yellow packages} from {yellow lerna.json}.\n 5. Default to {yellow \"package.json\"} and {yellow \"packages/*/package.json\"}.\n\nReference:\n globs {blue.underline https://github.com/isaacs/node-glob#glob-primer}\n lerna.json {blue.underline https://github.com/lerna/lerna#lernajson}\n Yarn Workspaces {blue.underline https://yarnpkg.com/lang/en/docs/workspaces}\n Pnpm Workspaces {blue.underline https://pnpm.js.org/en/workspaces}\n"], ["\nExamples:\n {dim # uses defaults for resolving packages}\n syncpack list\n {dim # uses packages defined by --source when provided}\n syncpack list --source {yellow \"apps/*/package.json\"}\n {dim # multiple globs can be provided like this}\n syncpack list --source {yellow \"apps/*/package.json\"} --source {yellow \"core/*/package.json\"}\n {dim # uses dependencies regular expression defined by --filter when provided}\n syncpack list --filter {yellow \"typescript|tslint\"}\n {dim # only inspect \"devDependencies\"}\n syncpack list --dev\n {dim # only inspect \"devDependencies\" and \"peerDependencies\"}\n syncpack list --dev --peer\n\nResolving Packages:\n 1. If {yellow --source} globs are provided, use those.\n 2. If using Pnpm Workspaces, read {yellow packages} from {yellow pnpm-workspace.yaml} in the root of the project.\n 3. If using Yarn Workspaces, read {yellow workspaces} from {yellow package.json}.\n 4. If using Lerna, read {yellow packages} from {yellow lerna.json}.\n 5. Default to {yellow \"package.json\"} and {yellow \"packages/*/package.json\"}.\n\nReference:\n globs {blue.underline https://github.com/isaacs/node-glob#glob-primer}\n lerna.json {blue.underline https://github.com/lerna/lerna#lernajson}\n Yarn Workspaces {blue.underline https://yarnpkg.com/lang/en/docs/workspaces}\n Pnpm Workspaces {blue.underline https://pnpm.js.org/en/workspaces}\n"]))));
40
- });
41
- (_a = (_b = (_c = (_d = program
42
- .option.apply(program, __spread(constants_1.option.source)))
43
- .option.apply(_d, __spread(constants_1.option.prod)))
44
- .option.apply(_c, __spread(constants_1.option.dev)))
45
- .option.apply(_b, __spread(constants_1.option.peer)))
46
- .option.apply(_a, __spread(constants_1.option.filter)).parse(process.argv);
47
- list_1.listFromDisk(get_config_1.getConfig({
48
- dev: program.dev,
49
- filter: program.filter,
50
- peer: program.peer,
51
- prod: program.prod,
52
- source: program.source
53
- }));
54
- var templateObject_1;