Skip to content

Commit 87d43ab

Browse files
authored
fix(scripts): make private test packages as non-clients (#5138)
1 parent da04abf commit 87d43ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/runtime-dependency-version-check/runtime-dep-version-check.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ const _private = fs.readdirSync(path.join(root, "private"));
3232

3333
const clientPackages = [
3434
...clients.map((c) => path.join(root, "clients", c)),
35-
..._private.map((p) => path.join(root, "private", p)),
35+
..._private.filter((p) => !p.endsWith("-test")).map((p) => path.join(root, "private", p)),
3636
];
3737

3838
const nonClientPackages = [
3939
...lib.map((l) => path.join(root, "lib", l)),
4040
...packages.map((p) => path.join(root, "packages", p)),
41+
..._private.filter((p) => p.endsWith("-test")).map((p) => path.join(root, "private", p)),
4142
];
4243

4344
const deps = {

0 commit comments

Comments
 (0)