WordPress.org

Make WordPress Core

Changeset 50540


Ignore:
Timestamp:
03/18/2021 12:42:28 PM (8 months ago)
Author:
desrosj
Message:

Build/Test Tools: Remove explicit puppeteer dependency.

This was added in [48177] to fix an issue where Puppeteer was not being installed correctly as a dependency of @wordpress/wp-scripts. This has been fixed, so this explicit dependency can be removed.

Props isabel_brison.
Fixes #52843.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/package-lock.json

    r50521 r50540  
    23162316            }
    23172317        },
    2318         "@types/mime-types": {
    2319             "version": "2.1.0",
    2320             "resolved": "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.0.tgz",
    2321             "integrity": "sha1-nKUs2jY/aZxpRmwqbM2q2RPqenM=",
    2322             "dev": true
    2323         },
    23242318        "@types/minimatch": {
    23252319            "version": "3.0.3",
     
    39313925                        "unbzip2-stream": "^1.3.3",
    39323926                        "ws": "^7.2.3"
    3933                     },
    3934                     "dependencies": {
    3935                         "devtools-protocol": {
    3936                             "version": "0.0.818844",
    3937                             "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.818844.tgz",
    3938                             "integrity": "sha512-AD1hi7iVJ8OD0aMLQU5VK0XH9LDlA1+BcPIgrAxPfaibx2DbWucuyOhc4oyQCbnvDDO68nN6/LcKfqTP343Jjg==",
    3939                             "dev": true
    3940                         }
    39413927                    }
    39423928                },
     
    80648050            "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz",
    80658051            "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==",
     8052            "dev": true
     8053        },
     8054        "devtools-protocol": {
     8055            "version": "0.0.818844",
     8056            "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.818844.tgz",
     8057            "integrity": "sha512-AD1hi7iVJ8OD0aMLQU5VK0XH9LDlA1+BcPIgrAxPfaibx2DbWucuyOhc4oyQCbnvDDO68nN6/LcKfqTP343Jjg==",
    80668058            "dev": true
    80678059        },
     
    1864318635            "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
    1864418636            "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
    18645         },
    18646         "puppeteer": {
    18647             "version": "npm:puppeteer-core@3.0.0",
    18648             "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-3.0.0.tgz",
    18649             "integrity": "sha512-oWjZFGMc0q2ak+8OxdmMffS79LIT0UEtmpV4h1/AARvESIqqKljf8mrfP+dQ2kas7XttsAZIxRBuWu7Y5JH8KQ==",
    18650             "dev": true,
    18651             "requires": {
    18652                 "@types/mime-types": "^2.1.0",
    18653                 "debug": "^4.1.0",
    18654                 "extract-zip": "^2.0.0",
    18655                 "https-proxy-agent": "^4.0.0",
    18656                 "mime": "^2.0.3",
    18657                 "mime-types": "^2.1.25",
    18658                 "progress": "^2.0.1",
    18659                 "proxy-from-env": "^1.0.0",
    18660                 "rimraf": "^3.0.2",
    18661                 "tar-fs": "^2.0.0",
    18662                 "unbzip2-stream": "^1.3.3",
    18663                 "ws": "^7.2.3"
    18664             },
    18665             "dependencies": {
    18666                 "rimraf": {
    18667                     "version": "3.0.2",
    18668                     "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
    18669                     "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
    18670                     "dev": true,
    18671                     "requires": {
    18672                         "glob": "^7.1.3"
    18673                     }
    18674                 }
    18675             }
    1867618637        },
    1867718638        "q": {
  • trunk/package.json

    r50521 r50540  
    6464        "matchdep": "~2.0.0",
    6565        "prettier": "npm:wp-prettier@2.0.5",
    66         "puppeteer": "npm:puppeteer-core@3.0.0",
    6766        "qunit": "~2.14.0",
    6867        "sass": "^1.32.8",
  • trunk/tests/e2e/run-tests.js

    r48177 r50540  
    11const dotenv = require( 'dotenv' );
    22const dotenv_expand = require( 'dotenv-expand' );
    3 const { sync: spawn } = require( 'cross-spawn' );
    43const { execSync } = require( 'child_process' );
    54
     
    76dotenv_expand( dotenv.config() );
    87
    9 const result = spawn( 'node', [ require.resolve( 'puppeteer/install' ) ], {
    10     stdio: 'inherit',
    11 } );
    12 if ( result.status > 0 ) {
    13     process.exit( result.status );
    14 }
    15 
    168// Run the tests, passing additional arguments through to the test script.
    17 execSync( 'wp-scripts test-e2e --config tests/e2e/jest.config.js ' + process.argv.slice( 2 ).join( ' ' ), { stdio: 'inherit' } );
     9execSync(
     10    'wp-scripts test-e2e --config tests/e2e/jest.config.js ' +
     11        process.argv.slice( 2 ).join( ' ' ),
     12    { stdio: 'inherit' }
     13);
Note: See TracChangeset for help on using the changeset viewer.