Issue #3109556: Update to Yarn 4
2 unresolved threads
2 unresolved threads
Merge request reports
Activity
added 1 commit
- 246e9817 - remove farbtastic and joyride from vendor-update
182 182 cd "$TOP_LEVEL/core" 183 183 184 184 # Ensure JavaScript development dependencies are installed. 185 yarn check -s 2>/dev/null 186 if [ "$?" -ne "0" ]; then 187 printf "Drupal's JavaScript development dependencies are not installed. Run 'yarn install' inside the core directory.\n" 188 DEPENDENCIES_NEED_INSTALLING=1; 189 fi 190 191 if [ $DEPENDENCIES_NEED_INSTALLING -ne 0 ]; then 192 exit 1; 193 fi 185 yarn >/dev/null there is no more check command, https://github.com/yarnpkg/rfcs/pull/106
There is no more check within yarn, short of checking for the node_modules folder (and that's not future proof) I don't think we can replicate this feature.
changed this line in version 5 of the diff
183 183 184 184 # Ensure JavaScript development dependencies are installed. 185 yarn check -s 2>/dev/null 186 if [ "$?" -ne "0" ]; then 187 printf "Drupal's JavaScript development dependencies are not installed. Run 'yarn install' inside the core directory.\n" 188 DEPENDENCIES_NEED_INSTALLING=1; 189 fi 190 191 if [ $DEPENDENCIES_NEED_INSTALLING -ne 0 ]; then 192 exit 1; 193 fi 185 yarn >/dev/null 194 186 195 187 # Check all files for spelling in one go for better performance. 196 yarn run -s spellcheck --no-must-find-files -c $TOP_LEVEL/core/.cspell.json $ABS_FILES 188 yarn run spellcheck --no-must-find-files -c $TOP_LEVEL/core/.cspell.json $ABS_FILES >/dev/null added 44 commits
-
246e9817...4d02e19f - 42 commits from branch
project:10.0.x
- 4e042162 - Merge branch '10.0.x' of https://git.drupalcode.org/project/drupal into 3109556-update-to-yarn
- 34da72dd - update lock file
-
246e9817...4d02e19f - 42 commits from branch
added 75 commits
-
11d1c90c...8ecb3da5 - 73 commits from branch
project:10.0.x
- 250d864c - Merge branch '10.0.x' of https://git.drupalcode.org/project/drupal into 3109556-update-to-yarn
- 5f1e847b - update yarn lock
-
11d1c90c...8ecb3da5 - 73 commits from branch
added 573 commits
-
5f1e847b...1002797d - 571 commits from branch
project:10.0.x
- 5f28d91e - Merge branch '10.0.x' of https://git.drupalcode.org/project/drupal into 3109556-update-to-yarn
- 28ced279 - update MR
-
5f1e847b...1002797d - 571 commits from branch
Please register or sign in to reply