virmator 13.0.4 → 13.1.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 -1
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +30 -10
- package/dist/tests/test-virmator.mock.js +1 -1
- package/package.json +16 -13
- package/src/cli.ts +1 -1
- package/src/tests/test-virmator.mock.ts +1 -1
package/README.md
CHANGED
|
@@ -191,13 +191,14 @@ A package for centralizing and automating mind-numbingly repetitive repo tasks a
|
|
|
191
191
|
- eslint.config.mjs
|
|
192
192
|
- Deps
|
|
193
193
|
- [eslint](https://npmjs.com/package/eslint)
|
|
194
|
+
- [eslint-plugin-require-extensions](https://npmjs.com/package/eslint-plugin-require-extensions)
|
|
194
195
|
- [@eslint/js](https://npmjs.com/package/@eslint/js)
|
|
196
|
+
- [@eslint/eslintrc](https://npmjs.com/package/@eslint/eslintrc)
|
|
195
197
|
- [@stylistic/eslint-plugin](https://npmjs.com/package/@stylistic/eslint-plugin)
|
|
196
198
|
- [@stylistic/eslint-plugin-ts](https://npmjs.com/package/@stylistic/eslint-plugin-ts)
|
|
197
199
|
- [@typescript-eslint/eslint-plugin](https://npmjs.com/package/@typescript-eslint/eslint-plugin)
|
|
198
200
|
- [eslint-config-prettier](https://npmjs.com/package/eslint-config-prettier)
|
|
199
201
|
- [eslint-plugin-jsdoc](https://npmjs.com/package/eslint-plugin-jsdoc)
|
|
200
|
-
- [eslint-plugin-mocha](https://npmjs.com/package/eslint-plugin-mocha)
|
|
201
202
|
- [eslint-plugin-playwright](https://npmjs.com/package/eslint-plugin-playwright)
|
|
202
203
|
- [eslint-plugin-prettier](https://npmjs.com/package/eslint-plugin-prettier)
|
|
203
204
|
- [eslint-plugin-sonarjs](https://npmjs.com/package/eslint-plugin-sonarjs)
|
|
@@ -287,6 +288,7 @@ A package for centralizing and automating mind-numbingly repetitive repo tasks a
|
|
|
287
288
|
- Deps
|
|
288
289
|
- [c8](https://npmjs.com/package/c8)
|
|
289
290
|
- [istanbul-smart-text-reporter](https://npmjs.com/package/istanbul-smart-text-reporter)
|
|
291
|
+
- [@types/node](https://npmjs.com/package/@types/node)
|
|
290
292
|
|
|
291
293
|
- **update**
|
|
292
294
|
|
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env -S npx tsx
|
|
2
2
|
import { createPluginLogger, executeVirmatorCommand, hideNoTraceTraces, VirmatorNoTraceError, } from '@virmator/core';
|
|
3
3
|
import { fileURLToPath } from 'node:url';
|
|
4
|
-
import { defaultVirmatorPlugins } from './index';
|
|
4
|
+
import { defaultVirmatorPlugins } from './index.js';
|
|
5
5
|
const log = createPluginLogger(process);
|
|
6
6
|
executeVirmatorCommand({
|
|
7
7
|
cliCommand: process.argv,
|
package/dist/index.d.ts
CHANGED
|
@@ -1004,11 +1004,21 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
1004
1004
|
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
1005
1005
|
readonly packageType: readonly [import("@virmator/core").PackageType.TopPackage, import("@virmator/core").PackageType.MonoRoot];
|
|
1006
1006
|
};
|
|
1007
|
+
readonly "eslint-plugin-require-extensions": {
|
|
1008
|
+
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1009
|
+
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
1010
|
+
readonly packageType: readonly [import("@virmator/core").PackageType.TopPackage, import("@virmator/core").PackageType.MonoRoot];
|
|
1011
|
+
};
|
|
1007
1012
|
readonly "@eslint/js": {
|
|
1008
1013
|
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1009
1014
|
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
1010
1015
|
readonly packageType: readonly [import("@virmator/core").PackageType.TopPackage, import("@virmator/core").PackageType.MonoRoot];
|
|
1011
1016
|
};
|
|
1017
|
+
readonly "@eslint/eslintrc": {
|
|
1018
|
+
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1019
|
+
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
1020
|
+
readonly packageType: readonly [import("@virmator/core").PackageType.TopPackage, import("@virmator/core").PackageType.MonoRoot];
|
|
1021
|
+
};
|
|
1012
1022
|
readonly "@stylistic/eslint-plugin": {
|
|
1013
1023
|
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1014
1024
|
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
@@ -1034,11 +1044,6 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
1034
1044
|
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
1035
1045
|
readonly packageType: readonly [import("@virmator/core").PackageType.TopPackage, import("@virmator/core").PackageType.MonoRoot];
|
|
1036
1046
|
};
|
|
1037
|
-
readonly "eslint-plugin-mocha": {
|
|
1038
|
-
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1039
|
-
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
1040
|
-
readonly packageType: readonly [import("@virmator/core").PackageType.TopPackage, import("@virmator/core").PackageType.MonoRoot];
|
|
1041
|
-
};
|
|
1042
1047
|
readonly "eslint-plugin-playwright": {
|
|
1043
1048
|
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1044
1049
|
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
@@ -1105,11 +1110,21 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
1105
1110
|
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
1106
1111
|
readonly packageType: readonly [import("@virmator/core").PackageType.TopPackage, import("@virmator/core").PackageType.MonoRoot];
|
|
1107
1112
|
};
|
|
1113
|
+
readonly "eslint-plugin-require-extensions": {
|
|
1114
|
+
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1115
|
+
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
1116
|
+
readonly packageType: readonly [import("@virmator/core").PackageType.TopPackage, import("@virmator/core").PackageType.MonoRoot];
|
|
1117
|
+
};
|
|
1108
1118
|
readonly "@eslint/js": {
|
|
1109
1119
|
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1110
1120
|
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
1111
1121
|
readonly packageType: readonly [import("@virmator/core").PackageType.TopPackage, import("@virmator/core").PackageType.MonoRoot];
|
|
1112
1122
|
};
|
|
1123
|
+
readonly "@eslint/eslintrc": {
|
|
1124
|
+
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1125
|
+
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
1126
|
+
readonly packageType: readonly [import("@virmator/core").PackageType.TopPackage, import("@virmator/core").PackageType.MonoRoot];
|
|
1127
|
+
};
|
|
1113
1128
|
readonly "@stylistic/eslint-plugin": {
|
|
1114
1129
|
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1115
1130
|
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
@@ -1135,11 +1150,6 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
1135
1150
|
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
1136
1151
|
readonly packageType: readonly [import("@virmator/core").PackageType.TopPackage, import("@virmator/core").PackageType.MonoRoot];
|
|
1137
1152
|
};
|
|
1138
|
-
readonly "eslint-plugin-mocha": {
|
|
1139
|
-
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1140
|
-
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
1141
|
-
readonly packageType: readonly [import("@virmator/core").PackageType.TopPackage, import("@virmator/core").PackageType.MonoRoot];
|
|
1142
|
-
};
|
|
1143
1153
|
readonly "eslint-plugin-playwright": {
|
|
1144
1154
|
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1145
1155
|
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node, import("@virmator/core").VirmatorEnv.Web];
|
|
@@ -1379,6 +1389,11 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
1379
1389
|
readonly packageType: readonly [import("@virmator/core").PackageType.MonoPackage, import("@virmator/core").PackageType.TopPackage];
|
|
1380
1390
|
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1381
1391
|
};
|
|
1392
|
+
readonly "@types/node": {
|
|
1393
|
+
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node];
|
|
1394
|
+
readonly packageType: readonly [import("@virmator/core").PackageType.MonoPackage, import("@virmator/core").PackageType.TopPackage];
|
|
1395
|
+
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1396
|
+
};
|
|
1382
1397
|
};
|
|
1383
1398
|
};
|
|
1384
1399
|
readonly update: {
|
|
@@ -1514,6 +1529,11 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
1514
1529
|
readonly packageType: readonly [import("@virmator/core").PackageType.MonoPackage, import("@virmator/core").PackageType.TopPackage];
|
|
1515
1530
|
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1516
1531
|
};
|
|
1532
|
+
readonly "@types/node": {
|
|
1533
|
+
readonly env: readonly [import("@virmator/core").VirmatorEnv.Node];
|
|
1534
|
+
readonly packageType: readonly [import("@virmator/core").PackageType.MonoPackage, import("@virmator/core").PackageType.TopPackage];
|
|
1535
|
+
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
1536
|
+
};
|
|
1517
1537
|
};
|
|
1518
1538
|
};
|
|
1519
1539
|
readonly update: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { testPlugin } from '@virmator/plugin-testing';
|
|
2
|
-
import { defaultVirmatorPlugins } from '../index';
|
|
2
|
+
import { defaultVirmatorPlugins } from '../index.js';
|
|
3
3
|
export async function testVirmator(shouldPass, context, command, cwd, testOptions = {}) {
|
|
4
4
|
await testPlugin(shouldPass, context, defaultVirmatorPlugins, command, cwd, testOptions);
|
|
5
5
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virmator",
|
|
3
|
-
"version": "13.0
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"description": "Handle common package configs, commands, and dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -38,23 +38,26 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@augment-vir/node-js": "^29.3.0",
|
|
41
|
-
"@virmator/compile": "^13.0
|
|
42
|
-
"@virmator/core": "^13.0
|
|
43
|
-
"@virmator/deps": "^13.0
|
|
44
|
-
"@virmator/docs": "^13.0
|
|
45
|
-
"@virmator/format": "^13.0
|
|
46
|
-
"@virmator/frontend": "^13.0
|
|
47
|
-
"@virmator/help": "^13.0
|
|
48
|
-
"@virmator/init": "^13.0
|
|
49
|
-
"@virmator/lint": "^13.0
|
|
50
|
-
"@virmator/publish": "^13.0
|
|
51
|
-
"@virmator/spellcheck": "^13.0
|
|
52
|
-
"@virmator/test": "^13.0
|
|
41
|
+
"@virmator/compile": "^13.1.0",
|
|
42
|
+
"@virmator/core": "^13.1.0",
|
|
43
|
+
"@virmator/deps": "^13.1.0",
|
|
44
|
+
"@virmator/docs": "^13.1.0",
|
|
45
|
+
"@virmator/format": "^13.1.0",
|
|
46
|
+
"@virmator/frontend": "^13.1.0",
|
|
47
|
+
"@virmator/help": "^13.1.0",
|
|
48
|
+
"@virmator/init": "^13.1.0",
|
|
49
|
+
"@virmator/lint": "^13.1.0",
|
|
50
|
+
"@virmator/publish": "^13.1.0",
|
|
51
|
+
"@virmator/spellcheck": "^13.1.0",
|
|
52
|
+
"@virmator/test": "^13.1.0",
|
|
53
53
|
"tsx": "^4.16.5"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/node": "^22.1.0",
|
|
57
57
|
"c8": "^10.1.2",
|
|
58
58
|
"istanbul-smart-text-reporter": "^1.1.4"
|
|
59
|
+
},
|
|
60
|
+
"engines": {
|
|
61
|
+
"node": ">=22"
|
|
59
62
|
}
|
|
60
63
|
}
|
package/src/cli.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {testPlugin, TestPluginOptions} from '@virmator/plugin-testing';
|
|
2
2
|
import {TestContext} from 'node:test';
|
|
3
|
-
import {defaultVirmatorPlugins} from '../index';
|
|
3
|
+
import {defaultVirmatorPlugins} from '../index.js';
|
|
4
4
|
|
|
5
5
|
export async function testVirmator(
|
|
6
6
|
shouldPass: boolean,
|