@monorepolint/rules 0.5.0-alpha.135 → 0.5.0-alpha.136

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,24 +6,25 @@ 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/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 `'.'`
7
7
  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 `'.'`
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:3123) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
9
+ 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 `'.'`
10
+ 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 `'.'`
11
+ (node:3048) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
10
12
  (Use `node --trace-warnings ...` to show where the warning was created)
11
-  PASS  src/__tests__/consistentVersions.spec.ts (6.911 s)
13
+  PASS  src/__tests__/consistentVersions.spec.ts (7.02 s)
12
14
  consistentVersions
13
15
  standard tests
14
- ✓ Does nothing when arguments are empty (35 ms)
16
+ ✓ Does nothing when arguments are empty (12 ms)
15
17
  ✓ Fixes packages that have an incorrect dependency version (4 ms)
16
18
  ✓ 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 (14 ms)
19
- ✓ Fixes packages that have an incorrect dependency and devDependency versions (15 ms)
19
+ ✓ Fixes packages that have an incorrect devDependency version (2 ms)
20
+ ✓ Ignores packages that have a correct devDependency version (2 ms)
21
+ ✓ Fixes packages that have an incorrect dependency and devDependency versions (3 ms)
20
22
  Multiple accepted versions tests
21
- ✓ Accepts a match when multiple versions are configured (4 ms)
23
+ ✓ Accepts a match when multiple versions are configured (6 ms)
22
24
  ✓ Errors when version does not match (2 ms)
23
25
 
24
- 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 `'.'`
25
26
  console.log
26
- package-without-scripts (/tmp/tmp-3129-6PZ9GKvUCHKe)
27
+ package-without-scripts (/tmp/tmp-3054-W3NiajlBw0lY)
27
28
  
28
29
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
29
30
 
@@ -46,7 +47,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
46
47
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:56:10)
47
48
 
48
49
  console.log
49
- package-without-scripts (/tmp/tmp-3129-mlW0CEL9U2ys)
50
+ package-without-scripts (/tmp/tmp-3054-SMT5ON78S8Is)
50
51
  
51
52
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
52
53
 
@@ -56,7 +57,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
56
57
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
57
58
 
58
59
  console.log
59
- package-with-scripts (/tmp/tmp-3129-Ie5NdznSaaNg)
60
+ package-with-scripts (/tmp/tmp-3054-4HVbhdQ2x3WZ)
60
61
  
61
62
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
62
63
 
@@ -66,7 +67,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
66
67
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
67
68
 
68
69
  console.log
69
- package-with-scripts (/tmp/tmp-3129-DPP2Kb5alhqT)
70
+ package-with-scripts (/tmp/tmp-3054-4sbVdZufauA1)
70
71
  
71
72
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
72
73
 
@@ -89,7 +90,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
89
90
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:169:10)
90
91
 
91
92
  console.log
92
- package-with-scripts (/tmp/tmp-3129-XsgIo2CTAdMT)
93
+ package-with-scripts (/tmp/tmp-3054-09zUHnUGzxwT)
93
94
  
94
95
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
95
96
 
@@ -99,7 +100,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
99
100
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
100
101
 
101
102
  console.log
102
- package-with-scripts (/tmp/tmp-3129-dkCmVjn1ztkj)
103
+ package-with-scripts (/tmp/tmp-3054-jDbHZUO7PUgb)
103
104
  
104
105
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
105
106
 
@@ -109,7 +110,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
109
110
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
110
111
 
111
112
  console.log
112
- package-with-scripts (/tmp/tmp-3129-tVbjyD0MQAbA)
113
+ package-with-scripts (/tmp/tmp-3054-MEx2wntCj6ly)
113
114
  
114
115
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
115
116
 
@@ -118,10 +119,10 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
118
119
  
119
120
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
120
121
 
121
- (node:3129) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
122
+ (node:3054) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
122
123
  (Use `node --trace-warnings ...` to show where the warning was created)
123
124
  console.log
124
- package-without-scripts (/tmp/tmp-3129-HHkub6VSOmN5)
125
+ package-without-scripts (/tmp/tmp-3054-ENGaOpWXNdFN)
125
126
  
