@monorepolint/rules 0.5.0-alpha.138 → 0.5.0-alpha.139

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.
@@ -5,28 +5,84 @@
5
5
  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 `'.'`
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
- 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 `'.'`
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/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 `'.'`
11
- console.log
12
- package-without-scripts (/tmp/tmp-3118-Z7VQzP0JBbNC)
13
- 
14
-  at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
15
-
16
- (node:3117) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
8
+ (node:3111) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
17
9
  (Use `node --trace-warnings ...` to show where the warning was created)
18
-  PASS  src/__tests__/consistentVersions.spec.ts (6.782 s)
10
+  PASS  src/__tests__/consistentVersions.spec.ts (7.428 s)
19
11
  consistentVersions
20
12
  standard tests
21
- ✓ Does nothing when arguments are empty (9 ms)
13
+ ✓ Does nothing when arguments are empty (10 ms)
22
14
  ✓ Fixes packages that have an incorrect dependency version (4 ms)
23
15
  ✓ Ignores packages that have a correct dependency version (2 ms)
24
- ✓ Fixes packages that have an incorrect devDependency version (2 ms)
25
- ✓ Ignores packages that have a correct devDependency version (4 ms)
26
- ✓ Fixes packages that have an incorrect dependency and devDependency versions (2 ms)
16
+ ✓ Fixes packages that have an incorrect devDependency version (3 ms)
17
+ ✓ Ignores packages that have a correct devDependency version (2 ms)
18
+ ✓ Fixes packages that have an incorrect dependency and devDependency versions (6 ms)
27
19
  Multiple accepted versions tests
28
20
  ✓ Accepts a match when multiple versions are configured (2 ms)
29
- ✓ Errors when version does not match (2 ms)
21
+ ✓ Errors when version does not match (3 ms)
22
+
23
+ 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 `'.'`
24
+ (node:3110) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
25
+ (Use `node --trace-warnings ...` to show where the warning was created)
26
+  PASS  src/__tests__/mustSatisfyPeerDependencies.spec.ts (7.619 s)
27
+ mustSatisfyPeerDependencies
28
+ ✓ Flags overloaded dependency (entry in regular dependencies and peer dependencies) (4 ms)
29
+ ✓ Flags conflicting peer dependencies (4 ms)
30
+ ✓ Flags unsatisfied peer dependencies (test package has regular dep) (5 ms)
31
+ ✓ Flags missing peer dependencies (NO regular dependency present) (4 ms)
32
+ ✓ Flags unsatisfied peer dependencies (test package has peer dep) (6 ms)
33
+ ✓ Honors dependencyWhitelist (4 ms)
34
+ ✓ Honors dependencyBlacklist (4 ms)
35
+ regex tests
36
+ ✓ Properly matches any version range regex (32 ms)
37
+ ✓ Properly matches greator or equal version range regex (15 ms)
38
+ ✓ Properly matches major version range regex (8 ms)
39
+ ✓ Properly matches allowed range regex (15 ms)
40
+ Determines dependencies satisfaction correctly
41
+ ✓ version is version (1 ms)
42
+ ✓ version satisfies a range (3 ms)
43
+ ✓ higher version satisfies a range (2 ms)
44
+ ✓ version satisfies a greator or equal version range (1 ms)
45
+ ✓ higher version satisfies a greator or equal version range (1 ms)
46
+ ✓ version satisfies 'any' range (1 ms)
47
+ ✓ greator or equal version range satisfies 'any' range (1 ms)
48
+ ✓ range satisfies 'any' range (1 ms)
49
+ ✓ union range satisfies 'any' range (1 ms)
50
+ ✓ version found in union start (1 ms)
51
+ ✓ version found in union end (1 ms)
52
+ ✓ version satisfies a range in union start (1 ms)
53
+ ✓ version satisfies a range in union end (1 ms)
54
+ ✓ higher version satisfies a range in union start (5 ms)
55
+ ✓ higher version satisfies a range in union end (1 ms)
56
+ ✓ range found in union start (1 ms)
57
+ ✓ range found in union end (1 ms)
58
+ ✓ union satisfies greator or equal version range (2 ms)
59
+ ✓ greator or equal version range satisfies greator or equal version range (1 ms)
60
+ ✓ equivalent greator or equal version ranges satisfy each other (1 ms)
61
+ ✓ higher range satisfies a range in union start (1 ms)
62
+ ✓ higher range satisfies a range in union end (1 ms)
63
+ ✓ equivalent 'any' ranges satisfy each other
64
+ ✓ equivalent major ranges satisfy each other (2 ms)
65
+ ✓ version missing in union (1 ms)
66
+ ✓ range missing in union
67
+ Determines dependencies intersections correctly
68
+ ✓ equivalence (2 ms)
69
+ ✓ exact vs any (1 ms)
70
+ ✓ major vs any
71
+ ✓ greater or equal vs any (1 ms)
72
+ ✓ any vs any
73
+ ✓ exact vs greater or equal
74
+ ✓ major vs greater or equal (1 ms)
75
+ ✓ greater or equal vs greater or equal
76
+ ✓ exact vs major (1 ms)
77
+ ✓ major vs major (1 ms)
78
+ ✓ exact vs union
79
+ ✓ major vs union
80
+ ✓ union vs union (2 ms)
81
+
82
+ console.log
83
+ package-without-scripts (/tmp/tmp-3112-NGj7eBHhDPd2)
84
+ 
85
+  at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
30
86
 
