2023-06-08 20:20:05 +00:00
{
2023-10-23 20:19:57 +00:00
"name" : "@woocommerce/plugin-woo-ai" ,
2023-10-23 21:13:02 +00:00
"private" : true ,
2023-06-08 20:20:05 +00:00
"description" : "Implementing WooCommerce AI Experiments." ,
2023-12-06 19:36:12 +00:00
"license" : "GPL-2.0" ,
2023-06-08 20:20:05 +00:00
"repository" : {
"type" : "git" ,
"url" : "git://github.com/woocommerce/woo-ai.git"
} ,
2023-12-06 19:36:12 +00:00
"title" : "Woo AI" ,
2024-04-02 11:18:00 +00:00
"version" : "0.6.0" ,
2023-12-06 19:36:12 +00:00
"homepage" : "http://github.com/woocommerce/woo-ai" ,
"devDependencies" : {
2023-12-21 11:25:08 +00:00
"@babel/preset-react" : "7.23.3" ,
2024-01-26 22:08:04 +00:00
"@babel/preset-typescript" : "7.23.2" ,
2023-12-06 19:36:12 +00:00
"@svgr/webpack" : "^8.1.0" ,
2023-12-21 11:25:08 +00:00
"@testing-library/dom" : "9.3.3" ,
"@testing-library/jest-dom" : "5.16.5" ,
2024-01-26 22:08:04 +00:00
"@testing-library/react" : "12.1.5" ,
2023-12-21 11:25:08 +00:00
"@testing-library/react-hooks" : "7.0.2" ,
"@testing-library/user-event" : "13.5.0" ,
2023-12-09 15:12:20 +00:00
"@types/debug" : "^4.1.12" ,
"@types/jquery" : "^3.5.29" ,
"@types/react" : "^17.0.71" ,
"@types/react-dom" : "^17.0.25" ,
"@types/wordpress__components" : "^19.10.5" ,
2023-12-06 19:36:12 +00:00
"@woocommerce/dependency-extraction-webpack-plugin" : "workspace:*" ,
"@woocommerce/eslint-plugin" : "workspace:*" ,
"@wordpress/data" : "wp-6.0" ,
2024-04-03 16:05:59 +00:00
"@wordpress/env" : "^9.0.7" ,
2023-12-06 19:36:12 +00:00
"@wordpress/prettier-config" : "2.17.0" ,
"@wordpress/scripts" : "^19.2.4" ,
2023-12-21 11:25:08 +00:00
"babel-jest" : "~27.5.1" ,
2023-12-09 15:12:20 +00:00
"eslint" : "^8.55.0" ,
"prettier" : "npm:wp-prettier@^2.8.5" ,
"ts-loader" : "^9.5.1" ,
"typescript" : "^5.3.3" ,
2023-10-23 21:05:59 +00:00
"uglify-js" : "^3.17.4" ,
2024-01-15 22:06:55 +00:00
"wireit" : "0.14.3"
2023-06-08 20:20:05 +00:00
} ,
2023-11-02 23:06:59 +00:00
"scripts" : {
2024-01-26 22:08:04 +00:00
"build" : "pnpm --if-present --workspace-concurrency=Infinity --stream --filter=\"$npm_package_name...\" '/^build:project:.*$/'" ,
2023-11-28 22:50:43 +00:00
"build:dev" : "pnpm lint:js && pnpm build" ,
2024-01-26 22:08:04 +00:00
"build:project" : "pnpm --if-present '/^build:project:.*$/'" ,
"build:project:wp-scripts" : "wireit" ,
2023-11-02 23:06:59 +00:00
"build:zip" : "./bin/build-zip.sh" ,
2023-12-12 19:38:20 +00:00
"changelog" : "composer install && composer exec -- changelogger" ,
2023-11-02 23:06:59 +00:00
"check-engines" : "wp-scripts check-engines" ,
"check-licenses" : "wp-scripts check-licenses" ,
"format:js" : "wp-scripts format-js" ,
"postinstall" : "composer install" ,
2024-01-26 22:08:04 +00:00
"lint" : "pnpm --if-present '/^lint:lang:.*$/'" ,
"lint:fix" : "pnpm --if-present '/^lint:fix:lang:.*$/'" ,
"lint:fix:lang:css" : "wp-scripts lint-style --fix" ,
"lint:fix:lang:js" : "wp-scripts lint-js --fix" ,
"lint:lang:css" : "wp-scripts lint-style" ,
"lint:lang:js" : "wp-scripts lint-js" ,
2023-11-02 23:06:59 +00:00
"lint:md:docs" : "wp-scripts lint-md-docs" ,
"lint:md:js" : "wp-scripts lint-md-js" ,
"lint:pkg-json" : "wp-scripts lint-pkg-json" ,
"packages-update" : "wp-scripts packages-update" ,
"start" : "wp-scripts start" ,
"test:e2e" : "wp-scripts test-e2e" ,
2023-12-21 11:25:08 +00:00
"test:unit" : "wp-scripts test-unit-js --config tests/js/jest.config.js" ,
2024-01-26 22:08:04 +00:00
"uglify" : "rm -f $npm_package_assets_js_min && for f in $npm_package_assets_js_js; do file=${f%.js}; node_modules/.bin/uglifyjs $f -c -m > $file.min.js; done" ,
"watch:build" : "pnpm --if-present --workspace-concurrency=Infinity --filter=\"$npm_package_name...\" --parallel '/^watch:build:project:.*$/'" ,
"watch:build:project" : "pnpm --if-present run '/^watch:build:project:.*$/'" ,
"watch:build:project:wp-scripts" : "wireit"
2023-11-02 23:06:59 +00:00
} ,
2023-06-08 20:20:05 +00:00
"dependencies" : {
2023-09-06 10:36:14 +00:00
"@automattic/tour-kit" : "^1.1.1" ,
2023-12-09 15:12:20 +00:00
"@emotion/react" : "^11.11.1" ,
"@types/prop-types" : "^15.7.11" ,
"@types/react-outside-click-handler" : "^1.3.3" ,
2023-07-17 17:25:14 +00:00
"@woocommerce/ai" : "workspace:0.1.0-beta.0" ,
2023-06-08 20:20:05 +00:00
"@woocommerce/components" : "workspace:*" ,
"@woocommerce/tracks" : "workspace:*" ,
"@wordpress/api-fetch" : "wp-6.0" ,
"@wordpress/components" : "wp-6.0" ,
"@wordpress/compose" : "wp-6.0" ,
"@wordpress/element" : "wp-6.0" ,
"@wordpress/hooks" : "wp-6.0" ,
"@wordpress/i18n" : "wp-6.0" ,
2023-08-09 12:15:18 +00:00
"@wordpress/notices" : "wp-6.0" ,
2023-06-08 20:20:05 +00:00
"@wordpress/plugins" : "wp-6.0" ,
2023-09-06 10:36:14 +00:00
"@wordpress/preferences" : "wp-6.0" ,
2023-12-09 15:12:20 +00:00
"debug" : "^4.3.4" ,
2023-08-09 12:15:18 +00:00
"prop-types" : "^15.8.1" ,
"react-query" : "^3.39.3"
2023-06-08 20:20:05 +00:00
} ,
"peerDependencies" : {
"react" : "^17.0.2" ,
2023-07-13 00:12:03 +00:00
"react-dom" : "^17.0.2"
2023-06-08 20:20:05 +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" ,
2023-12-18 07:31:49 +00:00
"pnpm" : "^8.12.1"
2023-06-08 20:20:05 +00:00
} ,
2023-12-06 19:36:12 +00:00
"lint-staged" : {
"*.php" : [
"php -d display_errors=1 -l" ,
"composer run-script phpcs-pre-commit"
] ,
"*.(t|j)s?(x)" : [
"npm run lint:js:fix"
] ,
"*.scss" : [
"npm run lint:css:fix"
]
2024-01-26 22:08:04 +00:00
} ,
"wireit" : {
"build:project:wp-scripts" : {
"command" : "wp-scripts build" ,
"clean" : "if-file-deleted" ,
"files" : [
"babel.config.js" ,
"tsconfig.json" ,
"webpack.config.js" ,
"src/*"
] ,
"output" : [
"build"
]
} ,
"watch:build:project:wp-scripts" : {
"command" : "wp-scripts start" ,
"service" : true
2024-02-06 09:33:58 +00:00
} ,
"dependencyOutputs" : {
"allowUsuallyExcludedPaths" : true ,
"files" : [
"node_modules/@woocommerce/eslint-plugin/configs" ,
"node_modules/@woocommerce/eslint-plugin/rules" ,
"node_modules/@woocommerce/eslint-plugin/index.js" ,
"node_modules/@woocommerce/dependency-extraction-webpack-plugin/src/" ,
"node_modules/@woocommerce/tracks/build" ,
"node_modules/@woocommerce/tracks/build-module" ,
"node_modules/@woocommerce/tracks/build-types" ,
"node_modules/@woocommerce/components/build" ,
"node_modules/@woocommerce/components/build-module" ,
"node_modules/@woocommerce/components/build-style" ,
"node_modules/@woocommerce/components/build-types" ,
"node_modules/@woocommerce/ai/build" ,
"node_modules/@woocommerce/ai/build-module" ,
"node_modules/@woocommerce/ai/build-style" ,
"node_modules/@woocommerce/ai/build-types" ,
"package.json"
]
2024-01-26 22:08:04 +00:00
}
2023-12-06 19:36:12 +00:00
}
2023-06-08 20:20:05 +00:00
}