2022-09-20 00:39:31 +00:00
|
|
|
{
|
|
|
|
"name": "@woocommerce/storybook",
|
2023-12-06 19:36:12 +00:00
|
|
|
"title": "WooCommerce Storybook",
|
2022-09-20 00:39:31 +00:00
|
|
|
"description": "Storybook implementation for WooCommerce",
|
|
|
|
"homepage": "https://woocommerce.github.io/woocommerce-admin/#/components/",
|
2023-12-06 19:36:12 +00:00
|
|
|
"private": true,
|
2022-09-20 00:39:31 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce.git"
|
|
|
|
},
|
2023-12-06 17:32:32 +00:00
|
|
|
"author": "Automattic",
|
2023-12-06 19:36:12 +00:00
|
|
|
"license": "GPL-3.0-or-later",
|
2023-11-28 22:13:51 +00:00
|
|
|
"scripts": {
|
2024-10-31 09:12:51 +00:00
|
|
|
"build": "pnpm --if-present --workspace-concurrency=Infinity --stream --filter=\"$npm_package_name...\" '/^build:(project:|storybook).*$/'",
|
|
|
|
"build:storybook": "wireit",
|
|
|
|
"watch:build": "pnpm --if-present --workspace-concurrency=Infinity --filter=\"$npm_package_name...\" --parallel '/^watch:build:storybook$/'",
|
|
|
|
"watch:build:storybook": "wireit",
|
2024-10-21 20:14:55 +00:00
|
|
|
"copy-blocks-storybook-iframe": "cp ../../plugins/woocommerce-blocks/storybook/dist/iframe.html ./storybook-static/assets/woocommerce-blocks",
|
|
|
|
"storybook-rtl": "USE_RTL_STYLE=true pnpm storybook",
|
|
|
|
"preinstall": "npx only-allow pnpm"
|
2023-11-28 22:13:51 +00:00
|
|
|
},
|
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
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
|
|
|
},
|
2022-09-20 00:39:31 +00:00
|
|
|
"devDependencies": {
|
2023-12-09 15:12:20 +00:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
|
|
"@babel/preset-env": "^7.23.5",
|
2024-09-09 15:06:01 +00:00
|
|
|
"@babel/preset-react": "7.23.3",
|
|
|
|
"@babel/preset-typescript": "^7.23.3",
|
2023-12-09 15:12:20 +00:00
|
|
|
"@babel/runtime": "^7.23.5",
|
2024-09-09 15:06:01 +00:00
|
|
|
"@storybook/addon-a11y": "7.6.19",
|
|
|
|
"@storybook/addon-actions": "7.6.19",
|
2022-09-20 00:39:31 +00:00
|
|
|
"@storybook/addon-console": "^1.2.3",
|
2024-09-09 15:06:01 +00:00
|
|
|
"@storybook/addon-controls": "7.6.19",
|
|
|
|
"@storybook/addon-docs": "7.6.19",
|
|
|
|
"@storybook/addon-links": "7.6.19",
|
|
|
|
"@storybook/addon-storysource": "7.6.19",
|
|
|
|
"@storybook/addon-viewport": "7.6.19",
|
|
|
|
"@storybook/addons": "7.6.19",
|
|
|
|
"@storybook/api": "7.6.19",
|
|
|
|
"@storybook/components": "7.6.19",
|
|
|
|
"@storybook/core-events": "7.6.19",
|
2024-09-26 07:10:37 +00:00
|
|
|
"@storybook/manager-api": "7.6.19",
|
2024-09-09 15:06:01 +00:00
|
|
|
"@storybook/react": "7.6.19",
|
|
|
|
"@storybook/react-webpack5": "7.6.19",
|
|
|
|
"@storybook/theming": "7.6.19",
|
2024-10-21 20:14:55 +00:00
|
|
|
"@woocommerce/admin-library": "workspace:*",
|
|
|
|
"@woocommerce/block-library": "workspace:*",
|
2022-09-20 00:39:31 +00:00
|
|
|
"@woocommerce/eslint-plugin": "workspace:*",
|
2024-10-16 07:55:36 +00:00
|
|
|
"react": "18.3.x",
|
|
|
|
"react-dom": "18.3.x",
|
2024-09-09 15:06:01 +00:00
|
|
|
"storybook": "7.6.19",
|
2024-10-16 07:55:36 +00:00
|
|
|
"typescript": "5.3.x",
|
2023-10-23 21:05:59 +00:00
|
|
|
"webpack": "^5.89.0",
|
2024-01-15 22:06:55 +00:00
|
|
|
"wireit": "0.14.3"
|
2024-10-21 20:14:55 +00:00
|
|
|
},
|
|
|
|
"wireit": {
|
2024-10-31 09:12:51 +00:00
|
|
|
"build:storybook": {
|
2024-10-21 20:14:55 +00:00
|
|
|
"command": "storybook build -c ./.storybook --quiet && pnpm run copy-blocks-storybook-iframe",
|
|
|
|
"env": {
|
|
|
|
"STORYBOOK": "true",
|
|
|
|
"BABEL_ENV": "storybook"
|
|
|
|
},
|
|
|
|
"clean": "if-file-deleted",
|
|
|
|
"files": [
|
|
|
|
".storybook/*.{js,jsx,ts,tsx,html}",
|
|
|
|
"import-wp-css-storybook.sh",
|
|
|
|
"../../packages/js/components/src/**/stories/*.story.@(js|tsx)",
|
|
|
|
"../../packages/js/experimental/src/**/stories/*.story.@(js|tsx)",
|
|
|
|
"../../packages/js/onboarding/src/**/stories/*.story.@(js|tsx)",
|
|
|
|
"../../packages/js/product-editor/src/**/*.(stories|story).@(js|tsx)",
|
|
|
|
"../../plugins/woocommerce-admin/client/**/stories/*.story.@(js|tsx)"
|
|
|
|
],
|
|
|
|
"output": [
|
|
|
|
"storybook-static"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"import-wp-css-for-storybook",
|
|
|
|
"dependencyOutputs"
|
|
|
|
]
|
|
|
|
},
|
2024-10-31 09:12:51 +00:00
|
|
|
"watch:build:storybook": {
|
2024-10-21 20:14:55 +00:00
|
|
|
"command": "storybook dev -c ./.storybook -p 6007 --ci",
|
|
|
|
"service": true,
|
|
|
|
"env": {
|
|
|
|
"STORYBOOK": "true",
|
|
|
|
"BABEL_ENV": "storybook"
|
|
|
|
},
|
|
|
|
"dependencies": [
|
|
|
|
"import-wp-css-for-storybook",
|
|
|
|
"dependencyOutputs"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"import-wp-css-for-storybook": {
|
|
|
|
"command": "./import-wp-css-storybook.sh",
|
|
|
|
"output": [
|
|
|
|
"wordpress"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencyOutputs": {
|
|
|
|
"allowUsuallyExcludedPaths": true,
|
|
|
|
"files": [
|
|
|
|
"node_modules/@woocommerce/eslint-plugin/configs",
|
|
|
|
"node_modules/@woocommerce/eslint-plugin/rules",
|
|
|
|
"node_modules/@woocommerce/eslint-plugin/index.js",
|
2024-10-28 09:21:20 +00:00
|
|
|
"node_modules/@woocommerce/block-library/build",
|
|
|
|
"node_modules/@woocommerce/block-library/blocks.ini",
|
|
|
|
"node_modules/@woocommerce/admin-library/build",
|
2024-10-21 20:14:55 +00:00
|
|
|
"package.json"
|
|
|
|
]
|
|
|
|
}
|
2023-12-06 19:36:12 +00:00
|
|
|
}
|
2022-09-20 00:39:31 +00:00
|
|
|
}
|