Skip to content

Commit

Permalink
chore: update codegen tools et al
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupert Redington committed Sep 11, 2021
1 parent 607115d commit 1091e82
Show file tree
Hide file tree
Showing 6 changed files with 684 additions and 893 deletions.
2 changes: 1 addition & 1 deletion codegen.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
overwrite: true
schema: "http://localhost:4000/api"
schema: "http://localhost:3000/api"
documents: "src/**/*.graphql"
generates:
src/generated/graphql.tsx:
Expand Down
3 changes: 3 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
30 changes: 15 additions & 15 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 api http-get://localhost:4000/api 'graphql-codegen --config codegen.yml'"
"gql:codegen": "start-server-and-test dev http-get://localhost:3000/api 'graphql-codegen --config codegen.yml'"
},
"repository": {
"type": "git",
Expand All @@ -33,7 +33,7 @@
"*.css": "stylelint"
},
"dependencies": {
"@apollo/client": "3.4.1",
"@apollo/client": "3.4.10",
"@artsy/fresnel": "1.5.0",
"@auth0/nextjs-auth0": "1.5.0",
"@emotion/babel-plugin": "11.3.0",
Expand Down Expand Up @@ -67,7 +67,7 @@
"lodash": "4.17.21",
"mongoose": "5.12.14",
"mongoose-paginate": "5.0.3",
"next": "11.0.1",
"next": "11.1.2",
"node-fetch": "2.6.1",
"prop-types": "15.7.2",
"query-string": "7.0.1",
Expand All @@ -89,19 +89,19 @@
"devDependencies": {
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@graphql-codegen/cli": "1.21.8",
"@graphql-codegen/import-types-preset": "1.18.6",
"@graphql-codegen/typescript": "1.23.0",
"@graphql-codegen/typescript-operations": "1.18.4",
"@graphql-codegen/typescript-react-apollo": "2.3.1",
"@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",
"@lola-tech/graphql-kimera": "1.0.1",
"@mapbox/geojson-area": "0.2.2",
"@mapbox/geojson-rewind": "0.5.1",
"@shelf/jest-mongodb": "1.3.4",
"@types/jest": "26.0.24",
"@types/node": "16.4.10",
"@types/node": "16.7.10",
"@types/puppeteer": "5.4.4",
"@types/react": "17.0.15",
"@types/react": "17.0.20",
"@types/react-dom": "17.0.9",
"@types/react-leaflet": "2.8.1",
"@types/styled-system": "5.1.11",
Expand All @@ -110,17 +110,17 @@
"customize-cra": "1.0.0",
"dotenv": "10.0.0",
"eslint": "7.32.0",
"eslint-config-next": "11.0.1",
"eslint-config-next": "11.1.2",
"geojson-precision": "1.0.0",
"graphql-codegen-apollo-next-ssr": "1.6.1",
"husky": "7.0.1",
"graphql-codegen-apollo-next-ssr": "1.7.0",
"husky": "7.0.2",
"jest-puppeteer": "5.0.3",
"lint-staged": "11.1.1",
"lint-staged": "11.1.2",
"migrate-mongo": "8.2.3",
"msw": "0.33.0",
"prettier": "2.3.2",
"puppeteer": "10.1.0",
"start-server-and-test": "1.13.1",
"start-server-and-test": "1.14.0",
"stylelint": "13.13.1",
"stylelint-config-standard": "22.0.0",
"topojson-server": "3.0.1",
Expand Down

0 comments on commit 1091e82

Please sign in to comment.