Skip to content
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

[4.4] ESM follow up changes #43703

Merged
merged 3 commits into from
Jun 26, 2024
Merged

Conversation

muhme
Copy link
Contributor

@muhme muhme commented Jun 25, 2024

Summary of Changes

With PR #43676 '[4.4] Move the Cypress Tests to ESM' the Cypress config file is changed to cypress.config.mjs. There are places in source code tree with the old file names *.js, that are handled by:

  1. In the script used to build Joomla distribution archive packages, in the ignore file list, the Cypress config file name has been changed to the new cypress.config.dist.mjs.
    2. In the delete-file-that-should-not-exist list, cypress.config.mjsand cypress.config.dist.mjs have been added. -> see conversation

⚠️ I am not familar with the workflows of creating Joomla distribution archive packages and deleting files that should not exist. If you have any doubts, please leave a comment.

Testing Instructions

⚠️ I have not tested anything. The changes look very small and clear. But you never know. I therefore ask for your support in testing the two changes.

  • building Joomla distribution archive package and check cypress.config.dist.mjs is not packed
  • Run deleteUnexistingFiles from ??? and check old cypress.config.js and cypress.config.dist.js are deleted; new files cypress.config.mjs and cypress.config.dist.mjs are deleted too.

Actual result BEFORE applying this Pull Request

  • cypress.config.dist.mjs is not ignored in building Joomla distribution archive package
  • cypress.config.mjs and cypress.config.dist.mjs are not deleted on deleting files that should not exist

Expected result AFTER applying this Pull Request

  • cypress.config.dist.mjs is ignored in building Joomla distribution archive package
  • cypress.config.mjs and cypress.config.dist.mjs, as well as cypress.config.js and cypress.config.dist.js are deleted on deleting files that should not exist

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

With PR joomla#43676 '[4.4] Move the Cypress Tests to ESM' the Cypress config file is changed to `cypress.config.mjs`.
There are places in source code tree with the old file names `*.js`, that are handled by:
1. In the script used to build Joomla distribution archive packages, in the ignore file list, the Cypress config file name has been changed to the new `.mjs`.
2. In the delete-file-that-should-not-exist list, `cypress.config.mjs`and `cypress.config.dist.mjs` have been added.
@laoneo laoneo added this to the Joomla! 4.4.6 milestone Jun 26, 2024
@laoneo laoneo merged commit 69bca95 into joomla:4.4-dev Jun 26, 2024
2 of 3 checks passed
@laoneo
Copy link
Member

laoneo commented Jun 26, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants