@monorepolint/rules 0.5.0-alpha.130 → 0.5.0-alpha.132

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.
@@ -6,23 +6,23 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
6
6
  ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/monorepolint/packages/utils/build/js/index.js', falling back to original file content. You can also configure Jest config option `transformIgnorePatterns` to ignore /home/runner/work/monorepolint/monorepolint/packages/utils/build/js/index.js from transformation or make sure that `outDir` in your tsconfig is neither `''` or `'.'`
7
7
  ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/monorepolint/packages/core/build/js/index.js', falling back to original file content. You can also configure Jest config option `transformIgnorePatterns` to ignore /home/runner/work/monorepolint/monorepolint/packages/core/build/js/index.js from transformation or make sure that `outDir` in your tsconfig is neither `''` or `'.'`
8
8
  ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/monorepolint/packages/utils/build/js/index.js', falling back to original file content. You can also configure Jest config option `transformIgnorePatterns` to ignore /home/runner/work/monorepolint/monorepolint/packages/utils/build/js/index.js from transformation or make sure that `outDir` in your tsconfig is neither `''` or `'.'`
9
- (node:3389) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
9
+ (node:3220) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
10
10
  (Use `node --trace-warnings ...` to show where the warning was created)
11
-  PASS  src/__tests__/consistentVersions.spec.ts (6.524 s)
11
+  PASS  src/__tests__/consistentVersions.spec.ts (6.655 s)
12
12
  consistentVersions
13
13
  standard tests
14
- ✓ Does nothing when arguments are empty (10 ms)
15
- ✓ Fixes packages that have an incorrect dependency version (3 ms)
16
- ✓ Ignores packages that have a correct dependency version (1 ms)
17
- ✓ Fixes packages that have an incorrect devDependency version (8 ms)
18
- ✓ Ignores packages that have a correct devDependency version (1 ms)
14
+ ✓ Does nothing when arguments are empty (11 ms)
15
+ ✓ Fixes packages that have an incorrect dependency version (5 ms)
16
+ ✓ Ignores packages that have a correct dependency version (2 ms)
17
+ ✓ Fixes packages that have an incorrect devDependency version (3 ms)
18
+ ✓ Ignores packages that have a correct devDependency version (2 ms)
19
19
  ✓ Fixes packages that have an incorrect dependency and devDependency versions (3 ms)
20
20
  Multiple accepted versions tests
21
- ✓ Accepts a match when multiple versions are configured (3 ms)
21
+ ✓ Accepts a match when multiple versions are configured (13 ms)
22
22
  ✓ Errors when version does not match (2 ms)
23
23
 
24
24
  console.log
25
- package-without-scripts (/tmp/tmp-3395-AwORp0qjpWQ0)
25
+ package-without-scripts (/tmp/tmp-3221-CvSguC6MTY9V)
26
26
  
27
27
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
28
28
 
@@ -45,7 +45,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
45
45
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:56:10)
46
46
 
47
47
  console.log
48
- package-without-scripts (/tmp/tmp-3395-us5gZdD54c9m)
48
+ package-without-scripts (/tmp/tmp-3221-mUYGfwO47YbA)
49
49
  
50
50
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
51
51
 
@@ -55,7 +55,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
55
55
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
56
56
 
57
57
  console.log
58
- package-with-scripts (/tmp/tmp-3395-qiLfFLKMyvxR)
58
+ package-with-scripts (/tmp/tmp-3221-76M1mGJDJGq6)
59
59
  
60
60
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
61
61
 
@@ -65,7 +65,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
65
65
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
66
66
 
67
67
  console.log
68
- package-with-scripts (/tmp/tmp-3395-sOTQKt9GTEgO)
68
+ package-with-scripts (/tmp/tmp-3221-utr042imdlUh)
69
69
  
70
70
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
71
71
 
@@ -88,7 +88,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
88
88
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:169:10)
89
89
 
90
90
  console.log
