@monorepolint/rules 0.5.0-alpha.134 → 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.
@@ -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,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:3075) 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.442 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 (10 ms)
15
- ✓ Fixes packages that have an incorrect dependency version (5 ms)
16
+ ✓ Does nothing when arguments are empty (12 ms)
17
+ ✓ Fixes packages that have an incorrect dependency version (4 ms)
16
18
  ✓ Ignores packages that have a correct dependency version (2 ms)
17
19
  ✓ Fixes packages that have an incorrect devDependency version (2 ms)
18
20
  ✓ Ignores packages that have a correct devDependency version (2 ms)
19
- ✓ Fixes packages that have an incorrect dependency and devDependency versions (8 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 (2 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-3077-27byg176jCZs)
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-3077-SUNaA8gaojFM)
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-3077-6Xw3eJSYv2ff)
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-3077-NQqQwvANuzOa)
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-3077-NCA3cz4ENqlg)
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-3077-i0a2UAI5qeUz)
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-3077-jKJ9jVWNUQug)
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:3077) 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-3077-zRXFTUXJCzYz)
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-3077-IisiGSdsxtD3)
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-3077-HoL2YBJvS9pK)
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-3077-k5e3drWZMJGP)
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-3077-6L5uwr7uF9rx)
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-3077-UIe6TYvzTucY)
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-3077-bnJJfXkOMb5S)
211
+ package-with-scripts (/tmp/tmp-3054-m6EmeRbESFBN)
211
212
  
212
213
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
213
214
 
@@ -216,67 +217,67 @@ 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 (6.829 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 (117 ms)
223
+ ✓ handles an empty script section (102 ms)
223
224
  fix: true
224
- ✓ fixes an empty script section (11 ms)
225
- ✓ adds a script (18 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 (17 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)
228
229
  ✓ uses the fixValue for fixing if provided (6 ms)
229
- ✓ can fix to empty (6 ms)
230
- ✓ can allow only empty (5 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 (17 ms)
234
+ ✓ handles an empty script section (11 ms)
234
235
  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)
236
+ ✓ fixes an empty script section (9 ms)
237
+ ✓ adds a script (9 ms)
238
+ ✓ does nothing if the value exists (2 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 (4 ms)
241
- ✓ can allow only empty (12 ms)
241
+ ✓ can fix to empty (9 ms)
242
+ ✓ can allow only empty (5 ms)
242
243
 
243
- (node:3074) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
244
+ (node:3047) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
244
245
  (Use `node --trace-warnings ...` to show where the warning was created)
245
-  PASS  src/__tests__/mustSatisfyPeerDependencies.spec.ts (7.084 s)
246
+  PASS  src/__tests__/mustSatisfyPeerDependencies.spec.ts (7.357 s)
246
247
  mustSatisfyPeerDependencies
247
248
  ✓ Flags overloaded dependency (entry in regular dependencies and peer dependencies) (5 ms)
248
249
  ✓ Flags conflicting peer dependencies (4 ms)
249
- ✓ 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)
250
+ ✓ Flags unsatisfied peer dependencies (test package has regular dep) (3 ms)
251
+ ✓ Flags missing peer dependencies (NO regular dependency present) (4 ms)
252
+ ✓ Flags unsatisfied peer dependencies (test package has peer dep) (4 ms)
253
+ ✓ Honors dependencyWhitelist (3 ms)
254
+ ✓ Honors dependencyBlacklist (3 ms)
254
255
  regex tests
255
- ✓ Properly matches any version range regex (23 ms)
256
- ✓ 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)
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)
259
260
  Determines dependencies satisfaction correctly
260
- ✓ version is version (1 ms)
261
- ✓ version satisfies a range (2 ms)
261
+ ✓ version is version (2 ms)
262
+ ✓ version satisfies a range (3 ms)
262
263
  ✓ higher version satisfies a range (3 ms)
263
264
  ✓ version satisfies a greator or equal version range (1 ms)
264
- ✓ higher version satisfies a greator or equal version range (2 ms)
265
+ ✓ higher version satisfies a greator or equal version range (4 ms)
265
266
  ✓ version satisfies 'any' range (1 ms)
266
267
  ✓ greator or equal version range satisfies 'any' range (1 ms)
267
- ✓ range satisfies 'any' range (3 ms)
268
+ ✓ range satisfies 'any' range (1 ms)
268
269
  ✓ union range satisfies 'any' range (1 ms)
