chore: update nextjs version

This commit is contained in:
Burhanuddin Udaipurwala 2022-02-06 18:28:37 +05:30
parent fdc891e473
commit d5ffd66d94
4 changed files with 204 additions and 608 deletions

View File

@ -1,5 +1,4 @@
/// <reference types="next" /> /// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" /> /// <reference types="next/image-types/global" />
// NOTE: This file should not be edited // NOTE: This file should not be edited

View File

@ -25,7 +25,7 @@
"kbar": "0.1.0-beta.6", "kbar": "0.1.0-beta.6",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"match-sorter": "^6.3.0", "match-sorter": "^6.3.0",
"next": "^11.0.0", "next": "^12.0.10",
"next-mdx-remote": "^3.0.2", "next-mdx-remote": "^3.0.2",
"next-themes": "^0.0.15", "next-themes": "^0.0.15",
"parse-numeric-range": "1.2.0", "parse-numeric-range": "1.2.0",

View File

@ -1,74 +1,75 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"@components": [ "@components": [
"./src/components/index.ts" "./src/components/index.ts"
],
"@primitives": [
"./src/components/primitives/index.ts"
],
"@components/": [
"./src/components/*"
],
"@content/*": [
"./content/*"
],
"@layouts/*": [
"./src/layouts/*"
],
"@hooks/*": [
"./src/hooks/*"
],
"@utils/*": [
"./src/utils/*"
],
"@theme/*": [
"./src/theme/*"
],
"@lib/*": [
"./src/lib/*"
]
},
"lib": [
"dom",
"es2015",
"ESNext.String"
], ],
"target": "esnext", "@primitives": [
"jsx": "preserve", "./src/components/primitives/index.ts"
"allowJs": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"types": [
"node"
], ],
"strict": false, "@components/": [
"forceConsistentCasingInFileNames": true, "./src/components/*"
"noEmit": true, ],
"resolveJsonModule": true, "@content/*": [
"isolatedModules": true, "./content/*"
"strictNullChecks": true, ],
"moduleResolution": "node", "@layouts/*": [
"experimentalDecorators": true, "./src/layouts/*"
"noUnusedParameters": true, ],
"noUnusedLocals": true, "@hooks/*": [
"noImplicitAny": true, "./src/hooks/*"
"skipLibCheck": true, ],
"module": "esnext", "@utils/*": [
"typeRoots": [ "./src/utils/*"
"../../node_modules/@types", ],
"./typings" "@theme/*": [
"./src/theme/*"
],
"@lib/*": [
"./src/lib/*"
] ]
}, },
"include": [ "lib": [
"**/*.ts", "dom",
"**/*.tsx", "es2015",
"**/*.js", "ESNext.String"
"**/*.jsx",
"next-env.d.ts"
], ],
"exclude": [ "target": "esnext",
"node_modules" "jsx": "preserve",
] "allowJs": true,
} "esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"types": [
"node"
],
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"resolveJsonModule": true,
"isolatedModules": true,
"strictNullChecks": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"noImplicitAny": true,
"skipLibCheck": true,
"module": "esnext",
"typeRoots": [
"../../node_modules/@types",
"./typings"
],
"incremental": true
},
"include": [
"**/*.ts",
"**/*.tsx",
"**/*.js",
"**/*.jsx",
"next-env.d.ts"
],
"exclude": [
"node_modules"
]
}

672
yarn.lock

File diff suppressed because it is too large Load Diff