virmator 13.8.1 → 13.8.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/bin.js ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+
3
+ import {runCliScript} from '@augment-vir/node';
4
+ import {join} from 'node:path';
5
+
6
+ const cliPath = join(import.meta.dirname, 'src', 'cli.script.ts');
7
+
8
+ await runCliScript(cliPath, import.meta.filename, 'virmator');
@@ -5,8 +5,7 @@
5
5
  "clean": true,
6
6
  "exclude": [
7
7
  "**/*.test.ts",
8
- "**/*.example.ts",
9
- "src/cli.ts"
8
+ "**/*.example.ts"
10
9
  ],
11
10
  "include": [
12
11
  "src/**/*.ts"
@@ -0,0 +1,2 @@
1
+ /** This file can only be tested via the command line. */
2
+ export {};
@@ -1,4 +1,5 @@
1
- #!/usr/bin/env -S npx tsx
1
+ /* node:coverage disable */
2
+ /** This file can only be tested via the command line. */
2
3
  import { log } from '@augment-vir/common';
3
4
  import { executeVirmatorCommand, hideNoTraceTraces, VirmatorNoTraceError } from '@virmator/core';
4
5
  import { fileURLToPath } from 'node:url';
package/dist/index.d.ts CHANGED
@@ -1341,6 +1341,7 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
1341
1341
  readonly configFlags: ["--config"];
1342
1342
  };
1343
1343
  };
1344
+ readonly extraInstallCommand: "npx playwright install --with-deps";
1344
1345
  readonly npmDeps: {
1345
1346
  readonly "@web/dev-server-esbuild": {
1346
1347
  readonly env: readonly [import("@augment-vir/core").RuntimeEnv.Web];
@@ -1491,6 +1492,7 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
1491
1492
  readonly configFlags: ["--config"];
1492
1493
  };
1493
1494
  };
1495
+ readonly extraInstallCommand: "npx playwright install --with-deps";
1494
1496
  readonly npmDeps: {
1495
1497
  readonly "@web/dev-server-esbuild": {
1496
1498
  readonly env: readonly [import("@augment-vir/core").RuntimeEnv.Web];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virmator",
3
- "version": "13.8.1",
3
+ "version": "13.8.3",
4
4
  "description": "Handle common package configs, commands, and dependencies.",
5
5
  "keywords": [
6
6
  "automation",
@@ -29,7 +29,7 @@
29
29
  "main": "dist/index.js",
30
30
  "module": "dist/index.js",
31
31
  "types": "dist/index.d.ts",
32
- "bin": "src/cli.ts",
32
+ "bin": "bin.js",
33
33
  "scripts": {
34
34
  "compile": "virmator compile",
35
35
  "test": "virmator test node",
@@ -37,25 +37,25 @@
37
37
  "test:update": "npm test update"
38
38
  },
39
39
  "dependencies": {
40
- "@augment-vir/common": "^30.7.0",
41
- "@augment-vir/node": "^30.7.0",
42
- "@virmator/compile": "^13.8.1",
43
- "@virmator/core": "^13.8.1",
44
- "@virmator/deps": "^13.8.1",
45
- "@virmator/docs": "^13.8.1",
46
- "@virmator/format": "^13.8.1",
47
- "@virmator/frontend": "^13.8.1",
48
- "@virmator/help": "^13.8.1",
49
- "@virmator/init": "^13.8.1",
50
- "@virmator/lint": "^13.8.1",
51
- "@virmator/publish": "^13.8.1",
52
- "@virmator/spellcheck": "^13.8.1",
53
- "@virmator/test": "^13.8.1",
40
+ "@augment-vir/common": "^30.8.2",
41
+ "@augment-vir/node": "^30.8.2",
42
+ "@virmator/compile": "^13.8.3",
43
+ "@virmator/core": "^13.8.3",
44
+ "@virmator/deps": "^13.8.3",
45
+ "@virmator/docs": "^13.8.3",
46
+ "@virmator/format": "^13.8.3",
47
+ "@virmator/frontend": "^13.8.3",
48
+ "@virmator/help": "^13.8.3",
49
+ "@virmator/init": "^13.8.3",
50
+ "@virmator/lint": "^13.8.3",
51
+ "@virmator/publish": "^13.8.3",
52
+ "@virmator/spellcheck": "^13.8.3",
53
+ "@virmator/test": "^13.8.3",
54
54
  "tsx": "^4.19.2"
55
55
  },
56
56
  "devDependencies": {
57
- "@augment-vir/assert": "^30.7.0",
58
- "@augment-vir/test": "^30.7.0",
57
+ "@augment-vir/assert": "^30.8.2",
58
+ "@augment-vir/test": "^30.8.2",
59
59
  "@types/node": "^22.9.0",
60
60
  "c8": "^10.1.2",
61
61
  "istanbul-smart-text-reporter": "^1.1.5"
@@ -1,4 +1,5 @@
1
- #!/usr/bin/env -S npx tsx
1
+ /* node:coverage disable */
2
+ /** This file can only be tested via the command line. */
2
3
 
3
4
  import {log} from '@augment-vir/common';
4
5
  import {executeVirmatorCommand, hideNoTraceTraces, VirmatorNoTraceError} from '@virmator/core';
package/dist/cli.d.ts DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env -S npx tsx
2
- export {};