diff --git a/.eslintrc b/.eslintrc index 4db9366de9..aa3d1a8f74 100644 --- a/.eslintrc +++ b/.eslintrc @@ -46,7 +46,7 @@ "unicorn/prefer-ternary": "off" // TODO: fix issues and turn this back on }, - // Typescript settings + // TypeScript settings "overrides": [ { "files": ["**/*{.ts,tsx}"], diff --git a/.github/workflows/get-signed-from-stampy.yml b/.github/workflows/get-signed-from-stampy.yml index 69c102582b..eb39e297bd 100644 --- a/.github/workflows/get-signed-from-stampy.yml +++ b/.github/workflows/get-signed-from-stampy.yml @@ -8,7 +8,7 @@ jobs: environment: Stampy steps: - uses: actions/checkout@v3 - - name: download signed Windows installer from from Stampy + - name: download signed Windows installer from Stampy env: STAMPY_ARN: ${{ secrets.STAMPY_ARN }} AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} diff --git a/.github/workflows/start-gh-release.yml b/.github/workflows/start-gh-release.yml index a9313e6c3a..d1941fd111 100644 --- a/.github/workflows/start-gh-release.yml +++ b/.github/workflows/start-gh-release.yml @@ -1,4 +1,4 @@ -name: Watch for and start Github Release +name: Watch for and start GitHub Release on: pull_request_target: diff --git a/.github/workflows/start-prerelease.yml b/.github/workflows/start-prerelease.yml index e8738cec71..e946e159d1 100644 --- a/.github/workflows/start-prerelease.yml +++ b/.github/workflows/start-prerelease.yml @@ -48,7 +48,7 @@ jobs: run: | git config user.name "GitHub Actions Bot" git config user.email "heroku-front-end+npm-releases@salesforce.com" - - name: publish tag to Github + - name: publish tag to GitHub run: | git tag "${{ env.TAG_NAME }}" -m "${{ env.TAG_NAME }}" git push origin "${{ env.TAG_NAME }}" diff --git a/.github/workflows/tag-create-github-release.yml b/.github/workflows/tag-create-github-release.yml index 1d9fed8a14..c700f93b0e 100644 --- a/.github/workflows/tag-create-github-release.yml +++ b/.github/workflows/tag-create-github-release.yml @@ -1,4 +1,4 @@ -name: Create Github Release & Tag version in Git +name: Create GitHub Release & Tag version in Git on: workflow_dispatch: @@ -31,7 +31,7 @@ jobs: - name: Create & Push Git Tag run: ./scripts/release/create-git-tag-and-push shell: bash - - name: Release to Github + - name: Release to GitHub # the script below will fail if run from a separate shell file run: | PACKAGE_VERSION=$(node -e "console.log(require('./lerna.json').version)") diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5d0235b282..df1dc9dc8d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ This page lists the operational governance model of this project, as well as the ## Salesforce Sponsored -The intent and goal of open sourcing this project is to increase the contributor and user base. However, only Salesforce employees will be given `admin` rights and will be the final arbitrars of what contributions are accepted or not. +The intent and goal of open sourcing this project is to increase the contributor and user base. However, only Salesforce employees will be given `admin` rights and will be the final arbiters of what contributions are accepted or not. # Issues, requests & ideas diff --git a/install-standalone.sh b/install-standalone.sh index ee216d8785..2f87e1e590 100644 --- a/install-standalone.sh +++ b/install-standalone.sh @@ -27,7 +27,7 @@ elif [ "\$(expr substr \$(uname -s) 1 5)" == "Linux" ]; then OS=linux else - echoerr "This installer is only supported on Linux and MacOS" + echoerr "This installer is only supported on Linux and macOS" exit 1 fi diff --git a/packages/ci-v5/CHANGELOG.md b/packages/ci-v5/CHANGELOG.md index c4499d2046..cef385b578 100644 --- a/packages/ci-v5/CHANGELOG.md +++ b/packages/ci-v5/CHANGELOG.md @@ -860,7 +860,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/). ## [1.5.2] - 2017-04-27 ### Changed -- Releax engines requirements in package.json. +- Relax engines requirements in package.json. ## [1.5.1] - 2017-04-03 ### Changed diff --git a/packages/ci-v5/test/unit/lib/disambiguate.unit.test.js b/packages/ci-v5/test/unit/lib/disambiguate.unit.test.js index b97a4da7ed..4ac87d1345 100644 --- a/packages/ci-v5/test/unit/lib/disambiguate.unit.test.js +++ b/packages/ci-v5/test/unit/lib/disambiguate.unit.test.js @@ -25,7 +25,7 @@ describe('disambiguate', function () { api.done() }) - it('erros when no pipelines are returned', async function () { + it('errors when no pipelines are returned', async function () { const api = nock('https://api.heroku.com') .get('/pipelines?eq[name]=notUUID') .reply(200, []) diff --git a/packages/cli/README.md b/packages/cli/README.md index 41fc1c6108..546185144f 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -98,7 +98,7 @@ Run one test, in this case plugin-certs-v5, with `yarn lerna run --scope @heroku ## Debugging -Using WebStorm (from Jetbrains / IntelliJ), you can run/debug an individual test case. +Using WebStorm (from JetBrains / IntelliJ), you can run/debug an individual test case. - Create a new run/debug configuration - Select the 'Mocha' type diff --git a/packages/cli/src/commands/autocomplete/options.ts b/packages/cli/src/commands/autocomplete/options.ts index 117ee1fa96..9199004030 100644 --- a/packages/cli/src/commands/autocomplete/options.ts +++ b/packages/cli/src/commands/autocomplete/options.ts @@ -27,7 +27,7 @@ export default class Options extends AutocompleteBase { // *args: refers to a Command's static args // *argv: refers to the current execution's command line positional input // Klass: (class) Command class - // completion: (object) object with data/methods to build/retrive options from cache + // completion: (object) object with data/methods to build/retrieve options from cache // curPosition*: the current argv position the shell is trying to complete // options: (string) white-space separated list of values for the shell to use for completion diff --git a/packages/cli/src/lib/pipelines/kolkrabbi-api.ts b/packages/cli/src/lib/pipelines/kolkrabbi-api.ts index 5fec47dad9..b504f76a5d 100644 --- a/packages/cli/src/lib/pipelines/kolkrabbi-api.ts +++ b/packages/cli/src/lib/pipelines/kolkrabbi-api.ts @@ -62,7 +62,7 @@ export default class { }) } - getPipelineGithub(pipeline: any) { + getPipelineGitHub(pipeline: any) { return this.request(`/pipelines/${pipeline}/github`, { method: 'GET', }) diff --git a/packages/cli/test/unit/analytics.unit.test.ts b/packages/cli/test/unit/analytics.unit.test.ts index bb910f9e86..cf5438ac76 100644 --- a/packages/cli/test/unit/analytics.unit.test.ts +++ b/packages/cli/test/unit/analytics.unit.test.ts @@ -214,7 +214,7 @@ describe('analytics (backboard has an error) with authorizationToken', () => { user = netrc.machines[vars.apiHost]?.login || undefined }) - it('retreives user heroku API key', async () => { + it('retrieves user heroku API key', async () => { const config = await Config.load() config.platform = 'win32' config.shell = 'fish' diff --git a/packages/cli/test/unit/commands/ci/rerun.unit.test.ts b/packages/cli/test/unit/commands/ci/rerun.unit.test.ts index 39dfff5727..725a085072 100644 --- a/packages/cli/test/unit/commands/ci/rerun.unit.test.ts +++ b/packages/cli/test/unit/commands/ci/rerun.unit.test.ts @@ -26,7 +26,7 @@ describe('ci:rerun', () => { } const newTestRun = { commit_branch: ghRepository.branch, - commit_message: 'lastest commit', + commit_message: 'latest commit', commit_sha: ghRepository.ref, id: 'b6512323-3a11-43ac-b4e4-9668b6a6b30c', number: 11, diff --git a/packages/cli/test/unit/commands/ci/run.unit.test.ts b/packages/cli/test/unit/commands/ci/run.unit.test.ts index e49e1694e2..56fbc33cc3 100644 --- a/packages/cli/test/unit/commands/ci/run.unit.test.ts +++ b/packages/cli/test/unit/commands/ci/run.unit.test.ts @@ -19,7 +19,7 @@ describe('ci:run', () => { } const newTestRun = { commit_branch: ghRepository.branch, - commit_message: 'lastest commit', + commit_message: 'latest commit', commit_sha: ghRepository.ref, id: 'b6512323-3a11-43ac-b4e4-9668b6a6b30c', number: 11, diff --git a/packages/cli/test/unit/commands/pipelines/connect.unit.test.ts b/packages/cli/test/unit/commands/pipelines/connect.unit.test.ts index e0eecda6d4..d240426392 100644 --- a/packages/cli/test/unit/commands/pipelines/connect.unit.test.ts +++ b/packages/cli/test/unit/commands/pipelines/connect.unit.test.ts @@ -13,7 +13,7 @@ describe('pipelines:connect', () => { .it('displays an error') }) - describe('with an account connected to Github', () => { + describe('with an account connected to GitHub', () => { test .nock('https://kolkrabbi.heroku.com', kolkrabbi => { const kolkrabbiAccount = { diff --git a/packages/cli/test/unit/commands/pipelines/diff.unit.test.ts b/packages/cli/test/unit/commands/pipelines/diff.unit.test.ts index f90735febf..ff4f702a6d 100644 --- a/packages/cli/test/unit/commands/pipelines/diff.unit.test.ts +++ b/packages/cli/test/unit/commands/pipelines/diff.unit.test.ts @@ -23,7 +23,7 @@ describe('pipelines:diff', function () { stage: 'staging', } - const targetGithubApp = { + const targetGitHubApp = { repo: 'heroku/example-app', } @@ -40,7 +40,7 @@ describe('pipelines:diff', function () { stage: 'production', } - const downstreamApp1Github = { + const downstreamApp1GitHub = { repo: 'heroku/example-app', } @@ -57,7 +57,7 @@ describe('pipelines:diff', function () { stage: 'production', } - const downstreamApp2Github = { + const downstreamApp2GitHub = { repo: 'heroku/some-other-app', } @@ -121,9 +121,9 @@ describe('pipelines:diff', function () { .nock(kolkrabbiApi, api => { api .get(`/apps/${downstreamApp1.id}/github`) - .reply(200, downstreamApp1Github) + .reply(200, downstreamApp1GitHub) .get(`/apps/${downstreamApp2.id}/github`) - .reply(200, downstreamApp2Github) + .reply(200, downstreamApp2GitHub) }) } @@ -143,7 +143,7 @@ describe('pipelines:diff', function () { .nock(kolkrabbiApi, api => { api .get(`/apps/${targetApp.id}/github`) - .reply(200, targetGithubApp) + .reply(200, targetGitHubApp) }) .command(['pipelines:diff', `--app=${targetApp.name}`]) .catch(error => { @@ -155,7 +155,7 @@ describe('pipelines:diff', function () { .nock(kolkrabbiApi, api => { api .get(`/apps/${targetApp.id}/github`) - .reply(200, targetGithubApp) + .reply(200, targetGitHubApp) }) .nock(apiUrl, api => { api @@ -180,11 +180,11 @@ describe('pipelines:diff', function () { .nock(kolkrabbiApi, api => { api .get(`/apps/${targetApp.id}/github`) - .reply(200, targetGithubApp) + .reply(200, targetGitHubApp) .get(`/apps/${downstreamApp1.id}/github`) - .reply(200, downstreamApp1Github) + .reply(200, downstreamApp1GitHub) .get(`/apps/${downstreamApp2.id}/github`) - .reply(200, downstreamApp2Github) + .reply(200, downstreamApp2GitHub) .get('/account/github/token') .reply(200, {github: {token: 'github-token'}}) }) @@ -228,7 +228,7 @@ describe('pipelines:diff', function () { }) .nock(githubApi, api => { api - .get(`/repos/${targetGithubApp.repo}/compare/${hashes[1]}...${hashes[0]}`) + .get(`/repos/${targetGitHubApp.repo}/compare/${hashes[1]}...${hashes[0]}`) .reply(404) }) .command(['pipelines:diff', `--app=${targetApp.name}`]) diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 49e4efb725..bd91617d27 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "allowJs": true, // allowed to support run-foreman.js. Should be removed when that funcitonality is refactored. + "allowJs": true, // allowed to support run-foreman.js. Should be removed when that functionality is refactored. "declaration": true, "forceConsistentCasingInFileNames": true, "importHelpers": true, diff --git a/scripts/postrelease/change_management b/scripts/postrelease/change_management index 3aec992eb1..a8a957aa63 100755 --- a/scripts/postrelease/change_management +++ b/scripts/postrelease/change_management @@ -10,7 +10,7 @@ if (!isStableRelease(GITHUB_REF_TYPE, GITHUB_REF_NAME)) { const REQUEST_PROMISE = require('promise-request-retry') -// Set these in Github Actions in the heroku/cli project +// Set these in GitHub Actions in the heroku/cli project // const TPS_API_APP_ID = process.env.TPS_API_APP_ID const TPS_API_RELEASE_ACTOR_EMAIL = process.env.TPS_API_RELEASE_ACTOR_EMAIL