31
87
  console.error
32
88
   Error! package.json: No scripts block in package.json
@@ -47,7 +103,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
47
103
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:56:10)
48
104
 
49
105
  console.log
50
- package-without-scripts (/tmp/tmp-3118-MJQwdB31h6RS)
106
+ package-without-scripts (/tmp/tmp-3112-pmJdrIG1gMzW)
51
107
  
52
108
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
53
109
 
@@ -57,7 +113,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
57
113
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
58
114
 
59
115
  console.log
60
- package-with-scripts (/tmp/tmp-3118-51zyG8h7CkJz)
116
+ package-with-scripts (/tmp/tmp-3112-UOGD7vB7EQuu)
61
117
  
62
118
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
63
119
 
@@ -67,7 +123,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
67
123
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
68
124
 
69
125
  console.log
70
- package-with-scripts (/tmp/tmp-3118-fLS8yuUgqDHZ)
126
+ package-with-scripts (/tmp/tmp-3112-CW6g2ttBfO5o)
71
127
  
72
128
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
73
129
 
@@ -90,7 +146,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
90
146
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:169:10)
91
147
 
92
148
  console.log
93
- package-with-scripts (/tmp/tmp-3118-JsUGpvhlVant)
149
+ package-with-scripts (/tmp/tmp-3112-Lj6gSo5cM4on)
94
150
  
95
151
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
96
152
 
@@ -100,7 +156,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
100
156
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
101
157
 
102
158
  console.log
103
- package-with-scripts (/tmp/tmp-3118-ndYXqi0LbUwM)
159
+ package-with-scripts (/tmp/tmp-3112-CANy5ltymaQ1)
104
160
  
105
161
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
106
162
 
@@ -110,7 +166,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
110
166
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
111
167
 
112
168
  console.log
113
- package-with-scripts (/tmp/tmp-3118-eMB240UsH7H1)
169
+ package-with-scripts (/tmp/tmp-3112-65kM5iUk4mhz)
114
170
  
115
171
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
116
172
 
@@ -119,10 +175,10 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
119
175
  
120
176
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
121
177
 
122
- (node:3118) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
178
+ (node:3112) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
123
179
  (Use `node --trace-warnings ...` to show where the warning was created)
124
180
  console.log
125
- package-without-scripts (/tmp/tmp-3118-cZBJSd5eoi4X)
181
+ package-without-scripts (/tmp/tmp-3112-RDCj4enFLHlf)
126
182
  
127
183
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
128
184
 
@@ -145,7 +201,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
145
201
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:56:10)
146
202
 
147
203
  console.log
148
- package-without-scripts (/tmp/tmp-3118-UrxDdETGg34Q)
204
+ package-without-scripts (/tmp/tmp-3112-aYRiACSBJhZW)
149
205
  
150
206
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
151
207
 
@@ -155,7 +211,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
155
211
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
156
212
 
157
213
  console.log
158
- package-with-scripts (/tmp/tmp-3118-ABziBsZE0JP5)
214
+ package-with-scripts (/tmp/tmp-3112-SNcNbik1UzDY)
159
215
  
