@monorepolint/rules 0.5.0-alpha.106 → 0.5.0-alpha.108
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 +161 -139
- package/.turbo/turbo-transpile-typescript.log +8 -4
- package/build/js/chunk-GMT7IGKM.js +25 -0
- package/build/js/chunk-GMT7IGKM.js.map +1 -0
- package/build/js/index.js +8 -25
- package/build/js/index.js.map +1 -1
- package/build/js/public/util.js +7 -0
- package/build/js/public/util.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/types/fileContents.d.ts +3 -2
- package/build/types/fileContents.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/__tests__/fileContents.spec.ts +26 -4
- package/src/fileContents.ts +9 -6
package/.turbo/turbo-test.log
CHANGED
|
@@ -4,79 +4,79 @@
|
|
|
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
|
-
(node:
|
|
7
|
+
(node:3015) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
|
|
8
8
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
9
|
-
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mmustSatisfyPeerDependencies.spec.ts[22m ([0m[1m[
|
|
9
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mmustSatisfyPeerDependencies.spec.ts[22m ([0m[1m[41m5.778 s[49m[22m[0m)
|
|
10
10
|
mustSatisfyPeerDependencies
|
|
11
|
-
[32m✓[39m [2mFlags overloaded dependency (entry in regular dependencies and peer dependencies) (
|
|
12
|
-
[32m✓[39m [2mFlags conflicting peer dependencies (
|
|
13
|
-
[32m✓[39m [2mFlags unsatisfied peer dependencies (test package has regular dep) (
|
|
14
|
-
[32m✓[39m [2mFlags missing peer dependencies (NO regular dependency present) (
|
|
15
|
-
[32m✓[39m [2mFlags unsatisfied peer dependencies (test package has peer dep) (
|
|
16
|
-
[32m✓[39m [2mHonors dependencyWhitelist (
|
|
17
|
-
[32m✓[39m [2mHonors dependencyBlacklist (
|
|
11
|
+
[32m✓[39m [2mFlags overloaded dependency (entry in regular dependencies and peer dependencies) (4 ms)[22m
|
|
12
|
+
[32m✓[39m [2mFlags conflicting peer dependencies (4 ms)[22m
|
|
13
|
+
[32m✓[39m [2mFlags unsatisfied peer dependencies (test package has regular dep) (4 ms)[22m
|
|
14
|
+
[32m✓[39m [2mFlags missing peer dependencies (NO regular dependency present) (4 ms)[22m
|
|
15
|
+
[32m✓[39m [2mFlags unsatisfied peer dependencies (test package has peer dep) (3 ms)[22m
|
|
16
|
+
[32m✓[39m [2mHonors dependencyWhitelist (3 ms)[22m
|
|
17
|
+
[32m✓[39m [2mHonors dependencyBlacklist (3 ms)[22m
|
|
18
18
|
regex tests
|
|
19
|
-
[32m✓[39m [2mProperly matches any version range regex (
|
|
20
|
-
[32m✓[39m [2mProperly matches greator or equal version range regex (
|
|
21
|
-
[32m✓[39m [2mProperly matches major version range regex (
|
|
22
|
-
[32m✓[39m [2mProperly matches allowed range regex (
|
|
19
|
+
[32m✓[39m [2mProperly matches any version range regex (18 ms)[22m
|
|
20
|
+
[32m✓[39m [2mProperly matches greator or equal version range regex (14 ms)[22m
|
|
21
|
+
[32m✓[39m [2mProperly matches major version range regex (8 ms)[22m
|
|
22
|
+
[32m✓[39m [2mProperly matches allowed range regex (13 ms)[22m
|
|
23
23
|
Determines dependencies satisfaction correctly
|
|
24
|
-
[32m✓[39m [2mversion is version (
|
|
25
|
-
[32m✓[39m [2mversion satisfies a range (
|
|
26
|
-
[32m✓[39m [2mhigher version satisfies a range (
|
|
27
|
-
[32m✓[39m [2mversion satisfies a greator or equal version range (
|
|
28
|
-
[32m✓[39m [2mhigher version satisfies a greator or equal version range (
|
|
29
|
-
[32m✓[39m [2mversion satisfies 'any' range (
|
|
30
|
-
[32m✓[39m [2mgreator or equal version range satisfies 'any' range (
|
|
31
|
-
[32m✓[39m [2mrange satisfies 'any' range (
|
|
32
|
-
[32m✓[39m [2munion range satisfies 'any' range
|
|
33
|
-
[32m✓[39m [2mversion found in union start (
|
|
34
|
-
[32m✓[39m [2mversion found in union end (
|
|
35
|
-
[32m✓[39m [2mversion satisfies a range in union start (
|
|
24
|
+
[32m✓[39m [2mversion is version (2 ms)[22m
|
|
25
|
+
[32m✓[39m [2mversion satisfies a range (3 ms)[22m
|
|
26
|
+
[32m✓[39m [2mhigher version satisfies a range (2 ms)[22m
|
|
27
|
+
[32m✓[39m [2mversion satisfies a greator or equal version range (1 ms)[22m
|
|
28
|
+
[32m✓[39m [2mhigher version satisfies a greator or equal version range (1 ms)[22m
|
|
29
|
+
[32m✓[39m [2mversion satisfies 'any' range (1 ms)[22m
|
|
30
|
+
[32m✓[39m [2mgreator or equal version range satisfies 'any' range (2 ms)[22m
|
|
31
|
+
[32m✓[39m [2mrange satisfies 'any' range (1 ms)[22m
|
|
32
|
+
[32m✓[39m [2munion range satisfies 'any' range[22m
|
|
33
|
+
[32m✓[39m [2mversion found in union start (1 ms)[22m
|
|
34
|
+
[32m✓[39m [2mversion found in union end (1 ms)[22m
|
|
35
|
+
[32m✓[39m [2mversion satisfies a range in union start (1 ms)[22m
|
|
36
36
|
[32m✓[39m [2mversion satisfies a range in union end (1 ms)[22m
|
|
37
37
|
[32m✓[39m [2mhigher version satisfies a range in union start (1 ms)[22m
|
|
38
38
|
[32m✓[39m [2mhigher version satisfies a range in union end (1 ms)[22m
|
|
39
39
|
[32m✓[39m [2mrange found in union start (1 ms)[22m
|
|
40
|
-
[32m✓[39m [2mrange found in union end (
|
|
40
|
+
[32m✓[39m [2mrange found in union end (1 ms)[22m
|
|
41
41
|
[32m✓[39m [2munion satisfies greator or equal version range (1 ms)[22m
|
|
42
42
|
[32m✓[39m [2mgreator or equal version range satisfies greator or equal version range (1 ms)[22m
|
|
43
|
-
[32m✓[39m [2mequivalent greator or equal version ranges satisfy each other (
|
|
44
|
-
[32m✓[39m [2mhigher range satisfies a range in union start (
|
|
43
|
+
[32m✓[39m [2mequivalent greator or equal version ranges satisfy each other (1 ms)[22m
|
|
44
|
+
[32m✓[39m [2mhigher range satisfies a range in union start (1 ms)[22m
|
|
45
45
|
[32m✓[39m [2mhigher range satisfies a range in union end (1 ms)[22m
|
|
46
46
|
[32m✓[39m [2mequivalent 'any' ranges satisfy each other (1 ms)[22m
|
|
47
|
-
[32m✓[39m [2mequivalent major ranges satisfy each other (
|
|
48
|
-
[32m✓[39m [2mversion missing in union
|
|
47
|
+
[32m✓[39m [2mequivalent major ranges satisfy each other (3 ms)[22m
|
|
48
|
+
[32m✓[39m [2mversion missing in union[22m
|
|
49
49
|
[32m✓[39m [2mrange missing in union (1 ms)[22m
|
|
50
50
|
Determines dependencies intersections correctly
|
|
51
|
-
[32m✓[39m [2mequivalence (
|
|
51
|
+
[32m✓[39m [2mequivalence (1 ms)[22m
|
|
52
52
|
[32m✓[39m [2mexact vs any (1 ms)[22m
|
|
53
|
-
[32m✓[39m [2mmajor vs any (
|
|
54
|
-
[32m✓[39m [2mgreater or equal vs any
|
|
55
|
-
[32m✓[39m [2many vs any
|
|
56
|
-
[32m✓[39m [2mexact vs greater or equal (
|
|
57
|
-
[32m✓[39m [2mmajor vs greater or equal (
|
|
53
|
+
[32m✓[39m [2mmajor vs any (1 ms)[22m
|
|
54
|
+
[32m✓[39m [2mgreater or equal vs any[22m
|
|
55
|
+
[32m✓[39m [2many vs any[22m
|
|
56
|
+
[32m✓[39m [2mexact vs greater or equal (1 ms)[22m
|
|
57
|
+
[32m✓[39m [2mmajor vs greater or equal (1 ms)[22m
|
|
58
58
|
[32m✓[39m [2mgreater or equal vs greater or equal (1 ms)[22m
|
|
59
|
-
[32m✓[39m [2mexact vs major (
|
|
60
|
-
[32m✓[39m [2mmajor vs major (
|
|
59
|
+
[32m✓[39m [2mexact vs major (1 ms)[22m
|
|
60
|
+
[32m✓[39m [2mmajor vs major (1 ms)[22m
|
|
61
61
|
[32m✓[39m [2mexact vs union (2 ms)[22m
|
|
62
|
-
[32m✓[39m [2mmajor vs union (
|
|
63
|
-
[32m✓[39m [2munion vs union (
|
|
62
|
+
[32m✓[39m [2mmajor vs union (2 ms)[22m
|
|
63
|
+
[32m✓[39m [2munion vs union (1 ms)[22m
|
|
64
64
|
|
|
65
65
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mconsistentVersions.spec.ts[22m
|
|
66
66
|
consistentVersions
|
|
67
67
|
standard tests
|
|
68
|
-
[32m✓[39m [2mDoes nothing when arguments are empty (
|
|
69
|
-
[32m✓[39m [2mFixes packages that have an incorrect dependency version (
|
|
70
|
-
[32m✓[39m [2mIgnores packages that have a correct dependency version (
|
|
71
|
-
[32m✓[39m [2mFixes packages that have an incorrect devDependency version (
|
|
72
|
-
[32m✓[39m [2mIgnores packages that have a correct devDependency version (
|
|
68
|
+
[32m✓[39m [2mDoes nothing when arguments are empty (6 ms)[22m
|
|
69
|
+
[32m✓[39m [2mFixes packages that have an incorrect dependency version (3 ms)[22m
|
|
70
|
+
[32m✓[39m [2mIgnores packages that have a correct dependency version (1 ms)[22m
|
|
71
|
+
[32m✓[39m [2mFixes packages that have an incorrect devDependency version (2 ms)[22m
|
|
72
|
+
[32m✓[39m [2mIgnores packages that have a correct devDependency version (1 ms)[22m
|
|
73
73
|
[32m✓[39m [2mFixes packages that have an incorrect dependency and devDependency versions (3 ms)[22m
|
|
74
74
|
Multiple accepted versions tests
|
|
75
|
-
[32m✓[39m [2mAccepts a match when multiple versions are configured (
|
|
76
|
-
[32m✓[39m [2mErrors when version does not match (
|
|
75
|
+
[32m✓[39m [2mAccepts a match when multiple versions are configured (2 ms)[22m
|
|
76
|
+
[32m✓[39m [2mErrors when version does not match (2 ms)[22m
|
|
77
77
|
|
|
78
78
|
[2mconsole.log[22m
|
|
79
|
-
[34mpackage-without-scripts[39m (/tmp/tmp-
|
|
79
|
+
[34mpackage-without-scripts[39m (/tmp/tmp-3015-ntsFCv8hLtre)
|
|
80
80
|
[2m[22m
|
|
81
81
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
82
82
|
|
|
@@ -99,7 +99,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
99
99
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageScript.spec.ts[2m:56:10)[22m[2m[22m
|
|
100
100
|
|
|
101
101
|
[2mconsole.log[22m
|
|
102
|
-
[34mpackage-without-scripts[39m (/tmp/tmp-
|
|
102
|
+
[34mpackage-without-scripts[39m (/tmp/tmp-3015-SAxEoAbOnB3A)
|
|
103
103
|
[2m[22m
|
|
104
104
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
105
105
|
|
|
@@ -109,7 +109,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
109
109
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
110
110
|
|
|
111
111
|
[2mconsole.log[22m
|
|
112
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
112
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3015-n5gF9HzqDHkk)
|
|
113
113
|
[2m[22m
|
|
114
114
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
115
115
|
|
|
@@ -119,7 +119,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
119
119
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
120
120
|
|
|
121
121
|
[2mconsole.log[22m
|
|
122
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
122
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3015-7pG5wz142zVQ)
|
|
123
123
|
[2m[22m
|
|
124
124
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
125
125
|
|
|
@@ -142,7 +142,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
142
142
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageScript.spec.ts[2m:169:10)[22m[2m[22m
|
|
143
143
|
|
|
144
144
|
[2mconsole.log[22m
|
|
145
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
145
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3015-hfllTTVXiuFI)
|
|
146
146
|
[2m[22m
|
|
147
147
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
148
148
|
|
|
@@ -152,7 +152,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
152
152
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
153
153
|
|
|
154
154
|
[2mconsole.log[22m
|
|
155
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
155
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3015-QLZ1bunEYYu8)
|
|
156
156
|
[2m[22m
|
|
157
157
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
158
158
|
|
|
@@ -162,7 +162,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
162
162
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
163
163
|
|
|
164
164
|
[2mconsole.log[22m
|
|
165
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
165
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3015-tEvovcZe9eCH)
|
|
166
166
|
[2m[22m
|
|
167
167
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
168
168
|
|
|
@@ -172,7 +172,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
172
172
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
173
173
|
|
|
174
174
|
[2mconsole.log[22m
|
|
175
|
-
[34mpackage-without-scripts[39m (/tmp/tmp-
|
|
175
|
+
[34mpackage-without-scripts[39m (/tmp/tmp-3015-NZF38ZFKqW3w)
|
|
176
176
|
[2m[22m
|
|
177
177
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
178
178
|
|
|
@@ -195,7 +195,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
195
195
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageScript.spec.ts[2m:56:10)[22m[2m[22m
|
|
196
196
|
|
|
197
197
|
[2mconsole.log[22m
|
|
198
|
-
[34mpackage-without-scripts[39m (/tmp/tmp-
|
|
198
|
+
[34mpackage-without-scripts[39m (/tmp/tmp-3015-okEJ4EE1sfsY)
|
|
199
199
|
[2m[22m
|
|
200
200
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
201
201
|
|
|
@@ -205,7 +205,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
205
205
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
206
206
|
|
|
207
207
|
[2mconsole.log[22m
|
|
208
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
208
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3015-PZBjno3SAvUF)
|
|
209
209
|
[2m[22m
|
|
210
210
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
211
211
|
|
|
@@ -215,7 +215,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
215
215
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
216
216
|
|
|
217
217
|
[2mconsole.log[22m
|
|
218
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
218
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3015-PDlhYOtOcSmO)
|
|
219
219
|
[2m[22m
|
|
220
220
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
221
221
|
|
|
@@ -238,7 +238,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
238
238
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageScript.spec.ts[2m:169:10)[22m[2m[22m
|
|
239
239
|
|
|
240
240
|
[2mconsole.log[22m
|
|
241
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
241
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3015-reJ8yXzFYEN2)
|
|
242
242
|
[2m[22m
|
|
243
243
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
244
244
|
|
|
@@ -248,7 +248,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
248
248
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
249
249
|
|
|
250
250
|
[2mconsole.log[22m
|
|
251
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
251
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3015-850BCoLLeKEl)
|
|
252
252
|
[2m[22m
|
|
253
253
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
254
254
|
|
|
@@ -258,49 +258,49 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
258
258
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
259
259
|
|
|
260
260
|
[2mconsole.log[22m
|
|
261
|
-
[34mpackage-with-scripts[39m (/tmp/tmp-
|
|
261
|
+
[34mpackage-with-scripts[39m (/tmp/tmp-3015-frX2pNgIraoj)
|
|
262
262
|
[2m[22m
|
|
263
263
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
264
264
|
|
|
265
|
-
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageScript.spec.ts[22m
|
|
266
|
-
expectPackageScript (SimpleHost)
|
|
267
|
-
fix: false
|
|
268
265
|
[2mconsole.log[22m
|
|
269
266
|
[32mFixed![39m [35mpackage.json[39m: Expected standardized script entry for 'exists'. Valid options: (empty)
|
|
270
267
|
[2m[22m
|
|
271
268
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
272
269
|
|
|
273
|
-
|
|
270
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageScript.spec.ts[22m
|
|
271
|
+
expectPackageScript (SimpleHost)
|
|
272
|
+
fix: false
|
|
273
|
+
[32m✓[39m [2mhandles an empty script section (52 ms)[22m
|
|
274
274
|
fix: true
|
|
275
|
-
[32m✓[39m [2mfixes an empty script section (
|
|
276
|
-
[32m✓[39m [2madds a script (
|
|
275
|
+
[32m✓[39m [2mfixes an empty script section (4 ms)[22m
|
|
276
|
+
[32m✓[39m [2madds a script (8 ms)[22m
|
|
277
277
|
[32m✓[39m [2mdoes nothing if the value exists (2 ms)[22m
|
|
278
|
-
[32m✓[39m [2merrors if long form is used and no value matches and there is no fixValue (
|
|
279
|
-
[32m✓[39m [2muses the fixValue for fixing if provided (
|
|
280
|
-
[32m✓[39m [2mcan fix to empty (
|
|
281
|
-
[32m✓[39m [2mcan allow only empty (
|
|
278
|
+
[32m✓[39m [2merrors if long form is used and no value matches and there is no fixValue (15 ms)[22m
|
|
279
|
+
[32m✓[39m [2muses the fixValue for fixing if provided (4 ms)[22m
|
|
280
|
+
[32m✓[39m [2mcan fix to empty (3 ms)[22m
|
|
281
|
+
[32m✓[39m [2mcan allow only empty (7 ms)[22m
|
|
282
282
|
expectPackageScript (CachingHost)
|
|
283
283
|
fix: false
|
|
284
|
-
[32m✓[39m [2mhandles an empty script section (
|
|
284
|
+
[32m✓[39m [2mhandles an empty script section (9 ms)[22m
|
|
285
285
|
fix: true
|
|
286
|
-
[32m✓[39m [2mfixes an empty script section (
|
|
287
|
-
[32m✓[39m [2madds a script (
|
|
288
|
-
[32m✓[39m [2mdoes nothing if the value exists (
|
|
289
|
-
[32m✓[39m [2merrors if long form is used and no value matches and there is no fixValue (
|
|
290
|
-
[32m✓[39m [2muses the fixValue for fixing if provided (
|
|
291
|
-
[32m✓[39m [2mcan fix to empty (
|
|
292
|
-
[32m✓[39m [2mcan allow only empty (
|
|
286
|
+
[32m✓[39m [2mfixes an empty script section (4 ms)[22m
|
|
287
|
+
[32m✓[39m [2madds a script (8 ms)[22m
|
|
288
|
+
[32m✓[39m [2mdoes nothing if the value exists (1 ms)[22m
|
|
289
|
+
[32m✓[39m [2merrors if long form is used and no value matches and there is no fixValue (7 ms)[22m
|
|
290
|
+
[32m✓[39m [2muses the fixValue for fixing if provided (11 ms)[22m
|
|
291
|
+
[32m✓[39m [2mcan fix to empty (4 ms)[22m
|
|
292
|
+
[32m✓[39m [2mcan allow only empty (13 ms)[22m
|
|
293
293
|
|
|
294
294
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mbannedDependencies.spec.ts[22m
|
|
295
295
|
bannedDependencies
|
|
296
|
-
[32m✓[39m [2mFlags banned dependencies correctly (
|
|
296
|
+
[32m✓[39m [2mFlags banned dependencies correctly (8 ms)[22m
|
|
297
297
|
[32m✓[39m [2mFlags banned dependencies correctly w legacy globs (3 ms)[22m
|
|
298
|
-
[32m✓[39m [2mFlags banned dependencies correctly w new globs (
|
|
299
|
-
[32m✓[39m [2mFlags banned dependencies correctly w exact (
|
|
300
|
-
[32m✓[39m [2mFlags banned transitives correctly (
|
|
298
|
+
[32m✓[39m [2mFlags banned dependencies correctly w new globs (1 ms)[22m
|
|
299
|
+
[32m✓[39m [2mFlags banned dependencies correctly w exact (2 ms)[22m
|
|
300
|
+
[32m✓[39m [2mFlags banned transitives correctly (6 ms)[22m
|
|
301
301
|
|
|
302
302
|
[2mconsole.log[22m
|
|
303
|
-
[34mpackage[39m (/tmp/tmp-
|
|
303
|
+
[34mpackage[39m (/tmp/tmp-3015-pLd3Y2GEeOR9)
|
|
304
304
|
[2m[22m
|
|
305
305
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
306
306
|
|
|
@@ -310,7 +310,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
310
310
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
311
311
|
|
|
312
312
|
[2mconsole.log[22m
|
|
313
|
-
[34mpackage[39m (/tmp/tmp-
|
|
313
|
+
[34mpackage[39m (/tmp/tmp-3015-PiOQrZVuH5et)
|
|
314
314
|
[2m[22m
|
|
315
315
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
316
316
|
|
|
@@ -320,7 +320,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
320
320
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
321
321
|
|
|
322
322
|
[2mconsole.log[22m
|
|
323
|
-
[34mpackage[39m (/tmp/tmp-
|
|
323
|
+
[34mpackage[39m (/tmp/tmp-3015-pwI2mxm6cfER)
|
|
324
324
|
[2m[22m
|
|
325
325
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
326
326
|
|
|
@@ -343,7 +343,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
343
343
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageEntry.spec.ts[2m:158:10)[22m[2m[22m
|
|
344
344
|
|
|
345
345
|
[2mconsole.log[22m
|
|
346
|
-
[34mpackage[39m (/tmp/tmp-
|
|
346
|
+
[34mpackage[39m (/tmp/tmp-3015-mW0uPdas3ZGy)
|
|
347
347
|
[2m[22m
|
|
348
348
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
349
349
|
|
|
@@ -371,7 +371,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
371
371
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
372
372
|
|
|
373
373
|
[2mconsole.log[22m
|
|
374
|
-
[34mpackage[39m (/tmp/tmp-
|
|
374
|
+
[34mpackage[39m (/tmp/tmp-3015-cZu6RzLdOX1p)
|
|
375
375
|
[2m[22m
|
|
376
376
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
377
377
|
|
|
@@ -381,7 +381,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
381
381
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
382
382
|
|
|
383
383
|
[2mconsole.log[22m
|
|
384
|
-
[34mpackage[39m (/tmp/tmp-
|
|
384
|
+
[34mpackage[39m (/tmp/tmp-3015-3Ij6gWE3D0Uc)
|
|
385
385
|
[2m[22m
|
|
386
386
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
387
387
|
|
|
@@ -391,7 +391,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
391
391
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
392
392
|
|
|
393
393
|
[2mconsole.log[22m
|
|
394
|
-
[34mpackage[39m (/tmp/tmp-
|
|
394
|
+
[34mpackage[39m (/tmp/tmp-3015-MP18AaVILNiP)
|
|
395
395
|
[2m[22m
|
|
396
396
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
397
397
|
|
|
@@ -414,7 +414,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
414
414
|
[2m [2mat Object.<anonymous> ([22m[2msrc/__tests__/packageEntry.spec.ts[2m:158:10)[22m[2m[22m
|
|
415
415
|
|
|
416
416
|
[2mconsole.log[22m
|
|
417
|
-
[34mpackage[39m (/tmp/tmp-
|
|
417
|
+
[34mpackage[39m (/tmp/tmp-3015-qAVfbLiK2sLL)
|
|
418
418
|
[2m[22m
|
|
419
419
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
420
420
|
|
|
@@ -444,35 +444,35 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
444
444
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageEntry.spec.ts[22m
|
|
445
445
|
expectPackageEntries (SimpleHost)
|
|
446
446
|
fix: true
|
|
447
|
-
[32m✓[39m [2mfixes missing entries (
|
|
448
|
-
[32m✓[39m [2mfixes missing nested entries (
|
|
447
|
+
[32m✓[39m [2mfixes missing entries (11 ms)[22m
|
|
448
|
+
[32m✓[39m [2mfixes missing nested entries (3 ms)[22m
|
|
449
449
|
[32m✓[39m [2mdoesn't error for nested entries that are defined (1 ms)[22m
|
|
450
|
-
[32m✓[39m [2merrors for keys that are missing (
|
|
451
|
-
[32m✓[39m [2mhandles both entries and entriesExist (
|
|
450
|
+
[32m✓[39m [2merrors for keys that are missing (7 ms)[22m
|
|
451
|
+
[32m✓[39m [2mhandles both entries and entriesExist (8 ms)[22m
|
|
452
452
|
expectPackageEntries (CachingHost)
|
|
453
453
|
fix: true
|
|
454
|
-
[32m✓[39m [2mfixes missing entries (
|
|
455
|
-
[32m✓[39m [2mfixes missing nested entries (
|
|
456
|
-
[32m✓[39m [2mdoesn't error for nested entries that are defined (
|
|
454
|
+
[32m✓[39m [2mfixes missing entries (22 ms)[22m
|
|
455
|
+
[32m✓[39m [2mfixes missing nested entries (5 ms)[22m
|
|
456
|
+
[32m✓[39m [2mdoesn't error for nested entries that are defined (1 ms)[22m
|
|
457
457
|
[32m✓[39m [2merrors for keys that are missing (10 ms)[22m
|
|
458
|
-
[32m✓[39m [2mhandles both entries and entriesExist (
|
|
458
|
+
[32m✓[39m [2mhandles both entries and entriesExist (25 ms)[22m
|
|
459
459
|
|
|
460
460
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mnestedWorkspaces.spec.ts[22m
|
|
461
461
|
nestedWorkspaces
|
|
462
|
-
[32m✓[39m [2mchecks correctly when no packages (
|
|
463
|
-
[32m✓[39m [2mchecks correctly when one level packages (
|
|
464
|
-
[32m✓[39m [2mchecks fail when one level packages with no workspaces field (
|
|
465
|
-
[32m✓[39m [2mchecks correctly when two level packages with two level workspaces field (
|
|
466
|
-
[32m✓[39m [2mchecks fail when two level packages with one level workspaces field (
|
|
467
|
-
[32m✓[39m [2mchecks correctly when three level packages with three level workspaces field (
|
|
462
|
+
[32m✓[39m [2mchecks correctly when no packages (12 ms)[22m
|
|
463
|
+
[32m✓[39m [2mchecks correctly when one level packages (5 ms)[22m
|
|
464
|
+
[32m✓[39m [2mchecks fail when one level packages with no workspaces field (4 ms)[22m
|
|
465
|
+
[32m✓[39m [2mchecks correctly when two level packages with two level workspaces field (5 ms)[22m
|
|
466
|
+
[32m✓[39m [2mchecks fail when two level packages with one level workspaces field (4 ms)[22m
|
|
467
|
+
[32m✓[39m [2mchecks correctly when three level packages with three level workspaces field (5 ms)[22m
|
|
468
468
|
|
|
469
469
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mrequireDependency.spec.ts[22m
|
|
470
470
|
requireDependency
|
|
471
|
-
[32m✓[39m [2mchecks correctly (
|
|
472
|
-
[32m✓[39m [2mfixes correctly (
|
|
471
|
+
[32m✓[39m [2mchecks correctly (10 ms)[22m
|
|
472
|
+
[32m✓[39m [2mfixes correctly (5 ms)[22m
|
|
473
473
|
|
|
474
474
|
[2mconsole.log[22m
|
|
475
|
-
[34mpackage[39m (/tmp/tmp-
|
|
475
|
+
[34mpackage[39m (/tmp/tmp-3015-DtCY7djUTCKt)
|
|
476
476
|
[2m[22m
|
|
477
477
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
478
478
|
|
|
@@ -482,7 +482,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
482
482
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
483
483
|
|
|
484
484
|
[2mconsole.log[22m
|
|
485
|
-
[34mpackage-unknown-keys[39m (/tmp/tmp-
|
|
485
|
+
[34mpackage-unknown-keys[39m (/tmp/tmp-3015-hedVBabdqf1K)
|
|
486
486
|
[2m[22m
|
|
487
487
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
488
488
|
|
|
@@ -492,7 +492,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
492
492
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
493
493
|
|
|
494
494
|
[2mconsole.log[22m
|
|
495
|
-
[34mpackage[39m (/tmp/tmp-
|
|
495
|
+
[34mpackage[39m (/tmp/tmp-3015-diDsbMb8RG2I)
|
|
496
496
|
[2m[22m
|
|
497
497
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
498
498
|
|
|
@@ -502,7 +502,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
502
502
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
503
503
|
|
|
504
504
|
[2mconsole.log[22m
|
|
505
|
-
[34mpackage[39m (/tmp/tmp-
|
|
505
|
+
[34mpackage[39m (/tmp/tmp-3015-i8vsw1yqxWMj)
|
|
506
506
|
[2m[22m
|
|
507
507
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
508
508
|
|
|
@@ -512,7 +512,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
512
512
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
513
513
|
|
|
514
514
|
[2mconsole.log[22m
|
|
515
|
-
[34mpackage-unknown-keys[39m (/tmp/tmp-
|
|
515
|
+
[34mpackage-unknown-keys[39m (/tmp/tmp-3015-shWRAEtCt6kt)
|
|
516
516
|
[2m[22m
|
|
517
517
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
518
518
|
|
|
@@ -522,7 +522,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
522
522
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
523
523
|
|
|
524
524
|
[2mconsole.log[22m
|
|
525
|
-
[34mpackage[39m (/tmp/tmp-
|
|
525
|
+
[34mpackage[39m (/tmp/tmp-3015-5wh24zOPC7Er)
|
|
526
526
|
[2m[22m
|
|
527
527
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
528
528
|
|
|
@@ -534,25 +534,25 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
534
534
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mpackageOrder.spec.ts[22m
|
|
535
535
|
expectPackageOrder (SimpleHost)
|
|
536
536
|
fix: true
|
|
537
|
-
[32m✓[39m [2mfixes order for expected keys (
|
|
538
|
-
[32m✓[39m [2mfixes order for unexpected keys (
|
|
539
|
-
[32m✓[39m [2mfixes order using function (
|
|
537
|
+
[32m✓[39m [2mfixes order for expected keys (12 ms)[22m
|
|
538
|
+
[32m✓[39m [2mfixes order for unexpected keys (14 ms)[22m
|
|
539
|
+
[32m✓[39m [2mfixes order using function (4 ms)[22m
|
|
540
540
|
[32m✓[39m [2mdoes nothing if already order (2 ms)[22m
|
|
541
541
|
expectPackageOrder (CachingHost)
|
|
542
542
|
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 (
|
|
543
|
+
[32m✓[39m [2mfixes order for expected keys (15 ms)[22m
|
|
544
|
+
[32m✓[39m [2mfixes order for unexpected keys (4 ms)[22m
|
|
545
|
+
[32m✓[39m [2mfixes order using function (4 ms)[22m
|
|
546
|
+
[32m✓[39m [2mdoes nothing if already order (2 ms)[22m
|
|
547
547
|
|
|
548
548
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mconsistentDependencies.spec.ts[22m
|
|
549
549
|
consistentDependencies
|
|
550
|
-
[32m✓[39m [2mchecks correctly (
|
|
551
|
-
[32m✓[39m [2mfixes correctly (
|
|
552
|
-
[32m✓[39m [2mignores ignored dependencies (
|
|
550
|
+
[32m✓[39m [2mchecks correctly (11 ms)[22m
|
|
551
|
+
[32m✓[39m [2mfixes correctly (3 ms)[22m
|
|
552
|
+
[32m✓[39m [2mignores ignored dependencies (2 ms)[22m
|
|
553
553
|
|
|
554
554
|
[2mconsole.log[22m
|
|
555
|
-
[34mrootProject[39m (/tmp/tmp-
|
|
555
|
+
[34mrootProject[39m (/tmp/tmp-3015-SglKHkHpaWex)
|
|
556
556
|
[2m[22m
|
|
557
557
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
558
558
|
|
|
@@ -562,7 +562,17 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
562
562
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
563
563
|
|
|
564
564
|
[2mconsole.log[22m
|
|
565
|
-
[34mrootProject[39m (/tmp/tmp-
|
|
565
|
+
[34mrootProject[39m (/tmp/tmp-3015-PU7yU7XkkER0)
|
|
566
|
+
[2m[22m
|
|
567
|
+
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
568
|
+
|
|
569
|
+
[2mconsole.log[22m
|
|
570
|
+
[32mFixed![39m [35mfoo.txt[39m: Expect file contents to match
|
|
571
|
+
[2m[22m
|
|
572
|
+
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
573
|
+
|
|
574
|
+
[2mconsole.log[22m
|
|
575
|
+
[34mrootProject[39m (/tmp/tmp-3015-d6VJS5TM4Dre)
|
|
566
576
|
[2m[22m
|
|
567
577
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
568
578
|
|
|
@@ -572,7 +582,17 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
572
582
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
573
583
|
|
|
574
584
|
[2mconsole.log[22m
|
|
575
|
-
[34mrootProject[39m (/tmp/tmp-
|
|
585
|
+
[34mrootProject[39m (/tmp/tmp-3015-NPWTfkvyroOs)
|
|
586
|
+
[2m[22m
|
|
587
|
+
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
588
|
+
|
|
589
|
+
[2mconsole.log[22m
|
|
590
|
+
[32mFixed![39m [35mfoo.txt[39m: Expect file contents to match
|
|
591
|
+
[2m[22m
|
|
592
|
+
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
593
|
+
|
|
594
|
+
[2mconsole.log[22m
|
|
595
|
+
[34mrootProject[39m (/tmp/tmp-3015-Io4N3Ou7tIrX)
|
|
576
596
|
[2m[22m
|
|
577
597
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
578
598
|
|
|
@@ -582,7 +602,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
582
602
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
583
603
|
|
|
584
604
|
[2mconsole.log[22m
|
|
585
|
-
[34mrootProject[39m (/tmp/tmp-
|
|
605
|
+
[34mrootProject[39m (/tmp/tmp-3015-5e3fA0VtiBrG)
|
|
586
606
|
[2m[22m
|
|
587
607
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
588
608
|
|
|
@@ -594,15 +614,17 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
594
614
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1mfileContents.spec.ts[22m
|
|
595
615
|
fileContents (SimpleHost)
|
|
596
616
|
fix: true
|
|
597
|
-
[32m✓[39m [
|
|
598
|
-
[32m✓[39m [2mfixes missing
|
|
617
|
+
[32m✓[39m [2mworks with async generator (9 ms)[22m
|
|
618
|
+
[32m✓[39m [2mfixes missing file (5 ms)[22m
|
|
619
|
+
[32m✓[39m [2mfixes missing nested file (4 ms)[22m
|
|
599
620
|
fileContents (CachingHost)
|
|
600
621
|
fix: true
|
|
601
|
-
[32m✓[39m [
|
|
602
|
-
[32m✓[39m [2mfixes missing
|
|
622
|
+
[32m✓[39m [2mworks with async generator (18 ms)[22m
|
|
623
|
+
[32m✓[39m [2mfixes missing file (3 ms)[22m
|
|
624
|
+
[32m✓[39m [2mfixes missing nested file (3 ms)[22m
|
|
603
625
|
|
|
604
626
|
[2mconsole.log[22m
|
|
605
|
-
[34mfoo-lib[39m (/tmp/tmp-
|
|
627
|
+
[34mfoo-lib[39m (/tmp/tmp-3015-5tlHPmUL3fVk)
|
|
606
628
|
[2m[22m
|
|
607
629
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
608
630
|
|
|
@@ -612,7 +634,7 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
612
634
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
613
635
|
|
|
614
636
|
[2mconsole.log[22m
|
|
615
|
-
[34mfoo-lib[39m (/tmp/tmp-
|
|
637
|
+
[34mfoo-lib[39m (/tmp/tmp-3015-O1T3jqFPPuki)
|
|
616
638
|
[2m[22m
|
|
617
639
|
[2m [2mat WorkspaceContextImpl.print ([22m[2m../core/src/PackageContext.ts[2m:133:13)[22m[2m[22m
|
|
618
640
|
|
|
@@ -624,15 +646,15 @@ ts-jest[ts-compiler] (WARN) Unable to process '/home/runner/work/monorepolint/mo
|
|
|
624
646
|
[0m[7m[1m[32m PASS [39m[22m[27m[0m [2msrc/__tests__/[22m[1malphabeticalScripts.spec.ts[22m
|
|
625
647
|
alphabeticalScripts (SimpleHost)
|
|
626
648
|
fix: true
|
|
627
|
-
[32m✓[39m [2mfixes unsorted scripts (
|
|
628
|
-
[32m✓[39m [2mdoes nothing if already sorted (
|
|
649
|
+
[32m✓[39m [2mfixes unsorted scripts (12 ms)[22m
|
|
650
|
+
[32m✓[39m [2mdoes nothing if already sorted (1 ms)[22m
|
|
629
651
|
alphabeticalScripts (CachingHost)
|
|
630
652
|
fix: true
|
|
631
|
-
[32m✓[39m [2mfixes unsorted scripts (
|
|
632
|
-
[32m✓[39m [2mdoes nothing if already sorted (
|
|
653
|
+
[32m✓[39m [2mfixes unsorted scripts (5 ms)[22m
|
|
654
|
+
[32m✓[39m [2mdoes nothing if already sorted (1 ms)[22m
|
|
633
655
|
|
|
634
656
|
[1mTest Suites: [22m[1m[32m11 passed[39m[22m, 11 total
|
|
635
|
-
[1mTests: [22m[1m[
|
|
657
|
+
[1mTests: [22m[1m[32m118 passed[39m[22m, 118 total
|
|
636
658
|
[1mSnapshots: [22m0 total
|
|
637
|
-
[1mTime:[22m
|
|
659
|
+
[1mTime:[22m 12.394 s
|
|
638
660
|
[2mRan all test suites[22m[2m.[22m
|
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
> @monorepolint/rules@0.4.0 transpile-typescript /home/runner/work/monorepolint/monorepolint/packages/rules
|
|
3
3
|
> tsup --config ../../tsup.config.cjs
|
|
4
4
|
|
|
5
|
-
[34mCLI[39m Building entry: src/index.ts
|
|
5
|
+
[34mCLI[39m Building entry: src/index.ts, src/public/util.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
7
|
[34mCLI[39m tsup v6.5.0
|
|
8
8
|
[34mCLI[39m Using tsup config: /home/runner/work/monorepolint/monorepolint/tsup.config.cjs
|
|
9
9
|
[34mCLI[39m Target: node16
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mESM[39m [1mbuild/js/
|
|
13
|
-
[32mESM[39m [1mbuild/js/index.js
|
|
14
|
-
[32mESM[39m
|
|
12
|
+
[32mESM[39m [1mbuild/js/public/util.js [22m[32m106.00 B[39m
|
|
13
|
+
[32mESM[39m [1mbuild/js/index.js [22m[32m49.88 KB[39m
|
|
14
|
+
[32mESM[39m [1mbuild/js/chunk-GMT7IGKM.js [22m[32m429.00 B[39m
|
|
15
|
+
[32mESM[39m [1mbuild/js/public/util.js.map [22m[32m71.00 B[39m
|
|
16
|
+
[32mESM[39m [1mbuild/js/index.js.map [22m[32m99.26 KB[39m
|
|
17
|
+
[32mESM[39m [1mbuild/js/chunk-GMT7IGKM.js.map [22m[32m1.16 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 85ms
|