Skip to content

Move .cache, tweak eslint - #4160

Merged
nstepien merged 2 commits into
mainfrom
movecache
Aug 31, 2026
Merged

nstepien merged 2 commits into
mainfrom
movecache

Conversation

@nstepien

@nstepien nstepien commented Aug 29, 2026 •

Copy link
Copy Markdown
Collaborator
  • I've moved the common cache folder to node_modules/.cache
    • the location of the .cache folder was convenient, but we rely on it less and less, so we rarely need to manually delete it nowadays
    • we have to manually ignore it in all tools
      • vite plugins handle files under .cache/vite if we forget to configure all the excludes
      • this caused issues with the react compiler, which is why I've opened this PR
  • I've also tweaked the eslint config

@nstepien nstepien self-assigned this Aug 29, 2026
@nstepien
nstepien marked this pull request as ready for review August 29, 2026 12:35
@nstepien
nstepien requested a review from amanmahajan7 as a code owner August 29, 2026 12:35
@nstepien
nstepien enabled auto-merge (squash) August 29, 2026 13:04
Comment thread tsconfig.node.json
"lib": ["ESNext"],
"module": "NodeNext"
"module": "NodeNext",
"types": ["node"]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Were the types failing?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Needed to import node:url, and use import.meta.resolve

@nstepien
nstepien merged commit a213810 into main Aug 31, 2026
1 check passed
@nstepien
nstepien deleted the movecache branch August 31, 2026 18:29
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