Shopify / quilt

A loosely related set of packages for JavaScript/TypeScript projects at Shopify
MIT License
1.7k stars 220 forks source link

graphql-fixtures incompatible with newer node versions #2775

Open mathiusj opened 3 months ago

mathiusj commented 3 months ago

Overview

graphql-fixtures has a nested dependency of @apollo/federation@0.27.0 which has been deprecated since Sept 22, 2023

https://www.npmjs.com/package/@apollo/federation?activeTab=versions

Stacktrace

warning graphql-fixtures > graphql-tool-utilities > apollo-codegen-core > apollo-language-server > apollo-datasource@3.3.2: The `apollo-datasource` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning graphql-fixtures > graphql-tool-utilities > apollo-codegen-core > apollo-language-server > @apollo/federation@0.27.0: The @apollo/federation package is deprecated and will reach end-of-life September 22, 2023. It contains outdated utilities for both running subgraphs and composing supergraph schemas. Please migrate to the appropriate package for your use case (@apollo/subgraph or @apollo/composition). For more details, see our announcement blog post (https://www.apollographql.com/blog/announcement/backend/announcing-the-end-of-life-schedule-for-apollo-gateway-v0-x/) and documentation (https://www.apollographql.com/docs/federation/federation-2/backward-compatibility/#is-official-support-ending-for-apollogateway-v0x).
warning graphql-fixtures > graphql-tool-utilities > apollo-codegen-core > apollo-language-server > apollo-server-errors@2.5.0: The `apollo-server-errors` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning graphql-fixtures > graphql-tool-utilities > apollo-codegen-core > apollo-language-server > apollo-datasource > apollo-server-env@4.2.1: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @shopify/jest-dom-mocks > fetch-mock > querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning @shopify/sewing-kit > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning @shopify/sewing-kit > @shopify/babel-preset > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning @shopify/sewing-kit > @shopify/babel-preset > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning @shopify/sewing-kit > @shopify/babel-preset > @babel/plugin-proposal-dynamic-import@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead.
warning @shopify/sewing-kit > @shopify/babel-preset > @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
warning @shopify/sewing-kit > @shopify/babel-preset > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning @shopify/sewing-kit > @shopify/babel-preset > @babel/plugin-proposal-private-methods@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
warning @shopify/sewing-kit > graphql-typescript-definitions > @types/chokidar@2.1.3: This is a stub types definition. chokidar provides its own type definitions, so you do not need this installed.
warning @shopify/sewing-kit > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
warning @shopify/sewing-kit > webpack-dev-middleware > memfs@3.6.0: this will be v4
warning @shopify/sewing-kit > jest-environment-jsdom > jsdom > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
warning @shopify/sewing-kit > jest-environment-jsdom > jsdom > data-urls > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
warning @shopify/sewing-kit > jest-environment-jsdom > jsdom > domexception@4.0.0: Use your platform's native DOMException instead
warning @shopify/sewing-kit > jest-environment-jsdom > jsdom > w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
warning @shopify/sewing-kit > imagemin-optipng > exec-buffer > tempfile > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @shopify/sewing-kit > node-sass > make-fetch-happen > cacache > @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
warning @shopify/sewing-kit > node-sass > node-gyp > make-fetch-happen > cacache > @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
[3/5] Fetching packages...
error @apollo/federation@0.27.0: The engine "node" is incompatible with this module. Expected version ">=12.13.0 <17.0". Got "20.10.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Consuming repo

Cleaning up dependabot PRs in https://github.com/Shopify/shipping-to-production

Affected PRs require us to use node >= 20.10.0:

https://github.com/Shopify/shipping-to-production/pull/6391 https://github.com/Shopify/shipping-to-production/pull/6358

Area

Scope


Checklist

richardplatel commented 2 months ago

This is also an issue for graphql-typescript-definitions: https://github.com/Shopify/abacus/issues/4266