@monorepolint/utils 0.6.0-alpha.2 → 0.6.0-alpha.4
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-clean.log +1 -1
- package/.turbo/turbo-compile-typescript.log +1 -1
- package/.turbo/turbo-lint.log +7 -7
- package/.turbo/turbo-test.log +11 -10
- package/.turbo/turbo-transpile-typescript.log +4 -4
- package/CHANGELOG.md +4 -0
- package/build/js/index.js +489 -443
- package/build/js/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/types/CachingHost.d.ts.map +1 -1
- package/build/types/Host.d.ts.map +1 -1
- package/build/types/PackageJson.d.ts.map +1 -1
- package/build/types/SimpleHost.d.ts.map +1 -1
- package/build/types/Table.d.ts.map +1 -1
- package/build/types/findWorkspaceDir.d.ts.map +1 -1
- package/build/types/getPackageNameToDir.d.ts.map +1 -1
- package/build/types/getWorkspacePackageDirs.d.ts.map +1 -1
- package/build/types/index.d.ts +7 -7
- package/build/types/index.d.ts.map +1 -1
- package/build/types/matchesAnyGlob.d.ts.map +1 -1
- package/build/types/mutateJson.d.ts.map +1 -1
- package/build/types/nanosecondsToSanity.d.ts.map +1 -1
- package/coverage/AggregateTiming.ts.html +2 -2
- package/coverage/CachingHost.ts.html +252 -42
- package/coverage/Host.ts.html +15 -3
- package/coverage/PackageJson.ts.html +4 -4
- package/coverage/SimpleHost.ts.html +40 -7
- package/coverage/Table.ts.html +137 -29
- package/coverage/Timing.ts.html +1 -1
- package/coverage/clover.xml +527 -396
- package/coverage/coverage-final.json +13 -13
- package/coverage/findWorkspaceDir.ts.html +4 -4
- package/coverage/getPackageNameToDir.ts.html +18 -6
- package/coverage/getWorkspacePackageDirs.ts.html +168 -138
- package/coverage/index.html +40 -40
- package/coverage/index.ts.html +30 -30
- package/coverage/matchesAnyGlob.ts.html +37 -10
- package/coverage/mutateJson.ts.html +17 -5
- package/coverage/nanosecondsToSanity.ts.html +11 -5
- package/package.json +1 -2
- package/src/AggregateTiming.ts +1 -1
- package/src/CachingHost.ts +104 -34
- package/src/Host.ts +5 -1
- package/src/PackageJson.ts +3 -3
- package/src/SimpleHost.ts +14 -3
- package/src/Table.ts +58 -22
- package/src/__tests__/CachingHost.spec.ts +203 -166
- package/src/findWorkspaceDir.ts +3 -3
- package/src/getPackageNameToDir.ts +6 -2
- package/src/getWorkspacePackageDirs.ts +19 -9
- package/src/index.ts +7 -7
- package/src/matchesAnyGlob.ts +12 -3
- package/src/mutateJson.ts +5 -1
- package/src/nanosecondsToSanity.ts +3 -1
- package/vitest.config.mjs +6 -7
- package/vitest.config.mjs.timestamp-1736878329730-aa478e2241542.mjs +2 -2
package/.turbo/turbo-clean.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @monorepolint/utils@0.6.0-alpha.
|
|
2
|
+
> @monorepolint/utils@0.6.0-alpha.4 clean /home/runner/work/monorepolint/monorepolint/packages/utils
|
|
3
3
|
> rm -rf build dist lib node_modules *.tgz tsconfig.tsbuildinfo
|
|
4
4
|
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
> @monorepolint/utils@0.6.0-alpha.
|
|
2
|
+
> @monorepolint/utils@0.6.0-alpha.4 lint /home/runner/work/monorepolint/monorepolint/packages/utils
|
|
3
3
|
> eslint .
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
/home/runner/work/monorepolint/monorepolint/packages/utils/src/Table.ts
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
52:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
8
|
+
69:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
9
|
+
69:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
10
|
+
69:68 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
11
|
+
69:73 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
12
|
+
73:30 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
13
13
|
|
|
14
14
|
✖ 6 problems (0 errors, 6 warnings)
|
|
15
15
|
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
|
|
2
|
-
> @monorepolint/utils@0.6.0-alpha.
|
|
2
|
+
> @monorepolint/utils@0.6.0-alpha.4 test /home/runner/work/monorepolint/monorepolint/packages/utils
|
|
3
3
|
> vitest run --passWithNoTests
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
[1m[7m[36m RUN [39m[27m[22m [
|
|
5
|
+
[?25l
|
|
6
|
+
[1m[7m[36m RUN [39m[27m[22m [36mv3.0.3 [39m[90m/home/runner/work/monorepolint/monorepolint/packages/utils[39m
|
|
7
7
|
[2mCoverage enabled with [22m[33mv8[39m
|
|
8
8
|
|
|
9
|
-
[32m✓[39m src/__tests__/CachingHost.spec.ts [2m([22m[2m11 tests[22m[2m)[22m[90m
|
|
9
|
+
[32m✓[39m src/__tests__/CachingHost.spec.ts [2m([22m[2m11 tests[22m[2m)[22m[90m 32[2mms[22m[39m
|
|
10
10
|
|
|
11
11
|
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
12
12
|
[2m Tests [22m [1m[32m11 passed[39m[22m[90m (11)[39m
|
|
13
|
-
[2m Start at [22m
|
|
14
|
-
[2m Duration [22m 1.
|
|
13
|
+
[2m Start at [22m 20:59:50
|
|
14
|
+
[2m Duration [22m 1.87s[2m (transform 179ms, setup 0ms, collect 172ms, tests 32ms, environment 2ms, prepare 168ms)[22m
|
|
15
15
|
|
|
16
16
|
[34m % [39m[2mCoverage report from [22m[33mv8[39m
|
|
17
17
|
-------------------|---------|----------|---------|---------|-------------------
|
|
18
18
|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
|
|
19
19
|
-------------------|---------|----------|---------|---------|-------------------
|
|
20
|
-
All files |
|
|
20
|
+
All files | 93.47 | 71.84 | 82.14 | 93.47 |
|
|
21
21
|
...egateTiming.ts | 100 | 100 | 100 | 100 |
|
|
22
|
-
CachingHost.ts |
|
|
22
|
+
CachingHost.ts | 83.42 | 74 | 92 | 83.42 | ...37-540,548-549
|
|
23
23
|
Host.ts | 0 | 0 | 0 | 0 | 1
|
|
24
24
|
PackageJson.ts | 0 | 0 | 0 | 0 | 1
|
|
25
25
|
SimpleHost.ts | 100 | 100 | 100 | 100 |
|
|
@@ -27,9 +27,10 @@ All files | 88.98 | 71.15 | 79.31 | 88.98 |
|
|
|
27
27
|
Timing.ts | 100 | 100 | 100 | 100 |
|
|
28
28
|
...orkspaceDir.ts | 100 | 100 | 100 | 100 |
|
|
29
29
|
...geNameToDir.ts | 100 | 100 | 100 | 100 |
|
|
30
|
-
...PackageDirs.ts |
|
|
31
|
-
index.ts | 0 | 0 | 0 | 0 | 1
|
|
30
|
+
...PackageDirs.ts | 100 | 100 | 100 | 100 |
|
|
31
|
+
index.ts | 0 | 0 | 0 | 0 | 1-20
|
|
32
32
|
matchesAnyGlob.ts | 100 | 100 | 100 | 100 |
|
|
33
33
|
mutateJson.ts | 100 | 100 | 100 | 100 |
|
|
34
34
|
...ndsToSanity.ts | 100 | 100 | 100 | 100 |
|
|
35
35
|
-------------------|---------|----------|---------|---------|-------------------
|
|
36
|
+
[?25h
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @monorepolint/utils@0.6.0-alpha.
|
|
2
|
+
> @monorepolint/utils@0.6.0-alpha.4 transpile-typescript /home/runner/work/monorepolint/monorepolint/packages/utils
|
|
3
3
|
> tsup --config ../../tsup.config.cjs
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
[34mCLI[39m Target: node16
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mESM[39m [1mbuild/js/index.js [22m[32m26.
|
|
13
|
-
[32mESM[39m [1mbuild/js/index.js.map [22m[
|
|
14
|
-
[32mESM[39m ⚡️ Build success in
|
|
12
|
+
[32mESM[39m [1mbuild/js/index.js [22m[32m26.89 KB[39m
|
|
13
|
+
[32mESM[39m [1mbuild/js/index.js.map [22m[32m61.23 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 131ms
|