Skip to content

Commit

Permalink
fix(scripts): make private test packages as non-clients (#5138)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Aug 23, 2023
1 parent da04abf commit 87d43ab
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ const _private = fs.readdirSync(path.join(root, "private"));

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

const nonClientPackages = [
...lib.map((l) => path.join(root, "lib", l)),
...packages.map((p) => path.join(root, "packages", p)),
..._private.filter((p) => p.endsWith("-test")).map((p) => path.join(root, "private", p)),
];

const deps = {
Expand Down

0 comments on commit 87d43ab

Please sign in to comment.