Skip to content

Commit

Permalink
Develop (#158)
Browse files Browse the repository at this point in the history
* ✨ feat: added explore page outcast

* ✨ feat: added search to explore page

* 🐛 fix: wrong api url

* ✨ feat: added popular to landing page

* 🐛 fix: light theme used wrong colors

* ✨ feat: added more information to the recipe page (Rating missing)

* 🐛 fix: codeql analysis not running on develop pull requests

* 🚚 chore(deps-dev): bump @commitlint/config-conventional

Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 18.4.2 to 18.4.3.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.4.3/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump sonner from 1.2.0 to 1.2.4

Bumps [sonner](https://github.com/emilkowalski/sonner) from 1.2.0 to 1.2.4.
- [Release notes](https://github.com/emilkowalski/sonner/releases)
- [Commits](emilkowalski/sonner@v1.2.0...v1.2.4)

---
updated-dependencies:
- dependency-name: sonner
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump typescript from 5.2.2 to 5.3.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.2.2 to 5.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.2.2...v5.3.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @mui/x-date-pickers from 6.18.1 to 6.18.2

Bumps [@mui/x-date-pickers](https://github.com/mui/mui-x/tree/HEAD/packages/x-date-pickers) from 6.18.1 to 6.18.2.
- [Release notes](https://github.com/mui/mui-x/releases)
- [Changelog](https://github.com/mui/mui-x/blob/next/CHANGELOG.md)
- [Commits](https://github.com/mui/mui-x/commits/v6.18.2/packages/x-date-pickers)

---
updated-dependencies:
- dependency-name: "@mui/x-date-pickers"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump vercel from 32.5.5 to 32.6.0

Bumps [vercel](https://github.com/vercel/vercel/tree/HEAD/packages/cli) from 32.5.5 to 32.6.0.
- [Release notes](https://github.com/vercel/vercel/releases)
- [Changelog](https://github.com/vercel/vercel/blob/main/packages/cli/CHANGELOG.md)
- [Commits](https://github.com/vercel/vercel/commits/[email protected]/packages/cli)

---
updated-dependencies:
- dependency-name: vercel
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ✨ feat: allow users to upload images of their recipe

* 🐛 fix: wrong cron url for random generation

* 🐛 fix: cron interval wrong

* ⬆️ upgrade(deps): bump sharp from 0.32.6 to 0.33.0

Bumps [sharp](https://github.com/lovell/sharp) from 0.32.6 to 0.33.0.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](lovell/sharp@v0.32.6...v0.33.0)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @mui/icons-material

Bumps [@mui/icons-material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-icons-material) from 5.14.18 to 5.14.19.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.14.19/packages/mui-icons-material)

---
updated-dependencies:
- dependency-name: "@mui/icons-material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @biomejs/biome from 1.3.3 to 1.4.1

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.3.3 to 1.4.1.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/cli/v1.4.1/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump i18next from 23.7.6 to 23.7.7

Bumps [i18next](https://github.com/i18next/i18next) from 23.7.6 to 23.7.7.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next@v23.7.6...v23.7.7)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump lint-staged from 15.1.0 to 15.2.0

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.1.0 to 15.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v15.1.0...v15.2.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🐛 fix: removed invalid Green Analytics API Key

* ✨ feat: added rating & touchup for recipe page

* 💄 style: added spanish & german localization

* 🐛 fix: recipe sitemap missing locales

* ✨ feat: added structured data

* 💄 style: added some additional localization

* 🚚 chore(deps-dev): bump @types/node from 20.9.2 to 20.10.4

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.9.2 to 20.10.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @mui/x-date-pickers from 6.18.2 to 6.18.4

Bumps [@mui/x-date-pickers](https://github.com/mui/mui-x/tree/HEAD/packages/x-date-pickers) from 6.18.2 to 6.18.4.
- [Release notes](https://github.com/mui/mui-x/releases)
- [Changelog](https://github.com/mui/mui-x/blob/next/CHANGELOG.md)
- [Commits](https://github.com/mui/mui-x/commits/v6.18.4/packages/x-date-pickers)

---
updated-dependencies:
- dependency-name: "@mui/x-date-pickers"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @auth/prisma-adapter from 1.0.6 to 1.0.10

Bumps [@auth/prisma-adapter](https://github.com/nextauthjs/next-auth) from 1.0.6 to 1.0.10.
- [Release notes](https://github.com/nextauthjs/next-auth/releases)
- [Commits](https://github.com/nextauthjs/next-auth/compare/@auth/[email protected]...@auth/[email protected])

---
updated-dependencies:
- dependency-name: "@auth/prisma-adapter"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @commitlint/cli from 18.4.2 to 18.4.3

Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 18.4.2 to 18.4.3.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.4.3/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @mui/material from 5.14.18 to 5.14.20

Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.14.18 to 5.14.20.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.14.20/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade: remove unused version of next-bundle-analyzer & fix biome

* ✨ feat: improved experience when making recipe

* ✨ feat: added meal plan generation

* 💄 style: lint schema

* ✨ feat: added clean up

* ✨ feat: added first pass at meal plan visual representation

* ✨ feat: added first pass at meal plan visual representation

* ⬆️ upgrade(deps): bump @mui/material from 5.14.20 to 5.15.0

Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.14.20 to 5.15.0.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.15.0/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump openai from 4.19.0 to 4.23.0

Bumps [openai](https://github.com/openai/openai-node) from 4.19.0 to 4.23.0.
- [Release notes](https://github.com/openai/openai-node/releases)
- [Changelog](https://github.com/openai/openai-node/blob/master/CHANGELOG.md)
- [Commits](openai/openai-node@v4.19.0...v4.23.0)

---
updated-dependencies:
- dependency-name: openai
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @types/luxon from 3.3.4 to 3.3.7

Bumps [@types/luxon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/luxon) from 3.3.4 to 3.3.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/luxon)

---
updated-dependencies:
- dependency-name: "@types/luxon"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @prisma/client from 5.6.0 to 5.7.0

Bumps [@prisma/client](https://github.com/prisma/prisma/tree/HEAD/packages/client) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/5.7.0/packages/client)

---
updated-dependencies:
- dependency-name: "@prisma/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump next from 14.0.3 to 14.0.4

Bumps [next](https://github.com/vercel/next.js) from 14.0.3 to 14.0.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v14.0.3...v14.0.4)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump typescript from 5.3.2 to 5.3.3

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.2 to 5.3.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.3.2...v5.3.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @mui/material from 5.15.0 to 5.15.1

Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.15.0 to 5.15.1.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.15.1/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump green-analytics-js from 1.0.17 to 1.1.6

Bumps [green-analytics-js](https://github.com/MakakWasTaken/green-analytics-js) from 1.0.17 to 1.1.6.
- [Commits](https://github.com/MakakWasTaken/green-analytics-js/commits)

---
updated-dependencies:
- dependency-name: green-analytics-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump next-i18next from 15.0.0 to 15.1.1

Bumps [next-i18next](https://github.com/i18next/next-i18next) from 15.0.0 to 15.1.1.
- [Release notes](https://github.com/i18next/next-i18next/releases)
- [Changelog](https://github.com/i18next/next-i18next/blob/master/CHANGELOG.md)
- [Commits](i18next/next-i18next@v15.0.0...v15.1.1)

---
updated-dependencies:
- dependency-name: next-i18next
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @gradio/client from 0.8.2 to 0.9.4

Bumps @gradio/client from 0.8.2 to 0.9.4.

---
updated-dependencies:
- dependency-name: "@gradio/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump openai from 4.23.0 to 4.24.1

Bumps [openai](https://github.com/openai/openai-node) from 4.23.0 to 4.24.1.
- [Release notes](https://github.com/openai/openai-node/releases)
- [Changelog](https://github.com/openai/openai-node/blob/master/CHANGELOG.md)
- [Commits](openai/openai-node@v4.23.0...v4.24.1)

---
updated-dependencies:
- dependency-name: openai
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @mui/material from 5.15.1 to 5.15.2

Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.15.1 to 5.15.2.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.15.2/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump i18next from 23.7.7 to 23.7.13

Bumps [i18next](https://github.com/i18next/i18next) from 23.7.7 to 23.7.13.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next@v23.7.7...v23.7.13)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump sonner from 1.2.4 to 1.3.1

Bumps [sonner](https://github.com/emilkowalski/sonner) from 1.2.4 to 1.3.1.
- [Release notes](https://github.com/emilkowalski/sonner/releases)
- [Commits](https://github.com/emilkowalski/sonner/commits)

---
updated-dependencies:
- dependency-name: sonner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @mui/icons-material

Bumps [@mui/icons-material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-icons-material) from 5.14.19 to 5.15.2.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.15.2/packages/mui-icons-material)

---
updated-dependencies:
- dependency-name: "@mui/icons-material"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @prisma/client from 5.7.0 to 5.7.1

Bumps [@prisma/client](https://github.com/prisma/prisma/tree/HEAD/packages/client) from 5.7.0 to 5.7.1.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/5.7.1/packages/client)

---
updated-dependencies:
- dependency-name: "@prisma/client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump sharp from 0.33.0 to 0.33.1

Bumps [sharp](https://github.com/lovell/sharp) from 0.33.0 to 0.33.1.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](lovell/sharp@v0.33.0...v0.33.1)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @types/node from 20.10.4 to 20.10.7

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.4 to 20.10.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump next-i18next from 15.1.1 to 15.2.0

Bumps [next-i18next](https://github.com/i18next/next-i18next) from 15.1.1 to 15.2.0.
- [Release notes](https://github.com/i18next/next-i18next/releases)
- [Changelog](https://github.com/i18next/next-i18next/blob/master/CHANGELOG.md)
- [Commits](i18next/next-i18next@v15.1.1...v15.2.0)

---
updated-dependencies:
- dependency-name: next-i18next
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @mui/material from 5.15.2 to 5.15.3

Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.15.2 to 5.15.3.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.15.3/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ✨ feat: added meal plan mutation

* 💄 style: lint

* ⬆️ upgrade(deps): bump @emotion/react from 11.11.1 to 11.11.3

Bumps [@emotion/react](https://github.com/emotion-js/emotion) from 11.11.1 to 11.11.3.
- [Release notes](https://github.com/emotion-js/emotion/releases)
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/[email protected]...@emotion/[email protected])

---
updated-dependencies:
- dependency-name: "@emotion/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @commitlint/config-conventional

Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 18.4.3 to 18.4.4.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.4.4/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump i18next from 23.7.13 to 23.7.16

Bumps [i18next](https://github.com/i18next/i18next) from 23.7.13 to 23.7.16.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next@v23.7.13...v23.7.16)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @vercel/blob from 0.15.1 to 0.17.0

Bumps [@vercel/blob](https://github.com/vercel/storage/tree/HEAD/packages/blob) from 0.15.1 to 0.17.0.
- [Release notes](https://github.com/vercel/storage/releases)
- [Changelog](https://github.com/vercel/storage/blob/main/packages/blob/CHANGELOG.md)
- [Commits](https://github.com/vercel/storage/commits/@vercel/[email protected]/packages/blob)

---
updated-dependencies:
- dependency-name: "@vercel/blob"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @gradio/client from 0.9.4 to 0.10.0

Bumps @gradio/client from 0.9.4 to 0.10.0.

---
updated-dependencies:
- dependency-name: "@gradio/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @gradio/client from 0.10.0 to 0.10.1

Bumps @gradio/client from 0.10.0 to 0.10.1.

---
updated-dependencies:
- dependency-name: "@gradio/client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @biomejs/biome from 1.4.1 to 1.5.2

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.4.1 to 1.5.2.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/cli/v1.5.2/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump green-analytics-js from 1.1.6 to 1.1.12

Bumps [green-analytics-js](https://github.com/MakakWasTaken/green-analytics-js) from 1.1.6 to 1.1.12.
- [Commits](https://github.com/MakakWasTaken/green-analytics-js/commits)

---
updated-dependencies:
- dependency-name: green-analytics-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump openai from 4.24.1 to 4.25.0

Bumps [openai](https://github.com/openai/openai-node) from 4.24.1 to 4.25.0.
- [Release notes](https://github.com/openai/openai-node/releases)
- [Changelog](https://github.com/openai/openai-node/blob/master/CHANGELOG.md)
- [Commits](openai/openai-node@v4.24.1...v4.25.0)

---
updated-dependencies:
- dependency-name: openai
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @mui/material from 5.15.3 to 5.15.6

Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.15.3 to 5.15.6.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.15.6/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump husky from 8.0.3 to 9.0.6

Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.6.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](typicode/husky@v8.0.3...v9.0.6)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @commitlint/config-conventional

Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 18.4.4 to 18.6.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.6.0/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @biomejs/biome from 1.5.2 to 1.5.3

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/cli/v1.5.3/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @mui/x-date-pickers from 6.18.4 to 6.19.2

Bumps [@mui/x-date-pickers](https://github.com/mui/mui-x/tree/HEAD/packages/x-date-pickers) from 6.18.4 to 6.19.2.
- [Release notes](https://github.com/mui/mui-x/releases)
- [Changelog](https://github.com/mui/mui-x/blob/v6.19.2/CHANGELOG.md)
- [Commits](https://github.com/mui/mui-x/commits/v6.19.2/packages/x-date-pickers)

---
updated-dependencies:
- dependency-name: "@mui/x-date-pickers"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @commitlint/cli from 18.4.3 to 18.6.0

Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 18.4.3 to 18.6.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.6.0/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @types/luxon from 3.3.7 to 3.4.2

Bumps [@types/luxon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/luxon) from 3.3.7 to 3.4.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/luxon)

---
updated-dependencies:
- dependency-name: "@types/luxon"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @prisma/client from 5.7.1 to 5.9.1

Bumps [@prisma/client](https://github.com/prisma/prisma/tree/HEAD/packages/client) from 5.7.1 to 5.9.1.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/5.9.1/packages/client)

---
updated-dependencies:
- dependency-name: "@prisma/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump lint-staged from 15.2.0 to 15.2.1

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.2.0 to 15.2.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v15.2.0...v15.2.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @types/uuid from 9.0.7 to 9.0.8

Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 9.0.7 to 9.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ✨ feat: finished first pass at meal plan page

* ✨ feat: use new version of yarn

* 🐛 fix: improved validation of random recipes

* ♻️ refactor: removed unused log

* 🐛 fix: broken url when calling api in dev env

* 🐛 fix: update GA token

* 🐛 fix: meal plan generation not working for future weeks

* ✨ feat: allow users to follow other users

* ⬆️ upgrade(deps): bump @gradio/client from 0.11.0 to 0.12.0

Bumps @gradio/client from 0.11.0 to 0.12.0.

---
updated-dependencies:
- dependency-name: "@gradio/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @types/node from 20.11.16 to 20.11.17

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.16 to 20.11.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump openai from 4.26.1 to 4.27.0

Bumps [openai](https://github.com/openai/openai-node) from 4.26.1 to 4.27.0.
- [Release notes](https://github.com/openai/openai-node/releases)
- [Changelog](https://github.com/openai/openai-node/blob/master/CHANGELOG.md)
- [Commits](openai/openai-node@v4.26.1...v4.27.0)

---
updated-dependencies:
- dependency-name: openai
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @mui/x-date-pickers from 6.19.3 to 6.19.4

Bumps [@mui/x-date-pickers](https://github.com/mui/mui-x/tree/HEAD/packages/x-date-pickers) from 6.19.3 to 6.19.4.
- [Release notes](https://github.com/mui/mui-x/releases)
- [Changelog](https://github.com/mui/mui-x/blob/next/CHANGELOG.md)
- [Commits](https://github.com/mui/mui-x/commits/v6.19.4/packages/x-date-pickers)

---
updated-dependencies:
- dependency-name: "@mui/x-date-pickers"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump @mui/icons-material from 5.15.8 to 5.15.9

Bumps [@mui/icons-material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-icons-material) from 5.15.8 to 5.15.9.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.15.9/packages/mui-icons-material)

---
updated-dependencies:
- dependency-name: "@mui/icons-material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ✨ feat: allow searching in ImageSelect

* ⬆️ upgrade: updated dependencies

* ✨ feat: allow searching directly from search engine

* 🐛 fix: compile error due to outdated function call

* ✨ feat: allow importing recipe using structured data

* 💄 style: lint

* 🐛 fix: prevent SSRF attacks

* 🐛 fix: update url to html-recipe-parser

* ✨ feat: added first pass at fridge page

* 🚚 chore(deps-dev): bump husky from 9.0.10 to 9.0.11

Bumps [husky](https://github.com/typicode/husky) from 9.0.10 to 9.0.11.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](typicode/husky@v9.0.10...v9.0.11)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump next-seo from 6.4.0 to 6.5.0

Bumps [next-seo](https://github.com/garmeeh/next-seo) from 6.4.0 to 6.5.0.
- [Release notes](https://github.com/garmeeh/next-seo/releases)
- [Commits](garmeeh/next-seo@v6.4.0...v6.5.0)

---
updated-dependencies:
- dependency-name: next-seo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump swr from 2.2.4 to 2.2.5

Bumps [swr](https://github.com/vercel/swr) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/vercel/swr/releases)
- [Commits](vercel/swr@v2.2.4...v2.2.5)

---
updated-dependencies:
- dependency-name: swr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 chore(deps-dev): bump @biomejs/biome from 1.5.2 to 1.5.3

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/cli/v1.5.3/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⬆️ upgrade(deps): bump i18next from 23.8.2 to 23.9.0

Bumps [i18next](https://github.com/i18next/i18next) from 23.8.2 to 23.9.0.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next@v23.8.2...v23.9.0)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* ✨ feat: added brave rewards

* 🐛 fix: broken api urls

* 🐛 fix: pass well known through middleware

* 🐛 fix: yarn lock invalid

* 🐛 fix: increase timeout of random recipe generation

* ✨ feat: upgrade to cheaper gpt-4o-mini model and updated deps

* ✨ feat: upgrade to cheaper gpt-4o-mini model and updated deps

* 🐛 fix: build error caused by wrong modularizeImports in next config

* 🚚 chore: updated biome.json

* 🐛 fix: overscroll on mobile caused by wrongly formatted footer

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Markus Moltke <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 30, 2024
1 parent 7a354a6 commit 610694a
Show file tree
Hide file tree
Showing 89 changed files with 2,787 additions and 2,770 deletions.
893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.1.0.cjs

This file was deleted.

894 changes: 894 additions & 0 deletions .yarn/releases/yarn-4.3.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.0.cjs
yarnPath: .yarn/releases/yarn-4.3.1.cjs
13 changes: 10 additions & 3 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,27 @@
"ignoreUnknown": true
},
"formatter": {
"ignore": ["public/**", "coverage/**", "node_modules/**", ".next/**"],
"ignore": [
"public/**",
"coverage/**",
"node_modules/**",
".next/**",
"build/**"
],
"enabled": true,
"formatWithErrors": true,
"indentStyle": "space",
"indentWidth": 2
},
"linter": {
"ignore": ["coverage/**", "node_modules/**", ".next/**"],
"ignore": ["coverage/**", "node_modules/**", ".next/**", "build/**"],
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "off",
"noAsyncPromiseExecutor": "off"
"noAsyncPromiseExecutor": "off",
"noArrayIndexKey": "off"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion commitlint.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { UserConfig } from '@commitlint/types'
import type { UserConfig } from '@commitlint/types'

const config: UserConfig = {
extends: ['@commitlint/config-conventional'],
Expand Down
2 changes: 1 addition & 1 deletion middleware.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import acceptLanguage from 'accept-language'
import { NextRequest, NextResponse } from 'next/server'
import { type NextRequest, NextResponse } from 'next/server'

acceptLanguage.languages(['en', 'da'])

Expand Down
2 changes: 1 addition & 1 deletion next-i18next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ module.exports = {
/** To avoid issues when deploying to some paas (vercel...) */
localePath:
typeof window === 'undefined'
? require('path').resolve('./public/locales')
? require('node:path').resolve('./public/locales')
: '/locales',
}
11 changes: 7 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,15 @@ const apiHeaders = [

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
pageExtensions: ['ts', 'tsx'],
transpilePackages: ['@mui/system', '@mui/material', '@mui/icons-material'],
transpilePackages: [
'@mui/system',
'@mui/material',
'@mui/icons-material',
'@mui/x-charts',
],
modularizeImports: {
'@mui/material/?(((\\w*)?/?)*)': {
transform: '@mui/material/{{ matches.[1] }}/{{member}}',
},
'@mui/icons-material/?(((\\w*)?/?)*)': {
transform: '@mui/icons-material/{{ matches.[1] }}/{{member}}',
},
Expand Down
79 changes: 41 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"author": "Markus Moltke <[email protected]>",
"license": "MIT",
"scripts": {
"dev": "next dev",
"dev": "next dev --turbo",
"build": "next build",
"postbuild": "next-sitemap",
"postinstall": "prisma generate",
"start": "node build/standalone/server.js",
"lint": "biome format --write --no-errors-on-unmatched . && biome lint --apply --no-errors-on-unmatched .",
"lint": "biome format --write --no-errors-on-unmatched . && biome lint --write --no-errors-on-unmatched .",
"prisma:update": "prisma format && prisma generate && prisma db push",
"analyze": "cross-env ANALYZE=true next build",
"prepare": "husky install",
Expand All @@ -20,55 +20,58 @@
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "biome format --write --no-errors-on-unmatched",
"*.{js,jsx,ts,tsx|json}": "biome lint --apply --no-errors-on-unmatched"
"*.{js,jsx,ts,tsx|json}": "biome lint --write --no-errors-on-unmatched"
},
"dependencies": {
"@auth/prisma-adapter": "^1.3.3",
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@gradio/client": "^0.12.0",
"@mui/icons-material": "^5.15.10",
"@mui/material": "5.15.10",
"@mui/x-date-pickers": "^6.19.4",
"@next/bundle-analyzer": "^14.1.0",
"@prisma/client": "^5.9.1",
"@vercel/blob": "^0.22.0",
"@auth/prisma-adapter": "^2.4.1",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@gradio/client": "^1.3.0",
"@mui/base": "5.0.0-beta.40",
"@mui/icons-material": "^5.16.4",
"@mui/material": "^5.16.4",
"@mui/system": "^5.16.4",
"@mui/x-date-pickers": "^7.11.0",
"@next/bundle-analyzer": "^14.2.5",
"@prisma/client": "^5.17.0",
"@vercel/blob": "^0.23.4",
"accept-language": "^3.0.18",
"axios": "^1.6.7",
"axios": "^1.7.2",
"fuzzball": "^2.1.2",
"green-analytics-js": "^1.1.14",
"html-recipe-parser": "https://github.com/MakakWasTaken/html-recipe-parser.git",
"i18next": "^23.9.0",
"i18next": "^23.12.1",
"luxon": "^3.4.4",
"next": "^14.1.0",
"next-auth": "^4.24.5",
"next-i18next": "^15.2.0",
"next": "^14.2.5",
"next-auth": "^4.24.7",
"next-i18next": "^15.3.0",
"next-seo": "^6.5.0",
"next-sitemap": "^4.2.3",
"nodemailer": "^6.9.9",
"openai": "^4.27.0",
"nodemailer": "^6.9.14",
"openai": "^4.52.7",
"pexels": "^1.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^14.0.5",
"sharp": "^0.33.2",
"sonner": "^1.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^15.0.0",
"sharp": "^0.33.4",
"sonner": "^1.5.0",
"swr": "^2.2.5",
"uuid": "^9.0.1",
"vercel": "^33.5.0"
"uuid": "^10.0.0",
"vercel": "^35.1.0"
},
"devDependencies": {
"@biomejs/biome": "1.5.2",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@biomejs/biome": "1.8.3",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/luxon": "^3.4.2",
"@types/node": "20.11.17",
"@types/nodemailer": "^6.4.14",
"@types/uuid": "^9.0.8",
"@types/node": "20.14.11",
"@types/nodemailer": "^6.4.15",
"@types/uuid": "^10.0.0",
"eventsource": "^2.0.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prisma": "^5.9.1",
"typescript": "^5.3.3"
}
"husky": "^9.1.1",
"lint-staged": "^15.2.7",
"prisma": "^5.17.0",
"typescript": "^5.5.3"
},
"packageManager": "[email protected]"
}
8 changes: 4 additions & 4 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ import { Header } from '#components/Header'
import createEmotionCache from '#misc/createEmotionCache'
import theme, { darkTheme } from '#misc/theme'
import { api } from '#network/index'
import { CacheProvider, EmotionCache } from '@emotion/react'
import { CacheProvider, type EmotionCache } from '@emotion/react'
import { Box, useMediaQuery } from '@mui/material'
import CssBaseline from '@mui/material/CssBaseline'
import { ThemeProvider } from '@mui/material/styles'
import { initGA } from 'green-analytics-js'
import { Session } from 'next-auth'
import type { Session } from 'next-auth'
import { SessionProvider } from 'next-auth/react'
import { appWithTranslation } from 'next-i18next'
import { NextSeo } from 'next-seo'
import { AppProps } from 'next/app'
import { FC, useEffect, useMemo } from 'react'
import type { AppProps } from 'next/app'
import { type FC, useEffect, useMemo } from 'react'
import { Toaster, toast } from 'sonner'
import { SWRConfig } from 'swr'

Expand Down
4 changes: 2 additions & 2 deletions pages/about.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { GetStaticProps } from 'next'
import type { GetStaticProps } from 'next'
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
import { NextSeo } from 'next-seo'
import { FC } from 'react'
import type { FC } from 'react'

/**
* About page for YourKitchen, describing the project.
Expand Down
6 changes: 3 additions & 3 deletions pages/api/_recipeImage.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
ErrorResponse,
Photo,
PhotosWithTotalResults,
type ErrorResponse,
type Photo,
type PhotosWithTotalResults,
createClient,
} from 'pexels'

Expand Down
4 changes: 2 additions & 2 deletions pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { PrismaAdapter } from '@auth/prisma-adapter'
import { PrismaClient, User } from '@prisma/client'
import { PrismaClient, type User } from '@prisma/client'
import { JsonValue } from '@prisma/client/runtime/library'
import NextAuth, { AuthOptions, Session } from 'next-auth'
import NextAuth, { type AuthOptions, type Session } from 'next-auth'
import AppleProvider from 'next-auth/providers/apple'
import EmailProvider from 'next-auth/providers/email'
import FacebookProvider from 'next-auth/providers/facebook'
Expand Down
2 changes: 1 addition & 1 deletion pages/api/cleanup.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DateTime } from 'luxon'
import { NextApiRequest, NextApiResponse } from 'next'
import type { NextApiRequest, NextApiResponse } from 'next'
import prisma from './_base'

const handler = async (req: NextApiRequest, res: NextApiResponse) => {
Expand Down
2 changes: 1 addition & 1 deletion pages/api/database/cuisine/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import prisma from '#pages/api/_base'
import { authOptions } from '#pages/api/auth/[...nextauth]'
import { NextApiRequest, NextApiResponse } from 'next'
import type { NextApiRequest, NextApiResponse } from 'next'
import { getServerSession } from 'next-auth'

export const handler = async (req: NextApiRequest, res: NextApiResponse) => {
Expand Down
2 changes: 1 addition & 1 deletion pages/api/database/cuisine/search.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NextApiRequest, NextApiResponse } from 'next'
import type { NextApiRequest, NextApiResponse } from 'next'
import prisma from '#pages/api/_base'

export const handler = async (req: NextApiRequest, res: NextApiResponse) => {
Expand Down
6 changes: 3 additions & 3 deletions pages/api/database/fridge/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import prisma from '#pages/api/_base'
import { authOptions } from '#pages/api/auth/[...nextauth]'
import { FridgeIngredient } from '@prisma/client'
import { NextApiRequest, NextApiResponse } from 'next'
import { Session, getServerSession } from 'next-auth'
import type { FridgeIngredient } from '@prisma/client'
import type { NextApiRequest, NextApiResponse } from 'next'
import { type Session, getServerSession } from 'next-auth'

const handler = async (req: NextApiRequest, res: NextApiResponse) => {
try {
Expand Down
4 changes: 2 additions & 2 deletions pages/api/database/ingredient/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Ingredient, Recipe } from '@prisma/client'
import { NextApiRequest, NextApiResponse } from 'next'
import { type Ingredient, Recipe } from '@prisma/client'
import type { NextApiRequest, NextApiResponse } from 'next'
import { getServerSession } from 'next-auth'
import { ApiError } from 'next/dist/server/api-utils'
import { getIngredientId } from 'src/utils'
Expand Down
2 changes: 1 addition & 1 deletion pages/api/database/ingredient/search.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NextApiRequest, NextApiResponse } from 'next'
import type { NextApiRequest, NextApiResponse } from 'next'
import prisma from '#pages/api/_base'

export const handler = async (req: NextApiRequest, res: NextApiResponse) => {
Expand Down
4 changes: 2 additions & 2 deletions pages/api/database/mealplan/[id].ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import prisma from '#pages/api/_base'
import { authOptions } from '#pages/api/auth/[...nextauth]'
import { updateMealplan } from '#utils/meaplanHelper'
import { DateTime } from 'luxon'
import { NextApiRequest, NextApiResponse } from 'next'
import { Session, getServerSession } from 'next-auth'
import type { NextApiRequest, NextApiResponse } from 'next'
import { type Session, getServerSession } from 'next-auth'

const handler = async (req: NextApiRequest, res: NextApiResponse) => {
const session = await getServerSession(req, res, authOptions)
Expand Down
4 changes: 2 additions & 2 deletions pages/api/database/mealplan/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import prisma from '#pages/api/_base'
import { authOptions } from '#pages/api/auth/[...nextauth]'
import { NextApiRequest, NextApiResponse } from 'next'
import { Session, getServerSession } from 'next-auth'
import type { NextApiRequest, NextApiResponse } from 'next'
import { type Session, getServerSession } from 'next-auth'

const handler = async (req: NextApiRequest, res: NextApiResponse) => {
const session = await getServerSession(req, res, authOptions)
Expand Down
6 changes: 3 additions & 3 deletions pages/api/database/mealplan/own.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import prisma from '#pages/api/_base'
import { authOptions } from '#pages/api/auth/[...nextauth]'
import { sameDate, updateMealplan } from '#utils/meaplanHelper'
import { MealPlanRecipe } from '@prisma/client'
import type { MealPlanRecipe } from '@prisma/client'
import { DateTime } from 'luxon'
import { NextApiRequest, NextApiResponse } from 'next'
import { Session, getServerSession } from 'next-auth'
import type { NextApiRequest, NextApiResponse } from 'next'
import { type Session, getServerSession } from 'next-auth'

const handler = async (req: NextApiRequest, res: NextApiResponse) => {
const session = await getServerSession(req, res, authOptions)
Expand Down
4 changes: 2 additions & 2 deletions pages/api/database/recipe/[id]/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import prisma from '#pages/api/_base'
import { authOptions } from '#pages/api/auth/[...nextauth]'
import { Recipe, RecipeImage } from '@prisma/client'
import { NextApiRequest, NextApiResponse } from 'next'
import type { Recipe, RecipeImage } from '@prisma/client'
import type { NextApiRequest, NextApiResponse } from 'next'
import { getServerSession } from 'next-auth'

const handler = async (req: NextApiRequest, res: NextApiResponse) => {
Expand Down
2 changes: 1 addition & 1 deletion pages/api/database/recipe/[id]/rating/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import prisma from '#pages/api/_base'
import { NextApiRequest, NextApiResponse } from 'next'
import type { NextApiRequest, NextApiResponse } from 'next'

const handler = async (req: NextApiRequest, res: NextApiResponse) => {
try {
Expand Down
6 changes: 3 additions & 3 deletions pages/api/database/recipe/[id]/rating/own.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import prisma from '#pages/api/_base'
import { authOptions } from '#pages/api/auth/[...nextauth]'
import { Rating } from '@prisma/client'
import { NextApiRequest, NextApiResponse } from 'next'
import { Session, getServerSession } from 'next-auth'
import type { Rating } from '@prisma/client'
import type { NextApiRequest, NextApiResponse } from 'next'
import { type Session, getServerSession } from 'next-auth'

const handler = async (req: NextApiRequest, res: NextApiResponse) => {
try {
Expand Down
4 changes: 2 additions & 2 deletions pages/api/database/recipe/image.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { authOptions } from '#pages/api/auth/[...nextauth]'
import { put } from '@vercel/blob'
import { NextApiRequest, NextApiResponse } from 'next'
import { Session, getServerSession } from 'next-auth'
import type { NextApiRequest, NextApiResponse } from 'next'
import { type Session, getServerSession } from 'next-auth'

const handler = async (req: NextApiRequest, res: NextApiResponse) => {
try {
Expand Down
9 changes: 7 additions & 2 deletions pages/api/database/recipe/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { MealType, Prisma, Recipe, RecipeImage } from '@prisma/client'
import { NextApiRequest, NextApiResponse } from 'next'
import {
type MealType,
Prisma,
type Recipe,
type RecipeImage,
} from '@prisma/client'
import type { NextApiRequest, NextApiResponse } from 'next'
import { getServerSession } from 'next-auth'
import { ApiError } from 'next/dist/server/api-utils'
import { authOptions } from '#pages/api/auth/[...nextauth]'
Expand Down
2 changes: 1 addition & 1 deletion pages/api/database/recipe/popular.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DateTime } from 'luxon'
import { NextApiRequest, NextApiResponse } from 'next'
import type { NextApiRequest, NextApiResponse } from 'next'
import { NextRequest, NextResponse } from 'next/server'
import prisma from '#pages/api/_base'

Expand Down
Loading

0 comments on commit 610694a

Please sign in to comment.