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

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.
@@ -2,13 +2,3 @@
2
2
  > @monorepolint/rules@0.4.0 lint /home/runner/work/monorepolint/monorepolint/packages/rules
3
3
  > eslint .
4
4
 
5
-
6
- /home/runner/work/monorepolint/monorepolint/packages/rules/src/__tests__/utils.ts
7
- 73:79 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
8
-
9
- /home/runner/work/monorepolint/monorepolint/packages/rules/src/standardTsconfig.ts
10
- 42:18 warning An interface declaring no members is equivalent to its supertype @typescript-eslint/no-empty-interface
11
-
12
- ✖ 2 problems (0 errors, 2 warnings)
13
- 0 errors and 1 warning potentially fixable with the `--fix` option.
14
-
@@ -6,24 +6,24 @@ 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:3075) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
9
+ (node:3123) 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.442 s)
11
+  PASS  src/__tests__/consistentVersions.spec.ts (6.911 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 (5 ms)
14
+ ✓ Does nothing when arguments are empty (35 ms)
15
+ ✓ Fixes packages that have an incorrect dependency version (4 ms)
16
16
  ✓ Ignores packages that have a correct dependency version (2 ms)
17
- ✓ Fixes packages that have an incorrect devDependency version (2 ms)
18
- ✓ Ignores packages that have a correct devDependency version (2 ms)
19
- ✓ Fixes packages that have an incorrect dependency and devDependency versions (8 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)
20
20
  Multiple accepted versions tests
21
- ✓ Accepts a match when multiple versions are configured (2 ms)
21
+ ✓ Accepts a match when multiple versions are configured (4 ms)
22
22
  ✓ Errors when version does not match (2 ms)
23
23
 
24
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
25
  console.log
26
- package-without-scripts (/tmp/tmp-3077-27byg176jCZs)
26
+ package-without-scripts (/tmp/tmp-3129-6PZ9GKvUCHKe)
27
27
  
28
28
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
29
29
 
@@ -46,7 +46,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
46
46
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:56:10)
47
47
 
48
48
  console.log
49
- package-without-scripts (/tmp/tmp-3077-SUNaA8gaojFM)
49
+ package-without-scripts (/tmp/tmp-3129-mlW0CEL9U2ys)
50
50
  
51
51
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
52
52
 
@@ -56,7 +56,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
56
56
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
57
57
 
58
58
  console.log
59
- package-with-scripts (/tmp/tmp-3077-6Xw3eJSYv2ff)
59
+ package-with-scripts (/tmp/tmp-3129-Ie5NdznSaaNg)
60
60
  
61
61
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
62
62
 
@@ -66,7 +66,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
66
66
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
67
67
 
68
68
  console.log
69
- package-with-scripts (/tmp/tmp-3077-NQqQwvANuzOa)
69
+ package-with-scripts (/tmp/tmp-3129-DPP2Kb5alhqT)
70
70
  
71
71
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
72
72
 
@@ -89,7 +89,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
89
89
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:169:10)
90
90
 
91
91
  console.log
92
- package-with-scripts (/tmp/tmp-3077-NCA3cz4ENqlg)
92
+ package-with-scripts (/tmp/tmp-3129-XsgIo2CTAdMT)
93
93
  
94
94
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
95
95
 
@@ -99,7 +99,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
99
99
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
100
100
 
101
101
  console.log
102
- package-with-scripts (/tmp/tmp-3077-i0a2UAI5qeUz)
102
+ package-with-scripts (/tmp/tmp-3129-dkCmVjn1ztkj)
103
103
  
104
104
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
105
105
 
@@ -109,7 +109,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
109
109
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
110
110
 
111
111
  console.log
112
- package-with-scripts (/tmp/tmp-3077-jKJ9jVWNUQug)
112
+ package-with-scripts (/tmp/tmp-3129-tVbjyD0MQAbA)
113
113
  
114
114
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
115
115
 
@@ -118,10 +118,10 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
118
118
  
119
119
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
120
120
 
121
- (node:3077) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
121
+ (node:3129) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
122
122
  (Use `node --trace-warnings ...` to show where the warning was created)
123
123
  console.log
124
- package-without-scripts (/tmp/tmp-3077-zRXFTUXJCzYz)
124
+ package-without-scripts (/tmp/tmp-3129-HHkub6VSOmN5)
125
125
  
