@monorepolint/utils 0.6.0-alpha.1 → 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 (67) 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 +36 -23
  5. package/.turbo/turbo-transpile-typescript.log +5 -5
  6. package/CHANGELOG.md +28 -0
  7. package/build/js/index.js +502 -461
  8. package/build/js/index.js.map +1 -1
  9. package/build/tsconfig.tsbuildinfo +1 -1
  10. package/build/types/CachingHost.d.ts +0 -2
  11. package/build/types/CachingHost.d.ts.map +1 -1
  12. package/build/types/Host.d.ts +0 -1
  13. package/build/types/Host.d.ts.map +1 -1
  14. package/build/types/PackageJson.d.ts.map +1 -1
  15. package/build/types/SimpleHost.d.ts +0 -2
  16. package/build/types/SimpleHost.d.ts.map +1 -1
  17. package/build/types/Table.d.ts.map +1 -1
  18. package/build/types/findWorkspaceDir.d.ts.map +1 -1
  19. package/build/types/getPackageNameToDir.d.ts.map +1 -1
  20. package/build/types/getWorkspacePackageDirs.d.ts.map +1 -1
  21. package/build/types/index.d.ts +7 -7
  22. package/build/types/index.d.ts.map +1 -1
  23. package/build/types/matchesAnyGlob.d.ts.map +1 -1
  24. package/build/types/mutateJson.d.ts.map +1 -1
  25. package/build/types/nanosecondsToSanity.d.ts.map +1 -1
  26. package/coverage/AggregateTiming.ts.html +295 -0
  27. package/coverage/CachingHost.ts.html +1786 -0
  28. package/coverage/Host.ts.html +199 -0
  29. package/coverage/PackageJson.ts.html +151 -0
  30. package/coverage/SimpleHost.ts.html +286 -0
  31. package/coverage/Table.ts.html +1156 -0
  32. package/coverage/Timing.ts.html +247 -0
  33. package/coverage/base.css +224 -0
  34. package/coverage/block-navigation.js +87 -0
  35. package/coverage/clover.xml +1272 -0
  36. package/coverage/coverage-final.json +15 -0
  37. package/coverage/favicon.png +0 -0
  38. package/coverage/findWorkspaceDir.ts.html +223 -0
  39. package/coverage/getPackageNameToDir.ts.html +199 -0
  40. package/coverage/getWorkspacePackageDirs.ts.html +331 -0
  41. package/coverage/index.html +311 -0
  42. package/coverage/index.ts.html +145 -0
  43. package/coverage/matchesAnyGlob.ts.html +550 -0
  44. package/coverage/mutateJson.ts.html +136 -0
  45. package/coverage/nanosecondsToSanity.ts.html +121 -0
  46. package/coverage/prettify.css +1 -0
  47. package/coverage/prettify.js +2 -0
  48. package/coverage/sort-arrow-sprite.png +0 -0
  49. package/coverage/sorter.js +196 -0
  50. package/package.json +12 -17
  51. package/src/AggregateTiming.ts +1 -1
  52. package/src/CachingHost.ts +110 -34
  53. package/src/Host.ts +5 -1
  54. package/src/PackageJson.ts +3 -3
  55. package/src/SimpleHost.ts +14 -3
  56. package/src/Table.ts +62 -23
  57. package/src/__tests__/CachingHost.spec.ts +203 -166
  58. package/src/findWorkspaceDir.ts +3 -3
  59. package/src/getPackageNameToDir.ts +6 -2
  60. package/src/getWorkspacePackageDirs.ts +22 -10
  61. package/src/index.ts +7 -7
  62. package/src/matchesAnyGlob.ts +12 -3
  63. package/src/mutateJson.ts +5 -1
  64. package/src/nanosecondsToSanity.ts +3 -1
  65. package/vitest.config.mjs +17 -0
  66. package/vitest.config.mjs.timestamp-1736878329730-aa478e2241542.mjs +18 -0
  67. package/jest.config.cjs +0 -4
@@ -1,4 +1,4 @@
1
1
 
2
- > @monorepolint/utils@0.6.0-alpha.1 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.1 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.1 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,26 +1,39 @@
1
1
 
2
- > @monorepolint/utils@0.6.0-alpha.1 test /home/runner/work/monorepolint/monorepolint/packages/utils
3
- > NODE_OPTIONS=--experimental-vm-modules jest --colors --passWithNoTests
2
+ > @monorepolint/utils@0.6.0-alpha.3 test /home/runner/work/monorepolint/monorepolint/packages/utils
3
+ > vitest run --passWithNoTests
4
4
 
