Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAllow uikit plugins to be used in multiple uikit definitions in patternlab-config.json. #1137
Conversation
| uikits.forEach(kit => { | ||
| const configEntry = _.find(_.filter(patternlab.config.uikits, 'enabled'), { | ||
| name: `uikit-${kit.name}`, | ||
| _.filter(patternlab.config.uikits, 'enabled').forEach(uikit => { | ||
| const kit = _.find(uikitModules, { | ||
| name: uikit.name.replace('uikit-', ''), |
This comment has been minimized.
This comment has been minimized.
JosefBredereck
Apr 28, 2020
Contributor
Could you please resolve the merge conflict at this position, resulting from dev merge?
stale
bot
commented
Jun 28, 2020
|
It's hard to keep track of everything. This issue has been automatically marked as stale because it has not had recent activity, neither from the team nor the community. It will be closed if no further activity occurs. Please consider adding additional info, volunteering to contribute a fix for this issue, or making a further case that this is important to you, the team, and the project as a whole. Thanks! |
|
@Hydraner do you have a chance to review the comment by @JosefBredereck? |
|
I would like another review of this implementation. In #1225 I also have to touch the loading of UI kits and plugins. In the context of Yarn v2 workspaces (monorepo), there isn't a My suggestion for this PR is to use "uikits": [
{
"name": "uikit-workshop",
"package": "@pattern-lab/uikit-workshop",
"outputDir": "",
"enabled": true,
"excludedPatternStates": [],
"excludedTags": []
}
]For backwards compatibility, if In the end, this would mean that you can use the same package multiple times, but under a different uikit name. |
|
In ceccfd8, I have implemented the same in my branch. You can close this PR in favor of mine. |
|
@JosefBredereck can you please review my work in #1225. As mentioned before, this PR will conflict with my work which is nearing completion. There are a few more cases where manual |
|
@Hydraner are you ok with closing this PR in favor of #1225 which is just merged? There is only a difference in the names of the properties we both chose. You chose There is some backwards compatibility included when a |
|
This is covered by #1225 (which was reverted and redone in #1246). Documentation is added to the https://patternlab.io/docs/editing-the-configuration-options/#heading-uikits |
Hydraner commentedMar 16, 2020
Closes #1136
Summary of changes: