Skip to content

Commit 3136310

Browse files
committed
readd project root
1 parent 84ed291 commit 3136310

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

packages/build/src/npm-packages.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export function bumpNpmPackages(version: string): void {
2020
'--force-publish',
2121
'--yes'
2222
], {
23-
stdio: 'inherit'
23+
stdio: 'inherit',
24+
cwd: PROJECT_ROOT
2425
});
2526
}
2627

@@ -47,7 +48,8 @@ export function publishNpmPackages(): void {
4748
'--force-publish',
4849
'--yes'
4950
], {
50-
stdio: 'inherit'
51+
stdio: 'inherit',
52+
cwd: PROJECT_ROOT
5153
});
5254
}
5355

@@ -56,7 +58,10 @@ function listNpmPackages(): {version: string}[] {
5658
LERNA_BIN, [
5759
'list',
5860
'--json',
59-
]
61+
],
62+
{
63+
cwd: PROJECT_ROOT
64+
}
6065
).toString();
6166

6267
const packages = JSON.parse(lernaListOutput);

0 commit comments

Comments
 (0)