269
270
  ✓ version found in union start (1 ms)
270
271
  ✓ version found in union end (1 ms)
271
272
  ✓ version satisfies a range in union start (1 ms)
272
- ✓ version satisfies a range in union end (1 ms)
273
+ ✓ version satisfies a range in union end
273
274
  ✓ 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
276
- ✓ range found in union end (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
277
278
  ✓ union satisfies greator or equal version range (1 ms)
278
279
  ✓ greator or equal version range satisfies greator or equal version range (1 ms)
279
- ✓ equivalent greator or equal version ranges satisfy each other (1 ms)
280
+ ✓ equivalent greator or equal version ranges satisfy each other (2 ms)
280
281
  ✓ higher range satisfies a range in union start (1 ms)
281
282
  ✓ higher range satisfies a range in union end (1 ms)
282
283
  ✓ equivalent 'any' ranges satisfy each other (1 ms)
@@ -284,30 +285,22 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
284
285
  ✓ version missing in union (1 ms)
285
286
  ✓ range missing in union (1 ms)
286
287
  Determines dependencies intersections correctly
287
- ✓ equivalence (2 ms)
288
+ ✓ equivalence (1 ms)
288
289
  ✓ exact vs any (1 ms)
289
290
  ✓ major vs any
290
- ✓ greater or equal vs any
291
- ✓ any vs any (1 ms)
291
+ ✓ greater or equal vs any (1 ms)
292
+ ✓ any vs any
292
293
  ✓ exact vs greater or equal (1 ms)
293
- ✓ major vs greater or equal (2 ms)
294
- ✓ greater or equal vs greater or equal
294
+ ✓ major vs greater or equal (1 ms)
295
+ ✓ greater or equal vs greater or equal (1 ms)
295
296
  ✓ exact vs major (2 ms)
296
297
  ✓ major vs major (1 ms)
297
- ✓ exact vs union (1 ms)
298
- ✓ major vs union (2 ms)
299
- ✓ union vs union (3 ms)
300
-
301
-  PASS  src/__tests__/bannedDependencies.spec.ts
302
- bannedDependencies
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)
298
+ ✓ exact vs union (3 ms)
299
+ ✓ major vs union (1 ms)
300
+ ✓ union vs union (2 ms)
308
301
 
309
302
  console.log
310
- package (/tmp/tmp-3077-giEA3mKdRUx1)
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-3077-43DIKE6Yahqa)
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-3077-hgx2Dy8dVnir)
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-3077-O062Y0oxN4Ax)
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-3077-dv5YNhHjyQmW)
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-3077-gIKBhF6Qmzh8)
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-3077-z1r7H8JL9u1C)
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-3077-17BA07Yll5qh)
425
+ package (/tmp/tmp-3054-yusqPb2QjmGl)
425
426
  
426
427
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
427
428
 
@@ -451,35 +452,35 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
451
452
   PASS  src/__tests__/packageEntry.spec.ts
452
453
  expectPackageEntries (SimpleHost)
453
454
  fix: true
454
- ✓ fixes missing entries (22 ms)
455
+ ✓ fixes missing entries (16 ms)
455
456
  ✓ fixes missing nested entries (4 ms)
456
- ✓ doesn't error for nested entries that are defined (8 ms)
457
+ ✓ doesn't error for nested entries that are defined (2 ms)
457
458
  ✓ errors for keys that are missing (8 ms)
458
459
  ✓ handles both entries and entriesExist (12 ms)
459
460
  expectPackageEntries (CachingHost)
460
461
  fix: true
461
- ✓ fixes missing entries (7 ms)
462
- ✓ fixes missing nested entries (5 ms)
463
- ✓ doesn't error for nested entries that are defined (1 ms)
464
- ✓ errors for keys that are missing (8 ms)
462
+ ✓ fixes missing entries (11 ms)
463
+ ✓ fixes missing nested entries (4 ms)
464
+ ✓ doesn't error for nested entries that are defined (2 ms)
465
+ ✓ errors for keys that are missing (11 ms)
465
466
  ✓ handles both entries and entriesExist (9 ms)
466
467
 
467
468
   PASS  src/__tests__/nestedWorkspaces.spec.ts
468
469
  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)
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)
473
474
  ✓ checks fail when two level packages with one level workspaces field (5 ms)
474
475
  ✓ checks correctly when three level packages with three level workspaces field (7 ms)
