NPM Resource Changed PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
5 Oct 2025

Pull Request for Issue # .

Summary of Changes

  • Move from rollup to Rolldown (rust based)
  • Remove some unneeded dependencies: fs-extra, recursive-readdir, rimraf, @rollup/plugin-replace, @rollup/plugin-node-resolve, @rollup/plugin-commonjs
  • Move from the old @vue/compiler-sfc to the new @vitejs/plugin-vue
  • Adjust the media manager to not throw
  • bump the minimum node to 20.10.0 so we could use import json files directly
  • Drop dotenv as the newer node versions support this natively
  • Drop the individual browser version in the browser list and use the baseline widely available Explanation: When a web platform feature is implemented in every browser, it becomes Baseline Newly available. After 30 months, that feature then becomes Baseline Widely available, which is a threshold in which most websites can adopt features without compatibility concerns.
  • Rolldown provides it's own minifier but I kept esbuild for almost everything apart the media manager (for the initial testing, later on we would switch everything to Rolldown and get rid of esbuild, so one less dependency...)

Testing Instructions

Check out the 5.4-dev and run npm i. Make a copy of the media folder somewhere in your hd
Check out this PR and run npm i. Make a copy of the media folder somewhere in your hd
Compare the 2 folders

Actual result BEFORE applying this Pull Request

Everything works

Expected result AFTER applying this Pull Request

Everything works

Differencies

Screenshot 2025-10-05 at 7 05 33 PM Screenshot 2025-10-05 at 7 11 57 PM

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar dgrammatiko dgrammatiko - open - 5 Oct 2025
avatar dgrammatiko dgrammatiko - change - 5 Oct 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Oct 2025
Category Administration com_media NPM Change JavaScript Repository
avatar dgrammatiko dgrammatiko - change - 5 Oct 2025
Labels Added: NPM Resource Changed PR-5.4-dev
avatar dgrammatiko dgrammatiko - change - 5 Oct 2025
The description was changed
avatar dgrammatiko dgrammatiko - edited - 5 Oct 2025

Add a Comment

Login with GitHub to post a comment