Skip to content

Latest commit

 

History

History
77 lines (50 loc) · 2.06 KB

README.md

File metadata and controls

77 lines (50 loc) · 2.06 KB

JHipster Migrate Blueprint

A JHipster blueprint that helps you upgrade between JHipster versions.

NPM version Generator Integration Test

Introduction

This is a JHipster blueprint, that is meant to be used in a JHipster application.

Prerequisites

For this JHipster blueprint, we expect you have an JHipster generated application.

Installation

To install or update this blueprint:

npm install -g generator-jhipster-migrate

Usage

To use this blueprint, run the command:

jhipster-migrate

A wizard/advanced mode is available running the command below:

jhipster-migrate --verbose

Customize generation by providing custom CLI arguments

Custom CLI argments is allowed using CLI or prompts (using --verbose).

jhipster-migrate --target-cli-options "--db postgresql"

Configuration changes

The upgrade process can be paused in the middle to allow you to change configurations like updating the database type. Usage:

jhipster-migrate --verbose

3-way merge diff

3-way merge diff is supported differently from jhipster upgrade. It can be optionally enable using:

jhipster-migrate --verbose

Package.json merge

A tool that merges package.json files can be optionally enabled using:

jhipster-migrate --verbose