126
127
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
127
128
 
@@ -144,7 +145,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
144
145
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:56:10)
145
146
 
146
147
  console.log
147
- package-without-scripts (/tmp/tmp-3129-rlq43ykNj1yq)
148
+ package-without-scripts (/tmp/tmp-3054-9ert4x2bZQQC)
148
149
  
149
150
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
150
151
 
@@ -154,7 +155,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
154
155
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
155
156
 
156
157
  console.log
157
- package-with-scripts (/tmp/tmp-3129-PJ2gUK4oXslt)
158
+ package-with-scripts (/tmp/tmp-3054-OFT57oLW5lye)
158
159
  
159
160
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
160
161
 
@@ -164,7 +165,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
164
165
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
165
166
 
166
167
  console.log
167
- package-with-scripts (/tmp/tmp-3129-g39Rp8LfL4k3)
168
+ package-with-scripts (/tmp/tmp-3054-HrevnLgo1LG0)
168
169
  
169
170
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
170
171
 
@@ -187,7 +188,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
187
188
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:169:10)
188
189
 
189
190
  console.log
190
- package-with-scripts (/tmp/tmp-3129-hcf651eG30Zd)
191
+ package-with-scripts (/tmp/tmp-3054-vumlcGX4MzED)
191
192
  
192
193
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
193
194
 
@@ -197,7 +198,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
197
198
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
198
199
 
199
200
  console.log
200
- package-with-scripts (/tmp/tmp-3129-zgt7lYs6k23N)
201
+ package-with-scripts (/tmp/tmp-3054-bHRYESe9U0tR)
201
202
  
202
203
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
203
204
 
@@ -207,7 +208,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
207
208
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
208
209
 
209
210
  console.log
210
- package-with-scripts (/tmp/tmp-3129-QaXg4lqbxR7D)
211
+ package-with-scripts (/tmp/tmp-3054-m6EmeRbESFBN)
211
212
  
212
213
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
213
214
 
@@ -216,98 +217,90 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
216
217
  
217
218
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
218
219
 
219
-  PASS  src/__tests__/packageScript.spec.ts (7.123 s)
220
+  PASS  src/__tests__/packageScript.spec.ts (7.28 s)
220
221
  expectPackageScript (SimpleHost)
221
222
  fix: false
222
- ✓ handles an empty script section (68 ms)
223
+ ✓ handles an empty script section (102 ms)
223
224
  fix: true
224
- ✓ fixes an empty script section (7 ms)
225
- ✓ adds a script (11 ms)
226
- ✓ does nothing if the value exists (2 ms)
227
- ✓ errors if long form is used and no value matches and there is no fixValue (24 ms)
228
- ✓ uses the fixValue for fixing if provided (5 ms)
229
- ✓ can fix to empty (5 ms)
230
- ✓ can allow only empty (5 ms)
225
+ ✓ fixes an empty script section (13 ms)
226
+ ✓ adds a script (7 ms)
227
+ ✓ does nothing if the value exists (1 ms)
228
+ ✓ errors if long form is used and no value matches and there is no fixValue (9 ms)
229
+ ✓ uses the fixValue for fixing if provided (6 ms)
230
+ ✓ can fix to empty (4 ms)
231
+ ✓ can allow only empty (17 ms)
231
232
  expectPackageScript (CachingHost)
232
233
  fix: false
233
- ✓ handles an empty script section (22 ms)
234
+ ✓ handles an empty script section (11 ms)
234
235
  fix: true
235
- ✓ fixes an empty script section (4 ms)
236
- ✓ adds a script (7 ms)
236
+ ✓ fixes an empty script section (9 ms)
237
+ ✓ adds a script (9 ms)
237
238
  ✓ does nothing if the value exists (2 ms)
238
- ✓ errors if long form is used and no value matches and there is no fixValue (21 ms)
239
+ ✓ errors if long form is used and no value matches and there is no fixValue (7 ms)
239
240
  ✓ uses the fixValue for fixing if provided (5 ms)
