0.2.1 • Published 8 years ago

config-migrate v0.2.1

Weekly downloads
3
License
-
Repository
github
Last release
8 years ago

config-migrate

Tool (built as node module) to track, manage and apply structural/data changes to your json config files

Where,

  • Config Files - Your config files which needs to be updated
  • Migration Files - All the migration javascript files to be run

Migration Files

The migration files follow a naming convention

V1__convert_arrays_to_maps.js

Where,

  • V - Prefix
  • __ - separator
  • convert_arrays_to_maps - name of the migration

The migration can use lodash methods in it

Config Files

When the migrations are run, a file named 'migration-run-log.txt' will be generated to remember the already run migrations. Keep this file versioned along with other config files

Usage

  1. npm install -g config-migrate
  2. Run the following command

    config-migrate config_folder_full_path migration_files_folder_full_path

0.2.1

8 years ago

0.2.0

8 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago