Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade all node dependencies #643

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Upgrade all node dependencies #643

wants to merge 1 commit into from

Conversation

theresnotime
Copy link
Member

Using npm-check-updates:

$ ncu --help --doctor
Usage: ncu --doctor

Iteratively installs upgrades and runs tests to identify breaking upgrades.

$ ncu --doctor -u
Running tests before upgrading
npm install
npm run test
Upgrading all dependencies and re-running tests
ncu -u
npm install
npm run test
✓ Tests pass

 @symfony/webpack-encore    0.28  →     3.1
 copy-webpack-plugin         4.6  →    11.0
 css-loader                  2.1  →     6.7
 jquery                      3.3  →     3.6
 js-cookie                   2.2  →     3.0
 leaflet                   1.4.0  →   1.8.0
 less                        3.9  →     4.1
 less-loader                 4.1  →    11.0
 oojs-ui                  0.33.4  →  0.44.3
 wikimedia-ui-base          0.13  →    0.19
 eslint                   5.13.0  →  8.23.1
 eslint-config-wikimedia  0.10.1  →  0.23.0
 grunt                     1.0.2  →   1.5.3
 grunt-banana-checker      0.7.1  →  0.10.0
 qunit                     2.9.2  →  2.19.1

All dependencies upgraded and installed :)

@theresnotime theresnotime added ready for review Please review this code dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 13, 2022
@samwilson
Copy link
Member

I'm getting this error when I run npm run assets:

[webpack-cli] Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema.
 - options[0] has an unknown property 'to'. These properties are valid:
   object { patterns, options? }
 - options[1] has an unknown property 'to'. These properties are valid:
   object { patterns, options? }

(With npm 6.14.11 and node v14.15.5.)

@theresnotime theresnotime marked this pull request as draft September 14, 2022 10:05
@samwilson samwilson removed the ready for review Please review this code label Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
2 participants