Open ghazal opened 1 year ago
Found this while dabbling with npm ci and sass compiler.
@ghazal I am not sure if I understand you right. You want to run npm ci on a normal Joomla installation, not on a git clone of the Joomla repository?
I am not sure if I understand you right. You want to run npm ci on a normal Joomla installation, not on a git clone of the Joomla repository?
Absolutely. I wanted to test if it was feasible and it is, once node and npm are installed on the computer. But my goal is actually to add relevant corrections to the article about "SCSS and Sass" in Joomla Documentation where there are some errors and is impossible to implement as is. Just read the first few lines and you'll see.
But this is not the issue here, it being the missing folder /resources/ in the most recent iteration of joomla packages, in accordance with the .xml file of com_media.
@richard67 he's right on the fact that the Media manager JS source is NOT in the build/media_source
and it probably should be.
But this is not the issue here, it being the missing folder /resources/ in the most recent iteration of joomla packages, in accordance with the .xml file of com_media.
@ghazal joomla will (probably) never ship the resources folder. Also what you're trying to do is not something that the tools were designed for (I know, I wrote them) and even if they work it's definitely not something that should be promoted (nobody is testing this case and it might break at any point)
@dgrammatiko So what shall we do with this issue?
@richard67 I have no clue, it seems that the resources folder is shipping with the distributable which odd as it's the only source JS that is distributed. Also questionable why? I don't have any answers here 🤷♂️
I also have no idea why that folder is shipped.
New folder administrator/components/com_media/resources/ is not present in:
Joomla_4.2.6-Stable-Full_Package Joomla_4.2.7-dev-Development-Full_Package (last nightly: Monday, 19 December )
I would not have referred to 4.2.6 version if the reference to this folder was not present in its media.xml file Found this while dabbling with npm ci and sass compiler. But I guess it happened while building the latest packages because /resources/ is present in former packages.