Task #106184
openOnly update node_modules if package-lock.json has changed
0%
Description
Each time running commands like
./Build/Scripts/runTests.sh -s lintHtml
./Build/Scripts/runTests.sh -s lintScss
./Build/Scripts/runTests.sh -s buildCss
./Build/Scripts/runTests.sh -s lintTypescript
./Build/Scripts/runTests.sh -s unitJavascript
./Build/Scripts/runTests.sh -s buildJavascript
./Build/Scripts/runTests.sh -s checkGruntClean
the command npm ci
(clean-install) is triggered. This removes all files inside node_modules
folder and then all node-modules are newly installed.
The reason for using npm ci
is that all package versions are installed like locked in package-lock.json
.
Where-as npm install
might do minor-version package updates.
Running npm ci
takes unnecessary time itself and additionally recreating the node_modules
folder triggers IDE indexing actions.
Updated by Gerrit Code Review 27 days ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88239
Updated by Gerrit Code Review 27 days ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88239