240
- ✓ can fix to empty (15 ms)
241
- ✓ can allow only empty (18 ms)
241
+ ✓ can fix to empty (9 ms)
242
+ ✓ can allow only empty (5 ms)
242
243
 
243
-  PASS  src/__tests__/mustSatisfyPeerDependencies.spec.ts (7.507 s)
244
+ (node:3047) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
245
+ (Use `node --trace-warnings ...` to show where the warning was created)
246
+  PASS  src/__tests__/mustSatisfyPeerDependencies.spec.ts (7.357 s)
244
247
  mustSatisfyPeerDependencies
245
248
  ✓ Flags overloaded dependency (entry in regular dependencies and peer dependencies) (5 ms)
246
249
  ✓ Flags conflicting peer dependencies (4 ms)
247
- ✓ Flags unsatisfied peer dependencies (test package has regular dep) (4 ms)
250
+ ✓ Flags unsatisfied peer dependencies (test package has regular dep) (3 ms)
248
251
  ✓ Flags missing peer dependencies (NO regular dependency present) (4 ms)
249
252
  ✓ Flags unsatisfied peer dependencies (test package has peer dep) (4 ms)
250
- ✓ Honors dependencyWhitelist (4 ms)
251
- ✓ Honors dependencyBlacklist (4 ms)
253
+ ✓ Honors dependencyWhitelist (3 ms)
254
+ ✓ Honors dependencyBlacklist (3 ms)
252
255
  regex tests
253
- ✓ Properly matches any version range regex (40 ms)
254
- ✓ Properly matches greator or equal version range regex (13 ms)
255
- ✓ Properly matches major version range regex (10 ms)
256
- ✓ Properly matches allowed range regex (17 ms)
256
+ ✓ Properly matches any version range regex (17 ms)
257
+ ✓ Properly matches greator or equal version range regex (14 ms)
258
+ ✓ Properly matches major version range regex (16 ms)
259
+ ✓ Properly matches allowed range regex (14 ms)
257
260
  Determines dependencies satisfaction correctly
258
- ✓ version is version (1 ms)
259
- ✓ version satisfies a range (4 ms)
260
- ✓ higher version satisfies a range (2 ms)
261
- ✓ version satisfies a greator or equal version range (2 ms)
262
- ✓ higher version satisfies a greator or equal version range (1 ms)
263
- ✓ version satisfies 'any' range (2 ms)
261
+ ✓ version is version (2 ms)
262
+ ✓ version satisfies a range (3 ms)
263
+ ✓ higher version satisfies a range (3 ms)
264
+ ✓ version satisfies a greator or equal version range (1 ms)
265
+ ✓ higher version satisfies a greator or equal version range (4 ms)
266
+ ✓ version satisfies 'any' range (1 ms)
264
267
  ✓ greator or equal version range satisfies 'any' range (1 ms)
265
- ✓ range satisfies 'any' range (3 ms)
268
+ ✓ range satisfies 'any' range (1 ms)
266
269
  ✓ union range satisfies 'any' range (1 ms)
267
270
  ✓ version found in union start (1 ms)
268
271
  ✓ version found in union end (1 ms)
269
272
  ✓ version satisfies a range in union start (1 ms)
270
- ✓ version satisfies a range in union end (1 ms)
273
+ ✓ version satisfies a range in union end
271
274
  ✓ higher version satisfies a range in union start (1 ms)
272
275
  ✓ higher version satisfies a range in union end (1 ms)
273
276
  ✓ range found in union start (1 ms)
274
- ✓ range found in union end (1 ms)
277
+ ✓ range found in union end
275
278
  ✓ union satisfies greator or equal version range (1 ms)
276
279
  ✓ greator or equal version range satisfies greator or equal version range (1 ms)
277
- ✓ equivalent greator or equal version ranges satisfy each other (1 ms)
280
+ ✓ equivalent greator or equal version ranges satisfy each other (2 ms)
278
281
  ✓ higher range satisfies a range in union start (1 ms)
279
282
  ✓ higher range satisfies a range in union end (1 ms)
280
283
  ✓ equivalent 'any' ranges satisfy each other (1 ms)