91
- package-with-scripts (/tmp/tmp-3395-0tx0JPlnyYoq)
91
+ package-with-scripts (/tmp/tmp-3221-NzX5AyKqjdvM)
92
92
  
93
93
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
94
94
 
@@ -98,7 +98,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
98
98
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
99
99
 
100
100
  console.log
101
- package-with-scripts (/tmp/tmp-3395-Ep4YIyKV8UM1)
101
+ package-with-scripts (/tmp/tmp-3221-bhjRS4sRiRQ8)
102
102
  
103
103
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
104
104
 
@@ -108,7 +108,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
108
108
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
109
109
 
110
110
  console.log
111
- package-with-scripts (/tmp/tmp-3395-qAeSQM2KPbuN)
111
+ package-with-scripts (/tmp/tmp-3221-MqpPUFTpWIja)
112
112
  
113
113
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
114
114
 
@@ -117,10 +117,10 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
117
117
  
118
118
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
119
119
 
120
- (node:3395) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
120
+ (node:3221) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
121
121
  (Use `node --trace-warnings ...` to show where the warning was created)
122
122
  console.log
123
- package-without-scripts (/tmp/tmp-3395-WWzaeOZ97Blw)
123
+ package-without-scripts (/tmp/tmp-3221-C17akSIYfG23)
124
124
  
125
125
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
126
126
 
@@ -143,7 +143,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
143
143
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:56:10)
144
144
 
145
145
  console.log
146
- package-without-scripts (/tmp/tmp-3395-fDfqTbey9vwN)
146
+ package-without-scripts (/tmp/tmp-3221-CCTmocBl764e)
147
147
  
148
148
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
149
149
 
@@ -152,8 +152,66 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
152
152
  
153
153
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
154
154
 
155
+  PASS  src/__tests__/mustSatisfyPeerDependencies.spec.ts (6.961 s)
156
+ mustSatisfyPeerDependencies
157
+ ✓ Flags overloaded dependency (entry in regular dependencies and peer dependencies) (5 ms)
158
+ ✓ Flags conflicting peer dependencies (5 ms)
159
+ ✓ Flags unsatisfied peer dependencies (test package has regular dep) (4 ms)
160
+ ✓ Flags missing peer dependencies (NO regular dependency present) (4 ms)
161
+ ✓ Flags unsatisfied peer dependencies (test package has peer dep) (3 ms)
162
+ ✓ Honors dependencyWhitelist (5 ms)
163
+ ✓ Honors dependencyBlacklist (4 ms)
164
+ regex tests
165
+ ✓ Properly matches any version range regex (23 ms)
166
+ ✓ Properly matches greator or equal version range regex (15 ms)
167
+ ✓ Properly matches major version range regex (10 ms)
168
+ ✓ Properly matches allowed range regex (17 ms)
169
+ Determines dependencies satisfaction correctly
170
+ ✓ version is version (2 ms)
171
+ ✓ version satisfies a range (3 ms)
172
+ ✓ higher version satisfies a range (2 ms)
173
+ ✓ version satisfies a greator or equal version range (2 ms)
174
+ ✓ higher version satisfies a greator or equal version range (1 ms)
175
+ ✓ version satisfies 'any' range (1 ms)
176
+ ✓ greator or equal version range satisfies 'any' range (1 ms)
177
+ ✓ range satisfies 'any' range (1 ms)
178
+ ✓ union range satisfies 'any' range (1 ms)
179
+ ✓ version found in union start (3 ms)
180
+ ✓ version found in union end (1 ms)
181
+ ✓ version satisfies a range in union start (2 ms)
182
+ ✓ version satisfies a range in union end (1 ms)
183
+ ✓ higher version satisfies a range in union start (1 ms)
184
+ ✓ higher version satisfies a range in union end
185
+ ✓ range found in union start
186
+ ✓ range found in union end (1 ms)
187
+ ✓ union satisfies greator or equal version range (1 ms)
188
+ ✓ greator or equal version range satisfies greator or equal version range
189
+ ✓ equivalent greator or equal version ranges satisfy each other (1 ms)
190
+ ✓ higher range satisfies a range in union start (1 ms)
191
+ ✓ higher range satisfies a range in union end (1 ms)
192
+ ✓ equivalent 'any' ranges satisfy each other
193
+ ✓ equivalent major ranges satisfy each other (2 ms)
194
+ ✓ version missing in union (1 ms)
195
+ ✓ range missing in union (1 ms)
196
+ Determines dependencies intersections correctly
197
+ ✓ equivalence (2 ms)
198
+ ✓ exact vs any
199
+ ✓ major vs any (1 ms)
200
+ ✓ greater or equal vs any (1 ms)
201
+ ✓ any vs any (1 ms)
202
+ ✓ exact vs greater or equal (1 ms)
203
+ ✓ major vs greater or equal (2 ms)
204
+ ✓ greater or equal vs greater or equal (2 ms)
205
+ ✓ exact vs major (2 ms)
206
+ ✓ major vs major (1 ms)
207
+ ✓ exact vs union (2 ms)
208
+ ✓ major vs union (1 ms)
209
+ ✓ union vs union (2 ms)
210
+
211
+ (node:3218) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
212
+ (Use `node --trace-warnings ...` to show where the warning was created)
155
213
  console.log
156
- package-with-scripts (/tmp/tmp-3395-70ZSOMCxUWSX)
214
+ package-with-scripts (/tmp/tmp-3221-FGBNY9VdRQ9U)
157
215
  
158
216
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
159
217
 
@@ -163,7 +221,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
163
221
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
164
222
 
165
223
  console.log
166
- package-with-scripts (/tmp/tmp-3395-OX3oKUBcKXlA)
224
+ package-with-scripts (/tmp/tmp-3221-4lONnhWvBO4Z)
167
225
  
168
226
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
169
227
 
@@ -186,7 +244,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
186
244
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:169:10)
187
245
 
188
246
  console.log
189
- package-with-scripts (/tmp/tmp-3395-I4RjnsSoOkZq)
247
+ package-with-scripts (/tmp/tmp-3221-QRoEvImjmidf)
190
248
  
191
249
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
192
250
 
@@ -196,7 +254,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
196
254
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
197
255
 
198
256
  console.log
199
- package-with-scripts (/tmp/tmp-3395-23sx0LfQ173L)
257
+ package-with-scripts (/tmp/tmp-3221-OUfdqW6aAkjg)
200
258
  
201
259
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
202
260
 
@@ -206,7 +264,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
206
264
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
207
265
 
208
266
  console.log
209
- package-with-scripts (/tmp/tmp-3395-KUOm2V1GJiLm)
267
+ package-with-scripts (/tmp/tmp-3221-c3UAgeka5Y62)
210
268
  
211
269
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
212
270
 
@@ -215,107 +273,41 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
215
273
  
216
274
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
217
275
 
218
-  PASS  src/__tests__/packageScript.spec.ts (6.832 s)
276
+  PASS  src/__tests__/packageScript.spec.ts (6.957 s)
219
277
  expectPackageScript (SimpleHost)
220
278
  fix: false
221
- ✓ handles an empty script section (101 ms)
279
+ ✓ handles an empty script section (57 ms)
222
280
  fix: true
223
- ✓ fixes an empty script section (6 ms)
224
- ✓ adds a script (18 ms)
281
+ ✓ fixes an empty script section (4 ms)
282
+ ✓ adds a script (5 ms)
225
283
  ✓ does nothing if the value exists (2 ms)
226
284
  ✓ errors if long form is used and no value matches and there is no fixValue (10 ms)
227
- ✓ uses the fixValue for fixing if provided (5 ms)
228
- ✓ can fix to empty (6 ms)
229
- ✓ can allow only empty (4 ms)
285
+ ✓ uses the fixValue for fixing if provided (14 ms)
286
+ ✓ can fix to empty (5 ms)
287
+ ✓ can allow only empty (5 ms)
230
288
  expectPackageScript (CachingHost)
