Skip to content

Commit

Permalink
feat: upgrade to next 11 (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardocasares authored Aug 31, 2021
1 parent 483d18c commit d0064b8
Show file tree
Hide file tree
Showing 5 changed files with 448 additions and 590 deletions.
6 changes: 6 additions & 0 deletions bemba.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module "*.graphql" {
import { DocumentNode } from "graphql";
const Schema: DocumentNode;

export = Schema;
}
9 changes: 3 additions & 6 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

declare module "*.graphql" {
import { DocumentNode } from "graphql";
const Schema: DocumentNode;

export = Schema;
}
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"apollo-server-micro": "^2.25.2",
"debounce": "^1.2.1",
"graphql": "^15.5.0",
"next": "^10.0.6",
"next": "^11.1.2",
"next-seo": "^4.26.0",
"next-themes": "^0.0.10",
"random-gradient": "^0.0.2",
Expand All @@ -36,9 +36,9 @@
"next-plugin-graphql": "^0.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"semantic-release": "^17.4.7",
"testcafe": "^1.14.0",
"typescript": "^4.2.4",
"semantic-release": "^17.4.7"
"typescript": "^4.4.2"
},
"repository": {
"type": "ssh+git",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"@/*": ["src/*", "public/*", ".generated/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"include": ["bemba.d.ts", "next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}
Loading

1 comment on commit d0064b8

@vercel
Copy link

@vercel vercel bot commented on d0064b8 Aug 31, 2021

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

Please sign in to comment.