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 meditrak-app hoisting config #4071

Merged
merged 3 commits into from
Aug 5, 2022
Merged

Fix meditrak-app hoisting config #4071

merged 3 commits into from
Aug 5, 2022

Conversation

IgorNadj
Copy link
Contributor

@IgorNadj IgorNadj commented Aug 4, 2022

https://beyondessential.slack.com/archives/D01A1LRAG9W/p1657848268725059
This was causing issues with running meditrak-app locally. You would need to yarn install inside packages/meditrak-app to get packages to show up in packages/meditrak-app/node_modules, otherwise the local build would fail. After this fix a single yarn install at root level is all that is needed again.

--

Fix: .yarnrc.yml method does not work, using package.json method instead
see https://yarnpkg.com/configuration/yarnrc#nmHoistingLimits

--

Passing appcenter build: https://appcenter.ms/orgs/Beyond-Essential/apps/Tupaia-MediTrak-Android/build/branches/fix-meditrak-app-hoisting/builds/1256

.yarnrc.yml method does not work, using package.json method
see https://yarnpkg.com/configuration/yarnrc#nmHoistingLimits
meditrak-app was providing a babel plugin, now that it is correctly not hoisting,
we need to add this dependency back into the root repo.
@IgorNadj IgorNadj merged commit 1e4d587 into dev Aug 5, 2022
@IgorNadj IgorNadj deleted the fix-meditrak-app-hoisting branch August 5, 2022 03:02
@IgorNadj IgorNadj mentioned this pull request Aug 5, 2022
3 tasks
@chris-pollard chris-pollard mentioned this pull request Aug 8, 2022
3 tasks
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