@virmator/plugin-testing 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.
@@ -1 +1 @@
1
- export * from './fs/dir-contents';
1
+ export * from './fs/dir-contents.js';
@@ -1 +1 @@
1
- export * from './fs/dir-contents';
1
+ export * from './fs/dir-contents.js';
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './augments/index';
2
- export * from './test-plugin';
1
+ export * from './augments/index.js';
2
+ export * from './test-plugin.js';
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './augments/index';
2
- export * from './test-plugin';
1
+ export * from './augments/index.js';
2
+ export * from './test-plugin.js';
@@ -2,7 +2,7 @@ import { MaybePromise, PartialAndUndefined } from '@augment-vir/common';
2
2
  import { LogOutputType } from '@augment-vir/node-js';
3
3
  import { VirmatorPlugin } from '@virmator/core';
4
4
  import { TestContext } from 'node:test';
5
- import { DirContents } from './augments/index';
5
+ import { DirContents } from './augments/index.js';
6
6
  /** Log string transformer. */
7
7
  export type LogTransform = (logType: LogOutputType, arg: string) => string;
8
8
  /** Results of a plugin test. */
@@ -3,8 +3,8 @@ import { LogOutputType, toPosixPath } from '@augment-vir/node-js';
3
3
  import { createPluginLogger, executeVirmatorCommand, findClosestPackageDir, hideNoTraceTraces, VirmatorNoTraceError, } from '@virmator/core';
4
4
  import { relative, sep } from 'node:path';
5
5
  import { diffObjects } from 'run-time-assertions';
6
- import { readAllDirContents, resetDirContents } from './augments/index';
7
- import { monoRepoDir } from './file-paths';
6
+ import { readAllDirContents, resetDirContents } from './augments/index.js';
7
+ import { monoRepoDir } from './file-paths.js';
8
8
  function serializeLogArgs(args) {
9
9
  return args
10
10
  .map((arg) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/plugin-testing",
3
- "version": "13.0.4",
3
+ "version": "13.1.0",
4
4
  "description": "Testing for virmator plugins.",
5
5
  "keywords": [
6
6
  "virmator",
@@ -32,7 +32,7 @@
32
32
  "dependencies": {
33
33
  "@augment-vir/common": "^29.3.0",
34
34
  "@augment-vir/node-js": "^29.3.0",
35
- "@virmator/core": "^13.0.4",
35
+ "@virmator/core": "^13.1.0",
36
36
  "cli-args-vir": "^0.0.3",
37
37
  "run-time-assertions": "^1.5.2",
38
38
  "type-fest": "^4.23.0"
@@ -44,6 +44,9 @@
44
44
  "tsx": "^4.16.5",
45
45
  "typescript": "^5.5.4"
46
46
  },
47
+ "engines": {
48
+ "node": ">=22"
49
+ },
47
50
  "publishConfig": {
48
51
  "access": "public"
49
52
  }