Make WordPress Core

Changeset 63428


Ignore:
Timestamp:
09/01/2026 11:55:47 PM (5 weeks ago)
Author:
lancewillett
Message:

Build/Test Tools: Remove all npx commands.

Merges [63309] to the 6.9 branch.

Developed in: ​https://github.com/WordPress/wordpress-develop/pull/13110

Reviewed by: desrosj.
Props adrianmoldovanwp.
See #65864.

Location:
branches/6.9
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/6.9

  • branches/6.9/Gruntfile.js

    r61194 r63428  
    19061906                const distTag = grunt.option('dist-tag') || 'latest';
    19071907                grunt.log.writeln( `Updating WordPress packages (--dist-tag=${distTag})` );
    1908                 spawn( 'npx', [ 'wp-scripts', 'packages-update', `--dist-tag=${distTag}` ], {
     1908                spawn( 'npm', [ 'exec', '--no', '--', 'wp-scripts', 'packages-update', `--dist-tag=${distTag}` ], {
    19091909                        cwd: __dirname,
    19101910                        stdio: 'inherit',
    … …  
    19131913
    19141914        grunt.registerTask( 'browserslist:update', 'Update the local database of browser supports', function() {
    1915                 grunt.log.writeln( `Updating browsers list` );
    1916                 spawn( 'npx', [ 'browserslist@latest', '--update-db' ], {
     1915                grunt.log.writeln( 'Updating browsers list' );
     1916                spawn( 'npm', [ 'exec', '--no', '--', 'update-browserslist-db' ], {
    19171917                        cwd: __dirname,
    19181918                        stdio: 'inherit',
  • branches/6.9/package-lock.json

    r63220 r63428  
    153153                                "terser-webpack-plugin": "5.3.14",
    154154                                "uglify-js": "^3.19.3",
     155                                "update-browserslist-db": "1.1.4",
    155156                                "uuid": "13.0.0",
    156157                                "wait-on": "9.0.3",
  • branches/6.9/package.json

    r63220 r63428  
    7070                "terser-webpack-plugin": "5.3.14",
    7171                "uglify-js": "^3.19.3",
     72                "update-browserslist-db": "1.1.4",
    7273                "uuid": "13.0.0",
    7374                "wait-on": "9.0.3",
Note: See TracChangeset for help on using the changeset viewer.