Skip to content

Commit

Permalink
chore: remove test:demo and update surge home page
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfrancois committed Sep 11, 2023
1 parent 9141ffa commit ec4980d
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 61 deletions.
51 changes: 0 additions & 51 deletions .surge/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -279,57 +279,6 @@ <h2 class="card__heading">Faceted search</h2>
></a>
</div>

<div class="card">
<h2 class="card__heading">Stepper</h2>
<p class="card__body">This library provides the Stepper</p>
<a
class="card__link--with-arrow"
href="/@talend/react-stepper/dist/TalendReactStepper.js.report.html"
>UMD
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 10">
<path
fill="currentColor"
d="M5.586.625l-.965.957 2.758 2.734H0v1.368h7.38L4.62 8.418l.966.957L10 4.999 5.586.625z"
/></svg
></a>
<a
class="card__link--with-arrow"
href="/@talend/react-stepper/dist/TalendReactStepper.min.js.report.html"
>Minified UMD
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 10">
<path
fill="currentColor"
d="M5.586.625l-.965.957 2.758 2.734H0v1.368h7.38L4.62 8.418l.966.957L10 4.999 5.586.625z"
/></svg
></a>
</div>

<div class="card">
<a href="/dataviz" class="card__link">
<h2 class="card__heading">Dataviz</h2>
<p class="card__body">This library provides charts components</p>
</a>
<a
class="card__link--with-arrow"
href="/@talend/dataviz/dist/TalendReactDataviz.js.report.html"
>UMD
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 10">
<path
fill="currentColor"
d="M5.586.625l-.965.957 2.758 2.734H0v1.368h7.38L4.62 8.418l.966.957L10 4.999 5.586.625z"
/></svg
></a>
<a
class="card__link--with-arrow"
href="/@talend/dataviz/dist/TalendReactDataviz.min.js.report.html"
>Minified UMD
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 10">
<path
fill="currentColor"
d="M5.586.625l-.965.957 2.758 2.734H0v1.368h7.38L4.62 8.418l.966.957L10 4.999 5.586.625z"
/></svg
></a>
</div>

<div class="card">
<a href="cmf/jsdoc" class="card__link">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
Expand Down
3 changes: 1 addition & 2 deletions packages/dataviz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion packages/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion packages/forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion packages/storybook-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
3 changes: 3 additions & 0 deletions packages/storybook-one/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The storybook that take them all.

This package holds the only storybook for dev to check visual regression using chromatic.
1 change: 0 additions & 1 deletion packages/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ec4980d

Please sign in to comment.