Make WordPress Core

Changeset 63430


Ignore:
Timestamp:
09/01/2026 11:59:24 PM (18 hours ago)
Author:
lancewillett
Message:

Build/Test Tools: Remove all npx commands.

Merges [63309] to the 6.7 branch.

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

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

Location:
branches/6.7
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/6.7

  • branches/6.7/Gruntfile.js

    r59083 r63430  
    17081708                const distTag = grunt.option('dist-tag') || 'latest';
    17091709                grunt.log.writeln( `Updating WordPress packages (--dist-tag=${distTag})` );
    1710                 spawn( 'npx', [ 'wp-scripts', 'packages-update', `--dist-tag=${distTag}` ], {
     1710                spawn( 'npm', [ 'exec', '--no', '--', 'wp-scripts', 'packages-update', `--dist-tag=${distTag}` ], {
    17111711                        cwd: __dirname,
    17121712                        stdio: 'inherit',
     
    17151715
    17161716        grunt.registerTask( 'browserslist:update', 'Update the local database of browser supports', function() {
    1717                 grunt.log.writeln( `Updating browsers list` );
    1718                 spawn( 'npx', [ 'browserslist@latest', '--update-db' ], {
     1717                grunt.log.writeln( 'Updating browsers list' );
     1718                spawn( 'npm', [ 'exec', '--no', '--', 'update-browserslist-db' ], {
    17191719                        cwd: __dirname,
    17201720                        stdio: 'inherit',
  • branches/6.7/package-lock.json

    r63222 r63430  
    151151                                "terser-webpack-plugin": "5.3.10",
    152152                                "uglify-js": "^3.17.4",
     153                                "update-browserslist-db": "1.1.1",
    153154                                "uuid": "9.0.1",
    154155                                "wait-on": "8.0.1",
  • branches/6.7/package.json

    r63222 r63430  
    7373                "terser-webpack-plugin": "5.3.10",
    7474                "uglify-js": "^3.17.4",
     75                "update-browserslist-db": "1.1.1",
    7576                "uuid": "9.0.1",
    7677                "wait-on": "8.0.1",
Note: See TracChangeset for help on using the changeset viewer.