126
126
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
127
127
 
@@ -144,7 +144,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
144
144
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:56:10)
145
145
 
146
146
  console.log
147
- package-without-scripts (/tmp/tmp-3077-IisiGSdsxtD3)
147
+ package-without-scripts (/tmp/tmp-3129-rlq43ykNj1yq)
148
148
  
149
149
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
150
150
 
@@ -154,7 +154,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
154
154
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
155
155
 
156
156
  console.log
157
- package-with-scripts (/tmp/tmp-3077-HoL2YBJvS9pK)
157
+ package-with-scripts (/tmp/tmp-3129-PJ2gUK4oXslt)
158
158
  
159
159
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
160
160
 
@@ -164,7 +164,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
164
164
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
165
165
 
166
166
  console.log
167
- package-with-scripts (/tmp/tmp-3077-k5e3drWZMJGP)
167
+ package-with-scripts (/tmp/tmp-3129-g39Rp8LfL4k3)
168
168
  
169
169
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
170
170
 
@@ -187,7 +187,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
187
187
   at Object.<anonymous> (src/__tests__/packageScript.spec.ts:169:10)
188
188
 
189
189
  console.log
190
- package-with-scripts (/tmp/tmp-3077-6L5uwr7uF9rx)
190
+ package-with-scripts (/tmp/tmp-3129-hcf651eG30Zd)
191
191
  
192
192
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
193
193
 
@@ -197,7 +197,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
197
197
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
198
198
 
199
199
  console.log
200
- package-with-scripts (/tmp/tmp-3077-UIe6TYvzTucY)
200
+ package-with-scripts (/tmp/tmp-3129-zgt7lYs6k23N)
201
201
  
202
202
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
203
203
 
@@ -207,7 +207,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
207
207
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
208
208
 
209
209
  console.log
210
- package-with-scripts (/tmp/tmp-3077-bnJJfXkOMb5S)
210
+ package-with-scripts (/tmp/tmp-3129-QaXg4lqbxR7D)
211
211
  
212
212
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
213
213
 
@@ -216,53 +216,51 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
216
216
  
217
217
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
218
218
 
219
-  PASS  src/__tests__/packageScript.spec.ts (6.829 s)
219
+  PASS  src/__tests__/packageScript.spec.ts (7.123 s)
220
220
  expectPackageScript (SimpleHost)
221
221
  fix: false
222
- ✓ handles an empty script section (117 ms)
222
+ ✓ handles an empty script section (68 ms)
223
223
  fix: true
224
- ✓ fixes an empty script section (11 ms)
225
- ✓ adds a script (18 ms)
224
+ ✓ fixes an empty script section (7 ms)
225
+ ✓ adds a script (11 ms)
226
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 (17 ms)
228
- ✓ uses the fixValue for fixing if provided (6 ms)
229
- ✓ can fix to empty (6 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
230
  ✓ can allow only empty (5 ms)
231
231
  expectPackageScript (CachingHost)
232
232
  fix: false
233
- ✓ handles an empty script section (17 ms)
233
+ ✓ handles an empty script section (22 ms)
234
234
  fix: true
235
- ✓ fixes an empty script section (6 ms)
236
- ✓ adds a script (13 ms)
237
- ✓ does nothing if the value exists (5 ms)
238
- ✓ errors if long form is used and no value matches and there is no fixValue (8 ms)
235
+ ✓ fixes an empty script section (4 ms)
236
+ ✓ adds a script (7 ms)
237
+ ✓ 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
239
  ✓ uses the fixValue for fixing if provided (5 ms)
240
- ✓ can fix to empty (4 ms)
241
- ✓ can allow only empty (12 ms)
240
+ ✓ can fix to empty (15 ms)
241
+ ✓ can allow only empty (18 ms)
242
242
 
243
- (node:3074) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
244
- (Use `node --trace-warnings ...` to show where the warning was created)
245
-  PASS  src/__tests__/mustSatisfyPeerDependencies.spec.ts (7.084 s)
243
+  PASS  src/__tests__/mustSatisfyPeerDependencies.spec.ts (7.507 s)
246
244
  mustSatisfyPeerDependencies
247
245
  ✓ Flags overloaded dependency (entry in regular dependencies and peer dependencies) (5 ms)
248
246
  ✓ Flags conflicting peer dependencies (4 ms)
249
247
  ✓ Flags unsatisfied peer dependencies (test package has regular dep) (4 ms)
250
- ✓ Flags missing peer dependencies (NO regular dependency present) (16 ms)
251
- ✓ Flags unsatisfied peer dependencies (test package has peer dep) (3 ms)
252
- ✓ Honors dependencyWhitelist (9 ms)
253
- ✓ Honors dependencyBlacklist (8 ms)
248
+ ✓ Flags missing peer dependencies (NO regular dependency present) (4 ms)
249
+ ✓ Flags unsatisfied peer dependencies (test package has peer dep) (4 ms)
250
+ ✓ Honors dependencyWhitelist (4 ms)
251
+ ✓ Honors dependencyBlacklist (4 ms)
254
252
  regex tests
255
- ✓ Properly matches any version range regex (23 ms)
253
+ ✓ Properly matches any version range regex (40 ms)
256
254
  ✓ Properly matches greator or equal version range regex (13 ms)
257
- ✓ Properly matches major version range regex (7 ms)
258
- ✓ Properly matches allowed range regex (13 ms)
255
+ ✓ Properly matches major version range regex (10 ms)
256
+ ✓ Properly matches allowed range regex (17 ms)
259
257
  Determines dependencies satisfaction correctly
260
258
  ✓ version is version (1 ms)
261
- ✓ version satisfies a range (2 ms)
262
- ✓ higher version satisfies a range (3 ms)
263
- ✓ version satisfies a greator or equal version range (1 ms)
264
- ✓ higher version satisfies a greator or equal version range (2 ms)
265
- ✓ version satisfies 'any' range (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)
266
264
  ✓ greator or equal version range satisfies 'any' range (1 ms)
267
265
  ✓ range satisfies 'any' range (3 ms)
268
266
  ✓ union range satisfies 'any' range (1 ms)
@@ -271,8 +269,8 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
271
269
  ✓ version satisfies a range in union start (1 ms)
272
270
  ✓ version satisfies a range in union end (1 ms)
273
271
  ✓ higher version satisfies a range in union start (1 ms)
274
- ✓ higher version satisfies a range in union end
275
- ✓ range found in union start
272
+ ✓ higher version satisfies a range in union end (1 ms)
273
+ ✓ range found in union start (1 ms)
276
274
  ✓ range found in union end (1 ms)
277
275
  ✓ union satisfies greator or equal version range (1 ms)
278
276
  ✓ greator or equal version range satisfies greator or equal version range (1 ms)
@@ -280,34 +278,36 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
280
278
  ✓ higher range satisfies a range in union start (1 ms)
281
279
  ✓ higher range satisfies a range in union end (1 ms)
282
280
  ✓ equivalent 'any' ranges satisfy each other (1 ms)
283
- ✓ equivalent major ranges satisfy each other (4 ms)
281
+ ✓ equivalent major ranges satisfy each other (5 ms)
284
282
  ✓ version missing in union (1 ms)
285
283
  ✓ range missing in union (1 ms)
286
284
  Determines dependencies intersections correctly
287
285
  ✓ equivalence (2 ms)
288
286
  ✓ exact vs any (1 ms)
289
287
  ✓ major vs any
290
- ✓ greater or equal vs any
288
+ ✓ greater or equal vs any (1 ms)
291
289
  ✓ any vs any (1 ms)
292
290
  ✓ exact vs greater or equal (1 ms)
293
291
  ✓ major vs greater or equal (2 ms)
294
- ✓ greater or equal vs greater or equal
295
- ✓ exact vs major (2 ms)
292
+ ✓ greater or equal vs greater or equal (5 ms)
293
+ ✓ exact vs major (1 ms)
296
294
  ✓ major vs major (1 ms)
297
- ✓ exact vs union (1 ms)
298
- ✓ major vs union (2 ms)
299
- ✓ union vs union (3 ms)
295
+ ✓ exact vs union (2 ms)
296
+ ✓ major vs union (1 ms)
297
+ ✓ union vs union (4 ms)
300
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
301
   PASS  src/__tests__/bannedDependencies.spec.ts
302
302
  bannedDependencies
303
303
  ✓ Flags banned dependencies correctly (9 ms)
304
- ✓ Flags banned dependencies correctly w legacy globs (2 ms)
305
- ✓ Flags banned dependencies correctly w new globs (1 ms)
306
- ✓ Flags banned dependencies correctly w exact (2 ms)
307
- ✓ Flags banned transitives correctly (5 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)
308
308
 
309
309
  console.log
310
- package (/tmp/tmp-3077-giEA3mKdRUx1)
310
+ package (/tmp/tmp-3129-T5Kb6VjghuN1)
311
311
  
312
312
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
313
313
 
@@ -317,7 +317,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
317
317
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
318
318
 
319
319
  console.log
320
- package (/tmp/tmp-3077-43DIKE6Yahqa)
320
+ package (/tmp/tmp-3129-IvMvc3uqd9P1)
321
321
  
322
322
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
323
323
 
@@ -327,7 +327,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
327
327
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
328
328
 
329
329
  console.log
330
- package (/tmp/tmp-3077-hgx2Dy8dVnir)
330
+ package (/tmp/tmp-3129-0h5XPczSDg4h)
331
331
  
332
332
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
333
333
 
@@ -350,7 +350,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
350
350
   at Object.<anonymous> (src/__tests__/packageEntry.spec.ts:158:10)
351
351
 
352
352
  console.log
353
- package (/tmp/tmp-3077-O062Y0oxN4Ax)
353
+ package (/tmp/tmp-3129-h1YiHS5TxVWb)
354
354
  
355
355
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
356
356
 
@@ -378,7 +378,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
378
378
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
379
379
 
380
380
  console.log
381
- package (/tmp/tmp-3077-dv5YNhHjyQmW)
381
+ package (/tmp/tmp-3129-Y2GT9ISw7Fjw)
382
382
  
383
383
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
384
384
 
@@ -388,7 +388,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
388
388
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
389
389
 
390
390
  console.log
391
- package (/tmp/tmp-3077-gIKBhF6Qmzh8)
391
+ package (/tmp/tmp-3129-NmLhv18Xhmnr)
392
392
  
393
393
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
394
394
 
@@ -398,7 +398,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
398
398
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
399
399
 
400
400
  console.log
401
- package (/tmp/tmp-3077-z1r7H8JL9u1C)
401
+ package (/tmp/tmp-3129-Dfq19zpfEpZF)
402
402
  
403
403
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
404
404
 
@@ -421,7 +421,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
421
421
   at Object.<anonymous> (src/__tests__/packageEntry.spec.ts:158:10)
422
422
 
423
423
  console.log
424
- package (/tmp/tmp-3077-17BA07Yll5qh)
424
+ package (/tmp/tmp-3129-jeSlKG7Omcrq)
425
425
  
426
426
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
427
427
 
@@ -443,6 +443,15 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
443
443
   at Object.check (src/util/makeRule.ts:20:27)
444
444
   at Object.<anonymous> (src/__tests__/packageEntry.spec.ts:186:10)
445
445
 
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
+
446
455
  console.log
447
456
  Fixed! package.json: Expected standardized entry for 'repository'
448
457
  
@@ -451,35 +460,32 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
451
460
   PASS  src/__tests__/packageEntry.spec.ts
452
461
  expectPackageEntries (SimpleHost)
453
462
  fix: true
454
- ✓ fixes missing entries (22 ms)
455
- ✓ fixes missing nested entries (4 ms)
456
- ✓ doesn't error for nested entries that are defined (8 ms)
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)
457
466
  ✓ errors for keys that are missing (8 ms)
458
- ✓ handles both entries and entriesExist (12 ms)
467
+ ✓ handles both entries and entriesExist (11 ms)
459
468
  expectPackageEntries (CachingHost)
460
469
  fix: true
461
- ✓ fixes missing entries (7 ms)
462
- ✓ fixes missing nested entries (5 ms)
470
+ ✓ fixes missing entries (6 ms)
471
+ ✓ fixes missing nested entries (4 ms)
463
472
  ✓ doesn't error for nested entries that are defined (1 ms)
464
473
  ✓ errors for keys that are missing (8 ms)
465
- ✓ handles both entries and entriesExist (9 ms)
474
+ ✓ handles both entries and entriesExist (16 ms)
466
475
 
467
-  PASS  src/__tests__/nestedWorkspaces.spec.ts
468
- nestedWorkspaces
469
- ✓ checks correctly when no packages (9 ms)
470
- ✓ checks correctly when one level packages (5 ms)
471
- ✓ checks fail when one level packages with no workspaces field (8 ms)
472
- ✓ checks correctly when two level packages with two level workspaces field (5 ms)
473
- ✓ checks fail when two level packages with one level workspaces field (5 ms)
474
- ✓ checks correctly when three level packages with three level workspaces field (7 ms)
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)
475
481
 
476
482
   PASS  src/__tests__/requireDependency.spec.ts
