PromucFlow_constructor/app/client/packages/storybook/package.json
Valera Melnikov 320f9e3c02
chore:ads package (#35193)
## Description
- Move [ADS](https://github.com/appsmithorg/design-system) to local
packages
- Fix ADS stories according of Storybook 8
- Fix type errors
- Update Storybook to latest version to be able to run `test-storybook`
- Remove unused files(components, tests, stories) from
ADS-old(design-system-old)

Following steps:
- Merge `ads-old` and `widgets-old`, only 1 package should remain
- Rename packages https://github.com/appsmithorg/appsmith/issues/27658
- Use `importSvg` `importRemixIcon` from ADS remove this functionality
from `ads-old`


Fixes #34252  

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10114839347>
> Commit: 64cdfec4d2acd45ca955cc0d19c3cb582e1ac0ad
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10114839347&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Fri, 26 Jul 2024 17:49:25 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->



<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-29 16:23:26 +03:00

50 lines
1.8 KiB
JSON

{
"name": "@design-system/storybook",
"version": "1.0.0",
"main": "src/index.ts",
"author": "Valera Melnikov <valera@appsmith.com>, Pawan Kumar <pawan@appsmith.com>",
"license": "MIT",
"scripts": {
"lint": "yarn g:lint",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test-storybook": "test-storybook --testTimeout 40000",
"test-storybook:ci": "npx concurrently -k -s first -n 'SB,TEST' -c 'magenta,blue' 'npx http-server storybook-static --port 6006 --silent' 'npx wait-on tcp:6006 && yarn test-storybook'",
"chromatic": "CHROMATIC=1 storybook dev -p 6006"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.6.1",
"@storybook/addon-a11y": "^8.2.6",
"@storybook/addon-controls": "^8.2.6",
"@storybook/addon-docs": "^8.2.6",
"@storybook/addon-measure": "^8.2.6",
"@storybook/addon-outline": "^8.2.6",
"@storybook/addon-toolbars": "^8.2.6",
"@storybook/addon-viewport": "^8.2.6",
"@storybook/blocks": "^8.2.6",
"@storybook/builder-vite": "^8.2.6",
"@storybook/components": "^8.2.6",
"@storybook/manager-api": "^8.2.6",
"@storybook/preset-create-react-app": "^8.2.6",
"@storybook/preview-api": "^8.2.6",
"@storybook/react-vite": "^8.2.6",
"@storybook/test-runner": "^0.19.1",
"@storybook/theming": "^8.2.6",
"@vitejs/plugin-react": "^4.2.1",
"babel-loader": "9.1.2",
"chromatic": "^11.3.0",
"react-docgen-typescript": "^2.2.2",
"storybook": "^8.2.6",
"vite": "^5.2.9",
"vite-plugin-svgr": "^4.2.0"
},
"dependencies": {
"@design-system/headless": "workspace:^",
"@design-system/theming": "workspace:^",
"@design-system/widgets": "workspace:^",
"@design-system/widgets-old": "workspace:^",
"appsmith-icons": "workspace:^",
"colorjs.io": "^0.4.3"
}
}