Fix npm publishing

Summary:
Fixed npm packaging/publishing scripts for "flipper-doctor", "flipper-pkg" and "flipper-babel-transformer".

Also removed scripts for testing and linting, because these packages are tested and linted by root level package.json.

Reviewed By: jknoxville

Differential Revision: D20839959

fbshipit-source-id: 4d9d037d4921fc97356c849054c389dfece05652
This commit is contained in:
Anton Nikolaev
2020-04-06 02:32:47 -07:00
committed by Facebook GitHub Bot
parent f1e8297800
commit 2690894ad0
5 changed files with 29 additions and 37 deletions

View File

@@ -118,6 +118,7 @@ export async function publishPackages({
}
const publicPackages = workspaces.packages.filter((pkg) => !pkg.json.private);
for (const pkg of publicPackages) {
console.log(`Publishing ${pkg.json.name}...`);
execSync(cmd, {cwd: pkg.dir, stdio: 'inherit'});
}
}