Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(TDOPS-5665): Add changes for tools folder + remove scripts folder and update root package.json #4984

Merged
merged 17 commits into from
Nov 14, 2023

Conversation

smouillour
Copy link
Contributor

@smouillour smouillour commented Nov 13, 2023

What is the problem this PR is trying to solve?
Changes has been done to prepare tui to PNPM
Changes has been done also in github action due to strange issue with the node use in some workflow (18 instead of 20)

Add missing deps

  • @talend/scripts-publish-local
  • @talend/babel-plugin-import-d3
  • @talend/scripts-build-cdn
  • @talend/scripts-cmf
  • @talend/scripts-core
  • @talend/scripts-config-storybook-lib
  • @talend/babel-plugin-import-from-index
  • @talend/scripts-config-react-webpack
  • @talend/scripts-yarn-workspace
  • @talend/scripts-config-typescript
  • @talend/upgrade-deps
  • @talend/scripts-config-stylelint
  • @talend/cypress-api-mock-plugin
  • @talend/scripts-config-cdn
  • @talend/scripts-teorem
  • @talend/babel-plugin-import-from-lib
  • @talend/scripts-locales
  • @talend/babel-plugin-assets-api
  • @talend/scripts-config-prettier
  • @talend/scripts-utils

Fix lint issues

  • @talend/babel-plugin-import-d3
  • @talend/eslint-plugin
  • @talend/babel-plugin-import-from-index
  • @talend/scripts-config-jest
  • @talend/cypress-api-mock-plugin
  • @talend/babel-plugin-import-from-lib
  • @talend/scripts-locales
  • @talend/babel-plugin-assets-api

Fix eslint config (due to circular dependency)

  • @talend/babel-plugin-import-from-index
  • @talend/scripts-config-cdn
  • @talend/babel-plugin-assets-api
  • @talend/scripts-config-babel

Fix tsconfig

  • @talend/scripts-config-typescript

Adapt code for PNPM

  • @talend/scripts-build-cdn
  • @talend/scripts-core
  • @talend/scripts-config-react-webpack
  • @talend/scripts-config-cdn

Remove dep with scripts-core (circular dependency)

  • @talend/eslint-plugin
  • @talend/scripts-build-cdn
  • @talend/scripts-cmf
  • @talend/scripts-config-typescript
  • @talend/scripts-config-prettier

Other:

  • @talend/scripts-core: Improve peerDependencies
  • @talend/scripts-config-storybook-lib: Upgrade msw to v1.3.2
  • @talend/scripts-config-react-webpack: make talend/icons as peerDependency to remove circular dependency
  • @talend/scripts-config-jest: fix peer dependencies
  • @talend/scripts-config-prettier: fix prettier config to be compatible with prettier 3
  • @talend/scripts-config-babel: fix plugin order

What is the chosen solution to this problem?

Please check if the PR fulfills these requirements

  • The PR have used yarn changeset to a request a release from the CI if wanted.
  • The PR commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features) And non reg done before need review
  • Docs have been added / updated (for bug fixes / features)
  • Related design / discussions / pages (not in jira), if any, are all linked or available in the PR

[ ] This PR introduces a breaking change

Copy link
Contributor

github-actions bot commented Nov 13, 2023

Title Lines Statements Branches Functions
assets-api Coverage: 28%
28.4% (25/88) 30.76% (16/52) 21.42% (3/14)
cmf Coverage: 89%
89.19% (1271/1425) 80.36% (618/769) 88.91% (361/406)
cmf-cqrs Coverage: 87%
87.43% (160/183) 70.23% (59/84) 84.21% (48/57)
cmf-router Coverage: 70%
69.23% (135/195) 55.71% (78/140) 56.81% (25/44)
components Coverage: 90%
90.38% (5605/6201) 81.64% (3217/3940) 87.73% (1417/1615)
containers Coverage: 84%
83.53% (1385/1658) 74.67% (687/920) 75.17% (327/435)
dataviz Coverage: 85%
85.6% (321/375) 66.66% (160/240) 75.64% (118/156)
design-system Coverage: 67%
66.74% (905/1356) 48.59% (433/891) 53.18% (192/361)
faceted-search Coverage: 85%
85.03% (693/815) 76.63% (269/351) 81.75% (242/296)
flow-designer Coverage: 70%
70.07% (651/929) 66.72% (355/532) 70.92% (200/282)
forms Coverage: 85%
85.72% (1675/1954) 75.22% (902/1199) 84.43% (472/559)
http Coverage: 100%
100% (85/85) 98.07% (51/52) 100% (34/34)
sagas Coverage: 92%
92.3% (24/26) 66.66% (4/6) 50% (2/4)
stepper Coverage: 80%
81.52% (150/184) 59.34% (54/91) 80.85% (38/47)
utils Coverage: 100%
100% (62/62) 90.9% (10/11) 100% (16/16)

@smouillour smouillour temporarily deployed to pull_request_unsafe November 13, 2023 15:38 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 13, 2023 15:38 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 13, 2023 17:11 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 13, 2023 17:11 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 13, 2023 17:11 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 13, 2023 17:12 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 13, 2023 17:12 — with GitHub Actions Inactive
Copy link
Contributor

