Skip to content

Commit

Permalink
chore: upgrade to next 12
Browse files Browse the repository at this point in the history
  • Loading branch information
kgajera committed Feb 15, 2022
1 parent e7bfe01 commit be516db
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 8 deletions.
4 changes: 3 additions & 1 deletion packages/create-bison-app/template/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/// <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.
2 changes: 1 addition & 1 deletion packages/create-bison-app/template/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"graphql-type-json": "^0.3.1",
"jsonwebtoken": "^8.5.1",
"micro": "^9.3.4",
"next": "11.1.2",
"next": "12.0.10",
"nexus": "^1.1.0",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand Down
34 changes: 28 additions & 6 deletions packages/create-bison-app/template/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "es2017",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -15,14 +19,32 @@
"isolatedModules": true,
"jsx": "preserve",
"sourceMap": true,
"plugins": [{ "name": "nexus/typescript-language-service" }],
"typeRoots": ["node_modules/@types", "types"],
"plugins": [
{
"name": "nexus/typescript-language-service"
}
],
"typeRoots": [
"node_modules/@types",
"types"
],
"rootDir": ".",
"baseUrl": ".",
"paths": {
"@/*": ["./*"]
}
},
"incremental": true
},
"include": [".", "next-env.d.ts", "types.ts", "types.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", "cypress"]
"include": [
".",
"next-env.d.ts",
"types.ts",
"types.d.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules",
"cypress"
]
}

0 comments on commit be516db

Please sign in to comment.