475
476
 
476
477
   PASS  src/__tests__/requireDependency.spec.ts
477
478
  requireDependency
478
- ✓ checks correctly (28 ms)
479
- ✓ fixes correctly (6 ms)
479
+ ✓ checks correctly (7 ms)
480
+ ✓ fixes correctly (3 ms)
480
481
 
481
482
  console.log
482
- package (/tmp/tmp-3077-d2c1shMv3lXz)
483
+ package (/tmp/tmp-3054-VyAb1MV7asrC)
483
484
  
484
485
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
485
486
 
@@ -489,7 +490,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
489
490
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
490
491
 
491
492
  console.log
492
- package-unknown-keys (/tmp/tmp-3077-l1enrDcAG1Yc)
493
+ package-unknown-keys (/tmp/tmp-3054-Goqg7fTEOpH5)
493
494
  
494
495
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
495
496
 
@@ -499,7 +500,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
499
500
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
500
501
 
501
502
  console.log
502
- package (/tmp/tmp-3077-vvQSw0pzrlj7)
503
+ package (/tmp/tmp-3054-ZToJDiiqzkN2)
503
504
  
504
505
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
505
506
 
@@ -509,7 +510,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
509
510
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
510
511
 
511
512
  console.log
512
- package (/tmp/tmp-3077-focJcIBccrxe)
513
+ package (/tmp/tmp-3054-oUWnnJcoT5oR)
513
514
  
514
515
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
515
516
 
@@ -518,8 +519,14 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
518
519
  
519
520
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
520
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
+
521
528
  console.log
522
- package-unknown-keys (/tmp/tmp-3077-ikuhj0T3d1od)
529
+ package-unknown-keys (/tmp/tmp-3054-QNl0UnY4LoS4)
523
530
  
524
531
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
525
532
 
@@ -529,37 +536,31 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
529
536
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
530
537
 
531
538
  console.log
532
- package (/tmp/tmp-3077-ayPIQXbMDjAc)
539
+ package (/tmp/tmp-3054-wKTBFject0fb)
533
540
  
534
541
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
535
542
 
536
543
  console.log
537
-  PASS  src/__tests__/packageOrder.spec.ts
538
544
  Fixed! package.json: Incorrect order of fields in package.json
539
545
  
540
546
   at WorkspaceContextImpl.print (../core/src/PackageContext.ts:133:13)
541
- expectPackageOrder (SimpleHost)
542
547
 
548
+  PASS  src/__tests__/packageOrder.spec.ts
549
+ expectPackageOrder (SimpleHost)
543
550
  fix: true
544
551
  ✓ fixes order for expected keys (16 ms)
545
- ✓ fixes order for unexpected keys (34 ms)
552
+ ✓ fixes order for unexpected keys (40 ms)
546
553
  ✓ fixes order using function (5 ms)
547
- ✓ does nothing if already order (1 ms)
554
+ ✓ does nothing if already order (2 ms)
548
555
  expectPackageOrder (CachingHost)
549
556
  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)
557
+ ✓ fixes order for expected keys (6 ms)
558
+ ✓ fixes order for unexpected keys (5 ms)
559
+ ✓ fixes order using function (5 ms)
560
+ ✓ does nothing if already order (2 ms)
560
561
 
561
562
  console.log
562
- foo-lib (/tmp/tmp-3077-D8sW3pL75s7I)
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-3077-7tCwR6HVBLZC)
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 (9 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 (4 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-3075-W1GYzH08V0uh)
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-3075-JQ5tDHaZ8Jyn)
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-3075-Na3CcANo84Rk)
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-3075-3wseX6zXWeGh)
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-3075-FYaOZNLnGv4o)
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-3075-M8UmWBZv0uiL)
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 (44 ms)
655
- ✓ fixes missing file (2 ms)
656
- ✓ fixes missing nested file (2 ms)
655
+ ✓ works with async generator (45 ms)
656
+ ✓ fixes missing file (3 ms)
657
+ ✓ fixes missing nested file (3 ms)
657
658
  fileContents (CachingHost)
658
659
  fix: true
659
- ✓ works with async generator (10 ms)
660
- ✓ fixes missing file (8 ms)
661
- ✓ fixes missing nested file (5 ms)
660
+ ✓ works with async generator (5 ms)
661
+ ✓ fixes missing file (3 ms)
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.57 s
667
+ Time: 9.84 s
667
668
  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 81ms