Skip to content

Commit

Permalink
Cleanup GraphQL Playground usages/references (#7586)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer committed May 26, 2023
1 parent 6e94102 commit 940d1f9
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 98 deletions.
2 changes: 2 additions & 0 deletions .changeset/tender-goats-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
1 change: 0 additions & 1 deletion docs/source/migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ This plugin installs the [unmaintained](https://github.com/graphql/graphql-playg
| `ApolloServerPluginInlineTrace` | `@apollo/server/plugin/inlineTrace` |
| `ApolloServerPluginInlineTraceDisabled` | `@apollo/server/plugin/disabled` |
| `ApolloServerPluginLandingPageDisabled` | `@apollo/server/plugin/disabled` |
| `ApolloServerPluginLandingPageGraphQLPlayground` | `@apollo/server-plugin-landing-page-graphql-playground` |
| `ApolloServerPluginLandingPageLocalDefault` | `@apollo/server/plugin/landingPage/default` |
| `ApolloServerPluginLandingPageProductionDefault` | `@apollo/server/plugin/landingPage/default` |
| `ApolloServerPluginSchemaReporting` | `@apollo/server/plugin/schemaReporting` |
Expand Down
75 changes: 0 additions & 75 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"devDependencies": {
"@apollo/client": "3.7.14",
"@apollo/gateway": "2.4.6",
"@apollo/server-plugin-landing-page-graphql-playground": "4.0.0",
"@apollo/subgraph": "2.4.6",
"@apollo/utils.createhash": "2.0.1",
"@changesets/changelog-github": "0.4.8",
Expand Down
1 change: 0 additions & 1 deletion packages/integration-testsuite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"@apollo/cache-control-types": "^1.0.2",
"@apollo/client": "^3.6.9",
"@apollo/server": "4.7.1",
"@apollo/server-plugin-landing-page-graphql-playground": "^4.0.0",
"@apollo/utils.keyvaluecache": "^2.1.0",
"@apollo/utils.createhash": "^2.0.0",
"@apollo/usage-reporting-protobuf": "^4.1.0",
Expand Down
20 changes: 0 additions & 20 deletions packages/integration-testsuite/src/apolloServerTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ import {
ApolloServerPluginUsageReportingDisabled,
} from '@apollo/server/plugin/disabled';
import { ApolloServerPluginLandingPageLocalDefault } from '@apollo/server/plugin/landingPage/default';
import { ApolloServerPluginLandingPageGraphQLPlayground } from '@apollo/server-plugin-landing-page-graphql-playground';
import {
jest,
describe,
Expand Down Expand Up @@ -2932,25 +2931,6 @@ export function defineIntegrationTestSuiteApolloServerTests(
);
});

// We don’t maintain this plugin any more (and we deleted its source from
// this repository) but it would still be nice to find out if we broke the
// plugin somehow.
it('can install playground with specific version', async () => {
url = (
await createServer({
typeDefs: 'type Query {x: ID}',
plugins: [
ApolloServerPluginLandingPageGraphQLPlayground({
version: '9.8.7',
}),
],
})
).url;
await get()
.expect(/Playground/)
.expect(/react@9\.8\.7/);
});

it('can be disabled', async () => {
url = (
await createServer({
Expand Down

0 comments on commit 940d1f9

Please sign in to comment.