diff --git a/scripts/sort-workspaces.js b/scripts/sort-workspaces.js index cda1e80790..d76f6a9c70 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 +);