Skip to content

Commit

Permalink
include workspace packages (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli authored May 20, 2024
1 parent 3b6efdd commit 9b17989
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions workspace/unstable-release/src/workspaces.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ import { readPackageJson } from "./read-package-json.js";
* out.
*/
export async function listPublicWorkspaces() {
let filePaths = await globby(["packages/**/package.json"], {
gitignore: true,
ignore: ["**/tests/**", "**/node_modules/**"],
});
let filePaths = await globby(
[
"packages/**/package.json",
"workspace/**/package.json",
], {
gitignore: true,
ignore: ["**/tests/**", "**/node_modules/**"],
}
);

// eslint-disable-next-line no-console
console.log("filePaths", filePaths.length);
Expand Down

0 comments on commit 9b17989

Please sign in to comment.