diff --git a/CHANGELOG.md b/CHANGELOG.md index 6af1d86..eb50990 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ [1]: https://www.npmjs.com/package/@google/repo?activeTab=versions +## [6.1.1](https://github.com/googleapis/github-repo-automation/compare/v6.1.0...v6.1.1) (2022-09-14) + + +### Bug Fixes + +* **deps:** Update dependency async-mutex to ^0.4.0 ([#617](https://github.com/googleapis/github-repo-automation/issues/617)) ([fb7c7a8](https://github.com/googleapis/github-repo-automation/commit/fb7c7a8b772891c2b2d3e80157d54cbbbf72b8b5)) +* Remove update-notifier ([#618](https://github.com/googleapis/github-repo-automation/issues/618)) ([ae9be5d](https://github.com/googleapis/github-repo-automation/commit/ae9be5d7cb03adbfbe1846c13725b2ab1ee0f7a6)) + ## [6.1.0](https://github.com/googleapis/github-repo-automation/compare/v6.0.0...v6.1.0) (2022-08-29) diff --git a/package.json b/package.json index ec77be5..b4d4264 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@google/repo", - "version": "6.1.0", + "version": "6.1.1", "repository": "googleapis/github-repo-automation", "description": "A tool for automating multiple GitHub repositories.", "engines": { @@ -18,7 +18,7 @@ "dependencies": { "@types/command-line-usage": "^5.0.2", "@types/tmp": "^0.2.3", - "async-mutex": "^0.3.2", + "async-mutex": "^0.4.0", "chalk": "^5.0.1", "command-line-usage": "^6.1.3", "extend": "^3.0.2", @@ -29,8 +29,7 @@ "p-queue": "^7.2.0", "text-encoding-shim": "^1.0.5", "tmp-promise": "^3.0.3", - "tweetsodium": "0.0.5", - "update-notifier": "^6.0.2" + "tweetsodium": "0.0.5" }, "devDependencies": { "@compodoc/compodoc": "^1.1.19", @@ -40,7 +39,6 @@ "@types/node": "^18.6.1", "@types/proxyquire": "^1.3.28", "@types/sinon": "^10.0.13", - "@types/update-notifier": "^6.0.1", "c8": "^7.12.0", "gts": "^3.1.0", "linkinator": "^4.0.2", diff --git a/samples/package.json b/samples/package.json index bfc2a7d..008c36d 100644 --- a/samples/package.json +++ b/samples/package.json @@ -14,7 +14,7 @@ "test": "mocha system-test" }, "dependencies": { - "@google/repo": "^6.1.0" + "@google/repo": "^6.1.1" }, "devDependencies": { "mocha": "^8.0.0" diff --git a/src/cli.ts b/src/cli.ts index 9f5da7c..1c8e6d6 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -25,19 +25,8 @@ import {merge} from './merge-prs.js'; import {main as check} from './repo-check.js'; import {sync, exec} from './sync.js'; import meow from 'meow'; -import updateNotifier from 'update-notifier'; import {tag} from './tag-prs.js'; import {untag} from './untag-prs.js'; -import * as fs from 'fs'; -import * as path from 'path'; -import {fileURLToPath} from 'url'; - -const filename = fileURLToPath(import.meta.url); -const dirname = path.dirname(filename); -const pkg = JSON.parse( - fs.readFileSync(path.join(dirname, '..', '..', 'package.json')).toString() -); -updateNotifier({pkg}).notify(); const cli = meow( `