231
289
  fix: false
232
290
  ✓ handles an empty script section (14 ms)
233
291
  fix: true
234
- ✓ fixes an empty script section (5 ms)
235
- ✓ adds a script (5 ms)
236
- ✓ does nothing if the value exists (2 ms)
237
- ✓ errors if long form is used and no value matches and there is no fixValue (8 ms)
238
- ✓ uses the fixValue for fixing if provided (7 ms)
292
+ ✓ fixes an empty script section (6 ms)
293
+ ✓ adds a script (16 ms)
294
+ ✓ does nothing if the value exists (4 ms)
295
+ ✓ errors if long form is used and no value matches and there is no fixValue (14 ms)
296
+ ✓ uses the fixValue for fixing if provided (5 ms)
239
297
  ✓ can fix to empty (4 ms)
240
- ✓ can allow only empty (23 ms)
241
-
242
- (node:3388) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
243
- (Use `node --trace-warnings ...` to show where the warning was created)
244
-  PASS  src/__tests__/mustSatisfyPeerDependencies.spec.ts (6.925 s)
245
- mustSatisfyPeerDependencies
246
- ✓ Flags overloaded dependency (entry in regular dependencies and peer dependencies) (5 ms)
247
- ✓ Flags conflicting peer dependencies (4 ms)
248
- ✓ Flags unsatisfied peer dependencies (test package has regular dep) (6 ms)
249
- ✓ Flags missing peer dependencies (NO regular dependency present) (5 ms)
250
- ✓ Flags unsatisfied peer dependencies (test package has peer dep) (5 ms)
251
- ✓ Honors dependencyWhitelist (4 ms)
252
- ✓ Honors dependencyBlacklist (12 ms)
253
- regex tests
254
- ✓ Properly matches any version range regex (34 ms)
255
- ✓ Properly matches greator or equal version range regex (11 ms)
256
- ✓ Properly matches major version range regex (15 ms)
257
- ✓ Properly matches allowed range regex (15 ms)
258
- Determines dependencies satisfaction correctly
259
- ✓ version is version (1 ms)
260
- ✓ version satisfies a range (3 ms)
261
- ✓ higher version satisfies a range (3 ms)
262
- ✓ version satisfies a greator or equal version range (1 ms)
263
- ✓ higher version satisfies a greator or equal version range (1 ms)
264
- ✓ version satisfies 'any' range (1 ms)
265
- ✓ greator or equal version range satisfies 'any' range (1 ms)
266
- ✓ range satisfies 'any' range (1 ms)
267
- ✓ union range satisfies 'any' range (2 ms)
268
- ✓ version found in union start (1 ms)
269
- ✓ version found in union end (1 ms)
270
- ✓ version satisfies a range in union start (1 ms)
271
- ✓ version satisfies a range in union end (1 ms)
272
- ✓ higher version satisfies a range in union start (1 ms)
273
- ✓ higher version satisfies a range in union end (1 ms)
274
- ✓ range found in union start (1 ms)
275
- ✓ range found in union end (1 ms)
276
- ✓ union satisfies greator or equal version range (1 ms)
277
- ✓ greator or equal version range satisfies greator or equal version range (1 ms)
278
- ✓ equivalent greator or equal version ranges satisfy each other (1 ms)
279
- ✓ higher range satisfies a range in union start (1 ms)
280
- ✓ higher range satisfies a range in union end (1 ms)
281
- ✓ equivalent 'any' ranges satisfy each other
282
- ✓ equivalent major ranges satisfy each other (6 ms)
283
- ✓ version missing in union
284
- ✓ range missing in union (1 ms)
285
- Determines dependencies intersections correctly
286
- ✓ equivalence (2 ms)
287
- ✓ exact vs any (1 ms)
288
- ✓ major vs any (1 ms)
289
- ✓ greater or equal vs any
290
- ✓ any vs any (1 ms)
291
- ✓ exact vs greater or equal (1 ms)
292
- ✓ major vs greater or equal (2 ms)
293
- ✓ greater or equal vs greater or equal (4 ms)
294
- ✓ exact vs major (1 ms)
295
- ✓ major vs major (1 ms)
296
- ✓ exact vs union (2 ms)
297
- ✓ major vs union (1 ms)
298
- ✓ union vs union (2 ms)
298
+ ✓ can allow only empty (4 ms)
299
299
 
300
300
   PASS  src/__tests__/nestedWorkspaces.spec.ts
301
301
  nestedWorkspaces
302
- ✓ checks correctly when no packages (15 ms)
303
- ✓ checks correctly when one level packages (7 ms)
304
- ✓ checks fail when one level packages with no workspaces field (5 ms)
302
+ ✓ checks correctly when no packages (16 ms)
303
+ ✓ checks correctly when one level packages (6 ms)
304
+ ✓ checks fail when one level packages with no workspaces field (6 ms)
305
305
  ✓ checks correctly when two level packages with two level workspaces field (7 ms)
306
- ✓ checks fail when two level packages with one level workspaces field (5 ms)
307
- ✓ checks correctly when three level packages with three level workspaces field (7 ms)
308
-
309
-  PASS  src/__tests__/bannedDependencies.spec.ts
310
- bannedDependencies
311
- ✓ Flags banned dependencies correctly (11 ms)
312
- ✓ Flags banned dependencies correctly w legacy globs (3 ms)
313
- ✓ Flags banned dependencies correctly w new globs (2 ms)
314
- ✓ Flags banned dependencies correctly w exact (2 ms)
315
- ✓ Flags banned transitives correctly (8 ms)
306
+ ✓ checks fail when two level packages with one level workspaces field (6 ms)
307
+ ✓ checks correctly when three level packages with three level workspaces field (10 ms)
316
308
 
317
309
  console.log
318
- package (/tmp/tmp-3395-05LT1vZNS1wl)
310
+ package (/tmp/tmp-3218-oKMAJX0NzRnZ)
319
311
  
320
312
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
321
313
 
@@ -325,7 +317,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
325
317
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
326
318
 
327
319
  console.log
328
- package (/tmp/tmp-3395-DLbHuG4uMxTm)
320
+ package (/tmp/tmp-3218-C4JTbl1iWf7e)
329
321
  
330
322
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
331
323
 
@@ -335,7 +327,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
335
327
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
336
328
 
337
329
  console.log
338
- package (/tmp/tmp-3395-z32d1Wiho0FI)
330
+ package (/tmp/tmp-3218-Pc5UOvbIcbvp)
339
331
  
340
332
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
341
333
 
@@ -358,10 +350,18 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
358
350
   at Object.<anonymous> (src/__tests__/packageEntry.spec.ts:158:10)
359
351
 
360
352
  console.log
361
- package (/tmp/tmp-3395-PbxdfyG1i4GZ)
353
+ package (/tmp/tmp-3218-39pAkKfXCt2F)
362
354
  
363
355
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
364
356
 
357
+  PASS  src/__tests__/bannedDependencies.spec.ts
358
+ bannedDependencies
359
+ ✓ Flags banned dependencies correctly (11 ms)
360
+ ✓ Flags banned dependencies correctly w legacy globs (3 ms)
361
+ ✓ Flags banned dependencies correctly w new globs (2 ms)
362
+ ✓ Flags banned dependencies correctly w exact (2 ms)
363
+ ✓ Flags banned transitives correctly (8 ms)
364
+
365
365
  console.error
366
366
   Error! package.json: Expected entry for 'bugs' to exist
367
367
  
@@ -386,7 +386,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
386
386
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
387
387
 
388
388
  console.log
389
- package (/tmp/tmp-3395-wxClJ4j40tut)
389
+ package (/tmp/tmp-3218-4GlYr2GAkUNO)
390
390
  
391
391
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
392
392
 
