Skip to content

Commit

Permalink
fix: remove unused deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupert Redington committed Sep 11, 2021
1 parent 02b4fcf commit 6eadd16
Show file tree
Hide file tree
Showing 21 changed files with 438 additions and 1,739 deletions.
10 changes: 5 additions & 5 deletions codegen.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
overwrite: true
schema: "http://localhost:3000/api"
documents: "src/**/*.graphql"
schema: "src/api/schema.graphql"
documents: "src/api-client/operations/*.graphql"
generates:
src/generated/graphql.tsx:
src/api-client/graphql.tsx:
plugins:
- "typescript"
- "typescript-operations"
Expand All @@ -14,7 +14,7 @@ generates:
withComponent: false
exportFragmentSpreadSubTypes: true
documentMode: graphQLTag
src/generated/page.tsx:
src/api-client/page.tsx:
config:
documentMode: external
importDocumentNodeExternallyFrom: ./graphql
Expand All @@ -31,4 +31,4 @@ generates:
presetConfig:
typesPath: ./graphql
plugins:
- graphql-codegen-apollo-next-ssr # replace by - graphql-codegen-apollo-next-ssr
- graphql-codegen-apollo-next-ssr
21 changes: 7 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"generate": "node -r dotenv/config ./src/api/db/manage/generate/index.js --confirm",
"areas": "node -r dotenv/config ./src/api/db/manage/areaToDatabase/index.js",
"prepare": "husky install",
"gql:codegen": "start-server-and-test dev http-get://localhost:3000/api 'graphql-codegen --config codegen.yml'"
"codegen": "graphql-codegen --config codegen.yml"
},
"repository": {
"type": "git",
Expand All @@ -26,7 +26,7 @@
"url": "https://github.com/neontribe/gbptm/issues"
},
"dependencies": {
"@apollo/client": "3.4.10",
"@apollo/client": "3.4.11",
"@artsy/fresnel": "1.5.0",
"@auth0/nextjs-auth0": "1.5.0",
"@emotion/babel-plugin": "11.3.0",
Expand Down Expand Up @@ -54,7 +54,6 @@
"framer-motion": "2.9.5",
"graphql": "15.5.3",
"graphql-iso-date": "3.6.1",
"graphql-request": "3.5.0",
"graphql-voyager": "1.0.0-rc.31",
"hasha": "5.2.2",
"jsonwebtoken": "8.5.1",
Expand All @@ -65,7 +64,6 @@
"mongoose": "5.12.14",
"mongoose-paginate": "5.0.3",
"next": "11.1.2",
"node-fetch": "2.6.1",
"prop-types": "15.7.2",
"query-string": "7.0.1",
"react": "17.0.2",
Expand All @@ -80,17 +78,16 @@
"react-tooltip": "4.2.21",
"resize-observer-polyfill": "1.5.1",
"styled-system": "5.1.5",
"swr": "0.5.6",
"timeago-react": "3.0.3"
},
"devDependencies": {
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@graphql-codegen/cli": "2.1.1",
"@graphql-codegen/import-types-preset": "2.1.3",
"@graphql-codegen/typescript": "2.2.0",
"@graphql-codegen/typescript-operations": "2.1.3",
"@graphql-codegen/typescript-react-apollo": "3.1.3",
"@graphql-codegen/cli": "2.2.0",
"@graphql-codegen/import-types-preset": "2.1.4",
"@graphql-codegen/typescript": "2.2.2",
"@graphql-codegen/typescript-operations": "2.1.4",
"@graphql-codegen/typescript-react-apollo": "3.1.4",
"@lola-tech/graphql-kimera": "1.0.1",
"@mapbox/geojson-area": "0.2.2",
"@mapbox/geojson-rewind": "0.5.1",
Expand All @@ -104,7 +101,6 @@
"@types/styled-system": "5.1.11",
"apollo-server-testing": "2.25.2",
"cli-progress": "3.9.0",
"customize-cra": "1.0.0",
"dotenv": "10.0.0",
"eslint": "7.32.0",
"eslint-config-next": "11.1.2",
Expand All @@ -117,9 +113,6 @@
"msw": "0.33.0",
"prettier": "2.3.2",
"puppeteer": "10.1.0",
"start-server-and-test": "1.14.0",
"stylelint": "13.13.1",
"stylelint-config-standard": "22.0.0",
"topojson-server": "3.0.1",
"topojson-simplify": "3.0.3",
"typescript": "4.4.2",
Expand Down

0 comments on commit 6eadd16

Please sign in to comment.