Skip to content

Commit

Permalink
Remove legacy app-graphql package (#5224)
Browse files Browse the repository at this point in the history
  • Loading branch information
timleslie authored Mar 26, 2021
1 parent 33bc4de commit cbba50e
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 750 deletions.
1 change: 0 additions & 1 deletion packages-next/keystone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@keystone-next/adapter-mongoose-legacy": "^11.1.2",
"@keystone-next/adapter-prisma-legacy": "4.0.0",
"@keystone-next/admin-ui": "^12.0.1",
"@keystone-next/app-graphql-legacy": "^7.0.0",
"@keystone-next/fields": "^5.3.0",
"@keystone-next/keystone-legacy": "^21.0.0",
"@keystone-next/server-side-graphql-client-legacy": "2.0.1",
Expand Down
2 changes: 0 additions & 2 deletions packages/app-graphql/.npmignore

This file was deleted.

619 changes: 0 additions & 619 deletions packages/app-graphql/CHANGELOG.md

This file was deleted.

46 changes: 0 additions & 46 deletions packages/app-graphql/README.md

This file was deleted.

48 changes: 0 additions & 48 deletions packages/app-graphql/index.js

This file was deleted.

23 changes: 0 additions & 23 deletions packages/app-graphql/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion tests/api-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"@hapi/iron": "^6.0.0",
"@keystone-next/adapter-knex-legacy": "*",
"@keystone-next/adapter-mongoose-legacy": "*",
"@keystone-next/app-graphql-legacy": "*",
"@keystone-next/auth": "*",
"@keystone-next/fields": "*",
"@keystone-next/keystone": "*",
Expand All @@ -23,6 +22,7 @@
"cookie-signature": "^1.1.0",
"cuid": "^2.1.8",
"globby": "^11.0.3",
"graphql": "^15.5.0",
"memoize-one": "^5.1.1",
"superagent": "^6.1.0",
"supertest-light": "^1.0.3",
Expand Down
6 changes: 2 additions & 4 deletions tests/api-tests/queries/limits.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ import {
AdapterName,
} from '@keystone-next/test-utils-legacy';
// @ts-ignore
import { validation } from '@keystone-next/app-graphql-legacy';
// @ts-ignore
import { createItems } from '@keystone-next/server-side-graphql-client-legacy';

const { depthLimit, definitionLimit, fieldLimit } = validation;
// @ts-ignore
import { depthLimit, definitionLimit, fieldLimit } from './validation';

function setupKeystone(adapterName: AdapterName) {
return setupFromConfig({
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion tests/benchmarks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"dependencies": {
"@keystone-next/adapter-knex-legacy": "^13.2.2",
"@keystone-next/adapter-mongoose-legacy": "^11.1.2",
"@keystone-next/app-graphql-legacy": "^7.0.0",
"@keystone-next/fields": "^5.3.0",
"@keystone-next/fields-legacy": "^23.2.0",
"@keystone-next/keystone": "^14.0.0",
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9934,11 +9934,6 @@ nan@^2.12.1:
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.2.tgz#f5376400695168f4cc694ac9393d0c9585eeea19"
integrity sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==

nanoassert@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/nanoassert/-/nanoassert-2.0.0.tgz#a05f86de6c7a51618038a620f88878ed1e490c09"
integrity sha512-7vO7n28+aYO4J+8w96AzhmU8G+Y/xpPDJz/se19ICsqj/momRbb9mh9ZUtkoJ5X3nTnPdhEJyc0qnM6yAsHBaA==

nanoid@^3.1.16, nanoid@^3.1.20:
version "3.1.22"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.22.tgz#b35f8fb7d151990a8aebd5aa5015c03cf726f844"
Expand Down

1 comment on commit cbba50e

@vercel
Copy link

@vercel vercel bot commented on cbba50e Mar 26, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.