@@ -396,7 +396,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
396
396
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
397
397
 
398
398
  console.log
399
- package (/tmp/tmp-3395-77mQ2lKF0hhq)
399
+ package (/tmp/tmp-3218-EBJ9Nf6rv53b)
400
400
  
401
401
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
402
402
 
@@ -406,7 +406,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
406
406
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
407
407
 
408
408
  console.log
409
- package (/tmp/tmp-3395-QqWzUFu3t7j2)
409
+ package (/tmp/tmp-3218-FskxJi9xybld)
410
410
  
411
411
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
412
412
 
@@ -429,7 +429,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
429
429
   at Object.<anonymous> (src/__tests__/packageEntry.spec.ts:158:10)
430
430
 
431
431
  console.log
432
- package (/tmp/tmp-3395-Dfy8Tm9BlAiw)
432
+ package (/tmp/tmp-3218-4kF9JSu4IufS)
433
433
  
434
434
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
435
435
 
@@ -459,42 +459,42 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
459
459
   PASS  src/__tests__/packageEntry.spec.ts
460
460
  expectPackageEntries (SimpleHost)
461
461
  fix: true
462
- ✓ fixes missing entries (17 ms)
463
- ✓ fixes missing nested entries (21 ms)
464
- ✓ doesn't error for nested entries that are defined (2 ms)
465
- ✓ errors for keys that are missing (9 ms)
466
- ✓ handles both entries and entriesExist (14 ms)
467
- expectPackageEntries (CachingHost)
468
- fix: true
469
- ✓ fixes missing entries (6 ms)
462
+ ✓ fixes missing entries (75 ms)
470
463
  ✓ fixes missing nested entries (4 ms)
471
464
  ✓ doesn't error for nested entries that are defined (1 ms)
472
465
  ✓ errors for keys that are missing (9 ms)
473
466
  ✓ handles both entries and entriesExist (9 ms)
467
+ expectPackageEntries (CachingHost)
468
+ fix: true
469
+ ✓ fixes missing entries (15 ms)
470
+ ✓ fixes missing nested entries (5 ms)
471
+ ✓ doesn't error for nested entries that are defined (1 ms)
472
+ ✓ errors for keys that are missing (10 ms)
473
+ ✓ handles both entries and entriesExist (12 ms)
474
474
 
475
475
   PASS  src/__tests__/requireDependency.spec.ts
476
476
  requireDependency
477
- ✓ checks correctly (14 ms)
478
- ✓ fixes correctly (16 ms)
477
+ ✓ checks correctly (9 ms)
478
+ ✓ fixes correctly (5 ms)
479
479
 
480
480
  console.log
481
- package (/tmp/tmp-3389-rN4zjgOTF8OS)
481
+ package (/tmp/tmp-3220-0wSXeOSC70Cp)
482
482
  
483
483
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
484
484
 
485
+  PASS  src/__tests__/consistentDependencies.spec.ts
486
+ consistentDependencies
487
+ ✓ checks correctly (15 ms)
488
+ ✓ fixes correctly (4 ms)
489
+ ✓ ignores ignored dependencies (3 ms)
490
+
485
491
  console.log
486
492
  Fixed! package.json: Incorrect order of fields in package.json
487
493
  
488
494
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
489
495
 
490
-  PASS  src/__tests__/consistentDependencies.spec.ts
491
- consistentDependencies
492
- ✓ checks correctly (15 ms)
493
- ✓ fixes correctly (3 ms)
494
- ✓ ignores ignored dependencies (4 ms)
495
-
496
496
  console.log
497
- package-unknown-keys (/tmp/tmp-3389-8n08p72BWo6K)
497
+ package-unknown-keys (/tmp/tmp-3220-ITqPeA5hj3D6)
498
498
  
499
499
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
500
500
 
@@ -504,7 +504,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
504
504
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
505
505
 
506
506
  console.log