160
216
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
161
217
 
@@ -165,7 +221,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
165
221
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
166
222
 
167
223
  console.log
168
- package-with-scripts (/tmp/tmp-3118-lLpst5Wne2jT)
224
+ package-with-scripts (/tmp/tmp-3112-qjIXnvQkJUtN)
169
225
  
170
226
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
171
227
 
@@ -188,7 +244,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
188
244
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:169:10)
189
245
 
190
246
  console.log
191
- package-with-scripts (/tmp/tmp-3118-Gt7FoJRVEOev)
247
+ package-with-scripts (/tmp/tmp-3112-LBPHDWvm2kuF)
192
248
  
193
249
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
194
250
 
@@ -198,7 +254,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
198
254
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
199
255
 
200
256
  console.log
201
- package-with-scripts (/tmp/tmp-3118-z6qARwj6t1r1)
257
+ package-with-scripts (/tmp/tmp-3112-QDvKNuW4xt0W)
202
258
  
203
259
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
204
260
 
@@ -208,8 +264,13 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
208
264
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
209
265
 
210
266
  console.log
211
- package-with-scripts (/tmp/tmp-3118-JETmT7eaGVAp)
267
+ package-with-scripts (/tmp/tmp-3112-247ke2OtQv9F)
268
+  PASS  src/__tests__/packageScript.spec.ts (8.147 s)
212
269
  
270
+ expectPackageScript (SimpleHost)
271
+ fix: false
272
+ ✓ handles an empty script section (122 ms)
273
+ fix: true
213
274
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
214
275
 
215
276
  console.log
@@ -217,90 +278,27 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
217
278
  
218
279
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
219
280
 
220
-  PASS  src/__tests__/packageScript.spec.ts (6.848 s)
221
- expectPackageScript (SimpleHost)
222
- fix: false
223
- ✓ handles an empty script section (82 ms)
224
- fix: true
225
- ✓ fixes an empty script section (11 ms)
226
- ✓ adds a script (8 ms)
227
- ✓ does nothing if the value exists (2 ms)
228
- ✓ errors if long form is used and no value matches and there is no fixValue (10 ms)
229
- ✓ uses the fixValue for fixing if provided (4 ms)
230
- ✓ can fix to empty (5 ms)
231
- ✓ can allow only empty (4 ms)
281
+ ✓ fixes an empty script section (17 ms)
282
+ ✓ adds a script (7 ms)
283
+ ✓ does nothing if the value exists (1 ms)
284
+ ✓ errors if long form is used and no value matches and there is no fixValue (43 ms)
285
+ ✓ uses the fixValue for fixing if provided (27 ms)
286
+ ✓ can fix to empty (17 ms)
287
+ ✓ can allow only empty (3 ms)
232
288
  expectPackageScript (CachingHost)
233
289
  fix: false
234
- ✓ handles an empty script section (8 ms)
290
+ ✓ handles an empty script section (17 ms)
235
291
  fix: true
236
- ✓ fixes an empty script section (3 ms)
292
+ ✓ fixes an empty script section (7 ms)
237
293
  ✓ adds a script (7 ms)
