From ec4980d0069ce2faecd47edf3d09fde1c880d080 Mon Sep 17 00:00:00 2001 From: jmfrancois Date: Mon, 11 Sep 2023 14:55:05 +0200 Subject: [PATCH] chore: remove test:demo and update surge home page --- .surge/index.html | 51 ---------------------------- package.json | 2 +- packages/components/package.json | 1 - packages/dataviz/package.json | 3 +- packages/design-system/package.json | 1 - packages/forms/package.json | 1 - packages/icons/package.json | 4 +-- packages/storybook-docs/package.json | 1 - packages/storybook-one/README.md | 3 ++ packages/storybook/package.json | 1 - 10 files changed, 7 insertions(+), 61 deletions(-) create mode 100644 packages/storybook-one/README.md diff --git a/.surge/index.html b/.surge/index.html index df7f5e89110..beb748bea58 100644 --- a/.surge/index.html +++ b/.surge/index.html @@ -279,57 +279,6 @@

Faceted search

> -
-

Stepper

-

This library provides the Stepper

- UMD - - - Minified UMD - - -
- -
- -

Dataviz

-

This library provides charts components

-
- UMD - - - Minified UMD - - -
diff --git a/package.json b/package.json index 018d3aeb4a3..29bbf3e3895 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "postinstall": "talend-yarn-workspace run build:lib", "pre-release": "talend-yarn-workspace run pre-release", "start": "yarn workspace @talend/ui-playground run start", - "start-storybook": "yarn workspace @talend/ui-storybook run start", + "start-storybook": "yarn workspace @talend/ui-storybook-one run start", "release": "yarn pre-release && yarn changeset publish", "lint-staged": "lint-staged", "lint": "cross-env WORKSPACE_RUN_FAIL=no-bail talend-yarn-workspace run lint", diff --git a/packages/components/package.json b/packages/components/package.json index cd4fc740788..b7573a172c5 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -13,7 +13,6 @@ "test": "cross-env TZ=Europe/Paris talend-scripts test", "test:watch": "cross-env TZ=Europe/Paris talend-scripts test --watch", "test:cov": "cross-env TZ=Europe/Paris talend-scripts test --coverage", - "test:demo": "talend-scripts build-storybook --quiet", "lint": "talend-scripts lint", "start": "talend-scripts start -p 6006", "extract-i18n": "i18next-scanner --config i18next-scanner.config.js 'src/**/*.js' '!src/**/*.stories.js'" diff --git a/packages/dataviz/package.json b/packages/dataviz/package.json index 15b87ecfc42..ed958c72317 100644 --- a/packages/dataviz/package.json +++ b/packages/dataviz/package.json @@ -18,8 +18,7 @@ "test": "cross-env TZ=Europe/Paris talend-scripts test", "test:cy": "cypress run --component --spec **.cy.tsx", "test:watch": "cross-env TZ=Europe/Paris talend-scripts test --watch", - "test:cov": "cross-env TZ=Europe/Paris talend-scripts test --coverage", - "test:demo": "talend-scripts build-storybook --quiet" + "test:cov": "cross-env TZ=Europe/Paris talend-scripts test --coverage" }, "keywords": [ "react", diff --git a/packages/design-system/package.json b/packages/design-system/package.json index cf64bb493ae..a0d33185dd1 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -12,7 +12,6 @@ "watch": "talend-scripts build --watch", "test": "echo Tests are managed by Cypress using yarn test:cy", "test:cy": "cypress run --component --spec **.cy.tsx", - "test:demo": "talend-scripts build-storybook --quiet", "extract-i18n": "i18next-scanner --config i18next-scanner.config.js", "lint": "talend-scripts lint", "start": "talend-scripts start-storybook" diff --git a/packages/forms/package.json b/packages/forms/package.json index 9687790697c..59d6446e6db 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -14,7 +14,6 @@ "test": "cross-env TZ=Europe/Paris talend-scripts test", "test:watch": "talend-scripts test --watch", "test:cov": "talend-scripts test --coverage", - "test:demo": "talend-scripts build-storybook --quiet", "lint": "talend-scripts lint", "start": "talend-scripts start-storybook -p 6008", "extract-i18n": "i18next-scanner --config i18next-scanner.config.js" diff --git a/packages/icons/package.json b/packages/icons/package.json index a9bc81d43bd..1b6ed3e6ac8 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -14,8 +14,8 @@ "ts:types": "node scripts/typescript.js", "test": "echo no test", "test:cov": "echo no test", - "test:demo": "yarn build-storybook", - "build-storybook": "talend-scripts build-storybook --docs", + "start-storybook": "talend-scripts start-storybook", + "build-storybook": "talend-scripts build-storybook", "start": "talend-scripts start-storybook -p 6010", "lint": "echo nothing to lint", "svgo": "svgo -f src/svg --config=.svgo-icons.yml && svgo -f src/filters --config=.svgo-filters.yml" diff --git a/packages/storybook-docs/package.json b/packages/storybook-docs/package.json index e9ab97b57bb..3d05e9bc3ee 100644 --- a/packages/storybook-docs/package.json +++ b/packages/storybook-docs/package.json @@ -11,7 +11,6 @@ "start": "npm run storybook", "lint": "talend-scripts lint", "test": "echo no test", - "test:demo": "npm run build-storybook", "storybook": "npm run build:lib && talend-scripts start-storybook -p 6106", "build-storybook": "talend-scripts build-storybook --docs" }, diff --git a/packages/storybook-one/README.md b/packages/storybook-one/README.md new file mode 100644 index 00000000000..46e60b776ff --- /dev/null +++ b/packages/storybook-one/README.md @@ -0,0 +1,3 @@ +The storybook that take them all. + +This package holds the only storybook for dev to check visual regression using chromatic. diff --git a/packages/storybook/package.json b/packages/storybook/package.json index 8bc6db7cfb5..74e578f9bbb 100644 --- a/packages/storybook/package.json +++ b/packages/storybook/package.json @@ -5,7 +5,6 @@ "homepage": "https://github.com/Talend/ui#readme", "main": "src/index.ts", "scripts": { - "test:demo": "echo on hold", "build-storybook": "echo on hold", "start-storybook": "echo on hold", "lint": "talend-scripts lint",