Skip to content

Commit

Permalink
Merge branch 'master' into jmfrancois/fix/ds-theme-provider
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfrancois authored Oct 25, 2023
2 parents ae9c59c + 3f9c8a7 commit 8d0bd51
Show file tree
Hide file tree
Showing 1,109 changed files with 21,689 additions and 19,329 deletions.
7 changes: 7 additions & 0 deletions .changeset/angry-cows-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@talend/react-cmf': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
fix import of scripts-config-jest
6 changes: 6 additions & 0 deletions .changeset/chilled-boats-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/scripts-config-babel': minor
---

adapt code to be compatible with pnpm
add missing deps
8 changes: 8 additions & 0 deletions .changeset/cold-mirrors-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@talend/storybook-docs': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
remove ref to design-system and icons(circular dep)
adapt code for pnpm
7 changes: 7 additions & 0 deletions .changeset/eight-dryers-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@talend/scripts-config-react-webpack': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
adapt code for pnpm
6 changes: 6 additions & 0 deletions .changeset/fast-elephants-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/eslint-config': minor
---

remove link to scripts-utils (circular dep)
add missing deps
5 changes: 0 additions & 5 deletions .changeset/five-balloons-tell.md

This file was deleted.

7 changes: 7 additions & 0 deletions .changeset/forty-chefs-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@talend/http': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
fix tsconfig
7 changes: 7 additions & 0 deletions .changeset/fuzzy-bulldogs-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@talend/react-containers': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
add a tsconfig.build.json to exclude test files
6 changes: 6 additions & 0 deletions .changeset/gorgeous-rings-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/react-sagas': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
6 changes: 6 additions & 0 deletions .changeset/grumpy-bulldogs-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/react-cmf-cqrs': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
7 changes: 7 additions & 0 deletions .changeset/lemon-moons-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@talend/design-system': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
remove useless cypress config (toto.cypress.config.js)
8 changes: 8 additions & 0 deletions .changeset/little-bikes-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@talend/icons': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
prepare scripts for pnpm
adapt scripts following changes made in scripts-config-babel
6 changes: 6 additions & 0 deletions .changeset/lovely-parrots-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/react-forms': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
7 changes: 7 additions & 0 deletions .changeset/modern-phones-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@talend/design-docs': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
remove link to design system (circular dep)
8 changes: 8 additions & 0 deletions .changeset/orange-eyes-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@talend/scripts-utils': minor
---

fix test to use package existing in the package.json
remove link to scripts-core (circular dep)
add missing deps
adapt code for pnpm
6 changes: 6 additions & 0 deletions .changeset/sharp-swans-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/react-storybook-cmf': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
6 changes: 6 additions & 0 deletions .changeset/sharp-vans-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/scripts-core': minor
---

update babel config to use babel.config.js instead of .babelrc.json
update scripts following changes made in scripts-config-babel
6 changes: 6 additions & 0 deletions .changeset/smooth-doors-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/router-bridge': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
6 changes: 6 additions & 0 deletions .changeset/sweet-rockets-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/ui-playground': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
6 changes: 6 additions & 0 deletions .changeset/ten-crabs-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/react-cmf-router': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
8 changes: 8 additions & 0 deletions .changeset/tender-pans-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@talend/react-dataviz': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
remove useless config of jest (use the common)
fix config issue in tsconfig.json
6 changes: 6 additions & 0 deletions .changeset/thirty-pillows-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/react-cmf-webpack-plugin': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
7 changes: 7 additions & 0 deletions .changeset/three-pigs-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@talend/module-to-cdn': minor
---
remove babel config: there is no build task on this package
remove link to scripts-core to run lint (circular dependency),
remove link to tools/eslint-config and add it's own eslint config (circular dependency: fork/module-to-cdn > tools/eslint-config > tools/scripts-config-cdn > fork/module-to-cdn)
add missing deps
7 changes: 7 additions & 0 deletions .changeset/tidy-laws-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@talend/ui-storybook-one': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
fix for pnpm (not possible to ref a package to itself)
8 changes: 8 additions & 0 deletions .changeset/tidy-lemons-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@talend/react-stepper': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
add tsconfig.build.json to exclude test
fix prettier config
6 changes: 6 additions & 0 deletions .changeset/violet-comics-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/react-bootstrap': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
7 changes: 7 additions & 0 deletions .changeset/wild-turkeys-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@talend/react-components': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
add a tsconfig.build.json to exclude test files
6 changes: 6 additions & 0 deletions .changeset/wise-pans-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/react-faceted-search': minor
---

