diff --git a/bun.lockb b/bun.lockb index 941859f3700e..d48b03a320cd 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package-lock.json b/package-lock.json index ce146cc22b5e..45b5de11974e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -66,7 +66,6 @@ "browserslist": "^4.21.9", "circular-dependency-plugin": "^5.2.2", "core-js": "^3.33.2", - "cross-env": "^7.0.3", "css-loader": "^6.8.1", "css-minimizer-webpack-plugin": "^5.0.1", "cssnano": "^6.0.1", @@ -15931,24 +15930,6 @@ "optional": true, "peer": true }, - "node_modules/cross-env": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", - "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.1" - }, - "bin": { - "cross-env": "src/bin/cross-env.js", - "cross-env-shell": "src/bin/cross-env-shell.js" - }, - "engines": { - "node": ">=10.14", - "npm": ">=6", - "yarn": ">=1" - } - }, "node_modules/cross-fetch": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz", diff --git a/package.json b/package.json index 29d8dc6b297c..3b37ea6e81c0 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,6 @@ "browserslist": "^4.21.9", "circular-dependency-plugin": "^5.2.2", "core-js": "^3.33.2", - "cross-env": "^7.0.3", "css-loader": "^6.8.1", "css-minimizer-webpack-plugin": "^5.0.1", "cssnano": "^6.0.1", @@ -178,7 +177,7 @@ "scripts": { "build": "npm-run-all build:*", "prebuild:js": "rm -rf assets/css/* assets/js/*", - "build:js": "cross-env NODE_ENV=production webpack --config webpack.config.cjs", + "build:js": "NODE_ENV=production webpack --config webpack.config.cjs", "postbuild:js": "rm -rf assets/js/web-stories-list-styles* assets/js/web-stories-theme-style*", "predev": "rm -rf assets/css/* assets/js/*", "dev": "webpack --config webpack.config.cjs --watch", @@ -237,15 +236,15 @@ "test:php:integration:multisite": "vendor/bin/phpunit -c phpunit-integration-multisite.xml.dist", "test:php:unit:help": "npm run test:php -- --help", "pretest:e2e": "if [ -z $AMP_VALIDATOR_FILE ]; then curl --output-dir $TMPDIR -O -f https://cdn.ampproject.org/v0/validator_wasm.js; fi", - "test:e2e": "cross-env JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs jest --runInBand --config=packages/e2e-tests/src/jest.config.js", + "test:e2e": "JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs jest --runInBand --config=packages/e2e-tests/src/jest.config.js", "test:e2e:help": "npm run test:e2e -- --help", "test:e2e:percy": "percy exec --quiet --parallel --config=percy.config.yml -- npm run test:e2e", "test:e2e:watch": "npm run test:e2e -- --watch", - "test:e2e:interactive": "cross-env PUPPETEER_HEADLESS=false PUPPETEER_SLOWMO=80 npm run test:e2e", - "test:e2e:debug": "cross-env PUPPETEER_HEADLESS=false PUPPETEER_DEVTOOLS=true JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs node --inspect-brk node_modules/.bin/jest --runInBand --config=packages/e2e-tests/src/jest.config.js", - "test:e2e:firefox": "cross-env PUPPETEER_PRODUCT=firefox npm run test:e2e", - "test:e2e:firefox:interactive": "cross-env PUPPETEER_PRODUCT=firefox npm run test:e2e:interactive", - "test:e2e:firefox:debug": "cross-env PUPPETEER_PRODUCT=firefox PUPPETEER_HEADLESS=false PUPPETEER_DEVTOOLS=true node --inspect-brk node_modules/.bin/jest --runInBand --config=packages/e2e-tests/src/jest.config.js", + "test:e2e:interactive": "PUPPETEER_HEADLESS=false PUPPETEER_SLOWMO=80 npm run test:e2e", + "test:e2e:debug": "PUPPETEER_HEADLESS=false PUPPETEER_DEVTOOLS=true JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs node --inspect-brk node_modules/.bin/jest --runInBand --config=packages/e2e-tests/src/jest.config.js", + "test:e2e:firefox": "PUPPETEER_PRODUCT=firefox npm run test:e2e", + "test:e2e:firefox:interactive": "PUPPETEER_PRODUCT=firefox npm run test:e2e:interactive", + "test:e2e:firefox:debug": "PUPPETEER_PRODUCT=firefox PUPPETEER_HEADLESS=false PUPPETEER_DEVTOOLS=true node --inspect-brk node_modules/.bin/jest --runInBand --config=packages/e2e-tests/src/jest.config.js", "test:schema": "npm-run-all --parallel test:schema:*", "test:schema:templates": "ls -1 packages/templates/src/raw/*/template.json | xargs -I% npx ajv validate -s bin/schemas/story.json -d % -c ajv-formats", "test:schema:text-sets": "ls -1 packages/text-sets/src/raw/*.json | xargs -I% npx ajv validate -s bin/schemas/story.json -d % -c ajv-formats",