Repository navigation
feat: detect Umi temp directories as safe Node build artifacts - #78
Merged
Merged
Conversation
Umi generates .umi, .umi-production and .umi-test (entry, routes and webpack cache) under src/ when it exists, else at the project root, and regenerates them on dev, build and test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018n8bPcGZaeNmytfiBseBPR
Cover the root .umi of a project with src/ and the root .umi-test in the Umi scanner test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018n8bPcGZaeNmytfiBseBPR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
무엇이 바뀌나
Node 프로젝트에서 Umi 임시 폴더
.umi,.umi-production,.umi-test를 build/safe 산출물로 찾는다.src/아래와 프로젝트 루트를src/유무와 관계없이 모두 찾는다.왜
Umi는 이 폴더들에 진입 파일, 라우트, webpack 캐시를 생성하고 dev, build, test를 실행할 때마다 다시 만든다. 공식 문서는 이 폴더들을 커밋하지 말라고 안내한다. 실제 Umi 3 프로젝트에서 이 폴더들이 670MB를 차지했지만 스캔에 잡히지 않았다. Umi는
src/가 있으면src/아래에, 없으면 프로젝트 루트에 이 폴더들을 만든다(Umi 소스packages/core/src/service/path.ts의getPaths).SPEC과 결정 문서
docs/SPEC.md§ Node.js 산출물 표에 Umi 임시 폴더 행을 추가🤖 Generated with Claude Code
https://claude.ai/code/session_018n8bPcGZaeNmytfiBseBPR