477
483
  requireDependency
478
- ✓ checks correctly (28 ms)
479
- ✓ fixes correctly (6 ms)
484
+ ✓ checks correctly (27 ms)
485
+ ✓ fixes correctly (5 ms)
480
486
 
481
487
  console.log
482
- package (/tmp/tmp-3077-d2c1shMv3lXz)
488
+ package (/tmp/tmp-3122-DPAHqKiQXptG)
483
489
  
484
490
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
485
491
 
@@ -489,7 +495,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
489
495
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
490
496
 
491
497
  console.log
492
- package-unknown-keys (/tmp/tmp-3077-l1enrDcAG1Yc)
498
+ package-unknown-keys (/tmp/tmp-3122-MWLNGzuUNpdO)
493
499
  
494
500
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
495
501
 
@@ -499,7 +505,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
499
505
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
500
506
 
501
507
  console.log
502
- package (/tmp/tmp-3077-vvQSw0pzrlj7)
508
+ package (/tmp/tmp-3122-12mlKCdAoUQ3)
503
509
  
504
510
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
505
511
 
@@ -509,7 +515,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
509
515
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
510
516
 
511
517
  console.log
512
- package (/tmp/tmp-3077-focJcIBccrxe)
518
+ package (/tmp/tmp-3122-t0N204zpaX0b)
513
519
  
514
520
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
515
521
 
@@ -519,7 +525,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
519
525
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
520
526
 
521
527
  console.log
522
- package-unknown-keys (/tmp/tmp-3077-ikuhj0T3d1od)
528
+ package-unknown-keys (/tmp/tmp-3122-fR0cK4RSORhZ)
523
529
  
524
530
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
525
531
 
@@ -529,37 +535,31 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
529
535
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
530
536
 
531
537
  console.log
532
- package (/tmp/tmp-3077-ayPIQXbMDjAc)
538
+ package (/tmp/tmp-3122-TstyQ6vS7FmR)
533
539
  
534
540
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
535
541
 
536
542
  console.log
537
-  PASS  src/__tests__/packageOrder.spec.ts
538
543
  Fixed! package.json: Incorrect order of fields in package.json
539
544
  
540
545
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
541
- expectPackageOrder (SimpleHost)
542
546
 
547
+  PASS  src/__tests__/packageOrder.spec.ts
548
+ expectPackageOrder (SimpleHost)
543
549
  fix: true
544
- ✓ fixes order for expected keys (16 ms)
545
- ✓ fixes order for unexpected keys (34 ms)
546
- ✓ fixes order using function (5 ms)
550
+ ✓ fixes order for expected keys (58 ms)
551
+ ✓ fixes order for unexpected keys (10 ms)
552
+ ✓ fixes order using function (4 ms)
547
553
  ✓ does nothing if already order (1 ms)
548
554
  expectPackageOrder (CachingHost)
549
555
  fix: true
550
- ✓ fixes order for expected keys (16 ms)
551
- ✓ fixes order for unexpected keys (4 ms)
552
- ✓ fixes order using function (2 ms)
553
- ✓ does nothing if already order
554
-
555
-  PASS  src/__tests__/consistentDependencies.spec.ts
556
- consistentDependencies
557
- ✓ checks correctly (12 ms)
558
- ✓ fixes correctly (2 ms)
559
- ✓ ignores ignored dependencies (2 ms)
556
+ ✓ fixes order for expected keys (7 ms)
557
+ ✓ fixes order for unexpected keys (5 ms)
558
+ ✓ fixes order using function (5 ms)
559
+ ✓ does nothing if already order (1 ms)
560
560
 
561
561
  console.log
562
- foo-lib (/tmp/tmp-3077-D8sW3pL75s7I)
562
+ foo-lib (/tmp/tmp-3123-i5arU1knGTni)
563
563
  
564
564
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
565
565
 
@@ -569,7 +569,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
569
569
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
570
570
 
571
571
  console.log
572
- foo-lib (/tmp/tmp-3077-7tCwR6HVBLZC)
572
+ foo-lib (/tmp/tmp-3123-QLsBS0p2b059)
573
573
  
574
574
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
575
575
 
@@ -581,15 +581,15 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
581
581
   PASS  src/__tests__/alphabeticalScripts.spec.ts
582
582
  alphabeticalScripts (SimpleHost)
583
583
  fix: true
584
- ✓ fixes unsorted scripts (9 ms)
584
+ ✓ fixes unsorted scripts (72 ms)
585
585
  ✓ does nothing if already sorted (1 ms)
586
586
  alphabeticalScripts (CachingHost)
587
587
  fix: true
588
- ✓ fixes unsorted scripts (4 ms)
588
+ ✓ fixes unsorted scripts (12 ms)
589
589
  ✓ does nothing if already sorted (1 ms)
590
590
 
591
591
  console.log
592
- rootProject (/tmp/tmp-3075-W1GYzH08V0uh)
592
+ rootProject (/tmp/tmp-3129-dJTM4mN6skMw)
593
593
  
594
594
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
595
595
 
@@ -599,7 +599,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
599
599
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
600
600
 
601
601
  console.log
602
- rootProject (/tmp/tmp-3075-JQ5tDHaZ8Jyn)
602
+ rootProject (/tmp/tmp-3129-4vI9MBLc2j59)
603
603
  
604
604
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
605
605
 
@@ -609,7 +609,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
609
609
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
610
610
 
611
611
  console.log
612
- rootProject (/tmp/tmp-3075-Na3CcANo84Rk)
612
+ rootProject (/tmp/tmp-3129-18lPNpCP74G6)
613
613
  
614
614
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
615
615
 
@@ -619,7 +619,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
619
619
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
620
620
 
621
621
  console.log
622
- rootProject (/tmp/tmp-3075-3wseX6zXWeGh)
622
+ rootProject (/tmp/tmp-3129-B3A19DlXSluA)
623
623
  
624
624
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
625
625
 
@@ -629,7 +629,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
629
629
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
630
630
 
631
631
  console.log
632
- rootProject (/tmp/tmp-3075-FYaOZNLnGv4o)
632
+ rootProject (/tmp/tmp-3129-n3y32xcRcdJN)
633
633
  
634
634
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
635
635
 
@@ -639,7 +639,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
639
639
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
640
640
 
641
641
  console.log
642
- rootProject (/tmp/tmp-3075-M8UmWBZv0uiL)
642
+ rootProject (/tmp/tmp-3129-CQysU7tEtPq0)
643
643
  
644
644
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
645
645
 
@@ -651,17 +651,17 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
651
651
   PASS  src/__tests__/fileContents.spec.ts
652
652
  fileContents (SimpleHost)
653
653
  fix: true
654
- ✓ works with async generator (44 ms)
654
+ ✓ works with async generator (7 ms)
655
655
  ✓ fixes missing file (2 ms)
656
- ✓ fixes missing nested file (2 ms)
656
+ ✓ fixes missing nested file (3 ms)
657
657
  fileContents (CachingHost)
658
658
  fix: true
659
- ✓ works with async generator (10 ms)
660
- ✓ fixes missing file (8 ms)
661
- ✓ fixes missing nested file (5 ms)
659
+ ✓ works with async generator (4 ms)
660
+ ✓ fixes missing file (3 ms)
661
+ ✓ fixes missing nested file (3 ms)
662
662
 
663
663
  Test Suites: 11 passed, 11 total
664
664
  Tests: 118 passed, 118 total
665
665
  Snapshots: 0 total
666
- Time: 9.57 s
666
+ Time: 9.954 s
667
667
  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/index.js 50.11 KB
13
12
  ESM build/js/public/util.js 106.00 B
13
+ ESM build/js/index.js 50.16 KB
14
14
  ESM build/js/chunk-A2MUUSNE.js 512.00 B
15
15
  ESM build/js/public/util.js.map 71.00 B
16
- ESM build/js/index.js.map 100.21 KB
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 65ms
18
+ ESM ⚡️ Build success in 106ms