281
- ✓ equivalent major ranges satisfy each other (5 ms)
284
+ ✓ equivalent major ranges satisfy each other (4 ms)
282
285
  ✓ version missing in union (1 ms)
283
286
  ✓ range missing in union (1 ms)
284
287
  Determines dependencies intersections correctly
285
- ✓ equivalence (2 ms)
288
+ ✓ equivalence (1 ms)
286
289
  ✓ exact vs any (1 ms)
287
290
  ✓ major vs any
288
291
  ✓ greater or equal vs any (1 ms)
289
- ✓ any vs any (1 ms)
292
+ ✓ any vs any
290
293
  ✓ exact vs greater or equal (1 ms)
291
- ✓ major vs greater or equal (2 ms)
292
- ✓ greater or equal vs greater or equal (5 ms)
293
- ✓ exact vs major (1 ms)
294
+ ✓ major vs greater or equal (1 ms)
295
+ ✓ greater or equal vs greater or equal (1 ms)
296
+ ✓ exact vs major (2 ms)
294
297
  ✓ major vs major (1 ms)
295
- ✓ exact vs union (2 ms)
298
+ ✓ exact vs union (3 ms)
296
299
  ✓ major vs union (1 ms)
297
- ✓ union vs union (4 ms)
298
-
299
- (node:3122) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
300
- (Use `node --trace-warnings ...` to show where the warning was created)
301
-  PASS  src/__tests__/bannedDependencies.spec.ts
302
- bannedDependencies
303
- ✓ Flags banned dependencies correctly (9 ms)
304
- ✓ Flags banned dependencies correctly w legacy globs (3 ms)
305
- ✓ Flags banned dependencies correctly w new globs (2 ms)
306
- ✓ Flags banned dependencies correctly w exact (1 ms)
307
- ✓ Flags banned transitives correctly (6 ms)
300
+ ✓ union vs union (2 ms)
308
301
 
309
302
  console.log
310
- package (/tmp/tmp-3129-T5Kb6VjghuN1)
303
+ package (/tmp/tmp-3054-sDF8cxQ37b5N)
311
304
  
312
305
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
313
306
 
@@ -317,7 +310,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
317
310
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
318
311
 
319
312
  console.log
320
- package (/tmp/tmp-3129-IvMvc3uqd9P1)
313
+ package (/tmp/tmp-3054-zq8Lm5rmPJXH)
321
314
  
322
315
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
323
316
 
@@ -327,7 +320,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
327
320
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
328
321
 
329
322
  console.log
330
- package (/tmp/tmp-3129-0h5XPczSDg4h)
323
+ package (/tmp/tmp-3054-OJ54QrxiYRM9)
331
324
  
332
325
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
333
326
 
@@ -350,7 +343,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
350
343
   at Object.<anonymous> (src/__tests__/packageEntry.spec.ts:158:10)
351
344
 
352
345
  console.log
353
- package (/tmp/tmp-3129-h1YiHS5TxVWb)
346
+ package (/tmp/tmp-3054-55dSrDmkT7QV)
354
347
  
355
348
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
356
349
 
@@ -377,8 +370,16 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
377
370
  
378
371
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
379
372
 
373
+  PASS  src/__tests__/bannedDependencies.spec.ts
374
+ bannedDependencies
375
+ ✓ Flags banned dependencies correctly (9 ms)
376
+ ✓ Flags banned dependencies correctly w legacy globs (2 ms)
377
+ ✓ Flags banned dependencies correctly w new globs (2 ms)
378
+ ✓ Flags banned dependencies correctly w exact (2 ms)
379
+ ✓ Flags banned transitives correctly (8 ms)
380
+
380
381
  console.log
381
- package (/tmp/tmp-3129-Y2GT9ISw7Fjw)
382
+ package (/tmp/tmp-3054-jJTwtbkJzDZR)
382
383
  
383
384
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
384
385
 
@@ -388,7 +389,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
388
389
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
389
390
 
390
391
  console.log
391
- package (/tmp/tmp-3129-NmLhv18Xhmnr)
392
+ package (/tmp/tmp-3054-mxero3UqtS4r)
392
393
  
