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

refactor!: upgrade octokit/gts/typescript #381

Merged
merged 5 commits into from
Mar 27, 2020
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
**/node_modules
src/**/doc/*
build/
docs/
protos/
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/gts"
}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [8, 10, 12, 13]
node: [10, 12, 13]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
Expand Down
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
**/node_modules
**/.coverage
build/
docs/
protos/
17 changes: 17 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// 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.

module.exports = {
...require('gts/.prettierrc.json')
}
24 changes: 16 additions & 8 deletions __snapshots__/changelog.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
exports['ChangelogUpdater updateContent inserts content at appropriate location if CHANGELOG exists 1'] = `
exports[
'ChangelogUpdater updateContent inserts content at appropriate location if CHANGELOG exists 1'
] = `
# Changelog

[npm history][1]
Expand Down Expand Up @@ -51,9 +53,11 @@ exports['ChangelogUpdater updateContent inserts content at appropriate location

01-28-2019 11:05 PST

`
`;

exports['ChangelogUpdater updateContent inserts content at appropriate location if CHANGELOG exists, and last release was a patch 1'] = `
exports[
'ChangelogUpdater updateContent inserts content at appropriate location if CHANGELOG exists, and last release was a patch 1'
] = `
# Changelog

[npm history][1]
Expand All @@ -75,18 +79,22 @@ exports['ChangelogUpdater updateContent inserts content at appropriate location

03-18-2019 13:47 PDT

`
`;

exports['ChangelogUpdater updateContent populates a new CHANGELOG if none exists 1'] = `
exports[
'ChangelogUpdater updateContent populates a new CHANGELOG if none exists 1'
] = `
# Changelog

## 2.0.0

* added a new foo to bar.

`
`;

exports['ChangelogUpdater updateContent inserts content at appropriate location in yoshi-ruby style CHANGELOG 1'] = `
exports[
'ChangelogUpdater updateContent inserts content at appropriate location in yoshi-ruby style CHANGELOG 1'
] = `
# Release History

## 0.7.0
Expand Down Expand Up @@ -138,4 +146,4 @@ exports['ChangelogUpdater updateContent inserts content at appropriate location

* Initial release

`
`;
Loading