github-actions bot commented Nov 13, 2023

Size Change: +16 B (0%)

Total Size: 13.4 MB

ℹ️ View Unchanged
Filename Size Change
./packages/assets-api/dist/TalendAssetsApi.js 7.21 kB 0 B
./packages/assets-api/dist/TalendAssetsApi.js.dependencies.json 2 B 0 B
./packages/assets-api/dist/TalendAssetsApi.min.js 3.34 kB 0 B
./packages/assets-api/dist/TalendAssetsApi.min.js.dependencies.json 2 B 0 B
./packages/cmf-cqrs/dist/TalendReactCmfCqrs.js 103 kB 0 B
./packages/cmf-cqrs/dist/TalendReactCmfCqrs.js.dependencies.json 672 B 0 B
./packages/cmf-cqrs/dist/TalendReactCmfCqrs.min.js 21.3 kB 0 B
./packages/cmf-cqrs/dist/TalendReactCmfCqrs.min.js.dependencies.json 695 B 0 B
./packages/cmf-router/dist/TalendReactCmfRouter.js 164 kB 0 B
./packages/cmf-router/dist/TalendReactCmfRouter.js.dependencies.json 1.25 kB 0 B
./packages/cmf-router/dist/TalendReactCmfRouter.min.js 13 kB 0 B
./packages/cmf-router/dist/TalendReactCmfRouter.min.js.dependencies.json 1.29 kB 0 B
./packages/cmf/dist/TalendReactCmf.js 636 kB +20 B (0%)
./packages/cmf/dist/TalendReactCmf.js.dependencies.json 1.31 kB 0 B
./packages/cmf/dist/TalendReactCmf.min.js 121 kB -4 B (0%)
./packages/cmf/dist/TalendReactCmf.min.js.dependencies.json 1.35 kB 0 B
./packages/components/dist/TalendReactComponents.css 403 kB 0 B
./packages/components/dist/TalendReactComponents.js 2.98 MB 0 B
./packages/components/dist/TalendReactComponents.js.dependencies.json 3.21 kB 0 B
./packages/components/dist/TalendReactComponents.min.css 210 kB 0 B
./packages/components/dist/TalendReactComponents.min.js 661 kB 0 B
./packages/components/dist/TalendReactComponents.min.js.dependencies.json 3.29 kB 0 B
./packages/containers/dist/TalendReactContainers.css 3.01 kB 0 B
./packages/containers/dist/TalendReactContainers.js 539 kB 0 B
./packages/containers/dist/TalendReactContainers.js.dependencies.json 1.55 kB 0 B
./packages/containers/dist/TalendReactContainers.min.css 1.74 kB 0 B
./packages/containers/dist/TalendReactContainers.min.js 105 kB 0 B
./packages/containers/dist/TalendReactContainers.min.js.dependencies.json 1.6 kB 0 B
./packages/dataviz/dist/TalendReactDataviz.css 28.9 kB 0 B
./packages/dataviz/dist/TalendReactDataviz.js 372 kB 0 B
./packages/dataviz/dist/TalendReactDataviz.js.dependencies.json 1.15 kB 0 B
./packages/dataviz/dist/TalendReactDataviz.min.css 12 kB 0 B
./packages/dataviz/dist/TalendReactDataviz.min.js 63.6 kB 0 B
./packages/dataviz/dist/TalendReactDataviz.min.js.dependencies.json 1.18 kB 0 B
./packages/design-system/dist/TalendDesignSystem.css 281 kB 0 B
./packages/design-system/dist/TalendDesignSystem.js 1.18 MB 0 B
./packages/design-system/dist/TalendDesignSystem.js.dependencies.json 1.43 kB 0 B
./packages/design-system/dist/TalendDesignSystem.min.css 172 kB 0 B
./packages/design-system/dist/TalendDesignSystem.min.js 236 kB 0 B
./packages/design-system/dist/TalendDesignSystem.min.js.dependencies.json 1.48 kB 0 B
./packages/design-tokens/dist/TalendDesignTokens.css 44.6 kB 0 B
./packages/design-tokens/dist/TalendDesignTokens.js 39.6 kB 0 B
./packages/design-tokens/dist/TalendDesignTokens.js.dependencies.json 2 B 0 B
./packages/design-tokens/dist/TalendDesignTokens.min.css 41.5 kB 0 B
./packages/design-tokens/dist/TalendDesignTokens.min.js 33.3 kB 0 B
./packages/design-tokens/dist/TalendDesignTokens.min.js.dependencies.json 2 B 0 B
./packages/faceted-search/dist/TalendReactFacetedSearch.css 37.8 kB 0 B
./packages/faceted-search/dist/TalendReactFacetedSearch.js 452 kB 0 B
./packages/faceted-search/dist/TalendReactFacetedSearch.js.dependencies.json 1.5 kB 0 B
./packages/faceted-search/dist/TalendReactFacetedSearch.min.css 17.1 kB 0 B
./packages/faceted-search/dist/TalendReactFacetedSearch.min.js 102 kB 0 B
./packages/faceted-search/dist/TalendReactFacetedSearch.min.js.dependencies.json 1.55 kB 0 B
./packages/flow-designer/dist/TalendReactFlowDesigner.min.js 51.5 kB 0 B
./packages/flow-designer/dist/TalendReactFlowDesigner.min.js.dependencies.json 1.25 kB 0 B
./packages/forms/dist/TalendReactForms.css 39.4 kB 0 B
./packages/forms/dist/TalendReactForms.js 778 kB 0 B
./packages/forms/dist/TalendReactForms.js.dependencies.json 1.35 kB 0 B
./packages/forms/dist/TalendReactForms.min.css 13.4 kB 0 B
./packages/forms/dist/TalendReactForms.min.js 205 kB 0 B
./packages/forms/dist/TalendReactForms.min.js.dependencies.json 1.39 kB 0 B
./packages/http/dist/TalendHttp.js 24.9 kB 0 B
./packages/http/dist/TalendHttp.js.dependencies.json 2 B 0 B
./packages/http/dist/TalendHttp.min.js 5.33 kB 0 B
./packages/http/dist/TalendHttp.min.js.dependencies.json 2 B 0 B
./packages/icons/dist/bundle.js 1.26 kB 0 B
./packages/icons/dist/info.js 26.1 kB 0 B
./packages/icons/dist/react.esm.js 585 kB 0 B
./packages/icons/dist/react.js 623 kB 0 B
./packages/icons/dist/talend-icons-webfont.css 17.4 kB 0 B
./packages/icons/dist/talendicons.css 334 B 0 B
./packages/icons/dist/TalendIcons.js 752 kB 0 B
./packages/icons/dist/TalendIcons.js.dependencies.json 128 B 0 B
./packages/icons/dist/TalendIcons.min.js 606 kB 0 B
./packages/icons/dist/TalendIcons.min.js.dependencies.json 131 B 0 B
./packages/icons/dist/typeUtils.js 14.4 kB 0 B
./packages/jsfc/dist/index.js 86.8 kB 0 B
./packages/jsfc/dist/index.js.dependencies.json 2 B 0 B
./packages/router-bridge/dist/TalendRouterBridge.js 134 kB 0 B
./packages/router-bridge/dist/TalendRouterBridge.js.dependencies.json 1.05 kB 0 B
./packages/router-bridge/dist/TalendRouterBridge.min.js 21 kB 0 B
./packages/router-bridge/dist/TalendRouterBridge.min.js.dependencies.json 1.07 kB 0 B
./packages/sagas/dist/TalendReactSagas.js 10.9 kB 0 B
./packages/sagas/dist/TalendReactSagas.js.dependencies.json 348 B 0 B
./packages/sagas/dist/TalendReactSagas.min.js 1.41 kB 0 B
./packages/sagas/dist/TalendReactSagas.min.js.dependencies.json 360 B 0 B
./packages/stepper/dist/TalendReactStepper.css 2.4 kB 0 B
./packages/stepper/dist/TalendReactStepper.js 97.4 kB 0 B
./packages/stepper/dist/TalendReactStepper.js.dependencies.json 1.27 kB 0 B
./packages/stepper/dist/TalendReactStepper.min.css 1.19 kB 0 B
./packages/stepper/dist/TalendReactStepper.min.js 9.64 kB 0 B
./packages/stepper/dist/TalendReactStepper.min.js.dependencies.json 1.31 kB 0 B
./packages/storybook-docs/dist/globalStyles.js 0 B 0 B 🆕
./packages/storybook-docs/dist/globalStyles.min.css 398 B 0 B
./packages/storybook-docs/dist/managerStyles.js 0 B 0 B 🆕
./packages/storybook-docs/dist/managerStyles.min.css 1.53 kB 0 B
./packages/theme/dist/bootstrap.css 172 kB 0 B
./packages/theme/dist/bootstrap.js 2.51 kB 0 B
./packages/theme/dist/bootstrap.js.dependencies.json 3 B 0 B

compressed-size-action

@smouillour smouillour temporarily deployed to pull_request_unsafe November 13, 2023 18:52 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 13, 2023 18:52 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 13, 2023 18:52 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 13, 2023 18:52 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 13, 2023 18:52 — with GitHub Actions Inactive
@smouillour smouillour marked this pull request as ready for review November 13, 2023 18:53
@smouillour smouillour temporarily deployed to pull_request_unsafe November 14, 2023 09:14 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 14, 2023 09:14 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 14, 2023 09:14 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 14, 2023 09:14 — with GitHub Actions Inactive
@smouillour smouillour temporarily deployed to pull_request_unsafe November 14, 2023 09:14 — with GitHub Actions Inactive
@smouillour smouillour merged commit 6739849 into master Nov 14, 2023
9 checks passed
@smouillour smouillour deleted the smouillour/fix/TDOPS-5665 branch November 14, 2023 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants