@monorepolint/utils 0.6.0-alpha.2 → 0.6.0-alpha.3

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.
Files changed (56) hide show
  1. package/.turbo/turbo-clean.log +1 -1
  2. package/.turbo/turbo-compile-typescript.log +1 -1
  3. package/.turbo/turbo-lint.log +7 -7
  4. package/.turbo/turbo-test.log +14 -10
  5. package/.turbo/turbo-transpile-typescript.log +3 -3
  6. package/CHANGELOG.md +2 -0
  7. package/build/js/index.js +493 -443
  8. package/build/js/index.js.map +1 -1
  9. package/build/tsconfig.tsbuildinfo +1 -1
  10. package/build/types/CachingHost.d.ts.map +1 -1
  11. package/build/types/Host.d.ts.map +1 -1
  12. package/build/types/PackageJson.d.ts.map +1 -1
  13. package/build/types/SimpleHost.d.ts.map +1 -1
  14. package/build/types/Table.d.ts.map +1 -1
  15. package/build/types/findWorkspaceDir.d.ts.map +1 -1
  16. package/build/types/getPackageNameToDir.d.ts.map +1 -1
  17. package/build/types/getWorkspacePackageDirs.d.ts.map +1 -1
  18. package/build/types/index.d.ts +7 -7
  19. package/build/types/index.d.ts.map +1 -1
  20. package/build/types/matchesAnyGlob.d.ts.map +1 -1
  21. package/build/types/mutateJson.d.ts.map +1 -1
  22. package/build/types/nanosecondsToSanity.d.ts.map +1 -1
  23. package/coverage/AggregateTiming.ts.html +2 -2
  24. package/coverage/CachingHost.ts.html +258 -42
  25. package/coverage/Host.ts.html +15 -3
  26. package/coverage/PackageJson.ts.html +4 -4
  27. package/coverage/SimpleHost.ts.html +40 -7
  28. package/coverage/Table.ts.html +148 -31
  29. package/coverage/Timing.ts.html +1 -1
  30. package/coverage/clover.xml +533 -389
  31. package/coverage/coverage-final.json +13 -13
  32. package/coverage/findWorkspaceDir.ts.html +4 -4
  33. package/coverage/getPackageNameToDir.ts.html +18 -6
  34. package/coverage/getWorkspacePackageDirs.ts.html +174 -138
  35. package/coverage/index.html +40 -40
  36. package/coverage/index.ts.html +30 -30
  37. package/coverage/matchesAnyGlob.ts.html +37 -10
  38. package/coverage/mutateJson.ts.html +17 -5
  39. package/coverage/nanosecondsToSanity.ts.html +11 -5
  40. package/package.json +1 -2
  41. package/src/AggregateTiming.ts +1 -1
  42. package/src/CachingHost.ts +106 -34
  43. package/src/Host.ts +5 -1
  44. package/src/PackageJson.ts +3 -3
  45. package/src/SimpleHost.ts +14 -3
  46. package/src/Table.ts +62 -23
  47. package/src/__tests__/CachingHost.spec.ts +203 -166
  48. package/src/findWorkspaceDir.ts +3 -3
  49. package/src/getPackageNameToDir.ts +6 -2
  50. package/src/getWorkspacePackageDirs.ts +22 -10
  51. package/src/index.ts +7 -7
  52. package/src/matchesAnyGlob.ts +12 -3
  53. package/src/mutateJson.ts +5 -1
  54. package/src/nanosecondsToSanity.ts +3 -1
  55. package/vitest.config.mjs +10 -7
  56. package/vitest.config.mjs.timestamp-1736878329730-aa478e2241542.mjs +2 -2
@@ -1,4 +1,4 @@
1
1
 
2
- > @monorepolint/utils@0.6.0-alpha.2 clean /home/runner/work/monorepolint/monorepolint/packages/utils
2
+ > @monorepolint/utils@0.6.0-alpha.3 clean /home/runner/work/monorepolint/monorepolint/packages/utils
3
3
  > rm -rf build dist lib node_modules *.tgz tsconfig.tsbuildinfo
4
4
 
@@ -1,4 +1,4 @@
1
1
 
2
- > @monorepolint/utils@0.6.0-alpha.2 compile-typescript /home/runner/work/monorepolint/monorepolint/packages/utils
2
+ > @monorepolint/utils@0.6.0-alpha.3 compile-typescript /home/runner/work/monorepolint/monorepolint/packages/utils
3
3
  > tsc --build
4
4
 
@@ -1,15 +1,15 @@
1
1
 