update babel config to use babel.config.js instead of .babelrc.json
add missing deps
32 changes: 32 additions & 0 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 'Setup nodejs'
description: 'Setup nodejs'
author: 'Talend'
secrets:
NPM_TOKEN:
description: 'The NPM token to use'
runs:
using: 'composite'
steps:
- name: Set up Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d #v3.8.1
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org/'
scope: '@talend'

- name: Install yarn
shell: bash
run: npm i -g yarn

- name: Get yarn cache directory path
id: yarn-cache-dir-path
shell: bash
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
17 changes: 3 additions & 14 deletions .github/workflows/before-surge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,16 @@ echo "Prepare demo folder before execute surge"
rm -rf .static
mkdir .static
mkdir .static/cmf
mkdir .static/components
mkdir .static/containers
mkdir .static/dataviz
mkdir .static/design-system
mkdir .static/faceted-search
mkdir .static/forms
mkdir .static/icons
mkdir .static/theme
mkdir .static/storybook-docs
mkdir .static/storybook-one
cp .surge/index.html .static
cp -R packages/cmf/jsdoc .static/cmf
cp -R packages/components/storybook-static/* .static/components
cp -R packages/containers/storybook-static/* .static/containers
cp -R packages/dataviz/storybook-static/* .static/dataviz
cp -R packages/storybook/storybook-static/* .static/design-system
cp -R packages/faceted-search/storybook-static/* .static/faceted-search
cp -R packages/forms/storybook-static/* .static/forms
cp -R packages/icons/storybook-static/* .static/icons
cp -R packages/icons/dist .static/icons
cp -R packages/storybook-one/storybook-static/* .static/storybook-one
cp -R packages/design-docs/storybook-static/* .static/design-system
cp -R packages/theme/dist/* .static/theme
cp -R packages/theme/dist .static/theme
cp -R packages/storybook-docs/storybook-static/* .static/storybook-docs
echo Size of demo:
du -d 1 -h .static
13 changes: 4 additions & 9 deletions .github/workflows/changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: 18
registry-url: "https://registry.npmjs.org/"
scope: "@talend"
cache: "yarn"

- name: Use Node.js
uses: ./.github/actions/setup-node

- name: Install Dependencies
run: yarn --frozen-lockfile

Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0

- name: Use Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: 18
registry-url: "https://registry.npmjs.org/"
scope: "@talend"
cache: "yarn"
uses: ./.github/actions/setup-node

- name: Upgrade dependencies
run: |
Expand Down
19 changes: 8 additions & 11 deletions .github/workflows/design-system-component-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,12 @@ jobs:
browser: ["chrome", "firefox"]
steps:
- name: Checkout repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0

- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: 18
registry-url: "https://registry.npmjs.org/"
scope: "@talend"
cache: "yarn"
- name: Use Node.js
uses: ./.github/actions/setup-node

- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 #v3.3.1
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2
with:
path: ~/.cache/Cypress
key: my-cache-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -41,25 +37,26 @@ jobs:
yarn --frozen-lock --ignore-scripts
yarn cypress install
yarn workspace @talend/assets-api run build:lib
yarn workspace @talend/utils run build:lib
yarn workspace @talend/icons run build:lib
yarn workspace @talend/design-tokens run build:lib
- name: Cypress Component Testing
uses: cypress-io/github-action@d69252d52b9a31bad4f418f05ba2bc83687a02eb #v5.8.3
uses: cypress-io/github-action@59810ebfa5a5ac6fcfdcfdf036d1cd4d083a88f2 #v6.5.0
with:
install: false
browser: ${{ matrix.browser }}
command: yarn workspace @talend/design-system run test:cy

- name: Cypress screenshots upload
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce #v3.1.2
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 #v3.1.3
if: failure()
with:
name: cypress-component-testing-${{ matrix.browser }}-screenshots
path: packages/design-system/cypress/screenshots/**/*

- name: Cypress videos upload
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce #v3.1.2
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 #v3.1.3
if: failure()
with:
name: cypress-component-testing-${{ matrix.browser }}-videos
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,14 @@ jobs:
working-directory: ./packages/icons
steps:
- name: Checkout sources
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0
with:
# Required when using a PAT for opening the PR
persist-credentials: false

- name: Use Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: 18
check-latest: true
cache: "yarn"

uses: ./.github/actions/setup-node

- name: Download icons
run: npx @talend/figma-icons-downloader
env:
Expand Down
Loading

0 comments on commit 8d0bd51

Please sign in to comment.