proby 0.1.1 → 0.1.2

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/lib/run.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import FileRef from "@rcompat/fs/FileRef";
1
+ import type FileRef from "@rcompat/fs/FileRef";
2
2
  declare const _default: (root: FileRef, subrepo?: string) => Promise<void>;
3
3
  export default _default;
4
4
  //# sourceMappingURL=run.d.ts.map
package/lib/run.js CHANGED
@@ -5,7 +5,7 @@ import print from "@rcompat/cli/print";
5
5
  import repository from "@rcompat/test/repository";
6
6
  const endings = [".spec.ts", ".spec.js"];
7
7
  export default async (root, subrepo) => {
8
- const files = await root.list(file => endings.some(ending => file.endsWith(ending)), { recursive: true });
8
+ const files = await root.list(file => endings.some(ending => file.path.endsWith(ending)), { recursive: true });
9
9
  if (files.length === 0) {
10
10
  return;
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proby",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Standard library test runner",
5
5
  "bugs": "https://github.com/rcompat/rcompat/issues",
6
6
  "license": "MIT",
@@ -17,11 +17,11 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@rcompat/cli": "^0.8.1",
20
- "@rcompat/package": "^0.11.1",
21
- "@rcompat/fs": "^0.12.4"
20
+ "@rcompat/fs": "^0.12.13",
21
+ "@rcompat/package": "^0.11.1"
22
22
  },
23
23
  "peerDependencies": {
24
- "@rcompat/test": "^0.1.14"
24
+ "@rcompat/test": "^0.1.16"
25
25
  },
26
26
  "peerDependenciesMeta": {
27
27
  "@rcompat/test": {