Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions compiler/scripts/release/publish-manual.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const PUBLISHABLE_PACKAGES = [
'eslint-plugin-react-compiler',
'react-compiler-healthcheck',
];
const TIME_TO_RECONSIDER = 3_000;

function _spawn(command, args, options, cb) {
const child = cp.spawn(command, args, options);
Expand All @@ -33,10 +32,6 @@ function execHelper(command, options, streamStdout = false) {
});
}

function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}

async function getDateStringForCommit(commit) {
let dateString = await execHelper(
`git show -s --no-show-signature --format=%cd --date=format:%Y%m%d ${commit}`
Expand Down Expand Up @@ -191,15 +186,6 @@ async function main() {
);
}

if (debug === false) {
spinner.info(
`🚨🚨🚨 About to publish to npm in ${
TIME_TO_RECONSIDER / 1000
} seconds. You still have time to kill this script!`
);
await sleep(TIME_TO_RECONSIDER);
}

for (const pkgName of pkgNames) {
const pkgDir = path.resolve(__dirname, `../../packages/${pkgName}`);
console.log(`\n========== ${pkgName} ==========\n`);
Expand Down