238
- ✓ does nothing if the value exists (6 ms)
239
- ✓ errors if long form is used and no value matches and there is no fixValue (7 ms)
240
- ✓ uses the fixValue for fixing if provided (5 ms)
241
- ✓ can fix to empty (4 ms)
242
- ✓ can allow only empty (5 ms)
243
-
244
- (node:3116) 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.136 s)
247
- mustSatisfyPeerDependencies
248
- ✓ Flags overloaded dependency (entry in regular dependencies and peer dependencies) (4 ms)
249
- ✓ Flags conflicting peer dependencies (10 ms)
250
- ✓ Flags unsatisfied peer dependencies (test package has regular dep) (5 ms)
251
- ✓ Flags missing peer dependencies (NO regular dependency present) (3 ms)
252
- ✓ Flags unsatisfied peer dependencies (test package has peer dep) (6 ms)
253
- ✓ Honors dependencyWhitelist (8 ms)
254
- ✓ Honors dependencyBlacklist (4 ms)
255
- regex tests
256
- ✓ Properly matches any version range regex (26 ms)
257
- ✓ Properly matches greator or equal version range regex (24 ms)
258
- ✓ Properly matches major version range regex (24 ms)
259
- ✓ Properly matches allowed range regex (22 ms)
260
- Determines dependencies satisfaction correctly
261
- ✓ version is version (1 ms)
262
- ✓ version satisfies a range (5 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 (1 ms)
266
- ✓ version satisfies 'any' range (1 ms)
267
- ✓ greator or equal version range satisfies 'any' range (1 ms)
268
- ✓ range satisfies 'any' range (1 ms)
269
- ✓ union range satisfies 'any' range (7 ms)
270
- ✓ version found in union start (1 ms)
271
- ✓ version found in union end (1 ms)
272
- ✓ version satisfies a range in union start (1 ms)
273
- ✓ version satisfies a range in union end (1 ms)
274
- ✓ higher version satisfies a range in union start (1 ms)
275
- ✓ higher version satisfies a range in union end (1 ms)
276
- ✓ range found in union start (1 ms)
277
- ✓ range found in union end (1 ms)
278
- ✓ union satisfies greator or equal version range (1 ms)
279
- ✓ greator or equal version range satisfies greator or equal version range (1 ms)
280
- ✓ equivalent greator or equal version ranges satisfy each other (1 ms)
281
- ✓ higher range satisfies a range in union start (1 ms)
282
- ✓ higher range satisfies a range in union end
283
- ✓ equivalent 'any' ranges satisfy each other (1 ms)
284
- ✓ equivalent major ranges satisfy each other (4 ms)
285
- ✓ version missing in union (1 ms)
286
- ✓ range missing in union (1 ms)
287
- Determines dependencies intersections correctly
288
- ✓ equivalence (1 ms)
289
- ✓ exact vs any (1 ms)
290
- ✓ major vs any (1 ms)
291
- ✓ greater or equal vs any
292
- ✓ any vs any (1 ms)
293
- ✓ exact vs greater or equal (1 ms)
294
- ✓ major vs greater or equal (3 ms)
295
- ✓ greater or equal vs greater or equal (1 ms)
296
- ✓ exact vs major (16 ms)
297
- ✓ major vs major (1 ms)
298
- ✓ exact vs union (1 ms)
299
- ✓ major vs union (1 ms)
300
- ✓ union vs union (2 ms)
294
+ ✓ does nothing if the value exists (1 ms)
295
+ ✓ errors if long form is used and no value matches and there is no fixValue (8 ms)
296
+ ✓ uses the fixValue for fixing if provided (8 ms)
297
+ ✓ can fix to empty (14 ms)
298
+ ✓ can allow only empty (12 ms)
301
299
 
302
300
  console.log
303
- package (/tmp/tmp-3118-pNDWlJKt48tF)
301
+ package (/tmp/tmp-3110-TqOXhoG4nzjm)
304
302
  
305
303
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
306
304
 
@@ -310,7 +308,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
310
308
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
311
309
 
312
310
  console.log
313
- package (/tmp/tmp-3118-0vMXlJGlHzCo)
311
+ package (/tmp/tmp-3110-Wma5byYAcsZY)
314
312
  
315
313
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
316
314
 
@@ -320,7 +318,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
320
318
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
321
319
 
322
320
  console.log
323
- package (/tmp/tmp-3118-tYdAPAVHKbK9)
321
+ package (/tmp/tmp-3110-tWzJ5dxPP53o)
324
322
  
325
323
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
326
324
 
@@ -343,7 +341,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
343
341
   at Object.<anonymous> (src/__tests__/packageEntry.spec.ts:158:10)
344
342
 
345
343
  console.log
346
- package (/tmp/tmp-3118-r5OCtZ1VLL74)
344
+ package (/tmp/tmp-3110-LMXZVCMOIO2Y)
347
345
  
348
346
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
349
347
 
@@ -371,7 +369,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
371
369
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
372
370
 
373
371
  console.log
374
- package (/tmp/tmp-3118-cviD9tceA0xC)
372
+ package (/tmp/tmp-3110-vHGnr7TUaV4t)
375
373
  
376
374
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
377
375
 
@@ -381,7 +379,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
381
379
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
382
380
 
383
381
  console.log
384
- package (/tmp/tmp-3118-QiklNihzjkqi)
382
+ package (/tmp/tmp-3110-cdY4i7cDw542)
385
383
  
386
384
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
387
385
 
@@ -391,7 +389,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
391
389
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
392
390
 
393
391
  console.log
394
- package (/tmp/tmp-3118-AsHk57mUIBxY)
392
+ package (/tmp/tmp-3110-bzTL0m9p2Cbg)
395
393
  
396
394
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
397
395
 
@@ -414,7 +412,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
414
412
   at Object.<anonymous> (src/__tests__/packageEntry.spec.ts:158:10)
415
413
 
416
414
  console.log
417
- package (/tmp/tmp-3118-gK4SRi4BA3Tp)
415
+ package (/tmp/tmp-3110-AGwHZU2w3cnY)
418
416
  
419
417
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
420
418
 
@@ -444,43 +442,43 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
444
442
   PASS  src/__tests__/packageEntry.spec.ts
445
443
  expectPackageEntries (SimpleHost)
446
444
  fix: true
447
- ✓ fixes missing entries (16 ms)
448
- ✓ fixes missing nested entries (4 ms)
449
- ✓ doesn't error for nested entries that are defined (2 ms)
450
- ✓ errors for keys that are missing (7 ms)
451
- ✓ handles both entries and entriesExist (9 ms)
445
+ ✓ fixes missing entries (99 ms)
446
+ ✓ fixes missing nested entries (7 ms)
447
+ ✓ doesn't error for nested entries that are defined (1 ms)
448
+ ✓ errors for keys that are missing (12 ms)
449
+ ✓ handles both entries and entriesExist (21 ms)
452
450
  expectPackageEntries (CachingHost)
453
451
  fix: true
454
- ✓ fixes missing entries (7 ms)
455
- ✓ fixes missing nested entries (15 ms)
452
+ ✓ fixes missing entries (12 ms)
453
+ ✓ fixes missing nested entries (4 ms)
456
454
  ✓ doesn't error for nested entries that are defined (2 ms)
457
455
  ✓ errors for keys that are missing (8 ms)
458
- ✓ handles both entries and entriesExist (16 ms)
456
+ ✓ handles both entries and entriesExist (24 ms)
459
457
 
460
458
   PASS  src/__tests__/bannedDependencies.spec.ts
461
459
  bannedDependencies
462
- ✓ Flags banned dependencies correctly (8 ms)
460
+ ✓ Flags banned dependencies correctly (9 ms)
463
461
  ✓ Flags banned dependencies correctly w legacy globs (2 ms)
464
- ✓ Flags banned dependencies correctly w new globs (2 ms)
462
+ ✓ Flags banned dependencies correctly w new globs (9 ms)
465
463
  ✓ Flags banned dependencies correctly w exact (2 ms)
466
- ✓ Flags banned transitives correctly (5 ms)
464
+ ✓ Flags banned transitives correctly (6 ms)
467
465
 
468
466
   PASS  src/__tests__/nestedWorkspaces.spec.ts
469
467
  nestedWorkspaces
470
- ✓ checks correctly when no packages (14 ms)
471
- ✓ checks correctly when one level packages (5 ms)
468
+ ✓ checks correctly when no packages (13 ms)
469
+ ✓ checks correctly when one level packages (6 ms)
472
470
  ✓ checks fail when one level packages with no workspaces field (5 ms)
473
471
  ✓ checks correctly when two level packages with two level workspaces field (6 ms)
474
472
  ✓ 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 (6 ms)
473
+ ✓ checks correctly when three level packages with three level workspaces field (7 ms)
476
474
 
477
475
   PASS  src/__tests__/requireDependency.spec.ts
478
476
  requireDependency
479
- ✓ checks correctly (19 ms)
480
- ✓ fixes correctly (12 ms)
477
+ ✓ checks correctly (10 ms)
478
+ ✓ fixes correctly (8 ms)
481
479
 
482
480
  console.log
483
- package (/tmp/tmp-3117-Hv1Q0eV0iSDR)
481
+ package (/tmp/tmp-3111-kcFyGmjQnB7w)
484
482
  
485
483
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
486
484
 
@@ -490,7 +488,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
490
488
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
491
489
 
492
490
  console.log
493
- package-unknown-keys (/tmp/tmp-3117-GIEuRVQ0iDyc)
491
+ package-unknown-keys (/tmp/tmp-3111-qaukAB8LBR4R)
494
492
  
495
493
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
496
494
 
@@ -500,7 +498,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
500
498
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
501
499
 
502
500
  console.log
503
- package (/tmp/tmp-3117-3nTGHE08P0Hb)
501
+ package (/tmp/tmp-3111-5vlU4NczY63C)
504
502
  
505
503
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
506
504
 
@@ -510,7 +508,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
510
508
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
511
509
 
512
510
  console.log
513
- package (/tmp/tmp-3117-TN9pJgGGaOOd)
511
+ package (/tmp/tmp-3111-QxprucrxltFN)
514
512
  
515
513
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
516
514
 
@@ -520,7 +518,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
520
518
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
521
519
 
522
520
  console.log
523
- package-unknown-keys (/tmp/tmp-3117-7UQ2HZyQJwJI)
521
+ package-unknown-keys (/tmp/tmp-3111-YE5jZI0uoBEp)
524
522
  
525
523
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
526
524
 
@@ -530,7 +528,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
530
528
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
531
529
 
532
530
  console.log
533
- package (/tmp/tmp-3117-iAygr5j1OIWU)
531
+ package (/tmp/tmp-3111-tzceeIjmls9n)
534
532
  
535
533
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
536
534
 
@@ -542,25 +540,25 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
542
540
   PASS  src/__tests__/packageOrder.spec.ts
543
541
  expectPackageOrder (SimpleHost)
544
542
  fix: true
545
- ✓ fixes order for expected keys (90 ms)
546
- ✓ fixes order for unexpected keys (32 ms)
547
- ✓ fixes order using function (10 ms)
548
- ✓ does nothing if already order (2 ms)
543
+ ✓ fixes order for expected keys (78 ms)
544
+ ✓ fixes order for unexpected keys (19 ms)
545
+ ✓ fixes order using function (6 ms)
546
+ ✓ does nothing if already order (1 ms)
549
547
  expectPackageOrder (CachingHost)
550
548
  fix: true
551
- ✓ fixes order for expected keys (23 ms)
552
- ✓ fixes order for unexpected keys (16 ms)
553
- ✓ fixes order using function (16 ms)
554
- ✓ does nothing if already order (3 ms)
549
+ ✓ fixes order for expected keys (14 ms)
550
+ ✓ fixes order for unexpected keys (7 ms)
551
+ ✓ fixes order using function (17 ms)
552
+ ✓ does nothing if already order (2 ms)
555
553
 
556
554
   PASS  src/__tests__/consistentDependencies.spec.ts
557
555
  consistentDependencies
558
- ✓ checks correctly (11 ms)
559
- ✓ fixes correctly (3 ms)
560
- ✓ ignores ignored dependencies (1 ms)
556
+ ✓ checks correctly (12 ms)
557
+ ✓ fixes correctly (4 ms)
558
+ ✓ ignores ignored dependencies (2 ms)
561
559
 
562
560
  console.log
563
- foo-lib (/tmp/tmp-3117-7BF8GJwrQ8Zy)
561
+ foo-lib (/tmp/tmp-3111-crvrfDFv5Pum)
564
562
  
565
563
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
566
564
 
@@ -570,7 +568,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
570
568
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
571
569
 
572
570
  console.log
573
- foo-lib (/tmp/tmp-3117-ou8mig4jJcLt)
571
+ foo-lib (/tmp/tmp-3111-v03lY26GDa78)
574
572
  
575
573
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
576
574
 
@@ -583,14 +581,14 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
583
581
  alphabeticalScripts (SimpleHost)
584
582
  fix: true
585
583
  ✓ fixes unsorted scripts (10 ms)
586
- ✓ does nothing if already sorted
584
+ ✓ does nothing if already sorted (1 ms)
587
585
  alphabeticalScripts (CachingHost)
588
586
  fix: true
589
- ✓ fixes unsorted scripts (7 ms)
587
+ ✓ fixes unsorted scripts (5 ms)
590
588
  ✓ does nothing if already sorted (1 ms)
591
589
 
592
590
  console.log
593
- rootProject (/tmp/tmp-3118-ZWuOUGKgcLwV)
591
+ rootProject (/tmp/tmp-3110-C4v5VtP7nDxO)
594
592
  
595
593
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
596
594
 
@@ -600,7 +598,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
600
598
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
601
599
 
602
600
  console.log
603
- rootProject (/tmp/tmp-3118-ierd5F36Jdrj)
601
+ rootProject (/tmp/tmp-3110-6LYyZ5DTQ3bi)
604
602
  
605
603
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
606
604
 
@@ -610,7 +608,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
610
608
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
611
609
 
612
610
  console.log
613
- rootProject (/tmp/tmp-3118-35itA5hO5S5Q)
611
+ rootProject (/tmp/tmp-3110-kXhOdOsdJmUh)
614
612
  
615
613
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
616
614
 
@@ -620,7 +618,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
620
618
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
621
619
 
622
620
  console.log
623
- rootProject (/tmp/tmp-3118-efo1AniC2USm)
621
+ rootProject (/tmp/tmp-3110-xFnW99bJXJ01)
624
622
  
625
623
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
626
624
 
@@ -630,7 +628,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
630
628
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
631
629
 
632
630
  console.log
633
- rootProject (/tmp/tmp-3118-75XpXZ3dPYvR)
631
+ rootProject (/tmp/tmp-3110-0e1Q7yUWZ26w)
634
632
  
635
633
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
636
634
 
@@ -640,7 +638,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
640
638
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
641
639
 
642
640
  console.log
643
- rootProject (/tmp/tmp-3118-G3c6s7x2ke0E)
641
+ rootProject (/tmp/tmp-3110-8pPZbNUp3BPm)
644
642
  
645
643
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
646
644
 
@@ -652,17 +650,17 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
652
650
   PASS  src/__tests__/fileContents.spec.ts
653
651
  fileContents (SimpleHost)
654
652
  fix: true
655
- ✓ works with async generator (8 ms)
656
- ✓ fixes missing file (3 ms)
653
+ ✓ works with async generator (7 ms)
654
+ ✓ fixes missing file (2 ms)
657
655
  ✓ fixes missing nested file (2 ms)
658
656
  fileContents (CachingHost)
659
657
  fix: true
660
- ✓ works with async generator (11 ms)
661
- ✓ fixes missing file (5 ms)
662
- ✓ fixes missing nested file (4 ms)
658
+ ✓ works with async generator (4 ms)
659
+ ✓ fixes missing file (2 ms)
660
+ ✓ fixes missing nested file (3 ms)
663
661
 
664
662
  Test Suites: 11 passed, 11 total
665
663
  Tests: 118 passed, 118 total
666
664
  Snapshots: 0 total
667
- Time: 9.763 s
665
+ Time: 10.531 s
668
666
  Ran all test suites.
@@ -9,10 +9,10 @@
9
9
  CLI Target: node16
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
+ ESM build/js/public/util.js 106.00 B
12
13
  ESM build/js/index.js 50.16 KB
13
14
  ESM build/js/chunk-A2MUUSNE.js 512.00 B
14
- ESM build/js/public/util.js 106.00 B
15
+ ESM build/js/public/util.js.map 71.00 B
15
16
  ESM build/js/index.js.map 100.22 KB
16
17
  ESM build/js/chunk-A2MUUSNE.js.map 1.19 KB
17
- ESM build/js/public/util.js.map 71.00 B
18
- ESM ⚡️ Build success in 59ms
18
+ ESM ⚡️ Build success in 75ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monorepolint/rules",
3
- "version": "0.5.0-alpha.138+71dd2e0",
3
+ "version": "0.5.0-alpha.139+0591f65",
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.138+71dd2e0",
34
- "@monorepolint/core": "^0.5.0-alpha.138+71dd2e0",
35
- "@monorepolint/utils": "^0.5.0-alpha.138+71dd2e0",
33
+ "@monorepolint/config": "^0.5.0-alpha.139+0591f65",
34
+ "@monorepolint/core": "^0.5.0-alpha.139+0591f65",
35
+ "@monorepolint/utils": "^0.5.0-alpha.139+0591f65",
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": "71dd2e0b2f664dee190a7654a3eb075c21aa8036"
62
+ "gitHead": "0591f65b3cbe41917db10a35dfa0a0d43ed09a38"
63
63
  }