@monorepolint/rules 0.5.0-alpha.124 → 0.5.0-alpha.125
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 +195 -195
- package/.turbo/turbo-transpile-typescript.log +1 -1
- package/package.json +5 -5
package/.turbo/turbo-test.log
CHANGED
|
@@ -4,83 +4,10 @@
|
|
|
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
6
|
ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/monorepolint/packages/utils/build/js/index.js', falling back to original file content. You can also configure Jest config option `transformIgnorePatterns` to ignore /home/runner/work/monorepolint/monorepolint/packages/utils/build/js/index.js from transformation or make sure that `outDir` in your tsconfig is neither `''` or `'.'`
|
|
7
|
-
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:3269) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
|
|
9
|
-
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
10
|
-
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mconsistentVersions.spec.ts[22m ([0m[1m[41m6.196 s[49m[22m[0m)
|
|
11
|
-
consistentVersions
|
|
12
|
-
standard tests
|
|
13
|
-
[32m✓[39m [2mDoes nothing when arguments are empty (32 ms)[22m
|
|
14
|
-
[32m✓[39m [2mFixes packages that have an incorrect dependency version (6 ms)[22m
|
|
15
|
-
[32m✓[39m [2mIgnores packages that have a correct dependency version (4 ms)[22m
|
|
16
|
-
[32m✓[39m [2mFixes packages that have an incorrect devDependency version (5 ms)[22m
|
|
17
|
-
[32m✓[39m [2mIgnores packages that have a correct devDependency version (6 ms)[22m
|
|
18
|
-
[32m✓[39m [2mFixes packages that have an incorrect dependency and devDependency versions (10 ms)[22m
|
|
19
|
-
Multiple accepted versions tests
|
|
20
|
-
[32m✓[39m [2mAccepts a match when multiple versions are configured (3 ms)[22m
|
|
21
|
-
[32m✓[39m [2mErrors when version does not match (8 ms)[22m
|
|
22
|
-
|
|
23
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 `'.'`
|
|
24
|
-
(
|
|
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[41m6.669 s[49m[22m[0m)
|
|
27
|
-
mustSatisfyPeerDependencies
|
|
28
|
-
[32m✓[39m [2mFlags overloaded dependency (entry in regular dependencies and peer dependencies) (5 ms)[22m
|
|
29
|
-
[32m✓[39m [2mFlags conflicting peer dependencies (4 ms)[22m
|
|
30
|
-
[32m✓[39m [2mFlags unsatisfied peer dependencies (test package has regular dep) (6 ms)[22m
|
|
31
|
-
[32m✓[39m [2mFlags missing peer dependencies (NO regular dependency present) (5 ms)[22m
|
|
32
|
-
[32m✓[39m [2mFlags unsatisfied peer dependencies (test package has peer dep) (4 ms)[22m
|
|
33
|
-
[32m✓[39m [2mHonors dependencyWhitelist (5 ms)[22m
|
|
34
|
-
[32m✓[39m [2mHonors dependencyBlacklist (5 ms)[22m
|
|
35
|
-
regex tests
|
|
36
|
-
[32m✓[39m [2mProperly matches any version range regex (41 ms)[22m
|
|
37
|
-
[32m✓[39m [2mProperly matches greator or equal version range regex (13 ms)[22m
|
|
38
|
-
[32m✓[39m [2mProperly matches major version range regex (14 ms)[22m
|
|
39
|
-
[32m✓[39m [2mProperly matches allowed range regex (11 ms)[22m
|
|
40
|
-
Determines dependencies satisfaction correctly
|
|
41
|
-
[32m✓[39m [2mversion is version[22m
|
|
42
|
-
[32m✓[39m [2mversion satisfies a range (2 ms)[22m
|
|
43
|
-
[32m✓[39m [2mhigher version satisfies a range (1 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 (2 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 (2 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 (4 ms)[22m
|
|
55
|
-
[32m✓[39m [2mhigher version satisfies a range in union end[22m
|
|
56
|
-
[32m✓[39m [2mrange found in union start[22m
|
|
57
|
-
[32m✓[39m [2mrange found in union end (1 ms)[22m
|
|
58
|
-
[32m✓[39m [2munion satisfies greator or equal version range (1 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[22m
|
|
62
|
-
[32m✓[39m [2mhigher range satisfies a range in union end (1 ms)[22m
|
|
63
|
-
[32m✓[39m [2mequivalent 'any' ranges satisfy each other (1 ms)[22m
|
|
64
|
-
[32m✓[39m [2mequivalent major ranges satisfy each other (4 ms)[22m
|
|
65
|
-
[32m✓[39m [2mversion missing in union[22m
|
|
66
|
-
[32m✓[39m [2mrange missing in union (1 ms)[22m
|
|
67
|
-
Determines dependencies intersections correctly
|
|
68
|
-
[32m✓[39m [2mequivalence (2 ms)[22m
|
|
69
|
-
[32m✓[39m [2mexact vs any[22m
|
|
70
|
-
[32m✓[39m [2mmajor vs any (1 ms)[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 (1 ms)[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 (2 ms)[22m
|
|
79
|
-
[32m✓[39m [2mmajor vs union (2 ms)[22m
|
|
80
|
-
[32m✓[39m [2munion vs union (2 ms)[22m
|
|
81
|
-
|
|
8
|
+
ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/monorepolint/packages/core/build/js/index.js', falling back to original file content. You can also configure Jest config option `transformIgnorePatterns` to ignore /home/runner/work/monorepolint/monorepolint/packages/core/build/js/index.js from transformation or make sure that `outDir` in your tsconfig is neither `''` or `'.'`
|
|
82
9
|
[2mconsole.log[22m
|
|
83
|
-
[34mpackage-without-scripts[39m (/tmp/tmp-
|
|
10
|
+
[34mpackage-without-scripts[39m (/tmp/tmp-3297-4elTqm0Bzy6f)
|
|
84
11
|
[2m[22m
|
|
85
12
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
86
13
|
|
|
@@ -103,7 +30,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
103
30
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageScript.spec.ts[2m:56:10)[22m[2m[22m
|
|
104
31
|
|
|
105
32
|
[2mconsole.log[22m
|
|
106
|
-
[34mpackage-without-scripts[39m (/tmp/tmp-
|
|
33
|
+
[34mpackage-without-scripts[39m (/tmp/tmp-3297-gXFSniLVG045)
|
|
107
34
|
[2m[22m
|
|
108
35
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
109
36
|
|
|
@@ -113,7 +40,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
113
40
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
114
41
|
|
|
115
42
|
[2mconsole.log[22m
|
|
116
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
43
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3297-j7lXYLDejs1i)
|
|
117
44
|
[2m[22m
|
|
118
45
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
119
46
|
|
|
@@ -123,7 +50,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
123
50
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
124
51
|
|
|
125
52
|
[2mconsole.log[22m
|
|
126
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
53
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3297-IG65FWjnzxwD)
|
|
127
54
|
[2m[22m
|
|
128
55
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
129
56
|
|
|
@@ -146,7 +73,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
146
73
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageScript.spec.ts[2m:169:10)[22m[2m[22m
|
|
147
74
|
|
|
148
75
|
[2mconsole.log[22m
|
|
149
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
76
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3297-pK4r4qIXPeNe)
|
|
150
77
|
[2m[22m
|
|
151
78
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
152
79
|
|
|
@@ -156,7 +83,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
156
83
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
157
84
|
|
|
158
85
|
[2mconsole.log[22m
|
|
159
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
86
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3297-2ShOF4QFLNnh)
|
|
160
87
|
[2m[22m
|
|
161
88
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
162
89
|
|
|
@@ -166,7 +93,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
166
93
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
167
94
|
|
|
168
95
|
[2mconsole.log[22m
|
|
169
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
96
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3297-cDj1L0SPNygr)
|
|
170
97
|
[2m[22m
|
|
171
98
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
172
99
|
|
|
@@ -175,10 +102,10 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
175
102
|
[2m[22m
|
|
176
103
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
177
104
|
|
|
178
|
-
(node:
|
|
105
|
+
(node:3297) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
|
|
179
106
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
180
107
|
[2mconsole.log[22m
|
|
181
|
-
[34mpackage-without-scripts[39m (/tmp/tmp-
|
|
108
|
+
[34mpackage-without-scripts[39m (/tmp/tmp-3297-yr3uVgA6pfm8)
|
|
182
109
|
[2m[22m
|
|
183
110
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
184
111
|
|
|
@@ -201,7 +128,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
201
128
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageScript.spec.ts[2m:56:10)[22m[2m[22m
|
|
202
129
|
|
|
203
130
|
[2mconsole.log[22m
|
|
204
|
-
[34mpackage-without-scripts[39m (/tmp/tmp-
|
|
131
|
+
[34mpackage-without-scripts[39m (/tmp/tmp-3297-d8e5etdw9mZr)
|
|
205
132
|
[2m[22m
|
|
206
133
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
207
134
|
|
|
@@ -211,7 +138,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
211
138
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
212
139
|
|
|
213
140
|
[2mconsole.log[22m
|
|
214
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
141
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3297-iqVIJXZZ2Tf2)
|
|
215
142
|
[2m[22m
|
|
216
143
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
217
144
|
|
|
@@ -220,10 +147,25 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
220
147
|
[2m[22m
|
|
221
148
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
222
149
|
|
|
150
|
+
(node:3291) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
|
|
151
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
223
152
|
[2mconsole.log[22m
|
|
224
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
153
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3297-mC2atOBeD1g0)
|
|
225
154
|
[2m[22m
|
|
155
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mconsistentVersions.spec.ts[22m ([0m[1m[41m6.65 s[49m[22m[0m)
|
|
226
156
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
157
|
+
consistentVersions
|
|
158
|
+
|
|
159
|
+
standard tests
|
|
160
|
+
[32m✓[39m [2mDoes nothing when arguments are empty (29 ms)[22m
|
|
161
|
+
[32m✓[39m [2mFixes packages that have an incorrect dependency version (5 ms)[22m
|
|
162
|
+
[32m✓[39m [2mIgnores packages that have a correct dependency version (3 ms)[22m
|
|
163
|
+
[32m✓[39m [2mFixes packages that have an incorrect devDependency version (3 ms)[22m
|
|
164
|
+
[32m✓[39m [2mIgnores packages that have a correct devDependency version (2 ms)[22m
|
|
165
|
+
[32m✓[39m [2mFixes packages that have an incorrect dependency and devDependency versions (3 ms)[22m
|
|
166
|
+
Multiple accepted versions tests
|
|
167
|
+
[32m✓[39m [2mAccepts a match when multiple versions are configured (3 ms)[22m
|
|
168
|
+
[32m✓[39m [2mErrors when version does not match (4 ms)[22m
|
|
227
169
|
|
|
228
170
|
[2m[31mconsole.error[39m[22m
|
|
229
171
|
[31m [31mError![39m[31m [35mpackage.json[39m[31m: Expected standardized script entry for 'foo'. Valid options: 'a', 'b'[39m
|
|
@@ -244,7 +186,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
244
186
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageScript.spec.ts[2m:169:10)[22m[2m[22m
|
|
245
187
|
|
|
246
188
|
[2mconsole.log[22m
|
|
247
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
189
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3297-pd2Lz78FQhVl)
|
|
248
190
|
[2m[22m
|
|
249
191
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
250
192
|
|
|
@@ -254,7 +196,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
254
196
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
255
197
|
|
|
256
198
|
[2mconsole.log[22m
|
|
257
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
199
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3297-Fz3NmYjJFLqJ)
|
|
258
200
|
[2m[22m
|
|
259
201
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
260
202
|
|
|
@@ -264,7 +206,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
264
206
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
265
207
|
|
|
266
208
|
[2mconsole.log[22m
|
|
267
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
209
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3297-2rHTdSdGZevP)
|
|
268
210
|
[2m[22m
|
|
269
211
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
270
212
|
|
|
@@ -273,40 +215,90 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
273
215
|
[2m[22m
|
|
274
216
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
275
217
|
|
|
276
|
-
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageScript.spec.ts[22m ([0m[1m[41m6.
|
|
218
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageScript.spec.ts[22m ([0m[1m[41m6.63 s[49m[22m[0m)
|
|
277
219
|
expectPackageScript (SimpleHost)
|
|
278
220
|
fix: false
|
|
279
|
-
[32m✓[39m [2mhandles an empty script section (
|
|
221
|
+
[32m✓[39m [2mhandles an empty script section (84 ms)[22m
|
|
280
222
|
fix: true
|
|
281
|
-
[32m✓[39m [2mfixes an empty script section (
|
|
223
|
+
[32m✓[39m [2mfixes an empty script section (5 ms)[22m
|
|
282
224
|
[32m✓[39m [2madds a script (7 ms)[22m
|
|
283
225
|
[32m✓[39m [2mdoes nothing if the value exists (2 ms)[22m
|
|
284
|
-
[32m✓[39m [2merrors if long form is used and no value matches and there is no fixValue (
|
|
226
|
+
[32m✓[39m [2merrors if long form is used and no value matches and there is no fixValue (10 ms)[22m
|
|
285
227
|
[32m✓[39m [2muses the fixValue for fixing if provided (5 ms)[22m
|
|
286
228
|
[32m✓[39m [2mcan fix to empty (5 ms)[22m
|
|
287
229
|
[32m✓[39m [2mcan allow only empty (5 ms)[22m
|
|
288
230
|
expectPackageScript (CachingHost)
|
|
289
231
|
fix: false
|
|
290
|
-
[32m✓[39m [2mhandles an empty script section (
|
|
232
|
+
[32m✓[39m [2mhandles an empty script section (13 ms)[22m
|
|
291
233
|
fix: true
|
|
292
|
-
[32m✓[39m [2mfixes an empty script section (
|
|
293
|
-
[32m✓[39m [2madds a script (
|
|
294
|
-
[32m✓[39m [2mdoes nothing if the value exists (
|
|
234
|
+
[32m✓[39m [2mfixes an empty script section (5 ms)[22m
|
|
235
|
+
[32m✓[39m [2madds a script (5 ms)[22m
|
|
236
|
+
[32m✓[39m [2mdoes nothing if the value exists (5 ms)[22m
|
|
295
237
|
[32m✓[39m [2merrors if long form is used and no value matches and there is no fixValue (14 ms)[22m
|
|
296
|
-
[32m✓[39m [2muses the fixValue for fixing if provided (
|
|
238
|
+
[32m✓[39m [2muses the fixValue for fixing if provided (14 ms)[22m
|
|
297
239
|
[32m✓[39m [2mcan fix to empty (4 ms)[22m
|
|
298
240
|
[32m✓[39m [2mcan allow only empty (4 ms)[22m
|
|
299
241
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
[32m✓[39m [2mFlags
|
|
305
|
-
[32m✓[39m [2mFlags
|
|
306
|
-
[32m✓[39m [2mFlags
|
|
242
|
+
(node:3290) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
|
|
243
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
244
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mmustSatisfyPeerDependencies.spec.ts[22m ([0m[1m[41m6.885 s[49m[22m[0m)
|
|
245
|
+
mustSatisfyPeerDependencies
|
|
246
|
+
[32m✓[39m [2mFlags overloaded dependency (entry in regular dependencies and peer dependencies) (3 ms)[22m
|
|
247
|
+
[32m✓[39m [2mFlags conflicting peer dependencies (5 ms)[22m
|
|
248
|
+
[32m✓[39m [2mFlags unsatisfied peer dependencies (test package has regular dep) (5 ms)[22m
|
|
249
|
+
[32m✓[39m [2mFlags missing peer dependencies (NO regular dependency present) (7 ms)[22m
|
|
250
|
+
[32m✓[39m [2mFlags unsatisfied peer dependencies (test package has peer dep) (5 ms)[22m
|
|
251
|
+
[32m✓[39m [2mHonors dependencyWhitelist (5 ms)[22m
|
|
252
|
+
[32m✓[39m [2mHonors dependencyBlacklist (10 ms)[22m
|
|
253
|
+
regex tests
|
|
254
|
+
[32m✓[39m [2mProperly matches any version range regex (31 ms)[22m
|
|
255
|
+
[32m✓[39m [2mProperly matches greator or equal version range regex (12 ms)[22m
|
|
256
|
+
[32m✓[39m [2mProperly matches major version range regex (14 ms)[22m
|
|
257
|
+
[32m✓[39m [2mProperly matches allowed range regex (19 ms)[22m
|
|
258
|
+
Determines dependencies satisfaction correctly
|
|
259
|
+
[32m✓[39m [2mversion is version (1 ms)[22m
|
|
260
|
+
[32m✓[39m [2mversion satisfies a range (11 ms)[22m
|
|
261
|
+
[32m✓[39m [2mhigher version satisfies a range (4 ms)[22m
|
|
262
|
+
[32m✓[39m [2mversion satisfies a greator or equal version range (1 ms)[22m
|
|
263
|
+
[32m✓[39m [2mhigher version satisfies a greator or equal version range (2 ms)[22m
|
|
264
|
+
[32m✓[39m [2mversion satisfies 'any' range (1 ms)[22m
|
|
265
|
+
[32m✓[39m [2mgreator or equal version range satisfies 'any' range (1 ms)[22m
|
|
266
|
+
[32m✓[39m [2mrange satisfies 'any' range (1 ms)[22m
|
|
267
|
+
[32m✓[39m [2munion range satisfies 'any' range (1 ms)[22m
|
|
268
|
+
[32m✓[39m [2mversion found in union start (1 ms)[22m
|
|
269
|
+
[32m✓[39m [2mversion found in union end (1 ms)[22m
|
|
270
|
+
[32m✓[39m [2mversion satisfies a range in union start (1 ms)[22m
|
|
271
|
+
[32m✓[39m [2mversion satisfies a range in union end (1 ms)[22m
|
|
272
|
+
[32m✓[39m [2mhigher version satisfies a range in union start (2 ms)[22m
|
|
273
|
+
[32m✓[39m [2mhigher version satisfies a range in union end (1 ms)[22m
|
|
274
|
+
[32m✓[39m [2mrange found in union start (1 ms)[22m
|
|
275
|
+
[32m✓[39m [2mrange found in union end (1 ms)[22m
|
|
276
|
+
[32m✓[39m [2munion satisfies greator or equal version range (1 ms)[22m
|
|
277
|
+
[32m✓[39m [2mgreator or equal version range satisfies greator or equal version range (1 ms)[22m
|
|
278
|
+
[32m✓[39m [2mequivalent greator or equal version ranges satisfy each other (1 ms)[22m
|
|
279
|
+
[32m✓[39m [2mhigher range satisfies a range in union start (1 ms)[22m
|
|
280
|
+
[32m✓[39m [2mhigher range satisfies a range in union end (1 ms)[22m
|
|
281
|
+
[32m✓[39m [2mequivalent 'any' ranges satisfy each other (1 ms)[22m
|
|
282
|
+
[32m✓[39m [2mequivalent major ranges satisfy each other (4 ms)[22m
|
|
283
|
+
[32m✓[39m [2mversion missing in union (1 ms)[22m
|
|
284
|
+
[32m✓[39m [2mrange missing in union (1 ms)[22m
|
|
285
|
+
Determines dependencies intersections correctly
|
|
286
|
+
[32m✓[39m [2mequivalence (2 ms)[22m
|
|
287
|
+
[32m✓[39m [2mexact vs any (1 ms)[22m
|
|
288
|
+
[32m✓[39m [2mmajor vs any (1 ms)[22m
|
|
289
|
+
[32m✓[39m [2mgreater or equal vs any (1 ms)[22m
|
|
290
|
+
[32m✓[39m [2many vs any (1 ms)[22m
|
|
291
|
+
[32m✓[39m [2mexact vs greater or equal (2 ms)[22m
|
|
292
|
+
[32m✓[39m [2mmajor vs greater or equal (1 ms)[22m
|
|
293
|
+
[32m✓[39m [2mgreater or equal vs greater or equal (4 ms)[22m
|
|
294
|
+
[32m✓[39m [2mexact vs major (3 ms)[22m
|
|
295
|
+
[32m✓[39m [2mmajor vs major (2 ms)[22m
|
|
296
|
+
[32m✓[39m [2mexact vs union (1 ms)[22m
|
|
297
|
+
[32m✓[39m [2mmajor vs union (1 ms)[22m
|
|
298
|
+
[32m✓[39m [2munion vs union (2 ms)[22m
|
|
307
299
|
|
|
308
300
|
[2mconsole.log[22m
|
|
309
|
-
[34mpackage[39m (/tmp/tmp-
|
|
301
|
+
[34mpackage[39m (/tmp/tmp-3297-tTky5waA8HEp)
|
|
310
302
|
[2m[22m
|
|
311
303
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
312
304
|
|
|
@@ -316,7 +308,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
316
308
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
317
309
|
|
|
318
310
|
[2mconsole.log[22m
|
|
319
|
-
[34mpackage[39m (/tmp/tmp-
|
|
311
|
+
[34mpackage[39m (/tmp/tmp-3297-ebDaQxd9CtQ4)
|
|
320
312
|
[2m[22m
|
|
321
313
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
322
314
|
|
|
@@ -326,7 +318,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
326
318
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
327
319
|
|
|
328
320
|
[2mconsole.log[22m
|
|
329
|
-
[34mpackage[39m (/tmp/tmp-
|
|
321
|
+
[34mpackage[39m (/tmp/tmp-3297-fmzP76SdEqrD)
|
|
330
322
|
[2m[22m
|
|
331
323
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
332
324
|
|
|
@@ -349,7 +341,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
349
341
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageEntry.spec.ts[2m:158:10)[22m[2m[22m
|
|
350
342
|
|
|
351
343
|
[2mconsole.log[22m
|
|
352
|
-
[34mpackage[39m (/tmp/tmp-
|
|
344
|
+
[34mpackage[39m (/tmp/tmp-3297-xoEcQLoz3A97)
|
|
353
345
|
[2m[22m
|
|
354
346
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
355
347
|
|
|
@@ -377,7 +369,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
377
369
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
378
370
|
|
|
379
371
|
[2mconsole.log[22m
|
|
380
|
-
[34mpackage[39m (/tmp/tmp-
|
|
372
|
+
[34mpackage[39m (/tmp/tmp-3297-fTQEuz42cSmp)
|
|
381
373
|
[2m[22m
|
|
382
374
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
383
375
|
|
|
@@ -387,7 +379,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
387
379
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
388
380
|
|
|
389
381
|
[2mconsole.log[22m
|
|
390
|
-
[34mpackage[39m (/tmp/tmp-
|
|
382
|
+
[34mpackage[39m (/tmp/tmp-3297-kma2XchoQ6v8)
|
|
391
383
|
[2m[22m
|
|
392
384
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
393
385
|
|
|
@@ -397,7 +389,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
397
389
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
398
390
|
|
|
399
391
|
[2mconsole.log[22m
|
|
400
|
-
[34mpackage[39m (/tmp/tmp-
|
|
392
|
+
[34mpackage[39m (/tmp/tmp-3297-i3F16pSh7OR7)
|
|
401
393
|
[2m[22m
|
|
402
394
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
403
395
|
|
|
@@ -420,26 +412,10 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
420
412
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageEntry.spec.ts[2m:158:10)[22m[2m[22m
|
|
421
413
|
|
|
422
414
|
[2mconsole.log[22m
|
|
423
|
-
[34mpackage[39m (/tmp/tmp-
|
|
415
|
+
[34mpackage[39m (/tmp/tmp-3297-jMub9s8jbaRl)
|
|
424
416
|
[2m[22m
|
|
425
417
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
426
418
|
|
|
427
|
-
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageEntry.spec.ts[22m
|
|
428
|
-
expectPackageEntries (SimpleHost)
|
|
429
|
-
fix: true
|
|
430
|
-
[32m✓[39m [2mfixes missing entries (84 ms)[22m
|
|
431
|
-
[32m✓[39m [2mfixes missing nested entries (7 ms)[22m
|
|
432
|
-
[32m✓[39m [2mdoesn't error for nested entries that are defined (2 ms)[22m
|
|
433
|
-
[32m✓[39m [2merrors for keys that are missing (9 ms)[22m
|
|
434
|
-
[32m✓[39m [2mhandles both entries and entriesExist (11 ms)[22m
|
|
435
|
-
expectPackageEntries (CachingHost)
|
|
436
|
-
fix: true
|
|
437
|
-
[32m✓[39m [2mfixes missing entries (26 ms)[22m
|
|
438
|
-
[32m✓[39m [2mfixes missing nested entries (5 ms)[22m
|
|
439
|
-
[32m✓[39m [2mdoesn't error for nested entries that are defined (2 ms)[22m
|
|
440
|
-
[32m✓[39m [2merrors for keys that are missing (16 ms)[22m
|
|
441
|
-
[32m✓[39m [2mhandles both entries and entriesExist (27 ms)[22m
|
|
442
|
-
|
|
443
419
|
[2m[31mconsole.error[39m[22m
|
|
444
420
|
[31m [31mError![39m[31m [35mpackage.json[39m[31m: Expected entry for 'bugs' to exist[39m
|
|
445
421
|
[2m[22m
|
|
@@ -463,32 +439,46 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
463
439
|
[2m[22m
|
|
464
440
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
465
441
|
|
|
442
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageEntry.spec.ts[22m
|
|
443
|
+
expectPackageEntries (SimpleHost)
|
|
444
|
+
fix: true
|
|
445
|
+
[32m✓[39m [2mfixes missing entries (36 ms)[22m
|
|
446
|
+
[32m✓[39m [2mfixes missing nested entries (5 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 (9 ms)[22m
|
|
449
|
+
[32m✓[39m [2mhandles both entries and entriesExist (17 ms)[22m
|
|
450
|
+
expectPackageEntries (CachingHost)
|
|
451
|
+
fix: true
|
|
452
|
+
[32m✓[39m [2mfixes missing entries (16 ms)[22m
|
|
453
|
+
[32m✓[39m [2mfixes missing nested entries (4 ms)[22m
|
|
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
|
|
456
|
+
[32m✓[39m [2mhandles both entries and entriesExist (28 ms)[22m
|
|
457
|
+
|
|
466
458
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mnestedWorkspaces.spec.ts[22m
|
|
467
459
|
nestedWorkspaces
|
|
468
|
-
[32m✓[39m [2mchecks correctly when no packages (
|
|
469
|
-
[32m✓[39m [2mchecks correctly when one level packages (
|
|
470
|
-
[32m✓[39m [2mchecks fail when one level packages with no workspaces field (
|
|
471
|
-
[32m✓[39m [2mchecks correctly when two level packages with two level workspaces field (
|
|
460
|
+
[32m✓[39m [2mchecks correctly when no packages (19 ms)[22m
|
|
461
|
+
[32m✓[39m [2mchecks correctly when one level packages (7 ms)[22m
|
|
462
|
+
[32m✓[39m [2mchecks fail when one level packages with no workspaces field (6 ms)[22m
|
|
463
|
+
[32m✓[39m [2mchecks correctly when two level packages with two level workspaces field (7 ms)[22m
|
|
472
464
|
[32m✓[39m [2mchecks fail when two level packages with one level workspaces field (6 ms)[22m
|
|
473
|
-
[32m✓[39m [2mchecks correctly when three level packages with three level workspaces field (
|
|
474
|
-
|
|
475
|
-
[2mconsole.log[22m
|
|
476
|
-
[34mpackage[39m (/tmp/tmp-3268-1rP8ShxIQu88)
|
|
477
|
-
[2m[22m
|
|
478
|
-
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
465
|
+
[32m✓[39m [2mchecks correctly when three level packages with three level workspaces field (7 ms)[22m
|
|
479
466
|
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
[
|
|
483
|
-
[
|
|
467
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mbannedDependencies.spec.ts[22m
|
|
468
|
+
bannedDependencies
|
|
469
|
+
[32m✓[39m [2mFlags banned dependencies correctly (11 ms)[22m
|
|
470
|
+
[32m✓[39m [2mFlags banned dependencies correctly w legacy globs (3 ms)[22m
|
|
471
|
+
[32m✓[39m [2mFlags banned dependencies correctly w new globs (3 ms)[22m
|
|
472
|
+
[32m✓[39m [2mFlags banned dependencies correctly w exact (2 ms)[22m
|
|
473
|
+
[32m✓[39m [2mFlags banned transitives correctly (7 ms)[22m
|
|
484
474
|
|
|
485
475
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mrequireDependency.spec.ts[22m
|
|
486
476
|
requireDependency
|
|
487
|
-
[32m✓[39m [2mchecks correctly (
|
|
488
|
-
[32m✓[39m [2mfixes correctly (
|
|
477
|
+
[32m✓[39m [2mchecks correctly (9 ms)[22m
|
|
478
|
+
[32m✓[39m [2mfixes correctly (4 ms)[22m
|
|
489
479
|
|
|
490
480
|
[2mconsole.log[22m
|
|
491
|
-
[34mpackage
|
|
481
|
+
[34mpackage[39m (/tmp/tmp-3290-y6arxjC6D38B)
|
|
492
482
|
[2m[22m
|
|
493
483
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
494
484
|
|
|
@@ -498,7 +488,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
498
488
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
499
489
|
|
|
500
490
|
[2mconsole.log[22m
|
|
501
|
-
[34mpackage[39m (/tmp/tmp-
|
|
491
|
+
[34mpackage-unknown-keys[39m (/tmp/tmp-3290-LH2jhKeg42lY)
|
|
502
492
|
[2m[22m
|
|
503
493
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
504
494
|
|
|
@@ -508,7 +498,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
508
498
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
509
499
|
|
|
510
500
|
[2mconsole.log[22m
|
|
511
|
-
[34mpackage[39m (/tmp/tmp-
|
|
501
|
+
[34mpackage[39m (/tmp/tmp-3290-9baUS2Q134V5)
|
|
512
502
|
[2m[22m
|
|
513
503
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
514
504
|
|
|
@@ -518,7 +508,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
518
508
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
519
509
|
|
|
520
510
|
[2mconsole.log[22m
|
|
521
|
-
[34mpackage
|
|
511
|
+
[34mpackage[39m (/tmp/tmp-3290-B13dVE6mqPX6)
|
|
522
512
|
[2m[22m
|
|
523
513
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
524
514
|
|
|
@@ -528,77 +518,77 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
528
518
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
529
519
|
|
|
530
520
|
[2mconsole.log[22m
|
|
531
|
-
[34mpackage[39m (/tmp/tmp-
|
|
521
|
+
[34mpackage-unknown-keys[39m (/tmp/tmp-3290-mkYBmMbdl3P1)
|
|
532
522
|
[2m[22m
|
|
533
523
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
534
524
|
|
|
535
525
|
[2mconsole.log[22m
|
|
536
526
|
[32mFixed![39m [35mpackage.json[39m: Incorrect order of fields in package.json
|
|
537
527
|
[2m[22m
|
|
528
|
+
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
529
|
+
|
|
530
|
+
[2mconsole.log[22m
|
|
531
|
+
[34mpackage[39m (/tmp/tmp-3290-beWfpLzI5xw2)
|
|
532
|
+
[2m[22m
|
|
538
533
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
539
534
|
|
|
540
535
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageOrder.spec.ts[22m
|
|
536
|
+
[2mconsole.log[22m
|
|
541
537
|
expectPackageOrder (SimpleHost)
|
|
542
538
|
fix: true
|
|
543
|
-
[32m✓[39m [2mfixes order for expected keys (
|
|
544
|
-
[32m✓[39m [2mfixes order for unexpected keys (
|
|
545
|
-
[32m✓[39m [2mfixes order using function (
|
|
546
|
-
[32m✓[39m [2mdoes nothing if already order (
|
|
539
|
+
[32m✓[39m [2mfixes order for expected keys (113 ms)[22m
|
|
540
|
+
[32m✓[39m [2mfixes order for unexpected keys (26 ms)[22m
|
|
541
|
+
[32m✓[39m [2mfixes order using function (12 ms)[22m
|
|
542
|
+
[32m✓[39m [2mdoes nothing if already order (2 ms)[22m
|
|
547
543
|
expectPackageOrder (CachingHost)
|
|
548
544
|
fix: true
|
|
549
|
-
[32m✓[39m [2mfixes order for expected keys (
|
|
550
|
-
[32m✓[39m [2mfixes order for unexpected keys (
|
|
551
|
-
[32m✓[39m [2mfixes order using function (
|
|
552
|
-
[32m✓[39m [2mdoes nothing if already order (
|
|
545
|
+
[32m✓[39m [2mfixes order for expected keys (19 ms)[22m
|
|
546
|
+
[32m✓[39m [2mfixes order for unexpected keys (5 ms)[22m
|
|
547
|
+
[32m✓[39m [2mfixes order using function (4 ms)[22m
|
|
548
|
+
[32m✓[39m [2mdoes nothing if already order (2 ms)[22m
|
|
549
|
+
|
|
550
|
+
[32mFixed![39m [35mpackage.json[39m: Incorrect order of fields in package.json
|
|
551
|
+
[2m[22m
|
|
552
|
+
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
553
553
|
|
|
554
554
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mconsistentDependencies.spec.ts[22m
|
|
555
555
|
consistentDependencies
|
|
556
|
-
[32m✓[39m [2mchecks correctly (
|
|
556
|
+
[32m✓[39m [2mchecks correctly (20 ms)[22m
|
|
557
557
|
[32m✓[39m [2mfixes correctly (4 ms)[22m
|
|
558
|
-
[32m✓[39m [2mignores ignored dependencies (
|
|
558
|
+
[32m✓[39m [2mignores ignored dependencies (2 ms)[22m
|
|
559
559
|
|
|
560
560
|
[2mconsole.log[22m
|
|
561
|
-
[
|
|
561
|
+
[34mrootProject[39m (/tmp/tmp-3297-gfHvG02p190A)
|
|
562
562
|
[2m[22m
|
|
563
563
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
564
564
|
|
|
565
565
|
[2mconsole.log[22m
|
|
566
|
-
[32mFixed![39m [
|
|
566
|
+
[32mFixed![39m [35mfoo.txt[39m: Expect file contents to match
|
|
567
567
|
[2m[22m
|
|
568
568
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
569
569
|
|
|
570
570
|
[2mconsole.log[22m
|
|
571
|
-
[
|
|
571
|
+
[34mrootProject[39m (/tmp/tmp-3297-VtYkLlMeMPP9)
|
|
572
572
|
[2m[22m
|
|
573
573
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
574
574
|
|
|
575
575
|
[2mconsole.log[22m
|
|
576
|
-
[32mFixed![39m [
|
|
576
|
+
[32mFixed![39m [35mfoo.txt[39m: Expect file contents to match
|
|
577
577
|
[2m[22m
|
|
578
578
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
579
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 (4 ms)[22m
|
|
588
|
-
[32m✓[39m [2mdoes nothing if already sorted (1 ms)[22m
|
|
589
|
-
|
|
590
580
|
[2mconsole.log[22m
|
|
591
|
-
[34mrootProject[39m (/tmp/tmp-
|
|
581
|
+
[34mrootProject[39m (/tmp/tmp-3297-ezoZh1CeRVj6)
|
|
592
582
|
[2m[22m
|
|
593
583
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
594
584
|
|
|
595
585
|
[2mconsole.log[22m
|
|
596
|
-
[32mFixed![39m [
|
|
586
|
+
[32mFixed![39m [35mnested/foo.txt[39m: Expect file contents to match
|
|
597
587
|
[2m[22m
|
|
598
588
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
599
589
|
|
|
600
590
|
[2mconsole.log[22m
|
|
601
|
-
[34mrootProject[39m (/tmp/tmp-
|
|
591
|
+
[34mrootProject[39m (/tmp/tmp-3297-g3F51W07Fxg7)
|
|
602
592
|
[2m[22m
|
|
603
593
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
604
594
|
|
|
@@ -608,59 +598,69 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
608
598
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
609
599
|
|
|
610
600
|
[2mconsole.log[22m
|
|
611
|
-
[34mrootProject[39m (/tmp/tmp-
|
|
601
|
+
[34mrootProject[39m (/tmp/tmp-3297-NPkCwUAtQXiZ)
|
|
612
602
|
[2m[22m
|
|
613
603
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
614
604
|
|
|
615
605
|
[2mconsole.log[22m
|
|
616
|
-
[32mFixed![39m [
|
|
606
|
+
[32mFixed![39m [35mfoo.txt[39m: Expect file contents to match
|
|
617
607
|
[2m[22m
|
|
618
608
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
619
609
|
|
|
620
610
|
[2mconsole.log[22m
|
|
621
|
-
[34mrootProject[39m (/tmp/tmp-
|
|
611
|
+
[34mrootProject[39m (/tmp/tmp-3297-SMNd1uTzliEL)
|
|
622
612
|
[2m[22m
|
|
623
613
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
624
614
|
|
|
625
615
|
[2mconsole.log[22m
|
|
626
|
-
[32mFixed![39m [
|
|
616
|
+
[32mFixed![39m [35mnested/foo.txt[39m: Expect file contents to match
|
|
627
617
|
[2m[22m
|
|
628
618
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
629
619
|
|
|
620
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mfileContents.spec.ts[22m
|
|
621
|
+
fileContents (SimpleHost)
|
|
622
|
+
fix: true
|
|
623
|
+
[32m✓[39m [2mworks with async generator (10 ms)[22m
|
|
624
|
+
[32m✓[39m [2mfixes missing file (3 ms)[22m
|
|
625
|
+
[32m✓[39m [2mfixes missing nested file (3 ms)[22m
|
|
626
|
+
fileContents (CachingHost)
|
|
627
|
+
fix: true
|
|
628
|
+
[32m✓[39m [2mworks with async generator (5 ms)[22m
|
|
629
|
+
[32m✓[39m [2mfixes missing file (3 ms)[22m
|
|
630
|
+
[32m✓[39m [2mfixes missing nested file (3 ms)[22m
|
|
631
|
+
|
|
630
632
|
[2mconsole.log[22m
|
|
631
|
-
[
|
|
633
|
+
[34mfoo-lib[39m (/tmp/tmp-3290-7ngBqnR8L4nv)
|
|
632
634
|
[2m[22m
|
|
633
635
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
634
636
|
|
|
635
637
|
[2mconsole.log[22m
|
|
636
|
-
[32mFixed![39m [
|
|
638
|
+
[32mFixed![39m [35mpackage.json[39m: Incorrect order of scripts in foo-lib's package.json
|
|
637
639
|
[2m[22m
|
|
638
640
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
639
641
|
|
|
640
642
|
[2mconsole.log[22m
|
|
641
|
-
[
|
|
643
|
+
[34mfoo-lib[39m (/tmp/tmp-3290-HL6bAw4rP7gb)
|
|
642
644
|
[2m[22m
|
|
643
645
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
644
646
|
|
|
645
647
|
[2mconsole.log[22m
|
|
646
|
-
[32mFixed![39m [
|
|
648
|
+
[32mFixed![39m [35mpackage.json[39m: Incorrect order of scripts in foo-lib's package.json
|
|
647
649
|
[2m[22m
|
|
648
650
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
649
651
|
|
|
650
|
-
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[
|
|
651
|
-
|
|
652
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1malphabeticalScripts.spec.ts[22m
|
|
653
|
+
alphabeticalScripts (SimpleHost)
|
|
652
654
|
fix: true
|
|
653
|
-
[32m✓[39m [
|
|
654
|
-
[32m✓[39m [
|
|
655
|
-
|
|
656
|
-
fileContents (CachingHost)
|
|
655
|
+
[32m✓[39m [2mfixes unsorted scripts (10 ms)[22m
|
|
656
|
+
[32m✓[39m [2mdoes nothing if already sorted (1 ms)[22m
|
|
657
|
+
alphabeticalScripts (CachingHost)
|
|
657
658
|
fix: true
|
|
658
|
-
[32m✓[39m [
|
|
659
|
-
[32m✓[39m [
|
|
660
|
-
[32m✓[39m [2mfixes missing nested file (3 ms)[22m
|
|
659
|
+
[32m✓[39m [2mfixes unsorted scripts (8 ms)[22m
|
|
660
|
+
[32m✓[39m [2mdoes nothing if already sorted (1 ms)[22m
|
|
661
661
|
|
|
662
662
|
[1mTest Suites: [22m[1m[32m11 passed[39m[22m, 11 total
|
|
663
663
|
[1mTests: [22m[1m[32m118 passed[39m[22m, 118 total
|
|
664
664
|
[1mSnapshots: [22m0 total
|
|
665
|
-
[1mTime:[22m 9.
|
|
665
|
+
[1mTime:[22m 9.447 s
|
|
666
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.21 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 84ms
|
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.125+a94c83e",
|
|
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.125+a94c83e",
|
|
34
|
+
"@monorepolint/core": "^0.5.0-alpha.125+a94c83e",
|
|
35
|
+
"@monorepolint/utils": "^0.5.0-alpha.125+a94c83e",
|
|
36
36
|
"globby": "^14.0.0",
|
|
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": "a94c83edd6800fbd70dce53643b251fa6b769fd8"
|
|
63
63
|
}
|