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

feat: move built emoji-mart package to root #2

Merged
merged 1 commit into from
May 30, 2024

Conversation

JanPodmajersky
Copy link
Member

As this git repository consists of yarn workspaces, which enable to define mono repo packages within one repository, but we want to use only one package emoji-mart. slido-frontend does not use yarn2 yet, so the workspace can't be specified see yarnpkg/yarn#1570 (comment).

As we are of the full control of this forked repository, the fastest and easiest is to change the folder structure to consist only of this package 🎉.

I was also considering this 3rd party subfolder generation https://github.com/EqualMa/gitpkg, but decided not to depend on potentially security risk of 3rd party provider.

The dist related properties were adjusted in the root package.json from emoji-mart package, as this root package is used as a reference when usign this dependency.

As this git repository consists of [yarn workspaces](https://yarnpkg.com/features/workspaces),
which enable to define mono repo packages within one repository, but we want
to use only one package `emoji-mart`. `slido-frontend` does not use yarn2 yet, so the workspace
can't be specified see yarnpkg/yarn#1570 (comment).

As we are of the full control of this forked repository, the fastest and easiest is to change the
folder structure to consist only of this package 🎉.

I was also considering this 3rd party subfolder generation https://github.com/EqualMa/gitpkg, but decided
not to depend on potentially security risk of 3rd party provider.

The dist related properties were adjusted in the root package.json from  emoji-mart package, as
this root package is used as a reference when usign this dependency.
@andrejkaPry andrejkaPry merged commit add9ca4 into main May 30, 2024
@andrejkaPry andrejkaPry deleted the janci/unignore-dist-files branch May 30, 2024 14:13
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.

2 participants