@alexaegis/autotool-plugin-vitest 0.11.5 → 0.12.0
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/index.cjs +2 -2
- package/index.d.ts +0 -1
- package/index.js +2 -2
- package/package.json +24 -24
package/index.cjs
CHANGED
|
@@ -15,7 +15,7 @@ const plugin = (_options) => {
|
|
|
15
15
|
packageKind: "root",
|
|
16
16
|
data: {
|
|
17
17
|
scripts: {
|
|
18
|
-
test: "turbo run test_ --concurrency 16
|
|
18
|
+
test: "turbo run test_ --concurrency 16 && merge-workspace-lcov-reports && lcov-viewer lcov -o ./coverage ./coverage/lcov.info"
|
|
19
19
|
},
|
|
20
20
|
devDependencies: {
|
|
21
21
|
"@vitest/coverage-v8": packageJson.devDependencies["@vitest/coverage-v8"],
|
|
@@ -35,7 +35,7 @@ const plugin = (_options) => {
|
|
|
35
35
|
},
|
|
36
36
|
data: {
|
|
37
37
|
scripts: {
|
|
38
|
-
test: "turbo run test_ --concurrency 16 --
|
|
38
|
+
test: "turbo run test_ --concurrency 16 --filter ${packageName}",
|
|
39
39
|
test_: "vitest --passWithNoTests --coverage --run",
|
|
40
40
|
"test:watch": "vitest --passWithNoTests --coverage"
|
|
41
41
|
}
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -13,7 +13,7 @@ const plugin = (_options) => {
|
|
|
13
13
|
packageKind: "root",
|
|
14
14
|
data: {
|
|
15
15
|
scripts: {
|
|
16
|
-
test: "turbo run test_ --concurrency 16
|
|
16
|
+
test: "turbo run test_ --concurrency 16 && merge-workspace-lcov-reports && lcov-viewer lcov -o ./coverage ./coverage/lcov.info"
|
|
17
17
|
},
|
|
18
18
|
devDependencies: {
|
|
19
19
|
"@vitest/coverage-v8": packageJson.devDependencies["@vitest/coverage-v8"],
|
|
@@ -33,7 +33,7 @@ const plugin = (_options) => {
|
|
|
33
33
|
},
|
|
34
34
|
data: {
|
|
35
35
|
scripts: {
|
|
36
|
-
test: "turbo run test_ --concurrency 16 --
|
|
36
|
+
test: "turbo run test_ --concurrency 16 --filter ${packageName}",
|
|
37
37
|
test_: "vitest --passWithNoTests --coverage --run",
|
|
38
38
|
"test:watch": "vitest --passWithNoTests --coverage"
|
|
39
39
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexaegis/autotool-plugin-vitest",
|
|
3
3
|
"description": "Setup vitest",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.12.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"archetype": {
|
|
@@ -55,44 +55,44 @@
|
|
|
55
55
|
"./readme": "./readme.md"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@alexaegis/coverage-tools": "^0.10.
|
|
59
|
-
"@alexaegis/logging": "^0.10.
|
|
60
|
-
"@alexaegis/predicate": "^0.10.
|
|
58
|
+
"@alexaegis/coverage-tools": "^0.10.1",
|
|
59
|
+
"@alexaegis/logging": "^0.10.1",
|
|
60
|
+
"@alexaegis/predicate": "^0.10.1",
|
|
61
61
|
"autotool-plugin": "^0.6.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@alexaegis/eslint-config-vitest": "^0.
|
|
65
|
-
"@alexaegis/ts": "^0.
|
|
66
|
-
"@alexaegis/vite": "^0.
|
|
67
|
-
"@alexaegis/vitest": "^0.
|
|
64
|
+
"@alexaegis/eslint-config-vitest": "^0.12.0",
|
|
65
|
+
"@alexaegis/ts": "^0.12.0",
|
|
66
|
+
"@alexaegis/vite": "^0.12.0",
|
|
67
|
+
"@alexaegis/vitest": "^0.12.0",
|
|
68
68
|
"@lcov-viewer/cli": "^1.3.0",
|
|
69
|
-
"@types/node": "^
|
|
70
|
-
"@vitest/coverage-v8": "^1.6
|
|
71
|
-
"publint": "^0.2.
|
|
72
|
-
"typescript": "^5.
|
|
73
|
-
"vite": "^
|
|
74
|
-
"vitest": "^1.6
|
|
69
|
+
"@types/node": "^22.10.1",
|
|
70
|
+
"@vitest/coverage-v8": "^2.1.6",
|
|
71
|
+
"publint": "^0.2.12",
|
|
72
|
+
"typescript": "^5.7.2",
|
|
73
|
+
"vite": "^6.0.1",
|
|
74
|
+
"vitest": "^2.1.6"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
|
-
"lint:depcheck": "turbo run lint:depcheck_ --concurrency 16 --
|
|
77
|
+
"lint:depcheck": "turbo run lint:depcheck_ --concurrency 16 --filter @alexaegis/autotool-plugin-vitest",
|
|
78
78
|
"lint:depcheck_": "depcheck",
|
|
79
|
-
"lint:es": "turbo run lint:es_ --concurrency 16 --
|
|
79
|
+
"lint:es": "turbo run lint:es_ --concurrency 16 --filter @alexaegis/autotool-plugin-vitest",
|
|
80
80
|
"lint:es_": "eslint --max-warnings=0 --fix --no-error-on-unmatched-pattern .",
|
|
81
|
-
"lint:format": "turbo run lint:format_ --concurrency 16 --
|
|
81
|
+
"lint:format": "turbo run lint:format_ --concurrency 16 --filter @alexaegis/autotool-plugin-vitest",
|
|
82
82
|
"lint:format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --check .",
|
|
83
|
-
"lint:md": "turbo run lint:md_ --concurrency 16 --
|
|
83
|
+
"lint:md": "turbo run lint:md_ --concurrency 16 --filter @alexaegis/autotool-plugin-vitest",
|
|
84
84
|
"lint:md_": "remark --frail --no-stdout --silently-ignore .",
|
|
85
|
-
"lint:tsc": "turbo run lint:tsc_ --concurrency 16 --
|
|
85
|
+
"lint:tsc": "turbo run lint:tsc_ --concurrency 16 --filter @alexaegis/autotool-plugin-vitest",
|
|
86
86
|
"lint:tsc_": "tsc --noEmit",
|
|
87
|
-
"publint": "BUILD_REASON='publish' turbo run publint_ --concurrency 16 --
|
|
87
|
+
"publint": "BUILD_REASON='publish' turbo run publint_ --concurrency 16 --filter @alexaegis/autotool-plugin-vitest",
|
|
88
88
|
"publint_": "publint dist",
|
|
89
|
-
"test": "turbo run test_ --concurrency 16 --
|
|
89
|
+
"test": "turbo run test_ --concurrency 16 --filter @alexaegis/autotool-plugin-vitest",
|
|
90
90
|
"test_": "vitest --passWithNoTests --coverage --run",
|
|
91
91
|
"test:watch": "vitest --passWithNoTests --coverage",
|
|
92
|
-
"all": "BUILD_REASON='publish' turbo run all_ --concurrency 16 --
|
|
93
|
-
"build": "turbo run build-lib_ --concurrency 16 --
|
|
92
|
+
"all": "BUILD_REASON='publish' turbo run all_ --concurrency 16 --filter @alexaegis/autotool-plugin-vitest",
|
|
93
|
+
"build": "turbo run build-lib_ --concurrency 16 --filter @alexaegis/autotool-plugin-vitest",
|
|
94
94
|
"build-lib_": "vite build",
|
|
95
|
-
"format": "turbo run format_ --concurrency 16 --
|
|
95
|
+
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/autotool-plugin-vitest",
|
|
96
96
|
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write ."
|
|
97
97
|
}
|
|
98
98
|
}
|