Issue Task Closed

#98271Make it possible to easily and correctly build assets for core contribution in branch 11.5 (buildJavaScript)

Sybille Peters 09/07/22, 06:43 updated 09/12/22, 14:41

Description

For main branch, there is Build/Scripts/runTests.sh -s buildJavascript to build TypeScript / JavaScript. This also exists in 11.5, but it results in extra .js files being generated, so probably this is incorrect. Previously, cd Build;yarn install;yarn build was used, not sure if this is still the case in 11.5

Probably best to fix the command for runTests.sh or remove / change it. Might need also change in contribution guide. (I did not test the building of css files. Should also be checked)

Reproduce

git reset —hard origin/11.5;git pull origin 11.5
Build/Scripts/runTests.sh -s buildJavascript
git status

Result

On branch 11.5
Your branch is up to date with ‘origin/11.5’.

Untracked files:
(use “git add <file>…” to include in what will be committed)<br> typo3/sysext/backend/Resources/Public/JavaScript/ClipboardComponent.js<br> typo3/sysext/backend/Resources/Public/JavaScript/ToggleSearchToolbox.js<br> typo3/sysext/backend/Resources/Public/JavaScript/Wizard/<br> typo3/sysext/filelist/Resources/Public/JavaScript/FileListLocalisation.js<br> typo3/sysext/recordlist/Resources/Public/JavaScript/ColumnSelectorButton.js</file>

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.