-
Notifications
You must be signed in to change notification settings - Fork 54
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-5327): prepare TUI to pnpm and solve some missing deps in packages #4929
Conversation
findPackagesFromNonScopeFolder(scope, name, nestedNodeModulesPath, []), | ||
); | ||
} | ||
// NOT COMPATIBLE WITH PNPM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not compatible with PNPM, it should be ok to go without it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: Not sure of the impact of this change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a fix, we can't merge that. It was the only way to find all versions of a given modules.
For example if you have prop-types twice and one of them can not be hoisted.
But it is ok to keep the diff to work on the PR
const iconConfig = require('@talend/icons/.storybook/main.js'); | ||
const rootPath = require.resolve('@talend/design-docs').replace('src/index.ts', ''); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@talend/design-docs should not depends on itself
@@ -1,5 +1,4 @@ | |||
import { Unstyled } from '@storybook/blocks'; | |||
import { StackHorizontal, StackItem } from '@talend/design-system'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not used in the file
@@ -1,41 +1,37 @@ | |||
import type { HTMLAttributes, ReactElement, PropsWithChildren } from 'react'; | |||
// eslint-disable-next-line @talend/import-depth | |||
import { IconNameWithSize } from '@talend/icons/dist/typeUtils'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove dependency to icons as icon depends on it (cycle deps)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
}, | ||
}, | ||
}, | ||
typescript: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
improvements for storybook
@@ -2,7 +2,7 @@ | |||
/* tslint:disable */ | |||
|
|||
/** | |||
* Mock Service Worker (0.49.3). | |||
* Mock Service Worker (1.3.2). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
command for msw has been run after upgrade
Size Change: 0 B Total Size: 13.2 MB ℹ️ View Unchanged
|
@@ -33,13 +33,15 @@ | |||
"homepage": "https://github.com/Talend/ui/cmf-cqrs#readme", | |||
"dependencies": { | |||
"@talend/react-cmf": "^7.3.0", | |||
"@talend/utils": "2.6.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:o
"@talend/locales-design-system": "^7.3.0", | ||
"@talend/locales-tui-components": "^9.5.0", | ||
"@talend/scripts-config-stylelint": "^4.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not part of core but it should, so not here
"@talend/scripts-core": "^15.0.0", | ||
"@talend/scripts-config-react-webpack": "^16.1.0", | ||
"@talend/scripts-config-typescript": "^11.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is already part of scripts core.
What is the problem this PR is trying to solve?
Prepare TUI to a potential move to PNPM (or at least fix talend script to be compatible in project side)
What is the chosen solution to this problem?
Please check if the PR fulfills these requirements
yarn changeset
to a request a release from the CI if wanted.[ ] This PR introduces a breaking change