5
- (node:2516) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
6
- (Use `node --trace-warnings ...` to show where the warning was created)
7
-  PASS  src/__tests__/CachingHost.spec.ts
8
- CachingHost
9
- fs
10
- ✓ Answers exists() properly (20 ms)
11
- ✓ properly handles deletes (2 ms)
12
- ✓ handles simple read/write workflow (2 ms)
13
- ✓ handles target symlink changing (1 ms)
14
- ✓ handles writing symlinks properly (3 ms)
15
- ✓ handles writing symlinks properly if you read it first (4 ms)
16
- ✓ handles creating new symlinks (3 ms)
17
- ✓ makes directories (2 ms)
18
- ✓ can unlink empty dirs (3 ms)
19
- ✓ doesnt let you delete a directory with files (29 ms)
20
- ✓ doesn't let you rmdir() a file (2 ms)
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
10
+ Coverage enabled with v8
21
11
 
22
- Test Suites: 1 passed, 1 total
23
- Tests: 11 passed, 11 total
24
- Snapshots: 0 total
25
- Time: 4.546 s
26
- Ran all test suites.
12
+ ✓ src/__tests__/CachingHost.spec.ts (11 tests) 34ms
13
+
14
+  Test Files  1 passed (1)
15
+  Tests  11 passed (11)
16
+  Start at  17:38:58
17
+  Duration  1.76s (transform 222ms, setup 0ms, collect 199ms, tests 34ms, environment 0ms, prepare 178ms)
18
+
19
+  % Coverage report from v8
20
+ -------------------|---------|----------|---------|---------|-------------------
21
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
22
+ -------------------|---------|----------|---------|---------|-------------------
23
+ All files | 93.38 | 71.84 | 82.14 | 93.38 |
24
+ ...egateTiming.ts | 100 | 100 | 100 | 100 |
25
+ CachingHost.ts | 82.98 | 74 | 92 | 82.98 | ...39-542,550-551
26
+ Host.ts | 0 | 0 | 0 | 0 | 1
27
+ PackageJson.ts | 0 | 0 | 0 | 0 | 1
28
+ SimpleHost.ts | 100 | 100 | 100 | 100 |
29
+ Table.ts | 100 | 100 | 100 | 100 |
30
+ Timing.ts | 100 | 100 | 100 | 100 |
31
+ ...orkspaceDir.ts | 100 | 100 | 100 | 100 |
32
+ ...geNameToDir.ts | 100 | 100 | 100 | 100 |
33
+ ...PackageDirs.ts | 100 | 100 | 100 | 100 |
34
+ index.ts | 0 | 0 | 0 | 0 | 1-20
35
+ matchesAnyGlob.ts | 100 | 100 | 100 | 100 |
36
+ mutateJson.ts | 100 | 100 | 100 | 100 |
37
+ ...ndsToSanity.ts | 100 | 100 | 100 | 100 |
38
+ -------------------|---------|----------|---------|---------|-------------------
39
+ [?25h
@@ -1,14 +1,14 @@
1
1
 
2
- > @monorepolint/utils@0.6.0-alpha.1 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
6
6
  CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.0.2
7
+ CLI tsup v8.3.5
8
8
  CLI Using tsup config: /home/runner/work/monorepolint/monorepolint/tsup.config.cjs
9
9
  CLI Target: node16
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
- ESM build/js/index.js 26.63 KB
13
- ESM build/js/index.js.map 59.86 KB
14
- ESM ⚡️ Build success in 45ms
12
+ ESM build/js/index.js 26.92 KB
13
+ ESM build/js/index.js.map 61.32 KB
14
+ ESM ⚡️ Build success in 54ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @monorepolint/utils
2
2
 
3
+ ## 0.6.0-alpha.3
4
+
5
+ ## 0.6.0-alpha.2
6
+
7
+ ### Patch Changes
8
+
9
+ - 4f42aad: Upgraded dependencies
10
+
11
+ - `@docusaurus/*`: 3.7.0
12
+ - `@mdx-js/react`: 3.1.0
13
+ - `chalk`: 5.4.1
14
+ - `eslint`: 9.18.0
15
+ - `gh-pages`: 6.3.0
16
+ - `gh-pages`: 6.3.0
17
+ - `globals`: 15.14.0
18
+ - `globby`: 14.0.2
19
+ - `husky`: 15.14.0
20
+ - `lint-staged`: 15.3.0
21
+ - `micromatch`: 4.0.8
22
+ - `mock-fs`: 5.4.1
23
+ - `prettier`: 3.4.2
24
+ - `prism-react-renderer`:2.4.1
25
+ - `semver`: 7.6.3
26
+ - `tslib`: 2.8.1
27
+ - `tsup`: 8.3.5
28
+ - `typescript-eslint`: 8.20.0
29
+ - `turbo`: 2.x
30
+
3
31
  ## 0.6.0-alpha.1
4
32
 
5
33
  ## 0.6.0-alpha.0