2020-04-02 13:41:06 +00:00
|
|
|
{
|
2022-04-29 22:04:41 +00:00
|
|
|
"name": "@woocommerce/e2e-environment",
|
|
|
|
"version": "0.3.0",
|
|
|
|
"description": "WooCommerce End to End Testing Environment Configuration.",
|
2023-12-06 19:36:12 +00:00
|
|
|
"author": "Automattic",
|
|
|
|
"license": "GPL-3.0-or-later",
|
2022-04-29 22:04:41 +00:00
|
|
|
"keywords": [
|
|
|
|
"wordpress",
|
|
|
|
"woocommerce",
|
|
|
|
"e2e",
|
|
|
|
"puppeteer"
|
|
|
|
],
|
2023-12-06 19:36:12 +00:00
|
|
|
"engines": {
|
Update the monorepo to node v20 (#45148)
* test bumping node to v18
* remove community contributor condition from review assignment
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai
* bump node to v20
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, packages/php/remote-specs-validation, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai
* add blocks eslint-plugin-woocommerce to project workspace
* add e2e-environment as a peer to e2e-utils
* restore version on @woocommerce/api
* update lock file
* move e2e-environment to devDependencies
* add undefined location check to admin js test
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-12 16:49:55 +00:00
|
|
|
"node": "^20.11.1",
|
2024-08-22 00:34:42 +00:00
|
|
|
"pnpm": "9.1.3"
|
2023-12-06 19:36:12 +00:00
|
|
|
},
|
2022-04-29 22:04:41 +00:00
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/e2e-environment/README.md",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
|
|
|
},
|
|
|
|
"main": "index.js",
|
|
|
|
"module": "build-module/index.js",
|
2023-11-02 23:06:59 +00:00
|
|
|
"bin": {
|
|
|
|
"wc-e2e": "bin/wc-e2e.sh"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2023-11-28 22:50:43 +00:00
|
|
|
"build": "pnpm clean && pnpm compile",
|
2023-11-02 23:06:59 +00:00
|
|
|
"clean": "rm -rf ./build ./build-module",
|
|
|
|
"compile": "e2e-builds",
|
|
|
|
"docker:clear-all": "docker rmi --force $(docker images -q)",
|
|
|
|
"docker:down": "./bin/docker-compose.sh down",
|
|
|
|
"docker:ssh": "docker exec -it $(node utils/get-app-name.js)_wordpress-www /bin/bash",
|
|
|
|
"docker:up": "./bin/docker-compose.sh up",
|
|
|
|
"docker:wait": "bash ./bin/wait-for-build.sh",
|
2023-11-28 22:50:43 +00:00
|
|
|
"lint": "eslint --ext=js,ts,tsx src",
|
|
|
|
"lint:fix": "eslint --ext=js,ts,tsx src --fix",
|
|
|
|
"prepack": "pnpm build",
|
2023-11-02 23:06:59 +00:00
|
|
|
"test:e2e": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js",
|
|
|
|
"test:e2e-debug": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js --dev --debug",
|
|
|
|
"test:e2e-dev": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js --dev"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.(t|j)s?(x)": [
|
|
|
|
"pnpm lint:fix"
|
|
|
|
]
|
|
|
|
},
|
2022-04-29 22:04:41 +00:00
|
|
|
"dependencies": {
|
|
|
|
"@automattic/puppeteer-utils": "github:Automattic/puppeteer-utils#0f3ec50",
|
2022-09-06 14:29:45 +00:00
|
|
|
"@jest/test-sequencer": "^27.5.1",
|
2023-12-09 15:12:20 +00:00
|
|
|
"@slack/web-api": "^6.10.0",
|
2022-04-29 22:04:41 +00:00
|
|
|
"@woocommerce/api": "^0.2.0",
|
|
|
|
"@wordpress/e2e-test-utils": "^4.16.1",
|
|
|
|
"@wordpress/jest-preset-default": "^7.1.3",
|
2023-12-09 15:12:20 +00:00
|
|
|
"app-root-path": "^3.1.0",
|
2022-04-29 22:04:41 +00:00
|
|
|
"commander": "4.1.1",
|
2023-02-14 05:34:00 +00:00
|
|
|
"config": "3.3.7",
|
2023-12-05 08:36:30 +00:00
|
|
|
"jest": "~27.5.1",
|
2022-09-06 14:29:45 +00:00
|
|
|
"jest-circus": "27.5.1",
|
|
|
|
"jest-each": "27.5.1",
|
2022-08-29 18:22:30 +00:00
|
|
|
"jest-puppeteer": "^5.0.4",
|
2023-12-09 15:12:20 +00:00
|
|
|
"node-stream-zip": "^1.15.0",
|
2022-04-29 22:04:41 +00:00
|
|
|
"puppeteer": "2.1.1",
|
|
|
|
"readline-sync": "^1.4.10",
|
|
|
|
"request": "^2.88.2",
|
2023-12-09 15:12:20 +00:00
|
|
|
"sprintf-js": "^1.1.3"
|
2022-04-29 22:04:41 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/cli": "7.12.8",
|
|
|
|
"@babel/core": "7.12.9",
|
2023-12-09 15:12:20 +00:00
|
|
|
"@babel/plugin-proposal-async-generator-functions": "^7.20.7",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
|
|
|
|
"@babel/plugin-transform-react-jsx": "^7.23.4",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.23.4",
|
2022-04-29 22:04:41 +00:00
|
|
|
"@babel/polyfill": "7.12.1",
|
|
|
|
"@babel/preset-env": "7.12.7",
|
2022-08-05 00:03:17 +00:00
|
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
2022-05-31 22:42:00 +00:00
|
|
|
"@woocommerce/internal-e2e-builds": "workspace:*",
|
2022-04-29 22:04:41 +00:00
|
|
|
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.3",
|
|
|
|
"@wordpress/babel-preset-default": "3.0.2",
|
2023-03-08 21:13:25 +00:00
|
|
|
"@wordpress/browserslist-config": "wp-6.0",
|
2022-04-29 22:04:41 +00:00
|
|
|
"ndb": "^1.1.5",
|
2023-10-23 21:05:59 +00:00
|
|
|
"semver": "^7.5.4",
|
2024-01-15 22:06:55 +00:00
|
|
|
"wireit": "0.14.3"
|
2022-04-29 22:04:41 +00:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
2024-01-13 04:32:14 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"ci": {
|
|
|
|
"lint": {
|
|
|
|
"command": "lint",
|
|
|
|
"changes": "src/**/*.{js,ts,tsx}"
|
|
|
|
}
|
|
|
|
}
|
2022-04-29 22:04:41 +00:00
|
|
|
}
|
2020-04-02 13:41:06 +00:00
|
|
|
}
|