393
394
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
394
395
 
@@ -398,7 +399,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
398
399
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
399
400
 
400
401
  console.log
401
- package (/tmp/tmp-3129-Dfq19zpfEpZF)
402
+ package (/tmp/tmp-3054-9W4I0sU6aAo7)
402
403
  
403
404
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
404
405
 
@@ -421,7 +422,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
421
422
   at Object.<anonymous> (src/__tests__/packageEntry.spec.ts:158:10)
422
423
 
423
424
  console.log
424
- package (/tmp/tmp-3129-jeSlKG7Omcrq)
425
+ package (/tmp/tmp-3054-yusqPb2QjmGl)
425
426
  
426
427
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
427
428
 
@@ -443,15 +444,6 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
443
444
   at Object.check (src/util/makeRule.ts:20:27)
444
445
   at Object.<anonymous> (src/__tests__/packageEntry.spec.ts:186:10)
445
446
 
446
-  PASS  src/__tests__/nestedWorkspaces.spec.ts
447
- nestedWorkspaces
448
- ✓ checks correctly when no packages (13 ms)
449
- ✓ checks correctly when one level packages (6 ms)
450
- ✓ checks fail when one level packages with no workspaces field (5 ms)
451
- ✓ checks correctly when two level packages with two level workspaces field (4 ms)
452
- ✓ checks fail when two level packages with one level workspaces field (10 ms)
453
- ✓ checks correctly when three level packages with three level workspaces field (4 ms)
454
-
455
447
  console.log
456
448
  Fixed! package.json: Expected standardized entry for 'repository'
457
449
  
@@ -460,32 +452,35 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
460
452
   PASS  src/__tests__/packageEntry.spec.ts
461
453
  expectPackageEntries (SimpleHost)
462
454
  fix: true
463
- ✓ fixes missing entries (14 ms)
464
- ✓ fixes missing nested entries (5 ms)
465
- ✓ doesn't error for nested entries that are defined (12 ms)
455
+ ✓ fixes missing entries (16 ms)
456
+ ✓ fixes missing nested entries (4 ms)
457
+ ✓ doesn't error for nested entries that are defined (2 ms)
466
458
  ✓ errors for keys that are missing (8 ms)
467
- ✓ handles both entries and entriesExist (11 ms)
459
+ ✓ handles both entries and entriesExist (12 ms)
468
460
  expectPackageEntries (CachingHost)
469
461
  fix: true
470
- ✓ fixes missing entries (6 ms)
462
+ ✓ fixes missing entries (11 ms)
471
463
  ✓ fixes missing nested entries (4 ms)
472
- ✓ doesn't error for nested entries that are defined (1 ms)
473
- ✓ errors for keys that are missing (8 ms)
474
- ✓ handles both entries and entriesExist (16 ms)
464
+ ✓ doesn't error for nested entries that are defined (2 ms)
465
+ ✓ errors for keys that are missing (11 ms)
466
+ ✓ handles both entries and entriesExist (9 ms)
475
467
 
476
-  PASS  src/__tests__/consistentDependencies.spec.ts
477
- consistentDependencies
478
- ✓ checks correctly (13 ms)
479
- ✓ fixes correctly (4 ms)
480
- ✓ ignores ignored dependencies (2 ms)
468
+  PASS  src/__tests__/nestedWorkspaces.spec.ts
469
+ nestedWorkspaces
470
+ ✓ checks correctly when no packages (19 ms)
471
+ ✓ checks correctly when one level packages (6 ms)
472
+ ✓ checks fail when one level packages with no workspaces field (4 ms)
473
+ ✓ checks correctly when two level packages with two level workspaces field (14 ms)
474
+ ✓ checks fail when two level packages with one level workspaces field (5 ms)
475
+ ✓ checks correctly when three level packages with three level workspaces field (7 ms)
481
476
 
482
477
   PASS  src/__tests__/requireDependency.spec.ts
483
478
  requireDependency
484
- ✓ checks correctly (27 ms)
485
- ✓ fixes correctly (5 ms)
479
+ ✓ checks correctly (7 ms)
480
+ ✓ fixes correctly (3 ms)
486
481
 
