-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(module-tools): auto delete dist files by checking if outdir is root path #4021
feat(module-tools): auto delete dist files by checking if outdir is root path #4021
Conversation
🦋 Changeset detectedLatest commit: b933fc1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 212 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
c5d629a
to
79fa9aa
Compare
79fa9aa
to
f282bf8
Compare
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4021 +/- ##
==========================================
- Coverage 57.59% 57.30% -0.30%
==========================================
Files 672 645 -27
Lines 17794 17533 -261
Branches 3876 3844 -32
==========================================
- Hits 10249 10047 -202
+ Misses 6934 6862 -72
- Partials 611 624 +13 ☔ View full report in Codecov by Sentry. |
close #3995 |
Summary
🤖 Generated by Copilot at c5d629a
Added a
noClear
option to the module-tools builder to avoid deleting the project when using a flat output structure. Updated the locale modules to include warning messages for this option in English and Chinese.Details
🤖 Generated by Copilot at c5d629a
options
parameter toclearBuildConfigPaths
function to handle output directory being the same as project root directory (link, link)noClear
flag andprojectAbsRootPath
value fromcmdOptions
andcontext
toclearBuildConfigPaths
function inrun
function ofbuilder
module (link)clearRootPath
property toEN_LOCALE
andZH_LOCALE
objects inlocale
module to store warning message for output directory being the same as project root directory (link, link)Related Issue
Checklist
pnpm run change
.