507
- package (/tmp/tmp-3389-eBF7S7JXKoXe)
507
+ package (/tmp/tmp-3220-ISEDvOVuOcid)
508
508
  
509
509
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
510
510
 
@@ -514,7 +514,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
514
514
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
515
515
 
516
516
  console.log
517
- package (/tmp/tmp-3389-VTMc1fjx7VJU)
517
+ package (/tmp/tmp-3220-n95mCRzjOViR)
518
518
  
519
519
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
520
520
 
@@ -524,7 +524,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
524
524
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
525
525
 
526
526
  console.log
527
- package-unknown-keys (/tmp/tmp-3389-iLpi31kXough)
527
+ package-unknown-keys (/tmp/tmp-3220-U9ZZ5iQpyOTP)
528
528
  
529
529
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
530
530
 
@@ -534,7 +534,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
534
534
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
535
535
 
536
536
  console.log
537
- package (/tmp/tmp-3389-TTKrDBYX43aA)
537
+ package (/tmp/tmp-3220-7defq9vzgO85)
538
538
  
539
539
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
540
540
 
@@ -546,19 +546,19 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
546
546
   PASS  src/__tests__/packageOrder.spec.ts
547
547
  expectPackageOrder (SimpleHost)
548
548
  fix: true
549
- ✓ fixes order for expected keys (68 ms)
549
+ ✓ fixes order for expected keys (72 ms)
550
550
  ✓ fixes order for unexpected keys (18 ms)
551
- ✓ fixes order using function (7 ms)
551
+ ✓ fixes order using function (6 ms)
552
552
  ✓ does nothing if already order (1 ms)
553
553
  expectPackageOrder (CachingHost)
554
554
  fix: true
555
555
  ✓ fixes order for expected keys (8 ms)
556
- ✓ fixes order for unexpected keys (6 ms)
557
- ✓ fixes order using function (15 ms)
556
+ ✓ fixes order for unexpected keys (5 ms)
557
+ ✓ fixes order using function (5 ms)
558
558
  ✓ does nothing if already order (1 ms)
559
559
 
560
560
  console.log
561
- foo-lib (/tmp/tmp-3395-3M4HP9OAz2Mx)
561
+ foo-lib (/tmp/tmp-3218-fm3FO17h9u52)
562
562
  
563
563
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
564
564
 
@@ -568,7 +568,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
568
568
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
569
569
 
570
570
  console.log
571
- foo-lib (/tmp/tmp-3395-itYmUfoUsPC4)
571
+ foo-lib (/tmp/tmp-3218-1aB7jcF46qeh)
572
572
  
573
573
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
574
574
 
@@ -580,15 +580,15 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
580
580
   PASS  src/__tests__/alphabeticalScripts.spec.ts
581
581
  alphabeticalScripts (SimpleHost)
582
582
  fix: true
583
- ✓ fixes unsorted scripts (24 ms)
583
+ ✓ fixes unsorted scripts (14 ms)
584
584
  ✓ does nothing if already sorted (1 ms)
585
585
  alphabeticalScripts (CachingHost)
586
586
  fix: true
587
- ✓ fixes unsorted scripts (13 ms)
587
+ ✓ fixes unsorted scripts (6 ms)
588
588
  ✓ does nothing if already sorted (1 ms)
589
589
 
590
590
  console.log
591
- rootProject (/tmp/tmp-3388-1Dg6xkQdOlWI)
591
+ rootProject (/tmp/tmp-3221-oYyiL7k8GuBR)
592
592
  
593
593
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
594
594
 
@@ -598,7 +598,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
598
598
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
599
599
 
600
600
  console.log
601
- rootProject (/tmp/tmp-3388-AA8cMwIGVSxm)
601
+ rootProject (/tmp/tmp-3221-0GrEPgUeLjP4)
602
602
  
603
603
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
604
604
 
@@ -608,7 +608,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
608
608
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
609
609
 
610
610
  console.log
611
- rootProject (/tmp/tmp-3388-0k2RMgrQ30ml)
611
+ rootProject (/tmp/tmp-3221-vlP47JGueYiA)
612
612
  
613
613
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
614
614
 
@@ -618,7 +618,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
618
618
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
619
619
 
620
620
  console.log
621
- rootProject (/tmp/tmp-3388-cfijuH7VSW0j)
621
+ rootProject (/tmp/tmp-3221-xWYFBpVXT5kH)
622
622
  
623
623
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
624
624
 
@@ -628,7 +628,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
628
628
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
629
629
 
630
630
  console.log
631
- rootProject (/tmp/tmp-3388-dIfDCsf4dh5T)
631
+ rootProject (/tmp/tmp-3221-kbZ5v4nYM7ua)
632
632
  
633
633
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
634
634
 
@@ -638,7 +638,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
638
638
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
639
639
 
640
640
  console.log
641
- rootProject (/tmp/tmp-3388-D9gLSUt5a4zk)
641
+ rootProject (/tmp/tmp-3221-EBKCMQqQEHCo)
642
642
  
643
643
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
644
644
 
@@ -650,17 +650,17 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
650
650
   PASS  src/__tests__/fileContents.spec.ts
651
651
  fileContents (SimpleHost)
652
652
  fix: true
653
- ✓ works with async generator (45 ms)
654
- ✓ fixes missing file (3 ms)
655
- ✓ fixes missing nested file (3 ms)
653
+ ✓ works with async generator (7 ms)
654
+ ✓ fixes missing file (2 ms)
655
+ ✓ fixes missing nested file (2 ms)
656
656
  fileContents (CachingHost)
657
657
  fix: true
658
- ✓ works with async generator (4 ms)
659
- ✓ fixes missing file (2 ms)
660
- ✓ fixes missing nested file (3 ms)
658
+ ✓ works with async generator (8 ms)
659
+ ✓ fixes missing file (3 ms)
660
+ ✓ fixes missing nested file (2 ms)
661
661
 
662
662
  Test Suites: 11 passed, 11 total
663
663
  Tests: 118 passed, 118 total
664
664
  Snapshots: 0 total
665
- Time: 9.428 s
665
+ Time: 9.575 s
666
666
  Ran all test suites.
@@ -15,4 +15,4 @@
15
15
  ESM build/js/public/util.js.map 71.00 B
16
16
  ESM build/js/index.js.map 100.21 KB
17
17
  ESM build/js/chunk-A2MUUSNE.js.map 1.19 KB
18
- ESM ⚡️ Build success in 70ms
18
+ ESM ⚡️ Build success in 89ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monorepolint/rules",
3
- "version": "0.5.0-alpha.130+3bdd7af",
3
+ "version": "0.5.0-alpha.132+5a0aa2c",
4
4
  "author": "Eric L Anderson (https://github.com/ericanderson)",
5
5
  "contributors": [
6
6
  "Mac Lockard (https://github.com/maclockard)"
@@ -30,9 +30,9 @@
30
30
  "transpile-typescript": "tsup --config ../../tsup.config.cjs"
31
31
  },
32
32
  "dependencies": {
33
- "@monorepolint/config": "^0.5.0-alpha.130+3bdd7af",
34
- "@monorepolint/core": "^0.5.0-alpha.130+3bdd7af",
35
- "@monorepolint/utils": "^0.5.0-alpha.130+3bdd7af",
33
+ "@monorepolint/config": "^0.5.0-alpha.132+5a0aa2c",
34
+ "@monorepolint/core": "^0.5.0-alpha.132+5a0aa2c",
35
+ "@monorepolint/utils": "^0.5.0-alpha.132+5a0aa2c",
36
36
  "globby": "^14.0.0",
37
37
  "jest-diff": "^29.7.0",
38
38
  "resolve-package-path": "^4.0.3",
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "3bdd7afce438a7ec1827563b877c15f8f4e8af25"
62
+ "gitHead": "5a0aa2cec2fe80e379a715bfdc1e868ba16516ea"
63
63
  }