487
482
  console.log
488
- package (/tmp/tmp-3122-DPAHqKiQXptG)
483
+ package (/tmp/tmp-3054-VyAb1MV7asrC)
489
484
  
490
485
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
491
486
 
@@ -495,7 +490,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
495
490
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
496
491
 
497
492
  console.log
498
- package-unknown-keys (/tmp/tmp-3122-MWLNGzuUNpdO)
493
+ package-unknown-keys (/tmp/tmp-3054-Goqg7fTEOpH5)
499
494
  
500
495
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
501
496
 
@@ -505,7 +500,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
505
500
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
506
501
 
507
502
  console.log
508
- package (/tmp/tmp-3122-12mlKCdAoUQ3)
503
+ package (/tmp/tmp-3054-ZToJDiiqzkN2)
509
504
  
510
505
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
511
506
 
@@ -515,7 +510,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
515
510
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
516
511
 
517
512
  console.log
518
- package (/tmp/tmp-3122-t0N204zpaX0b)
513
+ package (/tmp/tmp-3054-oUWnnJcoT5oR)
519
514
  
520
515
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
521
516
 
@@ -524,8 +519,14 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
524
519
  
525
520
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
526
521
 
522
+  PASS  src/__tests__/consistentDependencies.spec.ts
523
+ consistentDependencies
524
+ ✓ checks correctly (12 ms)
525
+ ✓ fixes correctly (2 ms)
526
+ ✓ ignores ignored dependencies (2 ms)
527
+
527
528
  console.log
528
- package-unknown-keys (/tmp/tmp-3122-fR0cK4RSORhZ)
529
+ package-unknown-keys (/tmp/tmp-3054-QNl0UnY4LoS4)
529
530
  
530
531
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
531
532
 
@@ -535,7 +536,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
535
536
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
536
537
 
537
538
  console.log
538
- package (/tmp/tmp-3122-TstyQ6vS7FmR)
539
+ package (/tmp/tmp-3054-wKTBFject0fb)
539
540
  
540
541
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
541
542
 
@@ -547,19 +548,19 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
547
548
   PASS  src/__tests__/packageOrder.spec.ts
548
549
  expectPackageOrder (SimpleHost)
549
550
  fix: true
550
- ✓ fixes order for expected keys (58 ms)
551
- ✓ fixes order for unexpected keys (10 ms)
552
- ✓ fixes order using function (4 ms)
553
- ✓ does nothing if already order (1 ms)
551
+ ✓ fixes order for expected keys (16 ms)
552
+ ✓ fixes order for unexpected keys (40 ms)
553
+ ✓ fixes order using function (5 ms)
554
+ ✓ does nothing if already order (2 ms)
554
555
  expectPackageOrder (CachingHost)
555
556
  fix: true
556
- ✓ fixes order for expected keys (7 ms)
557
+ ✓ fixes order for expected keys (6 ms)
557
558
  ✓ fixes order for unexpected keys (5 ms)
558
559
  ✓ fixes order using function (5 ms)
559
- ✓ does nothing if already order (1 ms)
560
+ ✓ does nothing if already order (2 ms)
560
561
 
561
562
  console.log
562
- foo-lib (/tmp/tmp-3123-i5arU1knGTni)
563
+ foo-lib (/tmp/tmp-3047-g5kza7kuBsEz)
563
564
  
564
565
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
565
566
 
@@ -569,7 +570,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
569
570
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
570
571
 
571
572
  console.log
572
- foo-lib (/tmp/tmp-3123-QLsBS0p2b059)
573
+ foo-lib (/tmp/tmp-3047-1bsdR2vaD6TU)
573
574
  
574
575
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
575
576
 
@@ -581,15 +582,15 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
581
582
   PASS  src/__tests__/alphabeticalScripts.spec.ts
582
583
  alphabeticalScripts (SimpleHost)
583
584
  fix: true
584
- ✓ fixes unsorted scripts (72 ms)
585
+ ✓ fixes unsorted scripts (47 ms)
585
586
  ✓ does nothing if already sorted (1 ms)
