-
-
Notifications
You must be signed in to change notification settings - Fork 258
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
Migrate to yarn v2 #7575
Migrate to yarn v2 #7575
Conversation
Oh wow! |
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 looks so simple I am almost worried we're missing something here.
Feel free to merge in the morning @clemsos :) |
Please, make a final rebase before mergimg though! |
yep there were some missing commits there... |
seems that we are good to go now. The |
🚢 it! |
That latest error
Does not make much sense to me! |
It's an issue with jest transpiling ts from node modules package. So basically some tweak in jest conf to find :/ |
unlock-app/jest.config.js
Outdated
}, | ||
coveragePathIgnorePatterns: ['/node_modules/', 'src/stories/.*/*.stories.js'], | ||
transformIgnorePatterns: ['[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$'], | ||
transformIgnorePatterns: [ | ||
"/node_modules/(?!ethereum-cryptography)", |
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.
Oh maybe that's because of this??
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.
yep its related. I had to add it because the module needs to be transpiled but now it doesnt find keccak (which uses node-gyp so maybe this is 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.
it was some missing <rootDir>
in jest config 😢
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.
hmmm there was more to it. Babel's name ttly make sense now. A real punishment!
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.
Oh dang! Let me review once more!
arf CircleCI is down... |
Wooot!!! |
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.
Ok, I think I have a decent understanding of everything that's going on. Let's ship it!
}, | ||
coveragePathIgnorePatterns: ['/node_modules/', 'src/stories/.*/*.stories.js'], | ||
transformIgnorePatterns: [ | ||
"/node_modules/(?!ethereum-cryptography)", | ||
'[/\\\\]node_modules[/\\\\](?!(ethereum-cryptography)).+\\.(js|jsx|ts|tsx)$', |
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.
Looks a bit scary but let's hope we can at least refactor on used a shared module for all this soon!
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.
yes I kept the original regex... scary indeed
.vscode | ||
|
||
# Elastic Beanstalk Files |
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.
Can't wait to get rid of all this!
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.
yes all these aws files in locksmith can be deleted too
Description
Let's use yarn v2 so we can use plugin for deployment and improve build/dev workflow.
From previous attempt > #7446
Issues
Refs #7427
Checklist: