Skip to content

Conversation

emir-karabeg
Copy link
Collaborator

Summary

Cleaned up Sim file structure to follow best-practices with NextJS repositories. I moved files to lib and adjusted page/component files to align best-practices.

Type of Change

  • Other: Refactor

Testing

No functionality changes.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Copy link

vercel bot commented Sep 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sim Ready Ready Preview Comment Sep 29, 2025 11:53pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
docs Skipped Skipped Sep 29, 2025 11:53pm

if (process.env.NEXT_RUNTIME === 'edge') {
console.log('[Main Instrumentation] Loading Edge Runtime instrumentation...')
const edgeInstrumentation = await import('./instrumentation-edge')
const edgeInstrumentation = await import('./lib/instrumentation/edge')
Copy link
Collaborator

Choose a reason for hiding this comment

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

@emir-karabeg this might break because instrumentation runs before /lib import alias is available from tsconfig

Copy link
Collaborator

Choose a reason for hiding this comment

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

these file names have to stay the way they were before, and can't be in lib/
https://nextjs.org/docs/app/guides/instrumentation

@emir-karabeg emir-karabeg deleted the refactor/file-structure branch October 20, 2025 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants