Best practices on using Next.js in a TypeScript monorepo

In this monorepo app we have a single site with two installed dependencies that are available in the same repository.