From bfb783bc891cacfc1967c38e478eb360e4fc46f8 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Tue, 4 Feb 2025 17:50:27 +0100 Subject: [PATCH] fix(scripts): drop `--no-since` from `lerna ls` (#2357) --- scripts/sort-workspaces.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sort-workspaces.js b/scripts/sort-workspaces.js index cda1e8079..d76f6a9c7 100755 --- a/scripts/sort-workspaces.js +++ b/scripts/sort-workspaces.js @@ -22,7 +22,7 @@ async function main() { )); // should use the scopes in lerna.json - const { stdout } = await exec('npx -y lerna ls --all --no-since --toposort --json'); + const { stdout } = await exec('npx -y lerna ls --all --toposort --json'); packageJSON.workspaces = JSON.parse(stdout).map(({ location }) => path.relative(monorepoRoot, location)); await fs.writeFile( @@ -36,4 +36,4 @@ main().catch((err) => process.nextTick(() => { throw err; }) -); \ No newline at end of file +);