Skip to content

Conversation

@lforst
Copy link
Contributor

@lforst lforst commented Jun 26, 2024

A less aggressive version of #10497 bumping Next.js and the related MDX dependency.

We still need to remove the non/statically analysible path concatenation.

Bumping next caused an error to be thrown in the changelog about caching dynamic header() calls which is not allowed - makes sense I think and even seems like a security vulnerability tbh.

@vercel
Copy link

vercel bot commented Jun 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2024 5:01pm

@codecov
Copy link

codecov bot commented Jun 26, 2024

Bundle Report

Changes will increase total bundle size by 2.16MB ⬆️

Bundle name Size Change
sentry-docs-server 8.29MB 739.38kB ⬆️
sentry-docs-edge-server 249.7kB 230.2kB ⬇️
sentry-docs-client 7.87MB 1.65MB ⬆️

@lforst lforst marked this pull request as ready for review June 26, 2024 16:56
@lforst lforst changed the title fix: Fix file dependencies in build deps: Bump next and MDX Jun 26, 2024
@lizokm lizokm requested a review from a-hariti June 26, 2024 22:31
@lforst lforst requested a review from chargome June 27, 2024 07:48
@lforst lforst merged commit 2dd53bb into master Jun 27, 2024
@lforst lforst deleted the lforst-sadness branch June 27, 2024 08:19
Comment on lines -99 to -100
export function getAllFilesFrontMatter(folder: string = 'docs') {
const docsPath = path.join(root, folder);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

function getAllFilesFrontMatter(folder: 'docs' | 'develop') {
	let docsPath;
	if (folder === 'docs') {
	  docsPath = path.join(root, 'docs');
	} else {
	  docsPath = path.join(root, 'develop');
	}

@a-hariti If we need to parameterize this function in the future we can do the above so that NFT continues to be able to analyze what is required for this file.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants