-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Update lessjs to v3.13.1 #31618
Update lessjs to v3.13.1 #31618
Conversation
Hi @mrtuvn. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento run all tests |
a563de7
to
db07d9c
Compare
Maybe best to double check what version the less.php library supports as well. And this also needs to be aligned with the less version which is installed through npm, which at the moment seems to be:
=> version 2.7.3 But Magento developers can easily override this version should they want to, so all kinds of versions could potentially be used in the wild ... Ideally all 3 less compilation libraries included in Magento should be using the same version (or at least versions as compatible as possible with each other). But I have no idea how realistic this is. Thoughts? |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
e31f528
to
16c2b1b
Compare
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
Waiting for finishing tests
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
9 similar comments
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
Magento\BundleImportExport\Model\BundleStagingTest::testImportExport is failing on platform-health |
Hi @mrtuvn, thank you for your contribution! |
I don't even believe that no one didn't comment this PR during 2 years. Do you know that styles sourcemaps are broken since updating this package in you ask for self-checking, tests running, screenshots, but don't check the first development steps when you update something. that's weird. steps to reproduce:
video example that includes the fix (use subtitles) with timecode: that's even funny that in M2.4.7 beta this package is updated to but it couldn't be compiled because of the error:
PR with fix created: |
Description (*)
Update old version to recently newer
2.3.1 to 3.13.1
Current magento used lessjs v2.3.1.
Official version is https://cdn.jsdelivr.net/npm/[email protected]
https://www.jsdelivr.com/package/npm/less
For maintain compatible we can stay at v3 for a while!. Current official less released v4.1.0
Official less website http://lesscss.org/
This file allow to browser compile less file to css on-flies. Allow developer can check styles from browser without need run deploy ! Note this feature not work in production mode
Idealy lessjs the version should be same as lessphp compile version
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Node should have version >=12 <14
Current grunt not work properly in node v14+
Test case 1
(Stores > Configuration > Advanced > Developer
Frontend Development Workflow => Workflow type : Client side less compilation)
Test case 2
npm install
node_modules/.bin/lessc --version and check properly version less compare with (package.json)
Test case 3
Run grunt workflow without problem
https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/css-topics/css_debug.html
https://devdocs.magento.com/guides/v2.4/test/js/jasmine.html
Noted before run grunt spec must deploy static contents first
Questions or comments
CC: @Leland @krzksz @ptylek what do you guys think on this ?
Contribution checklist (*)
Resolved issues: