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

Switch from a monorepo to a single package #125

Merged
merged 22 commits into from
Feb 6, 2018
Merged

Switch from a monorepo to a single package #125

merged 22 commits into from
Feb 6, 2018

Conversation

Rowno
Copy link
Contributor

@Rowno Rowno commented Feb 4, 2018

This switches Evergreen from monorepo to a single package. Closes #117

TODO

Code:

  • Add tree shaking support
  • Add new release process
  • Update README
  • Migration guide
  • Fix the docs site

Non-code:

Migration guide

To migrate to the new evergreen-ui package, you just need to install the new package (yarn add evergreen-ui). Combine all your Evergreen imports (the export names haven't changed), e.g:

import TextInput from 'evergreen-text-input'
import SelectMenu from 'evergreen-select-menu'

Becomes:

import { TextInput, SelectMenu } from 'evergreen-ui'

And then remove all the old evergreen-* packages.

To ease the migration, we've created a command line tool to automate the process of updating all your imports.

The only breaking API change is that evergreen-avatar's getInitials function is no longer exported.

@vadimdemedes
Copy link
Contributor

This is awesome!

@stevenmiller888
Copy link

💥

@Rowno Rowno changed the title [WIP] Switch from a monorepo to a single package Switch from a monorepo to a single package Feb 6, 2018
@Rowno Rowno merged commit e9ee9a5 into master Feb 6, 2018
@Rowno Rowno deleted the single-package branch February 6, 2018 21:24
prateekgoel pushed a commit to prateekgoel/evergreen that referenced this pull request Oct 26, 2018
Switch from a monorepo to a single package
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.

None yet

3 participants