586
587
  alphabeticalScripts (CachingHost)
587
588
  fix: true
588
- ✓ fixes unsorted scripts (12 ms)
589
+ ✓ fixes unsorted scripts (6 ms)
589
590
  ✓ does nothing if already sorted (1 ms)
590
591
 
591
592
  console.log
592
- rootProject (/tmp/tmp-3129-dJTM4mN6skMw)
593
+ rootProject (/tmp/tmp-3048-rKVMo1NPSGXs)
593
594
  
594
595
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
595
596
 
@@ -599,7 +600,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
599
600
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
600
601
 
601
602
  console.log
602
- rootProject (/tmp/tmp-3129-4vI9MBLc2j59)
603
+ rootProject (/tmp/tmp-3048-cJL5SqTnwz7F)
603
604
  
604
605
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
605
606
 
@@ -609,7 +610,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
609
610
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
610
611
 
611
612
  console.log
612
- rootProject (/tmp/tmp-3129-18lPNpCP74G6)
613
+ rootProject (/tmp/tmp-3048-Apse5E71BDZb)
613
614
  
614
615
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
615
616
 
@@ -619,7 +620,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
619
620
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
620
621
 
621
622
  console.log
622
- rootProject (/tmp/tmp-3129-B3A19DlXSluA)
623
+ rootProject (/tmp/tmp-3048-CQDwTUTJ9UzN)
623
624
  
624
625
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
625
626
 
@@ -629,7 +630,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
629
630
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
630
631
 
631
632
  console.log
632
- rootProject (/tmp/tmp-3129-n3y32xcRcdJN)
633
+ rootProject (/tmp/tmp-3048-yjdqw0GwH7tL)
633
634
  
634
635
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
635
636
 
@@ -639,7 +640,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
639
640
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
640
641
 
641
642
  console.log
642
- rootProject (/tmp/tmp-3129-CQysU7tEtPq0)
643
+ rootProject (/tmp/tmp-3048-fO5pVNvhRLK7)
643
644
  
644
645
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
645
646
 
@@ -651,17 +652,17 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
651
652
   PASS  src/__tests__/fileContents.spec.ts
652
653
  fileContents (SimpleHost)
653
654
  fix: true
654
- ✓ works with async generator (7 ms)
655
- ✓ fixes missing file (2 ms)
655
+ ✓ works with async generator (45 ms)
656
+ ✓ fixes missing file (3 ms)
656
657
  ✓ fixes missing nested file (3 ms)
657
658
  fileContents (CachingHost)
658
659
  fix: true
659
- ✓ works with async generator (4 ms)
660
+ ✓ works with async generator (5 ms)
660
661
  ✓ fixes missing file (3 ms)
661
662
  ✓ fixes missing nested file (3 ms)
662
663
 
663
664
  Test Suites: 11 passed, 11 total
664
665
  Tests: 118 passed, 118 total
665
666
  Snapshots: 0 total
666
- Time: 9.954 s
667
+ Time: 9.84 s
667
668
  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.22 KB
17
17
  ESM build/js/chunk-A2MUUSNE.js.map 1.19 KB
18
- ESM ⚡️ Build success in 106ms
18
+ ESM ⚡️ Build success in 81ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monorepolint/rules",
3
- "version": "0.5.0-alpha.135+fe60c33",
3
+ "version": "0.5.0-alpha.136+3f2b4ce",
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.135+fe60c33",
34
- "@monorepolint/core": "^0.5.0-alpha.135+fe60c33",
35
- "@monorepolint/utils": "^0.5.0-alpha.135+fe60c33",
33
+ "@monorepolint/config": "^0.5.0-alpha.136+3f2b4ce",
34
+ "@monorepolint/core": "^0.5.0-alpha.136+3f2b4ce",
35
+ "@monorepolint/utils": "^0.5.0-alpha.136+3f2b4ce",
36
36
  "globby": "^14.0.1",
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": "fe60c33e4b821d47dc95406b31426a138d4658c4"
62
+ "gitHead": "3f2b4ce7ab50b596f7501974091f91c37ef4f9df"
63
63
  }