evergreen-migration

1.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i evergreen-migration

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • segment-admin
  • rowno