-
Notifications
You must be signed in to change notification settings - Fork 378
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
refactor!: upgrade octokit/gts/typescript #381
Conversation
BREAKING CHANGE: octokit has significant interface changes.
Codecov Report
@@ Coverage Diff @@
## master #381 +/- ##
==========================================
- Coverage 88.95% 80.91% -8.05%
==========================================
Files 27 13 -14
Lines 3106 2305 -801
Branches 292 167 -125
==========================================
- Hits 2763 1865 -898
- Misses 342 439 +97
Partials 1 1
Continue to review full report at Codecov.
|
"@types/chai": "^4.1.7", | ||
"@types/mocha": "^7.0.0", | ||
"@types/node": "^11.13.6", | ||
"@types/semver": "^7.0.0", | ||
"c8": "^7.0.0", | ||
"chai": "^4.2.0", | ||
"cross-env": "^7.0.0", | ||
"gts": "^1.0.0", | ||
"gts": "^2.0.0-alpha.8", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw some of package use next
tag here. Dose it matter here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer being explicit with the dependency, as soon as we do a few GAPIC library updates, I think we can go ahead and migrate gts to 2.x 😄
src/conventional-commits.ts
Outdated
@@ -11,14 +11,15 @@ | |||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||
// See the License for the specific language governing permissions and | |||
// limitations under the License. | |||
/* eslint-disable @typescript-eslint/no-var-requires */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eslint-disable
affect entire file, is this what we want?
🤖 I have created a release \*beep\* \*boop\* --- ## [4.0.0](https://github.com/googleapis/release-please/compare/v3.3.0...v4.0.0) (2020-03-27) ### ⚠ BREAKING CHANGES * upgrade octokit/gts/typescript (#381) ### Code Refactoring * upgrade octokit/gts/typescript ([#381](https://github.com/googleapis/release-please/issues/381)) ([4e0bf11](https://github.com/googleapis/release-please/commit/4e0bf11b7f4217b5c6b8cd1aa9ea4db1bce06b89)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please).
4e0bf11 commit 4e0bf11 Author: Benjamin E. Coe <[email protected]> Date: Fri Mar 27 12:19:26 2020 -0700 refactor!: upgrade octokit/gts/typescript (#381)
Source-Repo: googleapis/release-please Source-Sha: 4e0bf11 Source-Link: 4e0bf11 Author: Benjamin E. Coe <[email protected]> Date: Fri Mar 27 12:19:26 2020 -0700 Original-Commit-Message: refactor!: upgrade octokit/gts/typescript (#381)
Source-Repo: googleapis/release-please Source-Sha: 4e0bf11 Source-Link: 4e0bf11 Author: Benjamin E. Coe <[email protected]> Date: Fri Mar 27 12:19:26 2020 -0700 Original-Commit-Message: refactor!: upgrade octokit/gts/typescript (#381)
Source-Repo: googleapis/release-please Source-Sha: 4e0bf11 Source-Link: 4e0bf11 Author: Benjamin E. Coe <[email protected]> Date: Fri Mar 27 12:19:26 2020 -0700 Original-Commit-Message: refactor!: upgrade octokit/gts/typescript (#381)
@xiaozhenliu-gg5 I ended up pulling over your work from #380 into this PR, as I had to do a significant amount of refactoring of types to upgrade @octokit (I'd been putting off this update for weeks because I knew it would take so much playing around).
Sorry to have wasted a little bit of your time on #380.