Skip to content

Commit

Permalink
fix!: ESM, drop API, drop Node 12 support (#611)
Browse files Browse the repository at this point in the history
* fix!: ESM, drop API, drop Node 12 support

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
alexander-fenster and gcf-owl-bot[bot] authored Jul 27, 2022
1 parent 7f4f6e7 commit 47834fe
Show file tree
Hide file tree
Showing 46 changed files with 184 additions and 1,860 deletions.
2 changes: 1 addition & 1 deletion .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ branchProtectionRules:
- "ci/kokoro: System test"
- docs
- lint
- test (12)
- test (14)
- test (16)
- test (18)
- cla/google
- windows
- OwlBot Post Processor
Expand Down
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: [12, 14, 16]
node: [14, 16, 18]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

import synthtool.languages.node as node

node.owlbot_main(templates_excludes=["README.md"])
node.owlbot_main(templates_excludes=["README.md", ".prettierrc.js", ".mocharc.js"])
47 changes: 24 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"repository": "googleapis/github-repo-automation",
"description": "A tool for automating multiple GitHub repositories.",
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
},
"bin": {
"repo": "build/src/cli.js"
Expand All @@ -14,39 +14,40 @@
"!build/src/**/*.map"
],
"license": "Apache-2.0",
"type": "module",
"dependencies": {
"@types/command-line-usage": "^5.0.1",
"@types/tmp": "^0.2.0",
"chalk": "^4.0.0",
"command-line-usage": "^6.1.0",
"@types/command-line-usage": "^5.0.2",
"@types/tmp": "^0.2.3",
"chalk": "^5.0.1",
"command-line-usage": "^6.1.3",
"extend": "^3.0.2",
"gaxios": "^4.0.0",
"js-yaml": "^4.0.0",
"meow": "^9.0.0",
"ora": "^5.0.0",
"p-queue": "^6.3.0",
"gaxios": "^5.0.1",
"js-yaml": "^4.1.0",
"meow": "^10.1.3",
"ora": "^6.1.2",
"p-queue": "^7.2.0",
"text-encoding-shim": "^1.0.5",
"tmp-promise": "^3.0.0",
"tmp-promise": "^3.0.3",
"tweetsodium": "0.0.5",
"update-notifier": "^5.0.0"
"update-notifier": "^6.0.2"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.11",
"@types/js-yaml": "^4.0.0",
"@compodoc/compodoc": "^1.1.19",
"@types/js-yaml": "^4.0.5",
"@types/meow": "^6.0.0",
"@types/mocha": "^9.0.0",
"@types/node": "^16.0.0",
"@types/mocha": "^9.1.1",
"@types/node": "^18.6.1",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.0",
"@types/update-notifier": "^5.0.0",
"c8": "^7.1.0",
"@types/sinon": "^10.0.13",
"@types/update-notifier": "^6.0.1",
"c8": "^7.12.0",
"gts": "^3.1.0",
"linkinator": "^2.0.4",
"mocha": "^9.2.2",
"nock": "^13.0.0",
"linkinator": "^4.0.2",
"mocha": "^10.0.0",
"nock": "^13.2.9",
"proxyquire": "^2.1.3",
"sinon": "^14.0.0",
"typescript": "^4.6.4"
"typescript": "^4.7.4"
},
"scripts": {
"lint": "gts check",
Expand Down
File renamed without changes.
51 changes: 0 additions & 51 deletions samples/change-circleci-config-in-branch.js

This file was deleted.

78 changes: 0 additions & 78 deletions samples/chmod-repo-tools.js

This file was deleted.

60 changes: 0 additions & 60 deletions samples/commit-package-lock.js

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 47834fe

Please sign in to comment.