Merge pull request #31574 from woocommerce/try/e2e-build

fix jest-circus dependency, pnpm e2e-environment build
This commit is contained in:
Lucas Bustamante 2022-01-07 12:04:01 -03:00 committed by GitHub
commit e5adc1c3e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View File

@ -34,7 +34,7 @@ REALPATH=$(readlink "$0")
cd "$SCRIPTPATH/$(dirname "$REALPATH")/.."
# Set a flag to distinguish between the development repo and npm package
DEV_PATH=$(echo $0 | rev | cut -f4 -d/ | rev)
DEV_PATH=$(pwd | rev | cut -f3 -d/ | rev)
if [ "$DEV_PATH" != "node_modules" ]; then
export WC_E2E_WOOCOMMERCE_DEV='true'
export WC_E2E_FOLDER='plugins/woocommerce'

View File

@ -30,6 +30,7 @@
"app-root-path": "^3.0.0",
"commander": "4.1.1",
"jest": "^25.1.0",
"jest-circus": "25.1.0",
"jest-each": "25.5.0",
"jest-puppeteer": "^4.4.0",
"node-stream-zip": "^1.13.6",
@ -51,7 +52,6 @@
"@wordpress/browserslist-config": "^4.1.0",
"@wordpress/eslint-plugin": "7.3.0",
"eslint": "^8.1.0",
"jest-circus": "25.1.0",
"ndb": "^1.1.5",
"semver": "^7.3.2"
},
@ -59,7 +59,6 @@
"access": "public"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"clean": "rm -rf ./build ./build-module",
"compile": "node ./../bin/build.js",
"build": "pnpm run clean && pnpm run compile",

View File

@ -176,6 +176,7 @@ importers:
app-root-path: 3.0.0
commander: 4.1.1
jest: 25.5.4
jest-circus: 25.1.0
jest-each: 25.5.0
jest-puppeteer: 4.4.0
node-stream-zip: 1.15.0
@ -196,7 +197,6 @@ importers:
'@wordpress/browserslist-config': 4.1.0
'@wordpress/eslint-plugin': 7.3.0_eslint@8.2.0+typescript@4.2.4
eslint: 8.2.0
jest-circus: 25.1.0
ndb: 1.1.5
semver: 7.3.5
@ -12433,7 +12433,7 @@ packages:
throat: 5.0.0
transitivePeerDependencies:
- supports-color
dev: true
dev: false
/jest-circus/27.3.1:
resolution: {integrity: sha512-v1dsM9II6gvXokgqq6Yh2jHCpfg7ZqV4jWY66u7npz24JnhP3NHxI0sKT7+ZMQ7IrOWHYAaeEllOySbDbWsiXw==}