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

chore(deps): bump #739

Merged
merged 20 commits into from Jan 31, 2023
Merged

chore(deps): bump #739

merged 20 commits into from Jan 31, 2023

Conversation

kanadgupta
Copy link
Member

@kanadgupta kanadgupta commented Jan 31, 2023

🧰 Changes

Before:

Package                Current   Wanted   Latest  Location                            Depended by
@readme/eslint-config   10.3.2   10.5.0   10.5.0  node_modules/@readme/eslint-config  rdme
@types/jest             29.2.5   29.4.0   29.4.0  node_modules/@types/jest            rdme
@types/validator       13.7.10  13.7.11  13.7.11  node_modules/@types/validator       rdme
chalk                    4.1.2    4.1.2    5.2.0  node_modules/chalk                  rdme
config                   3.3.8    3.3.9    3.3.9  node_modules/config                 rdme
configstore              5.0.1    5.0.1    6.0.0  node_modules/configstore            rdme
eslint                  8.31.0   8.33.0   8.33.0  node_modules/eslint                 rdme
jest                    29.3.1   29.4.1   29.4.1  node_modules/jest                   rdme
jest-extended            3.2.1    3.2.3    3.2.3  node_modules/jest-extended          rdme
nock                    13.2.9   13.3.0   13.3.0  node_modules/nock                   rdme
node-fetch               2.6.7    2.6.9    3.3.0  node_modules/node-fetch             rdme
oas                     20.3.0   20.4.0   20.4.0  node_modules/oas                    rdme
oas-normalize            8.3.1    8.3.2    8.3.2  node_modules/oas-normalize          rdme
ora                      5.4.1    5.4.1    6.1.2  node_modules/ora                    rdme
prettier                 2.8.1    2.8.3    2.8.3  node_modules/prettier               rdme
ts-jest                 29.0.3   29.0.5   29.0.5  node_modules/ts-jest                rdme
type-fest                3.5.1    3.5.4    3.5.4  node_modules/type-fest              rdme
typescript               4.9.4    4.9.5    4.9.5  node_modules/typescript             rdme

After:

Package      Current  Wanted  Latest  Location                  Depended by
chalk          4.1.2   4.1.2   5.2.0  node_modules/chalk        rdme
configstore    5.0.1   5.0.1   6.0.0  node_modules/configstore  rdme
node-fetch     2.6.9   2.6.9   3.3.0  node_modules/node-fetch   rdme
ora            5.4.1   5.4.1   6.1.2  node_modules/ora          rdme

This PR also includes a few lint-related cleanup/fixes and fixes a few tests that broke when upgrading to jest@29.4 (see #739 (comment))

@kanadgupta kanadgupta added the dependencies Pull requests that update a dependency file label Jan 31, 2023
@kanadgupta kanadgupta mentioned this pull request Jan 31, 2023
@@ -1,4 +1,4 @@
/* eslint-disable @typescript-eslint/ban-ts-comment */
/* eslint-disable @typescript-eslint/ban-ts-comment, no-console */
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just some minor cleanup here

* @see {@link https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables}
*/
export function isGHA() {
return isCI() && ci.GITHUB_ACTIONS;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to add this isCI() && clause to avoid false positives in a GitHub Actions test runner environment to ensure we're explicitly testing code that's specific to GHA. A few tests in __tests__/lib/fetch.test.ts started breaking when upgrading to jest@29.4... honestly this kinda threw me off all afternoon and I'm a bit confused why they were passing in the first place 😵‍💫

__tests__/lib/fetch.test.ts Outdated Show resolved Hide resolved
@@ -1,5 +1,5 @@
import type { CommandOptions } from '../lib/baseCommand';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lint 🤔 per this thread I'm not sure if this is a bug or not (per import-js/eslint-plugin-import#2683) but I'm just gonna roll with this for now.

@kanadgupta kanadgupta marked this pull request as ready for review January 31, 2023 20:44
@kanadgupta kanadgupta merged commit d311af9 into main Jan 31, 2023
@kanadgupta kanadgupta deleted the kanad/bump-deps/2023-01-31 branch January 31, 2023 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

None yet

2 participants