Skip to content

segment-boneyard/evergreen-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

evergreen-migration Build Status

Command line tool for migrating from the separate evergreen-* packages to the new evergreen-ui package.

It rewrites the imports in JavaScript files to combine the all separate evergreen-* imports into a single evergreen-ui import.

Note: only supports ES2015 import statements (not CommonJS require calls).

Install

yarn global add evergreen-migration
# or
npm install -g evergreen-migration

Usage

Usage
  $ evergreen-migration '<glob>'

Options
  <glob>         Glob of files you want to migrate (node_modules is automatically ignored).
  -d, --dry-run  Don't write anything, just show what files would have been changed.
  --version      Prints the version.
  --help         Prints this message.

Examples
  $ evergreen-migration '**/*.js'

License

evergreen-migration is released under the ISC license.

Copyright © 2018, Segment.io, Inc.