virmator 14.32.1 → 14.34.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/README.md +3 -0
- package/dist/index.d.ts +13 -3
- package/dist/index.js +5 -1
- package/package.json +19 -19
- package/src/index.ts +5 -1
package/README.md
CHANGED
|
@@ -250,8 +250,11 @@ Note that as of v13, this package is now in ESM.
|
|
|
250
250
|
|
|
251
251
|
This cannot be run in a mono-repo root, it can only be run for mono-repo sub-packages or a top-level singular package.
|
|
252
252
|
|
|
253
|
+
Pass --footprint to record which functions each test file actually ran, as raw v8 coverage in node_modules/.cache/virmator/footprints. Tests still run normally, coverage is not calculated. This cannot be combined with the coverage command, which needs the same v8 output.
|
|
254
|
+
|
|
253
255
|
- Examples
|
|
254
256
|
- Run tests in a browser: `virmator test web`
|
|
257
|
+
- Record what each test ran: `virmator test node --footprint`
|
|
255
258
|
- Run tests in Node: `virmator test node`
|
|
256
259
|
- Deps
|
|
257
260
|
- [@augment-vir/test](https://npmjs.com/package/@augment-vir/test)
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Default list of plugins that the virmator npm package's CLI uses.
|
|
3
|
+
*
|
|
4
|
+
* @category Main
|
|
5
|
+
*/
|
|
2
6
|
export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
3
7
|
name: string;
|
|
4
8
|
cliCommands: NoInfer<{
|
|
@@ -2052,10 +2056,13 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
2052
2056
|
cliCommands: NoInfer<{
|
|
2053
2057
|
readonly test: {
|
|
2054
2058
|
readonly doc: {
|
|
2055
|
-
readonly sections: readonly ["\n Runs tests. An environment is required.\n ", "\n This cannot be run in a mono-repo root, it can only be run for mono-repo sub-packages or a top-level singular package.\n "];
|
|
2059
|
+
readonly sections: readonly ["\n Runs tests. An environment is required.\n ", "\n This cannot be run in a mono-repo root, it can only be run for mono-repo sub-packages or a top-level singular package.\n ", "\n Pass --footprint to record which functions each test file actually ran, as raw v8 coverage in node_modules/.cache/virmator/footprints. Tests still run normally, coverage is not calculated. This cannot be combined with the coverage command, which needs the same v8 output.\n "];
|
|
2056
2060
|
readonly examples: readonly [{
|
|
2057
2061
|
readonly title: "Run tests in a browser";
|
|
2058
2062
|
readonly content: "virmator test web";
|
|
2063
|
+
}, {
|
|
2064
|
+
readonly title: "Record what each test ran";
|
|
2065
|
+
readonly content: "virmator test node --footprint";
|
|
2059
2066
|
}, {
|
|
2060
2067
|
readonly title: "Run tests in Node";
|
|
2061
2068
|
readonly content: "virmator test node";
|
|
@@ -2259,10 +2266,13 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
2259
2266
|
executor: import("@virmator/core").VirmatorPluginExecutor<NoInfer<{
|
|
2260
2267
|
readonly test: {
|
|
2261
2268
|
readonly doc: {
|
|
2262
|
-
readonly sections: readonly ["\n Runs tests. An environment is required.\n ", "\n This cannot be run in a mono-repo root, it can only be run for mono-repo sub-packages or a top-level singular package.\n "];
|
|
2269
|
+
readonly sections: readonly ["\n Runs tests. An environment is required.\n ", "\n This cannot be run in a mono-repo root, it can only be run for mono-repo sub-packages or a top-level singular package.\n ", "\n Pass --footprint to record which functions each test file actually ran, as raw v8 coverage in node_modules/.cache/virmator/footprints. Tests still run normally, coverage is not calculated. This cannot be combined with the coverage command, which needs the same v8 output.\n "];
|
|
2263
2270
|
readonly examples: readonly [{
|
|
2264
2271
|
readonly title: "Run tests in a browser";
|
|
2265
2272
|
readonly content: "virmator test web";
|
|
2273
|
+
}, {
|
|
2274
|
+
readonly title: "Record what each test ran";
|
|
2275
|
+
readonly content: "virmator test node --footprint";
|
|
2266
2276
|
}, {
|
|
2267
2277
|
readonly title: "Run tests in Node";
|
|
2268
2278
|
readonly content: "virmator test node";
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,11 @@ import { virmatorLintPlugin } from '@virmator/lint';
|
|
|
9
9
|
import { virmatorPublishPlugin } from '@virmator/publish';
|
|
10
10
|
import { virmatorSpellcheckPlugin } from '@virmator/spellcheck';
|
|
11
11
|
import { virmatorTestPlugin } from '@virmator/test';
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Default list of plugins that the virmator npm package's CLI uses.
|
|
14
|
+
*
|
|
15
|
+
* @category Main
|
|
16
|
+
*/
|
|
13
17
|
export const defaultVirmatorPlugins = [
|
|
14
18
|
virmatorCompilePlugin,
|
|
15
19
|
virmatorDepsPlugin,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virmator",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.34.0",
|
|
4
4
|
"description": "Handle common package configs, commands, and dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -40,26 +40,26 @@
|
|
|
40
40
|
"test:update": "npm test update"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@augment-vir/common": "^32.2.
|
|
44
|
-
"@augment-vir/node": "^32.2.
|
|
45
|
-
"@virmator/compile": "^14.
|
|
46
|
-
"@virmator/core": "^14.
|
|
47
|
-
"@virmator/deps": "^14.
|
|
48
|
-
"@virmator/docs": "^14.
|
|
49
|
-
"@virmator/format": "^14.
|
|
50
|
-
"@virmator/frontend": "^14.
|
|
51
|
-
"@virmator/help": "^14.
|
|
52
|
-
"@virmator/init": "^14.
|
|
53
|
-
"@virmator/lint": "^14.
|
|
54
|
-
"@virmator/publish": "^14.
|
|
55
|
-
"@virmator/spellcheck": "^14.
|
|
56
|
-
"@virmator/test": "^14.
|
|
57
|
-
"tsx": "^4.23.
|
|
43
|
+
"@augment-vir/common": "^32.2.4",
|
|
44
|
+
"@augment-vir/node": "^32.2.4",
|
|
45
|
+
"@virmator/compile": "^14.34.0",
|
|
46
|
+
"@virmator/core": "^14.34.0",
|
|
47
|
+
"@virmator/deps": "^14.34.0",
|
|
48
|
+
"@virmator/docs": "^14.34.0",
|
|
49
|
+
"@virmator/format": "^14.34.0",
|
|
50
|
+
"@virmator/frontend": "^14.34.0",
|
|
51
|
+
"@virmator/help": "^14.34.0",
|
|
52
|
+
"@virmator/init": "^14.34.0",
|
|
53
|
+
"@virmator/lint": "^14.34.0",
|
|
54
|
+
"@virmator/publish": "^14.34.0",
|
|
55
|
+
"@virmator/spellcheck": "^14.34.0",
|
|
56
|
+
"@virmator/test": "^14.34.0",
|
|
57
|
+
"tsx": "^4.23.13"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@augment-vir/assert": "^32.2.
|
|
61
|
-
"@augment-vir/test": "^32.2.
|
|
62
|
-
"@types/node": "^26.
|
|
60
|
+
"@augment-vir/assert": "^32.2.4",
|
|
61
|
+
"@augment-vir/test": "^32.2.4",
|
|
62
|
+
"@types/node": "^26.4.0",
|
|
63
63
|
"c8": "^12.0.0",
|
|
64
64
|
"istanbul-smart-text-reporter": "^1.1.5"
|
|
65
65
|
},
|
package/src/index.ts
CHANGED
|
@@ -10,7 +10,11 @@ import {virmatorPublishPlugin} from '@virmator/publish';
|
|
|
10
10
|
import {virmatorSpellcheckPlugin} from '@virmator/spellcheck';
|
|
11
11
|
import {virmatorTestPlugin} from '@virmator/test';
|
|
12
12
|
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Default list of plugins that the virmator npm package's CLI uses.
|
|
15
|
+
*
|
|
16
|
+
* @category Main
|
|
17
|
+
*/
|
|
14
18
|
export const defaultVirmatorPlugins = [
|
|
15
19
|
virmatorCompilePlugin,
|
|
16
20
|
virmatorDepsPlugin,
|