Skip to content

refactor(frontend): remove unused fs-extra devDependency - #5842

Merged
Yicong-Huang merged 3 commits into
apache:mainfrom
Ma77Ball:refactor/remove_fs_extra
Jun 21, 2026
Merged

refactor(frontend): remove unused fs-extra devDependency#5842
Yicong-Huang merged 3 commits into
apache:mainfrom
Ma77Ball:refactor/remove_fs_extra

Conversation

@Ma77Ball

@Ma77Ball Ma77Ball commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Any related issues, documentation, discussions?

Closes: #5841

How was this PR tested?

  • Run yarn install in frontend/, expect the only yarn.lock change to be removal of the direct fs-extra@npm:10.0.1 block plus the project's reference (verify with git diff frontend/yarn.lock).
  • Run yarn build in frontend/ (production ng build), expect exit code 0 with no new errors; this confirms nothing in the source or build pipeline depends on the direct fs-extra dependency.
  • Run grep -rn "fs-extra" frontend/src frontend/build-version.js frontend/custom-webpack.config.js, expect no matches.

Was this PR authored or co-authored using generative AI tooling?

Co-authored with Claude Opus 4.8 in compliance with ASF

@github-actions github-actions Bot added dependencies Pull requests that update a dependency file refactor Refactor the code frontend Changes related to the frontend GUI labels Jun 21, 2026
@codecov-commenter

codecov-commenter commented Jun 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.81%. Comparing base (5882434) to head (d1e7fd7).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #5842      +/-   ##
============================================
- Coverage     53.88%   53.81%   -0.07%     
+ Complexity     2753     2722      -31     
============================================
  Files          1099     1099              
  Lines         42541    42541              
  Branches       4577     4577              
============================================
- Hits          22922    22894      -28     
- Misses        18286    18307      +21     
- Partials       1333     1340       +7     
Flag Coverage Δ *Carryforward flag
access-control-service 70.44% <ø> (ø) Carriedforward from a4848af
agent-service 34.36% <ø> (ø) Carriedforward from a4848af
amber 55.06% <ø> (-0.12%) ⬇️ Carriedforward from a4848af
computing-unit-managing-service 1.65% <ø> (ø) Carriedforward from a4848af
config-service 56.71% <ø> (ø) Carriedforward from a4848af
file-service 57.06% <ø> (ø) Carriedforward from a4848af
frontend 48.05% <ø> (-0.04%) ⬇️
pyamber 90.13% <ø> (ø) Carriedforward from a4848af
python 90.80% <ø> (ø) Carriedforward from a4848af
workflow-compiling-service 58.69% <ø> (ø) Carriedforward from a4848af

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Ma77Ball
Ma77Ball marked this pull request as ready for review June 21, 2026 08:42

@Yicong-Huang Yicong-Huang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the clean up!

@Yicong-Huang
Yicong-Huang added this pull request to the merge queue Jun 21, 2026
Merged via the queue into apache:main with commit b2886ca Jun 21, 2026
20 checks passed
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 24, 2026
### What changes were proposed in this PR?
- Remove the unused `fs-extra` (10.0.1) devDependency from
`frontend/package.json`; it is never imported or referenced in `src/`,
`build-version.js`, `custom-webpack.config.js`, any config, or any npm
script. It was introduced by apache#899
and we have replaced it in apache#3613
### Any related issues, documentation, discussions?
Closes: apache#5841
### How was this PR tested?
- Run `yarn install` in `frontend/`, expect the only `yarn.lock` change
to be removal of the direct `fs-extra@npm:10.0.1` block plus the
project's reference (verify with `git diff frontend/yarn.lock`).
- Run `yarn build` in `frontend/` (production `ng build`), expect exit
code 0 with no new errors; this confirms nothing in the source or build
pipeline depends on the direct `fs-extra` dependency.
- Run `grep -rn "fs-extra" frontend/src frontend/build-version.js
frontend/custom-webpack.config.js`, expect no matches.
### Was this PR authored or co-authored using generative AI tooling?
Co-authored with Claude Opus 4.8 in compliance with ASF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file frontend Changes related to the frontend GUI refactor Refactor the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove unused fs-extra devDependency from frontend

3 participants