2
- > @monorepolint/utils@0.6.0-alpha.2 lint /home/runner/work/monorepolint/monorepolint/packages/utils
2
+ > @monorepolint/utils@0.6.0-alpha.3 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
- 44:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
8
- 60:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
9
- 60:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
10
- 60:68 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
11
- 60:73 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
12
- 64:30 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
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
 
@@ -1,25 +1,28 @@
1
1
 
2
- > @monorepolint/utils@0.6.0-alpha.2 test /home/runner/work/monorepolint/monorepolint/packages/utils
2
+ > @monorepolint/utils@0.6.0-alpha.3 test /home/runner/work/monorepolint/monorepolint/packages/utils
3
3
  > vitest run --passWithNoTests
4
4
 
5
-
6
-  RUN  v2.1.8 /home/runner/work/monorepolint/monorepolint/packages/utils
5
+ Loaded  vitest@3.0.3  and  @vitest/coverage-v8@2.1.8 .
6
+ Running mixed versions is not supported and may lead into bugs
7
+ Update your dependencies and make sure the versions match.
8
+ [?25l
9
+  RUN  v3.0.3 /home/runner/work/monorepolint/monorepolint/packages/utils
7
10
  Coverage enabled with v8
8
11
 
9
- ✓ src/__tests__/CachingHost.spec.ts (11 tests) 28ms
12
+ ✓ src/__tests__/CachingHost.spec.ts (11 tests) 34ms
10
13
 
11
14
   Test Files  1 passed (1)
12
15
   Tests  11 passed (11)
13
-  Start at  16:18:29
14
-  Duration  1.58s (transform 210ms, setup 0ms, collect 203ms, tests 28ms, environment 0ms, prepare 181ms)
16
+  Start at  17:38:58
17
+  Duration  1.76s (transform 222ms, setup 0ms, collect 199ms, tests 34ms, environment 0ms, prepare 178ms)
15
18
 
16
19
   % Coverage report from v8
17
20
  -------------------|---------|----------|---------|---------|-------------------
18
21
  File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
19
22
  -------------------|---------|----------|---------|---------|-------------------
20
- All files | 88.98 | 71.15 | 79.31 | 88.98 |
23
+ All files | 93.38 | 71.84 | 82.14 | 93.38 |
21
24
  ...egateTiming.ts | 100 | 100 | 100 | 100 |
22
- CachingHost.ts | 84.43 | 74 | 92 | 84.43 | ...69-470,478-479
25
+ CachingHost.ts | 82.98 | 74 | 92 | 82.98 | ...39-542,550-551
23
26
  Host.ts | 0 | 0 | 0 | 0 | 1
24
27
  PackageJson.ts | 0 | 0 | 0 | 0 | 1
25
28
  SimpleHost.ts | 100 | 100 | 100 | 100 |
@@ -27,9 +30,10 @@ All files | 88.98 | 71.15 | 79.31 | 88.98 |
27
30
  Timing.ts | 100 | 100 | 100 | 100 |
28
31
  ...orkspaceDir.ts | 100 | 100 | 100 | 100 |
29
32
  ...geNameToDir.ts | 100 | 100 | 100 | 100 |
30
- ...PackageDirs.ts | 0 | 0 | 0 | 0 | 1-70
31
- index.ts | 0 | 0 | 0 | 0 | 1
33
+ ...PackageDirs.ts | 100 | 100 | 100 | 100 |
34
+ index.ts | 0 | 0 | 0 | 0 | 1-20
32
35
  matchesAnyGlob.ts | 100 | 100 | 100 | 100 |
33
36
  mutateJson.ts | 100 | 100 | 100 | 100 |
34
37
  ...ndsToSanity.ts | 100 | 100 | 100 | 100 |
35
38
  -------------------|---------|----------|---------|---------|-------------------
39
+ [?25h
@@ -1,5 +1,5 @@
1
1
 
2
- > @monorepolint/utils@0.6.0-alpha.2 transpile-typescript /home/runner/work/monorepolint/monorepolint/packages/utils
2
+ > @monorepolint/utils@0.6.0-alpha.3 transpile-typescript /home/runner/work/monorepolint/monorepolint/packages/utils
3
3
  > tsup --config ../../tsup.config.cjs
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,6 +9,6 @@
9
9
  CLI Target: node16
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
- ESM build/js/index.js 26.56 KB
13
- ESM build/js/index.js.map 60.13 KB
12
+ ESM build/js/index.js 26.92 KB
13
+ ESM build/js/index.js.map 61.32 KB
14
14
  ESM ⚡️ Build success in 54ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @monorepolint/utils
2
2
 
3
+ ## 0.6.0-alpha.3
4
+
3
5
  ## 0.6.0-alpha.2
4
6
 
5
7
  ### Patch Changes