-
Notifications
You must be signed in to change notification settings - Fork 60
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
Converts project into a Lerna monorepo #83
base: master
Are you sure you want to change the base?
Conversation
'@babel/plugin-proposal-object-rest-spread', | ||
'babel-plugin-idx', | ||
'annotate-pure-calls', | ||
NODE_ENV !== 'test' && [ |
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 plugin was breaking my tests. I don't think it is critical to remove prop-types in tests so I have inserted this condition to avoid the issue.
{ | ||
"npmClient": "yarn", | ||
"packages": ["packages/*"], | ||
"version": "4.0.4", |
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.
We can change the value for version to "independent"
in order to move towards independent version numbers.
plugins: [babel()], | ||
}) | ||
|
||
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.
All 3 packages share the same rollup config. Simples.
This is FANTASTIC, thank you very much @ctrlplusb 💖 |
Mostly there 👍
What I have done:
react-automata
: The core packagereact-automata-test-utilities
: Contains the test helperreact-automata-utilities
: "Internal" utilities shared between the other packages. May want to consider a rename of this.To be done:
Build is working, and so are the tests. 👍
Note: when performing updates across the packages you may need to perform a build prior to test. It would be cool if there was a mechanism to build on the fly whilst running tests in watch mode.
Closes #32