Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build(deps-dev): bump typescript from 4.7.4 to 4.8.4 #826

Merged
merged 2 commits into from Oct 14, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 28, 2022

Bumps typescript from 4.7.4 to 4.8.4.

Release notes

Sourced from typescript's releases.

TypeScript 4.8.4

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

TypeScript 4.8.3

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

TypeScript 4.8

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

TypeScript 4.8 RC

For release notes, check out the release announcement.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 28, 2022
@dependabot dependabot bot requested a review from nwtgck September 28, 2022 19:17
@nwtgck
Copy link
Owner

nwtgck commented Oct 14, 2022

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 14, 2022

Looks like this PR is already up-to-date with develop! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@nwtgck
Copy link
Owner

nwtgck commented Oct 14, 2022

@dependabot rebase

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.4 to 4.8.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.7.4...v4.8.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/typescript-4.8.4 branch from defe17f to 1bef97e Compare October 14, 2022 21:16
@github-actions github-actions bot temporarily deployed to commit October 14, 2022 21:17 Inactive
@nwtgck
Copy link
Owner

nwtgck commented Oct 14, 2022

@github-actions run

🔨 Build & Push
// Get pull-req URL like "https://api.github.com/repos/nwtgck/actions-merge-preview/pulls/4"
const pullReqUrl = context.payload.issue.pull_request.url;
const githubUser = context.payload.repository.owner.login;
const res = await fetch(pullReqUrl, {
  headers: [
    ['Authorization', `Basic ${Buffer.from(`${githubUser}:${githubToken}`).toString('base64')}`]
  ]
});
const resJson = await res.json();
const prUserName = resJson.head.user.login;
const baseBranchName = resJson.base.ref;
const branchName = resJson.head.ref;
const fullRepoName = resJson.head.repo.full_name;
const buildBranch = `actions-build/${prUserName}-${branchName}`;
execSync(`git config --global user.email "github-actions[bot]@users.noreply.github.com"`);
execSync(`git config --global user.name "github-actions[bot]"`);
// (from: https://stackoverflow.com/a/23987039/2885946)
execSync(`git fetch --all`);
console.log(execSync(`git checkout ${baseBranchName}`).toString());
console.log(execSync(`git checkout -b ${buildBranch} ${baseBranchName}`).toString());
console.log(execSync(`git pull https://github.com/${fullRepoName}.git ${branchName}`).toString());
console.log(execSync(`npm ci`).toString());
console.log(execSync(`npm run all`).toString());
if (execSync('git status --porcelain').length === 0) {
  const commentBody = `\
Built file is up to date.
`;
  // Comment the deploy URL
  await postComment(commentBody);
} else {
  console.log(execSync(`git add .; git commit -m 'build'`).toString());
  // Push preview branch
  // NOTE: Force push (should be safe because preview branch always start with "actions-build/")
  execSync(`git push -fu origin ${buildBranch}`);
  const baseRepoFullName = context.payload.repository.full_name;
  // Comment body
  const commentBody = `\
Built branch:  <https://github.com/${baseRepoFullName}/tree/${buildBranch}>  
Compare: https://github.com/${baseRepoFullName}/compare/${resJson.base.ref}...${buildBranch}
`;
  // Comment the deploy URL
  await postComment(commentBody);
}

1 similar comment
@nwtgck
Copy link
Owner

nwtgck commented Oct 14, 2022

@github-actions run

🔨 Build & Push
// Get pull-req URL like "https://api.github.com/repos/nwtgck/actions-merge-preview/pulls/4"
const pullReqUrl = context.payload.issue.pull_request.url;
const githubUser = context.payload.repository.owner.login;
const res = await fetch(pullReqUrl, {
  headers: [
    ['Authorization', `Basic ${Buffer.from(`${githubUser}:${githubToken}`).toString('base64')}`]
  ]
});
const resJson = await res.json();
const prUserName = resJson.head.user.login;
const baseBranchName = resJson.base.ref;
const branchName = resJson.head.ref;
const fullRepoName = resJson.head.repo.full_name;
const buildBranch = `actions-build/${prUserName}-${branchName}`;
execSync(`git config --global user.email "github-actions[bot]@users.noreply.github.com"`);
execSync(`git config --global user.name "github-actions[bot]"`);
// (from: https://stackoverflow.com/a/23987039/2885946)
execSync(`git fetch --all`);
console.log(execSync(`git checkout ${baseBranchName}`).toString());
console.log(execSync(`git checkout -b ${buildBranch} ${baseBranchName}`).toString());
console.log(execSync(`git pull https://github.com/${fullRepoName}.git ${branchName}`).toString());
console.log(execSync(`npm ci`).toString());
console.log(execSync(`npm run all`).toString());
if (execSync('git status --porcelain').length === 0) {
  const commentBody = `\
Built file is up to date.
`;
  // Comment the deploy URL
  await postComment(commentBody);
} else {
  console.log(execSync(`git add .; git commit -m 'build'`).toString());
  // Push preview branch
  // NOTE: Force push (should be safe because preview branch always start with "actions-build/")
  execSync(`git push -fu origin ${buildBranch}`);
  const baseRepoFullName = context.payload.repository.full_name;
  // Comment body
  const commentBody = `\
Built branch:  <https://github.com/${baseRepoFullName}/tree/${buildBranch}>  
Compare: https://github.com/${baseRepoFullName}/compare/${resJson.base.ref}...${buildBranch}
`;
  // Comment the deploy URL
  await postComment(commentBody);
}

@github-actions github-actions bot temporarily deployed to commit October 14, 2022 21:36 Inactive
@nwtgck nwtgck merged commit 76b87f5 into develop Oct 14, 2022
@nwtgck nwtgck deleted the dependabot/npm_and_yarn/typescript-4.8.4 branch October 14, 2022 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant