@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.
- 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 +36 -23
- package/.turbo/turbo-transpile-typescript.log +5 -5
- package/CHANGELOG.md +28 -0
- package/build/js/index.js +502 -461
- package/build/js/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/types/CachingHost.d.ts +0 -2
- package/build/types/CachingHost.d.ts.map +1 -1
- package/build/types/Host.d.ts +0 -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 +0 -2
- 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 +295 -0
- package/coverage/CachingHost.ts.html +1786 -0
- package/coverage/Host.ts.html +199 -0
- package/coverage/PackageJson.ts.html +151 -0
- package/coverage/SimpleHost.ts.html +286 -0
- package/coverage/Table.ts.html +1156 -0
- package/coverage/Timing.ts.html +247 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/clover.xml +1272 -0
- package/coverage/coverage-final.json +15 -0
- package/coverage/favicon.png +0 -0
- package/coverage/findWorkspaceDir.ts.html +223 -0
- package/coverage/getPackageNameToDir.ts.html +199 -0
- package/coverage/getWorkspacePackageDirs.ts.html +331 -0
- package/coverage/index.html +311 -0
- package/coverage/index.ts.html +145 -0
- package/coverage/matchesAnyGlob.ts.html +550 -0
- package/coverage/mutateJson.ts.html +136 -0
- package/coverage/nanosecondsToSanity.ts.html +121 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +196 -0
- package/package.json +12 -17
- package/src/AggregateTiming.ts +1 -1
- package/src/CachingHost.ts +110 -34
- package/src/Host.ts +5 -1
- package/src/PackageJson.ts +3 -3
- package/src/SimpleHost.ts +14 -3
- package/src/Table.ts +62 -23
- package/src/__tests__/CachingHost.spec.ts +203 -166
- package/src/findWorkspaceDir.ts +3 -3
- package/src/getPackageNameToDir.ts +6 -2
- package/src/getWorkspacePackageDirs.ts +22 -10
- 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 +17 -0
- package/vitest.config.mjs.timestamp-1736878329730-aa478e2241542.mjs +18 -0
- package/jest.config.cjs +0 -4
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.3 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.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
|
-
|
|
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,26 +1,39 @@
|
|
|
1
1
|
|
|
2
|
-
> @monorepolint/utils@0.6.0-alpha.
|
|
3
|
-
>
|
|
2
|
+
> @monorepolint/utils@0.6.0-alpha.3 test /home/runner/work/monorepolint/monorepolint/packages/utils
|
|
3
|
+
> vitest run --passWithNoTests
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
[
|
|
11
|
-
[32m✓[39m [2mproperly handles deletes (2 ms)[22m
|
|
12
|
-
[32m✓[39m [2mhandles simple read/write workflow (2 ms)[22m
|
|
13
|
-
[32m✓[39m [2mhandles target symlink changing (1 ms)[22m
|
|
14
|
-
[32m✓[39m [2mhandles writing symlinks properly (3 ms)[22m
|
|
15
|
-
[32m✓[39m [2mhandles writing symlinks properly if you read it first (4 ms)[22m
|
|
16
|
-
[32m✓[39m [2mhandles creating new symlinks (3 ms)[22m
|
|
17
|
-
[32m✓[39m [2mmakes directories (2 ms)[22m
|
|
18
|
-
[32m✓[39m [2mcan unlink empty dirs (3 ms)[22m
|
|
19
|
-
[32m✓[39m [2mdoesnt let you delete a directory with files (29 ms)[22m
|
|
20
|
-
[32m✓[39m [2mdoesn't let you rmdir() a file (2 ms)[22m
|
|
5
|
+
[33mLoaded [7m[33m vitest@3.0.3 [33m[27m and [7m[33m @vitest/coverage-v8@2.1.8 [33m[27m.
|
|
6
|
+
Running mixed versions is not supported and may lead into bugs
|
|
7
|
+
Update your dependencies and make sure the versions match.[39m
|
|
8
|
+
[?25l
|
|
9
|
+
[1m[7m[36m RUN [39m[27m[22m [36mv3.0.3 [39m[90m/home/runner/work/monorepolint/monorepolint/packages/utils[39m
|
|
10
|
+
[2mCoverage enabled with [22m[33mv8[39m
|
|
21
11
|
|
|
22
|
-
[
|
|
23
|
-
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
12
|
+
[32m✓[39m src/__tests__/CachingHost.spec.ts [2m([22m[2m11 tests[22m[2m)[22m[90m 34[2mms[22m[39m
|
|
13
|
+
|
|
14
|
+
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
15
|
+
[2m Tests [22m [1m[32m11 passed[39m[22m[90m (11)[39m
|
|
16
|
+
[2m Start at [22m 17:38:58
|
|
17
|
+
[2m Duration [22m 1.76s[2m (transform 222ms, setup 0ms, collect 199ms, tests 34ms, environment 0ms, prepare 178ms)[22m
|
|
18
|
+
|
|
19
|
+
[34m % [39m[2mCoverage report from [22m[33mv8[39m
|
|
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.
|
|
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
|
[34mCLI[39m Building entry: src/index.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
-
[34mCLI[39m tsup v8.
|
|
7
|
+
[34mCLI[39m tsup v8.3.5
|
|
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/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.92 KB[39m
|
|
13
|
+
[32mESM[39m [1mbuild/js/index.js.map [22m[32m61.32 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ 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
|