packages/scripts/promoteRelease.js
/**
 * Create change files to do a version bump
 *
 * @param {string} changeType prerelease or patch
 * @param {string} message changelog message
 */
Create change files to do a version bump
@param {string} changeType prerelease or patch
@param {string} message changelog message
Create change files to do a version bump @param { string } changeType prerelease or patch @param { string } message changelog message
async function createChangeFiles(changeType, message) {
  const repoRoot = await findRepoRoot();
  child_process.execSync(
    `npx beachball change --type ${changeType} --message "${message}"`,
    {cwd: repoRoot, stdio: 'ignore'},
  );
}
async function createChangeFiles ( changeType , message ) { const repoRoot = await findRepoRoot ( ) ; child_process . execSync ( ` ${ changeType } ${ message } ` , { cwd : repoRoot , stdio : 'ignore' } , ) ; }
Create change files to do a version bump
 @param {string} changeType prerelease or patch
 @param {string} message changelog message
Create change files to do a version bump @param { string } changeType prerelease or patch @param { string } message changelog message