Make WordPress Core

Changeset 63429


Ignore:
Timestamp:
09/01/2026 11:57:55 PM (33 hours ago)
Author:
lancewillett
Message:

Build/Test Tools: Remove all npx commands.

Merges [63309] to the 6.8 branch.

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

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

Location:
branches/6.8
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/6.8

  • branches/6.8/Gruntfile.js

    r60317 r63429  
    18261826                const distTag = grunt.option('dist-tag') || 'latest';
    18271827                grunt.log.writeln( `Updating WordPress packages (--dist-tag=${distTag})` );
    1828                 spawn( 'npx', [ 'wp-scripts', 'packages-update', `--dist-tag=${distTag}` ], {
     1828                spawn( 'npm', [ 'exec', '--no', '--', 'wp-scripts', 'packages-update', `--dist-tag=${distTag}` ], {
    18291829                        cwd: __dirname,
    18301830                        stdio: 'inherit',
     
    18331833
    18341834        grunt.registerTask( 'browserslist:update', 'Update the local database of browser supports', function() {
    1835                 grunt.log.writeln( `Updating browsers list` );
    1836                 spawn( 'npx', [ 'browserslist@latest', '--update-db' ], {
     1835                grunt.log.writeln( 'Updating browsers list' );
     1836                spawn( 'npm', [ 'exec', '--no', '--', 'update-browserslist-db' ], {
    18371837                        cwd: __dirname,
    18381838                        stdio: 'inherit',
  • branches/6.8/package-lock.json

    r63221 r63429  
    150150                                "terser-webpack-plugin": "5.3.12",
    151151                                "uglify-js": "^3.19.3",
     152                                "update-browserslist-db": "1.1.1",
    152153                                "uuid": "11.1.0",
    153154                                "wait-on": "8.0.2",
  • branches/6.8/package.json

    r63221 r63429  
    7171                "terser-webpack-plugin": "5.3.12",
    7272                "uglify-js": "^3.19.3",
     73                "update-browserslist-db": "1.1.1",
    7374                "uuid": "11.1.0",
    7475                "wait-on": "8.0.2",
Note: See TracChangeset for help on using the changeset viewer.