woocommerce/tools/code-analyzer/package.json

69 lines
1.5 KiB
JSON
Raw Normal View History

{
"name": "code-analyzer",
"version": "1.0.0",
"description": "A tool to analyze code changes in WooCommerce Monorepo.",
"author": "Automattic",
"homepage": "https://github.com/woocommerce/woocommerce",
"license": "GPLv2",
"repository": "woocommerce/woocommerce",
"private": true,
2023-11-02 23:06:59 +00:00
"types": "dist/index.d.ts",
"scripts": {
"analyzer": "node -r ts-node/register ./src/commands/analyzer/index.ts",
"lint": "eslint . --ext .ts",
"test": "pnpm test:js",
"test:js": "jest"
},
"dependencies": {
2023-12-09 15:12:20 +00:00
"@actions/core": "^1.10.1",
"@commander-js/extra-typings": "^10.0.3",
2023-12-09 15:12:20 +00:00
"@oclif/core": "^2.15.0",
"@tsconfig/node16": "^1.0.4",
"@types/uuid": "^8.3.4",
"@woocommerce/monorepo-utils": "workspace:*",
2023-12-09 15:12:20 +00:00
"commander": "^9.5.0",
"dotenv": "^10.0.0",
2023-12-09 15:12:20 +00:00
"simple-git": "^3.21.0",
"uuid": "^9.0.1"
},
"devDependencies": {
2023-12-09 15:12:20 +00:00
"@types/jest": "^27.5.2",
"@types/node": "^16.18.68",
"@woocommerce/eslint-plugin": "workspace:*",
2023-12-09 15:12:20 +00:00
"eslint": "^8.55.0",
"jest": "~27.5.1",
"ts-jest": "~29.1.1",
2023-12-09 15:12:20 +00:00
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"wireit": "0.14.3"
},
"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",
"pnpm": "^9.1.0"
},
"config": {
"ci": {
"lint": {
"command": "lint",
"changes": "src/**/*.ts"
},
"tests": [
{
"name": "JavaScript",
"command": "test:js",
"changes": [
"jest.config.js",
"tsconfig.json",
"src/**/*.ts"
],
"events": [
"pull_request",
"push"
]
}
]
}
2023-11-02 23:06:59 +00:00
}
}