Merge pull request #31574 from woocommerce/try/e2e-build
fix jest-circus dependency, pnpm e2e-environment build
This commit is contained in:
commit
e5adc1c3e7
|
@ -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'
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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==}
|
||||
|
|
Loading…
Reference in New Issue