Problem/Motivation

http://asset-packagist.org Issues and too slow
We could save time on each build when removed and use an alternative method.
For sure we could have faster CI/CD jobs too.

Reasons to consider alternatives:

  • Project Activity: Asset-packagist is not very actively maintained. If you notice outages or slow updates, this may become a risk.
  • Modern Standards: The PHP and frontend community is moving towards direct usage of npm/yarn for managing JavaScript/CSS assets, separating PHP dependencies (Composer) and JS (npm/yarn).
  • Security: Relying on third-party mirrors for asset delivery can introduce risks if the service is compromised or discontinued.
  • Official Recommendations: Yii2 and newer frameworks now generally recommend using npm/yarn/Webpack/Vite etc. for asset management.

Alternatives to asset-packagist:
  • Direct NPM/Yarn: Use npm/yarn for JavaScript and CSS dependencies. Manage frontend assets separately from PHP dependencies.
  • Composer Asset Plugin: This was previously used but is also not actively maintained and can have performance issues.
  • Custom build scripts: Integrate asset bundling (Webpack, Vite, etc.) into your deployment/build process, copying built assets into your PHP project.

In my opinion a project can manage JS/CSS or CKEditor libraries by (NPM, yarn) in (webpack, vite)

Proposed resolution

  • Moving to have a better and more dynamic way of managing drupal-library packages as libraries.
  • Remove npm-asset/ace-builds from require
  • Remove asset-packagist.org from repositories

Remaining tasks

  • ✅ File an issue
  • ✅ Addition/Change/Update/Fix
  • ✅ Testing to ensure no regression
  • ➖ Automated unit testing coverage
  • ➖ Automated functional testing coverage
  • ➖ UX/UI designer responsibilities
  • ➖ Readability
  • ➖ Accessibility
  • ➖ Performance
  • ➖ Security
  • ✅ Documentation
  • ✅ Code review by maintainers
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Release notes snippet
  • ✅ Release ace_editor-2.0.2

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3535687: Removed npm-asset/ace-builds from require and removed asset-packagist.org from repositories

Comments

rajab natshah created an issue. See original summary.

rajab natshah’s picture

Issue summary: View changes

  • rajab natshah committed 5fa9aae0 on 2.0.x
    Issue #3535687: Remove npm-asset/ace-builds from require and remove...
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Assigned: rajab natshah » Unassigned
Issue summary: View changes
Status: Active » Needs review
Issue tags: +ace_editor-2.0.2
rajab natshah’s picture

Issue summary: View changes

✅ Released ace_editor-2.0.2

rajab natshah’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.