@monorepolint/rules 0.5.0-alpha.137 → 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.
- package/.turbo/turbo-test.log +177 -178
- package/.turbo/turbo-transpile-typescript.log +1 -1
- package/package.json +5 -5
package/.turbo/turbo-test.log
CHANGED
|
@@ -3,27 +3,84 @@
|
|
|
3
3
|
> NODE_OPTIONS=--experimental-vm-modules jest --colors --passWithNoTests
|
|
4
4
|
|
|
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
|
-
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
|
-
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
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 `'.'`
|
|
9
|
-
(
|
|
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
|
+
(node:3111) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
|
|
10
9
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
11
|
-
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mconsistentVersions.spec.ts[22m ([0m[1m[
|
|
10
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mconsistentVersions.spec.ts[22m ([0m[1m[41m7.428 s[49m[22m[0m)
|
|
12
11
|
consistentVersions
|
|
13
12
|
standard tests
|
|
14
|
-
[32m✓[39m [2mDoes nothing when arguments are empty (
|
|
13
|
+
[32m✓[39m [2mDoes nothing when arguments are empty (10 ms)[22m
|
|
15
14
|
[32m✓[39m [2mFixes packages that have an incorrect dependency version (4 ms)[22m
|
|
16
15
|
[32m✓[39m [2mIgnores packages that have a correct dependency version (2 ms)[22m
|
|
17
16
|
[32m✓[39m [2mFixes packages that have an incorrect devDependency version (3 ms)[22m
|
|
18
17
|
[32m✓[39m [2mIgnores packages that have a correct devDependency version (2 ms)[22m
|
|
19
|
-
[32m✓[39m [2mFixes packages that have an incorrect dependency and devDependency versions (
|
|
18
|
+
[32m✓[39m [2mFixes packages that have an incorrect dependency and devDependency versions (6 ms)[22m
|
|
20
19
|
Multiple accepted versions tests
|
|
21
20
|
[32m✓[39m [2mAccepts a match when multiple versions are configured (2 ms)[22m
|
|
22
|
-
[32m✓[39m [2mErrors when version does not match (
|
|
21
|
+
[32m✓[39m [2mErrors when version does not match (3 ms)[22m
|
|
23
22
|
|
|
24
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
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mmustSatisfyPeerDependencies.spec.ts[22m ([0m[1m[41m7.619 s[49m[22m[0m)
|
|
27
|
+
mustSatisfyPeerDependencies
|
|
28
|
+
[32m✓[39m [2mFlags overloaded dependency (entry in regular dependencies and peer dependencies) (4 ms)[22m
|
|
29
|
+
[32m✓[39m [2mFlags conflicting peer dependencies (4 ms)[22m
|
|
30
|
+
[32m✓[39m [2mFlags unsatisfied peer dependencies (test package has regular dep) (5 ms)[22m
|
|
31
|
+
[32m✓[39m [2mFlags missing peer dependencies (NO regular dependency present) (4 ms)[22m
|
|
32
|
+
[32m✓[39m [2mFlags unsatisfied peer dependencies (test package has peer dep) (6 ms)[22m
|
|
33
|
+
[32m✓[39m [2mHonors dependencyWhitelist (4 ms)[22m
|
|
34
|
+
[32m✓[39m [2mHonors dependencyBlacklist (4 ms)[22m
|
|
35
|
+
regex tests
|
|
36
|
+
[32m✓[39m [2mProperly matches any version range regex (32 ms)[22m
|
|
37
|
+
[32m✓[39m [2mProperly matches greator or equal version range regex (15 ms)[22m
|
|
38
|
+
[32m✓[39m [2mProperly matches major version range regex (8 ms)[22m
|
|
39
|
+
[32m✓[39m [2mProperly matches allowed range regex (15 ms)[22m
|
|
40
|
+
Determines dependencies satisfaction correctly
|
|
41
|
+
[32m✓[39m [2mversion is version (1 ms)[22m
|
|
42
|
+
[32m✓[39m [2mversion satisfies a range (3 ms)[22m
|
|
43
|
+
[32m✓[39m [2mhigher version satisfies a range (2 ms)[22m
|
|
44
|
+
[32m✓[39m [2mversion satisfies a greator or equal version range (1 ms)[22m
|
|
45
|
+
[32m✓[39m [2mhigher version satisfies a greator or equal version range (1 ms)[22m
|
|
46
|
+
[32m✓[39m [2mversion satisfies 'any' range (1 ms)[22m
|
|
47
|
+
[32m✓[39m [2mgreator or equal version range satisfies 'any' range (1 ms)[22m
|
|
48
|
+
[32m✓[39m [2mrange satisfies 'any' range (1 ms)[22m
|
|
49
|
+
[32m✓[39m [2munion range satisfies 'any' range (1 ms)[22m
|
|
50
|
+
[32m✓[39m [2mversion found in union start (1 ms)[22m
|
|
51
|
+
[32m✓[39m [2mversion found in union end (1 ms)[22m
|
|
52
|
+
[32m✓[39m [2mversion satisfies a range in union start (1 ms)[22m
|
|
53
|
+
[32m✓[39m [2mversion satisfies a range in union end (1 ms)[22m
|
|
54
|
+
[32m✓[39m [2mhigher version satisfies a range in union start (5 ms)[22m
|
|
55
|
+
[32m✓[39m [2mhigher version satisfies a range in union end (1 ms)[22m
|
|
56
|
+
[32m✓[39m [2mrange found in union start (1 ms)[22m
|
|
57
|
+
[32m✓[39m [2mrange found in union end (1 ms)[22m
|
|
58
|
+
[32m✓[39m [2munion satisfies greator or equal version range (2 ms)[22m
|
|
59
|
+
[32m✓[39m [2mgreator or equal version range satisfies greator or equal version range (1 ms)[22m
|
|
60
|
+
[32m✓[39m [2mequivalent greator or equal version ranges satisfy each other (1 ms)[22m
|
|
61
|
+
[32m✓[39m [2mhigher range satisfies a range in union start (1 ms)[22m
|
|
62
|
+
[32m✓[39m [2mhigher range satisfies a range in union end (1 ms)[22m
|
|
63
|
+
[32m✓[39m [2mequivalent 'any' ranges satisfy each other[22m
|
|
64
|
+
[32m✓[39m [2mequivalent major ranges satisfy each other (2 ms)[22m
|
|
65
|
+
[32m✓[39m [2mversion missing in union (1 ms)[22m
|
|
66
|
+
[32m✓[39m [2mrange missing in union[22m
|
|
67
|
+
Determines dependencies intersections correctly
|
|
68
|
+
[32m✓[39m [2mequivalence (2 ms)[22m
|
|
69
|
+
[32m✓[39m [2mexact vs any (1 ms)[22m
|
|
70
|
+
[32m✓[39m [2mmajor vs any[22m
|
|
71
|
+
[32m✓[39m [2mgreater or equal vs any (1 ms)[22m
|
|
72
|
+
[32m✓[39m [2many vs any[22m
|
|
73
|
+
[32m✓[39m [2mexact vs greater or equal[22m
|
|
74
|
+
[32m✓[39m [2mmajor vs greater or equal (1 ms)[22m
|
|
75
|
+
[32m✓[39m [2mgreater or equal vs greater or equal[22m
|
|
76
|
+
[32m✓[39m [2mexact vs major (1 ms)[22m
|
|
77
|
+
[32m✓[39m [2mmajor vs major (1 ms)[22m
|
|
78
|
+
[32m✓[39m [2mexact vs union[22m
|
|
79
|
+
[32m✓[39m [2mmajor vs union[22m
|
|
80
|
+
[32m✓[39m [2munion vs union (2 ms)[22m
|
|
81
|
+
|
|
25
82
|
[2mconsole.log[22m
|
|
26
|
-
[34mpackage-without-scripts[39m (/tmp/tmp-
|
|
83
|
+
[34mpackage-without-scripts[39m (/tmp/tmp-3112-NGj7eBHhDPd2)
|
|
27
84
|
[2m[22m
|
|
28
85
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
29
86
|
|
|
@@ -46,7 +103,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
46
103
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageScript.spec.ts[2m:56:10)[22m[2m[22m
|
|
47
104
|
|
|
48
105
|
[2mconsole.log[22m
|
|
49
|
-
[34mpackage-without-scripts[39m (/tmp/tmp-
|
|
106
|
+
[34mpackage-without-scripts[39m (/tmp/tmp-3112-pmJdrIG1gMzW)
|
|
50
107
|
[2m[22m
|
|
51
108
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
52
109
|
|
|
@@ -56,7 +113,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
56
113
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
57
114
|
|
|
58
115
|
[2mconsole.log[22m
|
|
59
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
116
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3112-UOGD7vB7EQuu)
|
|
60
117
|
[2m[22m
|
|
61
118
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
62
119
|
|
|
@@ -66,7 +123,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
66
123
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
67
124
|
|
|
68
125
|
[2mconsole.log[22m
|
|
69
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
126
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3112-CW6g2ttBfO5o)
|
|
70
127
|
[2m[22m
|
|
71
128
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
72
129
|
|
|
@@ -89,7 +146,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
89
146
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageScript.spec.ts[2m:169:10)[22m[2m[22m
|
|
90
147
|
|
|
91
148
|
[2mconsole.log[22m
|
|
92
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
149
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3112-Lj6gSo5cM4on)
|
|
93
150
|
[2m[22m
|
|
94
151
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
95
152
|
|
|
@@ -99,7 +156,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
99
156
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
100
157
|
|
|
101
158
|
[2mconsole.log[22m
|
|
102
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
159
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3112-CANy5ltymaQ1)
|
|
103
160
|
[2m[22m
|
|
104
161
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
105
162
|
|
|
@@ -109,7 +166,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
109
166
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
110
167
|
|
|
111
168
|
[2mconsole.log[22m
|
|
112
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
169
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3112-65kM5iUk4mhz)
|
|
113
170
|
[2m[22m
|
|
114
171
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
115
172
|
|
|
@@ -118,10 +175,10 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
118
175
|
[2m[22m
|
|
119
176
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
120
177
|
|
|
121
|
-
(node:
|
|
178
|
+
(node:3112) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
|
|
122
179
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
123
180
|
[2mconsole.log[22m
|
|
124
|
-
[34mpackage-without-scripts[39m (/tmp/tmp-
|
|
181
|
+
[34mpackage-without-scripts[39m (/tmp/tmp-3112-RDCj4enFLHlf)
|
|
125
182
|
[2m[22m
|
|
126
183
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
127
184
|
|
|
@@ -144,7 +201,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
144
201
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageScript.spec.ts[2m:56:10)[22m[2m[22m
|
|
145
202
|
|
|
146
203
|
[2mconsole.log[22m
|
|
147
|
-
[34mpackage-without-scripts[39m (/tmp/tmp-
|
|
204
|
+
[34mpackage-without-scripts[39m (/tmp/tmp-3112-aYRiACSBJhZW)
|
|
148
205
|
[2m[22m
|
|
149
206
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
150
207
|
|
|
@@ -154,7 +211,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
154
211
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
155
212
|
|
|
156
213
|
[2mconsole.log[22m
|
|
157
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
214
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3112-SNcNbik1UzDY)
|
|
158
215
|
[2m[22m
|
|
159
216
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
160
217
|
|
|
@@ -164,7 +221,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
164
221
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
165
222
|
|
|
166
223
|
[2mconsole.log[22m
|
|
167
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
224
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3112-qjIXnvQkJUtN)
|
|
168
225
|
[2m[22m
|
|
169
226
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
170
227
|
|
|
@@ -187,7 +244,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
187
244
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageScript.spec.ts[2m:169:10)[22m[2m[22m
|
|
188
245
|
|
|
189
246
|
[2mconsole.log[22m
|
|
190
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
247
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3112-LBPHDWvm2kuF)
|
|
191
248
|
[2m[22m
|
|
192
249
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
193
250
|
|
|
@@ -197,7 +254,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
197
254
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
198
255
|
|
|
199
256
|
[2mconsole.log[22m
|
|
200
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
257
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3112-QDvKNuW4xt0W)
|
|
201
258
|
[2m[22m
|
|
202
259
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
203
260
|
|
|
@@ -207,8 +264,13 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
207
264
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
208
265
|
|
|
209
266
|
[2mconsole.log[22m
|
|
210
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
267
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3112-247ke2OtQv9F)
|
|
268
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageScript.spec.ts[22m ([0m[1m[41m8.147 s[49m[22m[0m)
|
|
211
269
|
[2m[22m
|
|
270
|
+
expectPackageScript (SimpleHost)
|
|
271
|
+
fix: false
|
|
272
|
+
[32m✓[39m [2mhandles an empty script section (122 ms)[22m
|
|
273
|
+
fix: true
|
|
212
274
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
213
275
|
|
|
214
276
|
[2mconsole.log[22m
|
|
@@ -216,90 +278,27 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
216
278
|
[2m[22m
|
|
217
279
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
218
280
|
|
|
219
|
-
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageScript.spec.ts[22m ([0m[1m[41m6.887 s[49m[22m[0m)
|
|
220
|
-
expectPackageScript (SimpleHost)
|
|
221
|
-
fix: false
|
|
222
|
-
[32m✓[39m [2mhandles an empty script section (84 ms)[22m
|
|
223
|
-
fix: true
|
|
224
281
|
[32m✓[39m [2mfixes an empty script section (17 ms)[22m
|
|
225
282
|
[32m✓[39m [2madds a script (7 ms)[22m
|
|
226
|
-
[32m✓[39m [2mdoes nothing if the value exists (
|
|
227
|
-
[32m✓[39m [2merrors if long form is used and no value matches and there is no fixValue (
|
|
228
|
-
[32m✓[39m [2muses the fixValue for fixing if provided (
|
|
229
|
-
[32m✓[39m [2mcan fix to empty (
|
|
230
|
-
[32m✓[39m [2mcan allow only empty (
|
|
283
|
+
[32m✓[39m [2mdoes nothing if the value exists (1 ms)[22m
|
|
284
|
+
[32m✓[39m [2merrors if long form is used and no value matches and there is no fixValue (43 ms)[22m
|
|
285
|
+
[32m✓[39m [2muses the fixValue for fixing if provided (27 ms)[22m
|
|
286
|
+
[32m✓[39m [2mcan fix to empty (17 ms)[22m
|
|
287
|
+
[32m✓[39m [2mcan allow only empty (3 ms)[22m
|
|
231
288
|
expectPackageScript (CachingHost)
|
|
232
289
|
fix: false
|
|
233
|
-
[32m✓[39m [2mhandles an empty script section (
|
|
290
|
+
[32m✓[39m [2mhandles an empty script section (17 ms)[22m
|
|
234
291
|
fix: true
|
|
235
|
-
[32m✓[39m [2mfixes an empty script section (
|
|
236
|
-
[32m✓[39m [2madds a script (
|
|
292
|
+
[32m✓[39m [2mfixes an empty script section (7 ms)[22m
|
|
293
|
+
[32m✓[39m [2madds a script (7 ms)[22m
|
|
237
294
|
[32m✓[39m [2mdoes nothing if the value exists (1 ms)[22m
|
|
238
295
|
[32m✓[39m [2merrors if long form is used and no value matches and there is no fixValue (8 ms)[22m
|
|
239
|
-
[32m✓[39m [2muses the fixValue for fixing if provided (
|
|
240
|
-
[32m✓[39m [2mcan fix to empty (
|
|
241
|
-
[32m✓[39m [2mcan allow only empty (
|
|
242
|
-
|
|
243
|
-
(node:3122) 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
|
-
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mmustSatisfyPeerDependencies.spec.ts[22m ([0m[1m[41m7.191 s[49m[22m[0m)
|
|
246
|
-
mustSatisfyPeerDependencies
|
|
247
|
-
[32m✓[39m [2mFlags overloaded dependency (entry in regular dependencies and peer dependencies) (5 ms)[22m
|
|
248
|
-
[32m✓[39m [2mFlags conflicting peer dependencies (15 ms)[22m
|
|
249
|
-
[32m✓[39m [2mFlags unsatisfied peer dependencies (test package has regular dep) (7 ms)[22m
|
|
250
|
-
[32m✓[39m [2mFlags missing peer dependencies (NO regular dependency present) (15 ms)[22m
|
|
251
|
-
[32m✓[39m [2mFlags unsatisfied peer dependencies (test package has peer dep) (4 ms)[22m
|
|
252
|
-
[32m✓[39m [2mHonors dependencyWhitelist (4 ms)[22m
|
|
253
|
-
[32m✓[39m [2mHonors dependencyBlacklist (7 ms)[22m
|
|
254
|
-
regex tests
|
|
255
|
-
[32m✓[39m [2mProperly matches any version range regex (20 ms)[22m
|
|
256
|
-
[32m✓[39m [2mProperly matches greator or equal version range regex (18 ms)[22m
|
|
257
|
-
[32m✓[39m [2mProperly matches major version range regex (23 ms)[22m
|
|
258
|
-
[32m✓[39m [2mProperly matches allowed range regex (14 ms)[22m
|
|
259
|
-
Determines dependencies satisfaction correctly
|
|
260
|
-
[32m✓[39m [2mversion is version (1 ms)[22m
|
|
261
|
-
[32m✓[39m [2mversion satisfies a range (3 ms)[22m
|
|
262
|
-
[32m✓[39m [2mhigher version satisfies a range (6 ms)[22m
|
|
263
|
-
[32m✓[39m [2mversion satisfies a greator or equal version range (1 ms)[22m
|
|
264
|
-
[32m✓[39m [2mhigher version satisfies a greator or equal version range (1 ms)[22m
|
|
265
|
-
[32m✓[39m [2mversion satisfies 'any' range (1 ms)[22m
|
|
266
|
-
[32m✓[39m [2mgreator or equal version range satisfies 'any' range (1 ms)[22m
|
|
267
|
-
[32m✓[39m [2mrange satisfies 'any' range (1 ms)[22m
|
|
268
|
-
[32m✓[39m [2munion range satisfies 'any' range (1 ms)[22m
|
|
269
|
-
[32m✓[39m [2mversion found in union start (1 ms)[22m
|
|
270
|
-
[32m✓[39m [2mversion found in union end (1 ms)[22m
|
|
271
|
-
[32m✓[39m [2mversion satisfies a range in union start (1 ms)[22m
|
|
272
|
-
[32m✓[39m [2mversion satisfies a range in union end (1 ms)[22m
|
|
273
|
-
[32m✓[39m [2mhigher version satisfies a range in union start (1 ms)[22m
|
|
274
|
-
[32m✓[39m [2mhigher version satisfies a range in union end (1 ms)[22m
|
|
275
|
-
[32m✓[39m [2mrange found in union start (1 ms)[22m
|
|
276
|
-
[32m✓[39m [2mrange found in union end (1 ms)[22m
|
|
277
|
-
[32m✓[39m [2munion satisfies greator or equal version range (1 ms)[22m
|
|
278
|
-
[32m✓[39m [2mgreator or equal version range satisfies greator or equal version range (1 ms)[22m
|
|
279
|
-
[32m✓[39m [2mequivalent greator or equal version ranges satisfy each other (6 ms)[22m
|
|
280
|
-
[32m✓[39m [2mhigher range satisfies a range in union start (1 ms)[22m
|
|
281
|
-
[32m✓[39m [2mhigher range satisfies a range in union end (1 ms)[22m
|
|
282
|
-
[32m✓[39m [2mequivalent 'any' ranges satisfy each other (1 ms)[22m
|
|
283
|
-
[32m✓[39m [2mequivalent major ranges satisfy each other (5 ms)[22m
|
|
284
|
-
[32m✓[39m [2mversion missing in union (1 ms)[22m
|
|
285
|
-
[32m✓[39m [2mrange missing in union (1 ms)[22m
|
|
286
|
-
Determines dependencies intersections correctly
|
|
287
|
-
[32m✓[39m [2mequivalence (7 ms)[22m
|
|
288
|
-
[32m✓[39m [2mexact vs any (1 ms)[22m
|
|
289
|
-
[32m✓[39m [2mmajor vs any (1 ms)[22m
|
|
290
|
-
[32m✓[39m [2mgreater or equal vs any (1 ms)[22m
|
|
291
|
-
[32m✓[39m [2many vs any[22m
|
|
292
|
-
[32m✓[39m [2mexact vs greater or equal (2 ms)[22m
|
|
293
|
-
[32m✓[39m [2mmajor vs greater or equal (1 ms)[22m
|
|
294
|
-
[32m✓[39m [2mgreater or equal vs greater or equal (1 ms)[22m
|
|
295
|
-
[32m✓[39m [2mexact vs major (4 ms)[22m
|
|
296
|
-
[32m✓[39m [2mmajor vs major (3 ms)[22m
|
|
297
|
-
[32m✓[39m [2mexact vs union (2 ms)[22m
|
|
298
|
-
[32m✓[39m [2mmajor vs union (1 ms)[22m
|
|
299
|
-
[32m✓[39m [2munion vs union (12 ms)[22m
|
|
296
|
+
[32m✓[39m [2muses the fixValue for fixing if provided (8 ms)[22m
|
|
297
|
+
[32m✓[39m [2mcan fix to empty (14 ms)[22m
|
|
298
|
+
[32m✓[39m [2mcan allow only empty (12 ms)[22m
|
|
300
299
|
|
|
301
300
|
[2mconsole.log[22m
|
|
302
|
-
[34mpackage[39m (/tmp/tmp-
|
|
301
|
+
[34mpackage[39m (/tmp/tmp-3110-TqOXhoG4nzjm)
|
|
303
302
|
[2m[22m
|
|
304
303
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
305
304
|
|
|
@@ -309,7 +308,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
309
308
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
310
309
|
|
|
311
310
|
[2mconsole.log[22m
|
|
312
|
-
[34mpackage[39m (/tmp/tmp-
|
|
311
|
+
[34mpackage[39m (/tmp/tmp-3110-Wma5byYAcsZY)
|
|
313
312
|
[2m[22m
|
|
314
313
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
315
314
|
|
|
@@ -319,7 +318,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
319
318
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
320
319
|
|
|
321
320
|
[2mconsole.log[22m
|
|
322
|
-
[34mpackage[39m (/tmp/tmp-
|
|
321
|
+
[34mpackage[39m (/tmp/tmp-3110-tWzJ5dxPP53o)
|
|
323
322
|
[2m[22m
|
|
324
323
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
325
324
|
|
|
@@ -342,7 +341,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
342
341
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageEntry.spec.ts[2m:158:10)[22m[2m[22m
|
|
343
342
|
|
|
344
343
|
[2mconsole.log[22m
|
|
345
|
-
[34mpackage[39m (/tmp/tmp-
|
|
344
|
+
[34mpackage[39m (/tmp/tmp-3110-LMXZVCMOIO2Y)
|
|
346
345
|
[2m[22m
|
|
347
346
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
348
347
|
|
|
@@ -370,7 +369,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
370
369
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
371
370
|
|
|
372
371
|
[2mconsole.log[22m
|
|
373
|
-
[34mpackage[39m (/tmp/tmp-
|
|
372
|
+
[34mpackage[39m (/tmp/tmp-3110-vHGnr7TUaV4t)
|
|
374
373
|
[2m[22m
|
|
375
374
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
376
375
|
|
|
@@ -380,7 +379,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
380
379
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
381
380
|
|
|
382
381
|
[2mconsole.log[22m
|
|
383
|
-
[34mpackage[39m (/tmp/tmp-
|
|
382
|
+
[34mpackage[39m (/tmp/tmp-3110-cdY4i7cDw542)
|
|
384
383
|
[2m[22m
|
|
385
384
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
386
385
|
|
|
@@ -390,7 +389,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
390
389
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
391
390
|
|
|
392
391
|
[2mconsole.log[22m
|
|
393
|
-
[34mpackage[39m (/tmp/tmp-
|
|
392
|
+
[34mpackage[39m (/tmp/tmp-3110-bzTL0m9p2Cbg)
|
|
394
393
|
[2m[22m
|
|
395
394
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
396
395
|
|
|
@@ -413,7 +412,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
413
412
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageEntry.spec.ts[2m:158:10)[22m[2m[22m
|
|
414
413
|
|
|
415
414
|
[2mconsole.log[22m
|
|
416
|
-
[34mpackage[39m (/tmp/tmp-
|
|
415
|
+
[34mpackage[39m (/tmp/tmp-3110-AGwHZU2w3cnY)
|
|
417
416
|
[2m[22m
|
|
418
417
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
419
418
|
|
|
@@ -443,49 +442,43 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
443
442
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageEntry.spec.ts[22m
|
|
444
443
|
expectPackageEntries (SimpleHost)
|
|
445
444
|
fix: true
|
|
446
|
-
[32m✓[39m [2mfixes missing entries (
|
|
447
|
-
[32m✓[39m [2mfixes missing nested entries (
|
|
448
|
-
[32m✓[39m [2mdoesn't error for nested entries that are defined (
|
|
449
|
-
[32m✓[39m [2merrors for keys that are missing (
|
|
450
|
-
[32m✓[39m [2mhandles both entries and entriesExist (
|
|
445
|
+
[32m✓[39m [2mfixes missing entries (99 ms)[22m
|
|
446
|
+
[32m✓[39m [2mfixes missing nested entries (7 ms)[22m
|
|
447
|
+
[32m✓[39m [2mdoesn't error for nested entries that are defined (1 ms)[22m
|
|
448
|
+
[32m✓[39m [2merrors for keys that are missing (12 ms)[22m
|
|
449
|
+
[32m✓[39m [2mhandles both entries and entriesExist (21 ms)[22m
|
|
451
450
|
expectPackageEntries (CachingHost)
|
|
452
451
|
fix: true
|
|
453
|
-
[32m✓[39m [2mfixes missing entries (
|
|
452
|
+
[32m✓[39m [2mfixes missing entries (12 ms)[22m
|
|
454
453
|
[32m✓[39m [2mfixes missing nested entries (4 ms)[22m
|
|
455
|
-
[32m✓[39m [2mdoesn't error for nested entries that are defined (
|
|
456
|
-
[32m✓[39m [2merrors for keys that are missing (
|
|
454
|
+
[32m✓[39m [2mdoesn't error for nested entries that are defined (2 ms)[22m
|
|
455
|
+
[32m✓[39m [2merrors for keys that are missing (8 ms)[22m
|
|
457
456
|
[32m✓[39m [2mhandles both entries and entriesExist (24 ms)[22m
|
|
458
457
|
|
|
459
458
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mbannedDependencies.spec.ts[22m
|
|
460
459
|
bannedDependencies
|
|
461
|
-
[32m✓[39m [2mFlags banned dependencies correctly (
|
|
462
|
-
[32m✓[39m [2mFlags banned dependencies correctly w legacy globs (
|
|
463
|
-
[32m✓[39m [2mFlags banned dependencies correctly w new globs (
|
|
464
|
-
[32m✓[39m [2mFlags banned dependencies correctly w exact (
|
|
465
|
-
[32m✓[39m [2mFlags banned transitives correctly (
|
|
460
|
+
[32m✓[39m [2mFlags banned dependencies correctly (9 ms)[22m
|
|
461
|
+
[32m✓[39m [2mFlags banned dependencies correctly w legacy globs (2 ms)[22m
|
|
462
|
+
[32m✓[39m [2mFlags banned dependencies correctly w new globs (9 ms)[22m
|
|
463
|
+
[32m✓[39m [2mFlags banned dependencies correctly w exact (2 ms)[22m
|
|
464
|
+
[32m✓[39m [2mFlags banned transitives correctly (6 ms)[22m
|
|
466
465
|
|
|
467
466
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mnestedWorkspaces.spec.ts[22m
|
|
468
467
|
nestedWorkspaces
|
|
469
468
|
[32m✓[39m [2mchecks correctly when no packages (13 ms)[22m
|
|
470
|
-
[32m✓[39m [2mchecks correctly when one level packages (
|
|
471
|
-
[32m✓[39m [2mchecks fail when one level packages with no workspaces field (
|
|
472
|
-
[32m✓[39m [2mchecks correctly when two level packages with two level workspaces field (
|
|
473
|
-
[32m✓[39m [2mchecks fail when two level packages with one level workspaces field (
|
|
474
|
-
[32m✓[39m [2mchecks correctly when three level packages with three level workspaces field (
|
|
469
|
+
[32m✓[39m [2mchecks correctly when one level packages (6 ms)[22m
|
|
470
|
+
[32m✓[39m [2mchecks fail when one level packages with no workspaces field (5 ms)[22m
|
|
471
|
+
[32m✓[39m [2mchecks correctly when two level packages with two level workspaces field (6 ms)[22m
|
|
472
|
+
[32m✓[39m [2mchecks fail when two level packages with one level workspaces field (5 ms)[22m
|
|
473
|
+
[32m✓[39m [2mchecks correctly when three level packages with three level workspaces field (7 ms)[22m
|
|
475
474
|
|
|
476
475
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mrequireDependency.spec.ts[22m
|
|
477
476
|
requireDependency
|
|
478
|
-
[32m✓[39m [2mchecks correctly (
|
|
479
|
-
[32m✓[39m [2mfixes correctly (
|
|
480
|
-
|
|
481
|
-
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mconsistentDependencies.spec.ts[22m
|
|
482
|
-
consistentDependencies
|
|
483
|
-
[32m✓[39m [2mchecks correctly (16 ms)[22m
|
|
484
|
-
[32m✓[39m [2mfixes correctly (4 ms)[22m
|
|
485
|
-
[32m✓[39m [2mignores ignored dependencies (2 ms)[22m
|
|
477
|
+
[32m✓[39m [2mchecks correctly (10 ms)[22m
|
|
478
|
+
[32m✓[39m [2mfixes correctly (8 ms)[22m
|
|
486
479
|
|
|
487
480
|
[2mconsole.log[22m
|
|
488
|
-
[34mpackage[39m (/tmp/tmp-
|
|
481
|
+
[34mpackage[39m (/tmp/tmp-3111-kcFyGmjQnB7w)
|
|
489
482
|
[2m[22m
|
|
490
483
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
491
484
|
|
|
@@ -495,7 +488,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
495
488
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
496
489
|
|
|
497
490
|
[2mconsole.log[22m
|
|
498
|
-
[34mpackage-unknown-keys[39m (/tmp/tmp-
|
|
491
|
+
[34mpackage-unknown-keys[39m (/tmp/tmp-3111-qaukAB8LBR4R)
|
|
499
492
|
[2m[22m
|
|
500
493
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
501
494
|
|
|
@@ -505,7 +498,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
505
498
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
506
499
|
|
|
507
500
|
[2mconsole.log[22m
|
|
508
|
-
[34mpackage[39m (/tmp/tmp-
|
|
501
|
+
[34mpackage[39m (/tmp/tmp-3111-5vlU4NczY63C)
|
|
509
502
|
[2m[22m
|
|
510
503
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
511
504
|
|
|
@@ -515,7 +508,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
515
508
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
516
509
|
|
|
517
510
|
[2mconsole.log[22m
|
|
518
|
-
[34mpackage[39m (/tmp/tmp-
|
|
511
|
+
[34mpackage[39m (/tmp/tmp-3111-QxprucrxltFN)
|
|
519
512
|
[2m[22m
|
|
520
513
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
521
514
|
|
|
@@ -525,7 +518,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
525
518
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
526
519
|
|
|
527
520
|
[2mconsole.log[22m
|
|
528
|
-
[34mpackage-unknown-keys[39m (/tmp/tmp-
|
|
521
|
+
[34mpackage-unknown-keys[39m (/tmp/tmp-3111-YE5jZI0uoBEp)
|
|
529
522
|
[2m[22m
|
|
530
523
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
531
524
|
|
|
@@ -535,7 +528,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
535
528
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
536
529
|
|
|
537
530
|
[2mconsole.log[22m
|
|
538
|
-
[34mpackage[39m (/tmp/tmp-
|
|
531
|
+
[34mpackage[39m (/tmp/tmp-3111-tzceeIjmls9n)
|
|
539
532
|
[2m[22m
|
|
540
533
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
541
534
|
|
|
@@ -547,49 +540,65 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
547
540
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageOrder.spec.ts[22m
|
|
548
541
|
expectPackageOrder (SimpleHost)
|
|
549
542
|
fix: true
|
|
550
|
-
[32m✓[39m [2mfixes order for expected keys (
|
|
551
|
-
[32m✓[39m [2mfixes order for unexpected keys (
|
|
552
|
-
[32m✓[39m [2mfixes order using function (
|
|
543
|
+
[32m✓[39m [2mfixes order for expected keys (78 ms)[22m
|
|
544
|
+
[32m✓[39m [2mfixes order for unexpected keys (19 ms)[22m
|
|
545
|
+
[32m✓[39m [2mfixes order using function (6 ms)[22m
|
|
553
546
|
[32m✓[39m [2mdoes nothing if already order (1 ms)[22m
|
|
554
547
|
expectPackageOrder (CachingHost)
|
|
555
548
|
fix: true
|
|
556
|
-
[32m✓[39m [2mfixes order for expected keys (
|
|
557
|
-
[32m✓[39m [2mfixes order for unexpected keys (
|
|
558
|
-
[32m✓[39m [2mfixes order using function (
|
|
559
|
-
[32m✓[39m [2mdoes nothing if already order (
|
|
549
|
+
[32m✓[39m [2mfixes order for expected keys (14 ms)[22m
|
|
550
|
+
[32m✓[39m [2mfixes order for unexpected keys (7 ms)[22m
|
|
551
|
+
[32m✓[39m [2mfixes order using function (17 ms)[22m
|
|
552
|
+
[32m✓[39m [2mdoes nothing if already order (2 ms)[22m
|
|
553
|
+
|
|
554
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mconsistentDependencies.spec.ts[22m
|
|
555
|
+
consistentDependencies
|
|
556
|
+
[32m✓[39m [2mchecks correctly (12 ms)[22m
|
|
557
|
+
[32m✓[39m [2mfixes correctly (4 ms)[22m
|
|
558
|
+
[32m✓[39m [2mignores ignored dependencies (2 ms)[22m
|
|
560
559
|
|
|
561
560
|
[2mconsole.log[22m
|
|
562
|
-
[
|
|
561
|
+
[34mfoo-lib[39m (/tmp/tmp-3111-crvrfDFv5Pum)
|
|
563
562
|
[2m[22m
|
|
564
563
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
565
564
|
|
|
566
565
|
[2mconsole.log[22m
|
|
567
|
-
[32mFixed![39m [
|
|
566
|
+
[32mFixed![39m [35mpackage.json[39m: Incorrect order of scripts in foo-lib's package.json
|
|
568
567
|
[2m[22m
|
|
569
568
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
570
569
|
|
|
571
570
|
[2mconsole.log[22m
|
|
572
|
-
[
|
|
571
|
+
[34mfoo-lib[39m (/tmp/tmp-3111-v03lY26GDa78)
|
|
573
572
|
[2m[22m
|
|
574
573
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
575
574
|
|
|
576
575
|
[2mconsole.log[22m
|
|
577
|
-
[32mFixed![39m [
|
|
576
|
+
[32mFixed![39m [35mpackage.json[39m: Incorrect order of scripts in foo-lib's package.json
|
|
578
577
|
[2m[22m
|
|
579
578
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
580
579
|
|
|
580
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1malphabeticalScripts.spec.ts[22m
|
|
581
|
+
alphabeticalScripts (SimpleHost)
|
|
582
|
+
fix: true
|
|
583
|
+
[32m✓[39m [2mfixes unsorted scripts (10 ms)[22m
|
|
584
|
+
[32m✓[39m [2mdoes nothing if already sorted (1 ms)[22m
|
|
585
|
+
alphabeticalScripts (CachingHost)
|
|
586
|
+
fix: true
|
|
587
|
+
[32m✓[39m [2mfixes unsorted scripts (5 ms)[22m
|
|
588
|
+
[32m✓[39m [2mdoes nothing if already sorted (1 ms)[22m
|
|
589
|
+
|
|
581
590
|
[2mconsole.log[22m
|
|
582
|
-
[34mrootProject[39m (/tmp/tmp-
|
|
591
|
+
[34mrootProject[39m (/tmp/tmp-3110-C4v5VtP7nDxO)
|
|
583
592
|
[2m[22m
|
|
584
593
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
585
594
|
|
|
586
595
|
[2mconsole.log[22m
|
|
587
|
-
[32mFixed![39m [
|
|
596
|
+
[32mFixed![39m [35mfoo.txt[39m: Expect file contents to match
|
|
588
597
|
[2m[22m
|
|
589
598
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
590
599
|
|
|
591
600
|
[2mconsole.log[22m
|
|
592
|
-
[34mrootProject[39m (/tmp/tmp-
|
|
601
|
+
[34mrootProject[39m (/tmp/tmp-3110-6LYyZ5DTQ3bi)
|
|
593
602
|
[2m[22m
|
|
594
603
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
595
604
|
|
|
@@ -599,69 +608,59 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
599
608
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
600
609
|
|
|
601
610
|
[2mconsole.log[22m
|
|
602
|
-
[34mrootProject[39m (/tmp/tmp-
|
|
611
|
+
[34mrootProject[39m (/tmp/tmp-3110-kXhOdOsdJmUh)
|
|
603
612
|
[2m[22m
|
|
604
613
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
605
614
|
|
|
606
615
|
[2mconsole.log[22m
|
|
607
|
-
[32mFixed![39m [
|
|
616
|
+
[32mFixed![39m [35mnested/foo.txt[39m: Expect file contents to match
|
|
608
617
|
[2m[22m
|
|
609
618
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
610
619
|
|
|
611
620
|
[2mconsole.log[22m
|
|
612
|
-
[34mrootProject[39m (/tmp/tmp-
|
|
621
|
+
[34mrootProject[39m (/tmp/tmp-3110-xFnW99bJXJ01)
|
|
613
622
|
[2m[22m
|
|
614
623
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
615
624
|
|
|
616
625
|
[2mconsole.log[22m
|
|
617
|
-
[32mFixed![39m [
|
|
626
|
+
[32mFixed![39m [35mfoo.txt[39m: Expect file contents to match
|
|
618
627
|
[2m[22m
|
|
619
628
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
620
629
|
|
|
621
|
-
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mfileContents.spec.ts[22m
|
|
622
|
-
fileContents (SimpleHost)
|
|
623
|
-
fix: true
|
|
624
|
-
[32m✓[39m [2mworks with async generator (15 ms)[22m
|
|
625
|
-
[32m✓[39m [2mfixes missing file (3 ms)[22m
|
|
626
|
-
[32m✓[39m [2mfixes missing nested file (6 ms)[22m
|
|
627
|
-
fileContents (CachingHost)
|
|
628
|
-
fix: true
|
|
629
|
-
[32m✓[39m [2mworks with async generator (4 ms)[22m
|
|
630
|
-
[32m✓[39m [2mfixes missing file (3 ms)[22m
|
|
631
|
-
[32m✓[39m [2mfixes missing nested file (2 ms)[22m
|
|
632
|
-
|
|
633
630
|
[2mconsole.log[22m
|
|
634
|
-
[
|
|
631
|
+
[34mrootProject[39m (/tmp/tmp-3110-0e1Q7yUWZ26w)
|
|
635
632
|
[2m[22m
|
|
636
633
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
637
634
|
|
|
638
635
|
[2mconsole.log[22m
|
|
639
|
-
[32mFixed![39m [
|
|
636
|
+
[32mFixed![39m [35mfoo.txt[39m: Expect file contents to match
|
|
640
637
|
[2m[22m
|
|
641
638
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
642
639
|
|
|
643
640
|
[2mconsole.log[22m
|
|
644
|
-
[
|
|
641
|
+
[34mrootProject[39m (/tmp/tmp-3110-8pPZbNUp3BPm)
|
|
645
642
|
[2m[22m
|
|
646
643
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
647
644
|
|
|
648
645
|
[2mconsole.log[22m
|
|
649
|
-
[32mFixed![39m [
|
|
646
|
+
[32mFixed![39m [35mnested/foo.txt[39m: Expect file contents to match
|
|
650
647
|
[2m[22m
|
|
651
648
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
652
649
|
|
|
653
|
-
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[
|
|
654
|
-
|
|
650
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mfileContents.spec.ts[22m
|
|
651
|
+
fileContents (SimpleHost)
|
|
655
652
|
fix: true
|
|
656
|
-
[32m✓[39m [
|
|
657
|
-
[32m✓[39m [
|
|
658
|
-
|
|
653
|
+
[32m✓[39m [2mworks with async generator (7 ms)[22m
|
|
654
|
+
[32m✓[39m [2mfixes missing file (2 ms)[22m
|
|
655
|
+
[32m✓[39m [2mfixes missing nested file (2 ms)[22m
|
|
656
|
+
fileContents (CachingHost)
|
|
659
657
|
fix: true
|
|
660
|
-
[32m✓[39m [
|
|
661
|
-
[32m✓[39m [
|
|
658
|
+
[32m✓[39m [2mworks with async generator (4 ms)[22m
|
|
659
|
+
[32m✓[39m [2mfixes missing file (2 ms)[22m
|
|
660
|
+
[32m✓[39m [2mfixes missing nested file (3 ms)[22m
|
|
662
661
|
|
|
663
662
|
[1mTest Suites: [22m[1m[32m11 passed[39m[22m, 11 total
|
|
664
663
|
[1mTests: [22m[1m[32m118 passed[39m[22m, 118 total
|
|
665
664
|
[1mSnapshots: [22m0 total
|
|
666
|
-
[1mTime:[22m
|
|
665
|
+
[1mTime:[22m 10.531 s
|
|
667
666
|
[2mRan all test suites[22m[2m.[22m
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
[32mESM[39m [1mbuild/js/public/util.js.map [22m[32m71.00 B[39m
|
|
16
16
|
[32mESM[39m [1mbuild/js/index.js.map [22m[32m100.22 KB[39m
|
|
17
17
|
[32mESM[39m [1mbuild/js/chunk-A2MUUSNE.js.map [22m[32m1.19 KB[39m
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
18
|
+
[32mESM[39m ⚡️ 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.
|
|
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.
|
|
34
|
-
"@monorepolint/core": "^0.5.0-alpha.
|
|
35
|
-
"@monorepolint/utils": "^0.5.0-alpha.
|
|
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": "
|
|
62
|
+
"gitHead": "0591f65b3cbe41917db10a35dfa0a0d43ed09a38"
|
|
63
63
|
}
|