[TASK] Re-enable jquery.autocomplete in grunt copy action
Add a patch file for jquery.autocomplete that contains the custom TYPO3 patches added in #79938 and #70988. Enable the grunt copy action to ensure that mass package-upgrades like #92419 do not miss to update our local fork. A non-applying patch will produce an error during upgrade, while a local fork is silently ignored. Also, pin devbridge-autocomplete to the version that is actually used (updated last time in #70988): yarn add devbridge-autocomplete@~1.3.0 The patch file has been generated via: cp typo3/sysext/core/Resources/Public/JavaScript/Contrib/jquery.autocomplete.js \ Build/node_modules/devbridge-autocomplete/dist/jquery.autocomplete.js patch-package devbridge-autocomplete Note: The version line change is removed and the indentation (tabs vs spaces) is fixed, as it rather limits updatability, therefore the resulting javascript file format is slightly changed. No functional change. Resolves: #96334 Related: #92419 Related: #79938 Related: #70988 Related: #96323 Releases: main Change-Id: Ib8f9a79c3df1875e8a1606122f30e7d15bce06a9 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72626 Tested-by:core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
Showing
- Build/Gruntfile.js 1 addition, 3 deletionsBuild/Gruntfile.js
- Build/package.json 1 addition, 1 deletionBuild/package.json
- Build/patches/devbridge-autocomplete+1.3.0.patch 24 additions, 0 deletionsBuild/patches/devbridge-autocomplete+1.3.0.patch
- Build/yarn.lock 4 additions, 10 deletionsBuild/yarn.lock
- typo3/sysext/core/Resources/Public/JavaScript/Contrib/jquery.autocomplete.js 8 additions, 8 deletions...esources/Public/JavaScript/Contrib/jquery.autocomplete.js
Please register or sign in to comment