-
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
Changes from all commits
d8a6638
90919b7
f8b7bde
ad68589
9130a06
7176b54
c8bdf5b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{ | ||
"extends": "../../node_modules/@talend/scripts-config-babel/.babelrc.json" | ||
} | ||
{} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"root": true, | ||
"extends": "@talend" | ||
"root": true | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,13 +33,14 @@ | |
"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 commentThe reason will be displayed to describe this comment to others. Learn more. :o |
||
"@talend/utils": "^2.6.0", | ||
"immutable": "^3.8.2", | ||
"redux-saga": "^1.2.3" | ||
}, | ||
"devDependencies": { | ||
"@talend/scripts-core": "^15.0.0", | ||
"@talend/scripts-config-react-webpack": "^16.0.0", | ||
"@talend/scripts-config-react-webpack": "^16.1.0", | ||
"@talend/scripts-config-typescript": "^11.1.0", | ||
"@testing-library/react-hooks": "^8.0.1", | ||
"mock-socket": "^9.3.1", | ||
"prop-types": "^15.8.1", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ | |
}, | ||
"dependencies": { | ||
"@popperjs/core": "^2.11.8", | ||
"@talend/assets-api": "^1.2.2", | ||
"@talend/bootstrap-theme": "^8.2.0", | ||
"@talend/design-tokens": "^2.9.0", | ||
"@talend/react-a11y": "^1.1.0", | ||
|
@@ -74,8 +75,10 @@ | |
"@talend/icons": "^6.60.1", | ||
"@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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. it is already part of scripts core. |
||
"@testing-library/jest-dom": "^5.17.0", | ||
"@testing-library/react": "^12.1.5", | ||
"@testing-library/user-event": "^13.5.0", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
import path from 'path'; | ||
import { packageDirectorySync } from 'pkg-dir'; | ||
|
||
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 commentThe reason will be displayed to describe this comment to others. Learn more. @talend/design-docs should not depends on itself |
||
const rootPath = packageDirectorySync(); | ||
const { | ||
getJSAndTSLoader, | ||
} = require('@talend/scripts-config-react-webpack/config/webpack.config.common'); | ||
|
@@ -11,19 +13,19 @@ const monoRepoFixSourceMap = ['./src', '../design-system/src']; | |
const srcDirectories = monoRepoFixSourceMap.map(src => path.resolve(process.cwd(), src)); | ||
|
||
const STORIES = [ | ||
`${rootPath}src/Welcome.mdx`, | ||
`${rootPath}src/GettingStarted.mdx`, | ||
`${rootPath}src/Principles.mdx`, | ||
`${rootPath}src/Statuses.mdx`, | ||
// `${rootPath}src/Catalog.mdx`, | ||
`${rootPath}src/content/VoiceAndTone.@(js|tsx|mdx)`, | ||
`${rootPath}src/content/Internationalization.@(js|tsx|mdx)`, | ||
`${rootPath}src/content/Conventions.@(js|tsx|mdx)`, | ||
`${rootPath}src/content/Capitalization.@(js|tsx|mdx)`, | ||
`${rootPath}src/content/Wording.@(js|tsx|mdx)`, | ||
`${rootPath}src/tokens/**/*.mdx`, | ||
`${rootPath}../design-system/src/stories/**/*.@(stories.tsx|mdx)`, | ||
// `${rootPath}src/components/**/*.@(stories.tsx|mdx)`, | ||
`${rootPath}/src/Welcome.mdx`, | ||
`${rootPath}/src/GettingStarted.mdx`, | ||
`${rootPath}/src/Principles.mdx`, | ||
`${rootPath}/src/Statuses.mdx`, | ||
// `${rootPath}/src/Catalog.mdx`, | ||
`${rootPath}/src/content/VoiceAndTone.@(js|tsx|mdx)`, | ||
`${rootPath}/src/content/Internationalization.@(js|tsx|mdx)`, | ||
`${rootPath}/src/content/Conventions.@(js|tsx|mdx)`, | ||
`${rootPath}/src/content/Capitalization.@(js|tsx|mdx)`, | ||
`${rootPath}/src/content/Wording.@(js|tsx|mdx)`, | ||
`${rootPath}/src/tokens/**/*.mdx`, | ||
`${rootPath}/../design-system/src/stories/**/*.@(stories.tsx|mdx)`, | ||
// `${rootPath}/src/components/**/*.@(stories.tsx|mdx)`, | ||
]; | ||
|
||
export default { | ||
|
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