dotansimha / graphql-code-generator

A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
https://the-guild.dev/graphql/codegen/
MIT License
10.81k stars 1.32k forks source link

chore(deps): update dependency lint-staged to v15 #9968

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lint-staged 13.3.0 -> 15.2.9 age adoption passing confidence

Release Notes

lint-staged/lint-staged (lint-staged) ### [`v15.2.9`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1529) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.2.8...v15.2.9) ##### Patch Changes - [#​1463](https://togithub.com/lint-staged/lint-staged/pull/1463) [`b69ce2d`](https://togithub.com/lint-staged/lint-staged/commit/b69ce2ddfd5a7ae576f4fef4afc60b8a81f3c945) Thanks [@​iiroj](https://togithub.com/iiroj)! - Set the maximum number of event listeners to the number of tasks. This should silence the console warning `MaxListenersExceededWarning: Possible EventEmitter memory leak detected`. ### [`v15.2.8`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1528) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.2.7...v15.2.8) ##### Patch Changes - [`f0480f0`](https://togithub.com/lint-staged/lint-staged/commit/f0480f01b24b9f6443a12515d413a7ba4dda3981) Thanks [@​iiroj](https://togithub.com/iiroj)! - In the previous version the native `git rev-parse --show-toplevel` command was taken into use for resolving the current git repo root. This version switched the `--show-toplevel` flag with `--show-cdup`, because on Git installed via MSYS2 the former was returning absolute paths that do not work with Node.js `child_process`. The new flag returns a path relative to the working directory, avoiding the issue. The GitHub Actions workflow has been updated to install Git via MSYS2, to ensure better future compatibility; using the default Git binary in the GitHub Actions runner was working correctly even with MSYS2. ### [`v15.2.7`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1527) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.2.6...v15.2.7) ##### Patch Changes - [#​1440](https://togithub.com/lint-staged/lint-staged/pull/1440) [`a51be80`](https://togithub.com/lint-staged/lint-staged/commit/a51be804b63307ac7af3c82f4cb2d43dbe92daac) Thanks [@​iiroj](https://togithub.com/iiroj)! - In the previous version the native `git rev-parse --show-toplevel` command was taken into use for resolving the current git repo root. This version drops the `--path-format=absolute` option to support earlier git versions since it's also the default behavior. If you are still having trouble, please try upgrading `git` to the latest version. ### [`v15.2.6`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1526) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.2.5...v15.2.6) ##### Patch Changes - [#​1433](https://togithub.com/lint-staged/lint-staged/pull/1433) [`119adb2`](https://togithub.com/lint-staged/lint-staged/commit/119adb29854cabddbfcf0469d7c8a0126184a5d4) Thanks [@​iiroj](https://togithub.com/iiroj)! - Use native "git rev-parse" commands to determine git repo root directory and the .git config directory, instead of using custom logic. This hopefully makes path resolution more robust on non-POSIX systems. ### [`v15.2.5`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1525) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.2.4...v15.2.5) ##### Patch Changes - [#​1424](https://togithub.com/lint-staged/lint-staged/pull/1424) [`31a1f95`](https://togithub.com/lint-staged/lint-staged/commit/31a1f9548ea8202bc5bd718076711f747396e3ca) Thanks [@​iiroj](https://togithub.com/iiroj)! - Allow approximately equivalent versions of direct dependencies by using the "~" character in the version ranges. This means a more recent patch version of a dependency is allowed if available. - [#​1423](https://togithub.com/lint-staged/lint-staged/pull/1423) [`91abea0`](https://togithub.com/lint-staged/lint-staged/commit/91abea0d298154d92113ba34bae4020704e22918) Thanks [@​iiroj](https://togithub.com/iiroj)! - Improve error logging when failing to read or parse a configuration file - [#​1424](https://togithub.com/lint-staged/lint-staged/pull/1424) [`ee43f15`](https://togithub.com/lint-staged/lint-staged/commit/ee43f154097753dd5448766f792387e60e0ea453) Thanks [@​iiroj](https://togithub.com/iiroj)! - Upgrade micromatch@4.0.7 ### [`v15.2.4`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1524) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.2.2...v15.2.4) ##### Patch Changes - [`4f4537a`](https://togithub.com/lint-staged/lint-staged/commit/4f4537a75ebfba816826f6f67a325dbc7f25908a) Thanks [@​iiroj](https://togithub.com/iiroj)! - Fix release issue with previous version; update dependencies ### [`v15.2.2`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1522) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.2.1...v15.2.2) ##### Patch Changes - [#​1391](https://togithub.com/lint-staged/lint-staged/pull/1391) [`fdcdad4`](https://togithub.com/lint-staged/lint-staged/commit/fdcdad42ff96fea3c05598e378d3c44ad4a51bde) Thanks [@​iiroj](https://togithub.com/iiroj)! - *Lint-staged* no longer tries to load configuration from files that are not checked out. This might happen when using sparse-checkout. ### [`v15.2.1`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1521) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.2.0...v15.2.1) ##### Patch Changes - [#​1387](https://togithub.com/lint-staged/lint-staged/pull/1387) [`e4023f6`](https://togithub.com/lint-staged/lint-staged/commit/e4023f687616dcf4816545b8eefbcce50e255c9c) Thanks [@​iiroj](https://togithub.com/iiroj)! - Ignore stdin of spawned commands so that they don't get stuck waiting. Until now, *lint-staged* has used the default settings to spawn linter commands. This means the `stdin` of the spawned commands has accepted input, and essentially gotten stuck waiting. Now the `stdin` is ignored and commands will no longer get stuck. If you relied on this behavior, please open a new issue and describe how; the behavior has not been intended. ### [`v15.2.0`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1520) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.1.0...v15.2.0) ##### Minor Changes - [#​1371](https://togithub.com/lint-staged/lint-staged/pull/1371) [`f3378be`](https://togithub.com/lint-staged/lint-staged/commit/f3378be894fb84800341800b1e4f6f8bc8dfd904) Thanks [@​iiroj](https://togithub.com/iiroj)! - Using the `--no-stash` flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss. This fix is available with a new flag `--no-hide-partially-staged` that is automatically enabled when `--no-stash` is used. ##### Patch Changes - [#​1362](https://togithub.com/lint-staged/lint-staged/pull/1362) [`17bc480`](https://togithub.com/lint-staged/lint-staged/commit/17bc480c0f8767407a87527931558de8d1d1551d) Thanks [@​antonk52](https://togithub.com/antonk52)! - update lilconfig@3.0.0 - [#​1368](https://togithub.com/lint-staged/lint-staged/pull/1368) [`7c55ca9`](https://togithub.com/lint-staged/lint-staged/commit/7c55ca9f410043016e8b33b3b523b9b7e764acf4) Thanks [@​iiroj](https://togithub.com/iiroj)! - Update most dependencies - [#​1368](https://togithub.com/lint-staged/lint-staged/pull/1368) [`777d4e9`](https://togithub.com/lint-staged/lint-staged/commit/777d4e976852af4c181ffbe055f3531343349695) Thanks [@​iiroj](https://togithub.com/iiroj)! - To improve performance, only use `lilconfig` when searching for config files outside the git repo. In the regular case, *lint-staged* finds the config files from the Git index and loads them directly. - [#​1373](https://togithub.com/lint-staged/lint-staged/pull/1373) [`85eb0dd`](https://togithub.com/lint-staged/lint-staged/commit/85eb0ddab1eba0c0bcc8cc109e17dc2bbb3d044e) Thanks [@​iiroj](https://togithub.com/iiroj)! - When determining git directory, use `fs.realpath()` only for symlinks. It looks like `fs.realpath()` changes some Windows mapped network filepaths unexpectedly, causing issues. ### [`v15.1.0`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1510) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.0.2...v15.1.0) ##### Minor Changes - [#​1344](https://togithub.com/lint-staged/lint-staged/pull/1344) [`0423311`](https://togithub.com/lint-staged/lint-staged/commit/04233115a5e25d6fa7d357cbe9d42173ae8a1acf) Thanks [@​danielbayley](https://togithub.com/danielbayley)! - Add support for loading configuration from `package.yaml` and `package.yml` files, supported by `pnpm`. ##### Patch Changes - [#​1355](https://togithub.com/lint-staged/lint-staged/pull/1355) [`105d901`](https://togithub.com/lint-staged/lint-staged/commit/105d9012fc92fca549987816406450075cf255f3) Thanks [@​iiroj](https://togithub.com/iiroj)! - Suppress some warnings when using the "--quiet" flag ### [`v15.0.2`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1502) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.0.1...v15.0.2) ##### Patch Changes - [#​1339](https://togithub.com/lint-staged/lint-staged/pull/1339) [`8e82364`](https://togithub.com/lint-staged/lint-staged/commit/8e82364dd89155e96de574cfb38a94d28b8635af) Thanks [@​iiroj](https://togithub.com/iiroj)! - Update dependencies, including listr2@​7.0.2 to fix an upstream issue affecting lint-staged. ### [`v15.0.1`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1501) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.0.0...v15.0.1) ##### Patch Changes - [#​1217](https://togithub.com/lint-staged/lint-staged/pull/1217) [`d2e6f8b`](https://togithub.com/lint-staged/lint-staged/commit/d2e6f8b1e1cd84ba6eb2f3f6a7f650c882987041) Thanks [@​louneskmt](https://togithub.com/louneskmt)! - Previously it was possible for a function task to mutate the list of staged files passed to the function, and accidentally affect the generation of other tasks. This is now fixed by passing a copy of the original file list instead. ### [`v15.0.0`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1500) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v14.0.1...v15.0.0) ##### Major Changes - [#​1322](https://togithub.com/okonet/lint-staged/pull/1322) [`66b93aa`](https://togithub.com/okonet/lint-staged/commit/66b93aac870d155ca81302b2574617da99409ca7) Thanks [@​iiroj](https://togithub.com/iiroj)! - **Require at least Node.js 18.12.0** This release drops support for Node.js 16, which is EOL after 2023-09-11. Please upgrade your Node.js to the latest version. Additionally, all dependencies have been updated to their latest versions. ### [`v14.0.1`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1401---21-Aug-2023) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v14.0.0...v14.0.1) ##### Bug Fixes - fix reading config from stdin, introduced in v14.0.0 ([#​1317](https://togithub.com/okonet/lint-staged/issues/1317)) ([fc3bfea](https://togithub.com/okonet/lint-staged/commit/fc3bfeabae29b65f99b6911a989b0b41d3d1128e)) ### [`v14.0.0`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1400---13-Aug-2023) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v13.3.0...v14.0.0) ##### Features - drop support for Node.js 14 ([#​1312](https://togithub.com/okonet/lint-staged/issues/1312)) ([9da8777](https://togithub.com/okonet/lint-staged/commit/9da877711a7547b9122c6af91683fb2a2f398184)) ##### BREAKING CHANGES - Please upgrade your Node.js version to at least `16.14.0`.

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

changeset-bot[bot] commented 4 months ago

⚠️ No Changeset found

Latest commit: 8218ec0481bd4eb0f9890e0446d78a1563a8ca7a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 2 months ago

πŸš€ Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets): Package Version Info
@graphql-codegen/cli 5.0.3-alpha-20240819152917-8218ec0481bd4eb0f9890e0446d78a1563a8ca7a npm β†—οΈŽ unpkg β†—οΈŽ
@graphql-codegen/visitor-plugin-common 5.4.0-alpha-20240819152917-8218ec0481bd4eb0f9890e0446d78a1563a8ca7a npm β†—οΈŽ unpkg β†—οΈŽ
@graphql-codegen/typescript-document-nodes 4.0.10-alpha-20240819152917-8218ec0481bd4eb0f9890e0446d78a1563a8ca7a npm β†—οΈŽ unpkg β†—οΈŽ
@graphql-codegen/gql-tag-operations 4.0.10-alpha-20240819152917-8218ec0481bd4eb0f9890e0446d78a1563a8ca7a npm β†—οΈŽ unpkg β†—οΈŽ
@graphql-codegen/typescript-operations 4.3.0-alpha-20240819152917-8218ec0481bd4eb0f9890e0446d78a1563a8ca7a npm β†—οΈŽ unpkg β†—οΈŽ
@graphql-codegen/typescript-resolvers 4.3.0-alpha-20240819152917-8218ec0481bd4eb0f9890e0446d78a1563a8ca7a npm β†—οΈŽ unpkg β†—οΈŽ
@graphql-codegen/typed-document-node 5.0.10-alpha-20240819152917-8218ec0481bd4eb0f9890e0446d78a1563a8ca7a npm β†—οΈŽ unpkg β†—οΈŽ
@graphql-codegen/typescript 4.1.0-alpha-20240819152917-8218ec0481bd4eb0f9890e0446d78a1563a8ca7a npm β†—οΈŽ unpkg β†—οΈŽ
@graphql-codegen/client-preset 4.4.0-alpha-20240819152917-8218ec0481bd4eb0f9890e0446d78a1563a8ca7a npm β†—οΈŽ unpkg β†—οΈŽ
@graphql-codegen/graphql-modules-preset 4.0.10-alpha-20240819152917-8218ec0481bd4eb0f9890e0446d78a1563a8ca7a npm β†—οΈŽ unpkg β†—οΈŽ
@graphql-codegen/testing 3.0.4-alpha-20240819152917-8218ec0481bd4eb0f9890e0446d78a1563a8ca7a npm β†—οΈŽ unpkg β†—οΈŽ
github-actions[bot] commented 2 months ago
### πŸ’» Website Preview The latest changes are available as preview in: [https://35094e2f.graphql-code-generator.pages.dev](https://35094e2f.graphql-code-generator.pages.dev)