Skip to content

Commit

Permalink
feat: install Sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
martapanc-resourcify committed Jul 5, 2023
1 parent 1e3ac8e commit 5244b71
Show file tree
Hide file tree
Showing 4 changed files with 2,526 additions and 79 deletions.
1 change: 1 addition & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,28 @@
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/material": "^5.13.5",
"@sanity/client": "^6.1.4",
"@sanity/icons": "^2.0.0",
"@sanity/image-url": "1",
"@sanity/types": "^3.0.0",
"@sanity/ui": "^1.0.0",
"@sanity/vision": "3",
"@types/styled-components": "^5.1.0",
"classnames": "^2.3.2",
"clsx": "^1.2.1",
"focus-trap-react": "^10.1.4",
"framer-motion": "^10.12.18",
"inquirer-fuzzy-path": "^2.3.0",
"next": "^13.4.4",
"next": "^13.0.0",
"next-themes": "^0.2.1",
"plop": "^3.1.2",
"react": "^18.2.0",
"react": "^18.0.0",
"react-dom": "^18.2.0",
"react-headroom": "^3.2.1",
"react-icons": "^4.10.1",
"react-tippy": "^1.4.0",
"sanity": "^3.0.0",
"styled-components": "^5.2.0",
"tailwind-merge": "^1.12.0"
},
"devDependencies": {
Expand Down Expand Up @@ -68,6 +77,7 @@
"jest": "^27.5.1",
"lint-staged": "^12.5.0",
"next-router-mock": "^0.7.5",
"next-sanity": "5.1.0",
"next-sitemap": "^2.5.28",
"postcss": "^8.4.23",
"prettier": "^2.8.8",
Expand Down
9 changes: 7 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@
"@/*": ["./src/*"],
"~/*": ["./public/*"]
},
"incremental": true
"incremental": true,
"plugins": [
{
"name": "next"
}
]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"],
"moduleResolution": ["node_modules", ".next", "node"]
}
Loading

0 comments on commit 5244b71

Please sign in to comment.