2021-08-23 17:39:03 +00:00
|
|
|
{
|
2022-04-29 22:04:41 +00:00
|
|
|
"name": "@woocommerce/api-core-tests",
|
2022-10-17 18:24:07 +00:00
|
|
|
"version": "1.0.0",
|
2022-04-29 22:04:41 +00:00
|
|
|
"description": "API tests for WooCommerce",
|
|
|
|
"main": "index.js",
|
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"
|
2022-09-26 22:30:52 +00:00
|
|
|
},
|
2022-04-29 22:04:41 +00:00
|
|
|
"scripts": {
|
2022-06-09 21:40:07 +00:00
|
|
|
"e2e": "jest",
|
|
|
|
"e2e:api": "jest --group=api",
|
|
|
|
"e2e:hello": "jest --group=hello",
|
2023-12-06 17:32:32 +00:00
|
|
|
"make:collection": "node utils/api-collection/build-collection.js",
|
2023-12-06 19:36:12 +00:00
|
|
|
"report": "allure generate --clean && allure serve",
|
|
|
|
"lint": "eslint data endpoints tests utils --ext=js,ts,tsx",
|
|
|
|
"lint:fix": "eslint data endpoints tests utils --ext=js,ts,tsx --fix"
|
2022-04-29 22:04:41 +00:00
|
|
|
},
|
2023-12-06 19:36:12 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/woocommerce/woocommerce.git"
|
|
|
|
},
|
|
|
|
"license": "GPL-3.0+",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
2022-04-29 22:04:41 +00:00
|
|
|
},
|
2023-12-06 19:36:12 +00:00
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce#readme",
|
2022-04-29 22:04:41 +00:00
|
|
|
"dependencies": {
|
2023-12-09 15:12:20 +00:00
|
|
|
"allure-commandline": "^2.25.0",
|
2022-04-29 22:04:41 +00:00
|
|
|
"dotenv": "^10.0.0",
|
2023-12-05 08:36:30 +00:00
|
|
|
"jest": "~27.5.1",
|
2022-04-29 22:04:41 +00:00
|
|
|
"jest-allure": "^0.1.3",
|
2023-12-09 15:12:20 +00:00
|
|
|
"jest-runner-groups": "^2.2.0",
|
|
|
|
"postman-collection": "^4.3.0",
|
|
|
|
"supertest": "^6.3.3"
|
2022-04-29 22:04:41 +00:00
|
|
|
},
|
2022-05-05 03:02:50 +00:00
|
|
|
"devDependencies": {
|
|
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
2023-10-23 21:05:59 +00:00
|
|
|
"eslint": "^8.55.0",
|
2024-01-15 22:06:55 +00:00
|
|
|
"wireit": "0.14.3"
|
2022-05-05 03:02:50 +00:00
|
|
|
},
|
2022-04-29 22:04:41 +00:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
2023-12-06 19:36:12 +00:00
|
|
|
},
|
|
|
|
"bin": {
|
|
|
|
"wc-api-tests": "bin/wc-api-tests.sh"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.(t|j)s?(x)": [
|
|
|
|
"eslint --fix"
|
|
|
|
]
|
2024-01-13 04:32:14 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"ci": {
|
|
|
|
"lint": {
|
|
|
|
"command": "lint",
|
|
|
|
"changes": [
|
|
|
|
"data/**/*.{js,ts,tsx}",
|
|
|
|
"endpoints/**/*.{js,ts,tsx}",
|
|
|
|
"tests/**/*.{js,ts,tsx}",
|
|
|
|
"utils/**/*.{js,ts,tsx}"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2022-04-29 22:04:41 +00:00
|
|
|
}
|
2021-08-23 17:39:03 +00:00
|
|
|
}
|