Problem/Motivation

Either once or several times before releasing Drupal 10.1, we'll want to yarn upgrade, or more precisely, the steps in #3280275-3: Set up a formal process for ensuring JavaScript dependencies remain up to date.

Steps to reproduce

Proposed resolution

Remaining tasks

Before doing a full yarn upgrade, I think we should get #3343215: Update terser from 5.16.1 to 5.16.4 in first, since that has side effects on some *.map files.

User interface changes

API changes

Data model changes

Release notes snippet

CommentFileSizeAuthor
#3 3343216-3.patch117.55 KBlongwave

Issue fork drupal-3343216

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

effulgentsia created an issue. See original summary.

longwave’s picture

Status: Postponed » Active
longwave’s picture

Status: Active » Needs review
StatusFileSize
new117.55 KB

I rebuilt all CSS and JS and the dictionary, no changes are required. There are major version bumps of some packages which we should handle separately.

longwave’s picture

This bumps the following:

Package                                Current Wanted  Latest                                                
cspell                                 6.17.0  6.26.3  6.26.3   
eslint                                 8.29.0  8.34.0  8.34.0   
eslint-config-prettier                 8.5.0   8.6.0   8.6.0    
eslint-plugin-import                   2.26.0  2.27.5  2.27.5   
eslint-plugin-yml                      1.2.0   1.5.0   1.5.0    
glob                                   8.0.3   8.1.0   8.1.0    
minimist                               1.2.7   1.2.8   1.2.8    
nightwatch                             2.4.2   2.6.15  2.6.15   
postcss                                8.4.19  8.4.21  8.4.21   
postcss-import                         15.0.1  15.1.0  15.1.0   
prettier                               2.8.0   2.8.4   2.8.4    
terser                                 5.16.4  5.16.5  5.16.5 
effulgentsia’s picture

Status: Needs review » Reviewed & tested by the community

#3 matches what I get from a:
cd core; rm -rf node_modules; yarn install; yarn upgrade; yarn vendor-update; yarn build; yarn lint:css; yarn lint:core-js-passing; yarn spellcheck:make-drupal-dict

kunal_sahu made their first commit to this issue’s fork.

longwave’s picture

Status: Reviewed & tested by the community » Needs work

All the Nightwatch tests blew up :(

longwave’s picture

Title: Update JS dependencies for Drupal 10.1 » [meta] Update JS dependencies for Drupal 10.1
Category: Task » Plan
Status: Needs work » Active

Converting this to a meta as there's quite a lot outstanding and I think it needs breaking down into smaller pieces.

#3323988: Update Nightwatch from 2.4.2 to 2.6.19 already exists for the Nightwatch update, will try bumping that and open some other child issues.

longwave’s picture

$ yarn outdated
Package                   Current Wanted  Latest   
cspell                    6.17.0  6.31.1  6.31.1   
eslint                    8.29.0  8.37.0  8.37.0   
eslint-config-prettier    8.5.0   8.8.0   8.8.0    
eslint-plugin-import      2.26.0  2.27.5  2.27.5   
eslint-plugin-yml         1.2.0   1.5.0   1.5.0    
glob                      8.0.3   8.1.0   9.3.2    
jquery                    3.6.3   3.6.4   3.6.4    
jsdom                     20.0.3  20.0.3  21.1.1   
loadjs                    4.2.0   4.2.0   4.3.0-rc1
minimist                  1.2.7   1.2.8   1.2.8    
mkdirp                    1.0.4   1.0.4   2.1.6    
nightwatch                2.4.2   2.6.19  2.6.19   
postcss                   8.4.19  8.4.21  8.4.21   
postcss-import            15.0.1  15.1.0  15.1.0   
postcss-preset-env        7.8.3   7.8.3   8.3.0    
prettier                  2.8.0   2.8.7   2.8.7    
shepherd.js               10.0.1  10.0.1  11.0.1   
stylelint                 14.16.0 14.16.1 15.3.0   
stylelint-config-standard 29.0.0  29.0.0  31.0.0   
stylelint-order           5.0.0   5.0.0   6.0.3    
tabbable                  6.0.1   6.0.1   6.1.1    
terser                    5.16.4  5.16.8  5.16.8   
terser-webpack-plugin     5.3.6   5.3.7   5.3.7    
webpack                   5.75.0  5.77.0  5.77.0   
quietone’s picture

quietone’s picture

@kunal_sahu, I am removing credit has been removed per How is credit granted for Drupal core issues.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Status: Active » Closed (duplicate)

This was completed in #3361453: Update multiple JavaScript dependencies for 10.1 and child issues. Marking this a duplicate.

quietone’s picture

Version: 11.x-dev » 10.1.x-dev