GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Poor/broken monorepo DX: can't specify .contentlayer/ output path, no docs for custom config path · Issue #464 · contentlayerdev/contentlayer Open Labels Milestone DescriptionI tried getting Contentlayer rolling in an nx monorepo and found the developer experience to be poor. I'm creating an issue to potentially influence the roadmap per the project website. If you want to make this issue about one thing: developers should be able to configure the ContextIn a monorepo a developer may have a nextjs blog/website/app at A given monorepo may house many different apps and libraries. Developer RequirementsContentlayer should not "take over" a project's root folder unless configured to do so, and it should support a monorepo where there may be several apps that use it and others that do not. An organization might have respective blog, product documentation, and marketing websites, each with their own MDX content; an individual might have multiple blogs.
Its ok if that's the default behaviour / happy path is no monorepo however I think there should be ways to support them far more elegantly. In many cases would be best to be best to house everything together in each app's respective folder: the website content mdx, the contentlayer output, and the app itself. In other cases a dev might prefer paths for content at the root of the project folder e.g. AcceptanceConsider the scenario where a dev runs Documentation IssuesIt is not well-documented that I can use The docs at https://www.contentlayer.dev/docs/reference/next-contentlayer don't mention any of the "non default configuration options" but mention the existence. I had to find that out from looking at issue comments and PR's e.g. #248 Reacted by Jeff Huang, arjinfo, Melvyn, Michael Angelo Rivera, Zeno Jiricek, Louis DeScioli, Samy Rahmani and Rukundo Reacted by Zeno Jiricek Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |