2.4.0 • Published 9 months ago

@tylertech/forge-upgrade v2.4.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

Tyler Forge™ Upgrade Utility

This utility can be used to aid in the upgrade process for Tyler Forge™ based projects.

It executed run a find/replace and code migrations on all files within the provided --path, and attempt to perform any automated replacements that it can for known upgrade migrations.

Manual evaluation should always be done after running this utility, and if you use a code formatter such as Prettier, it is advised to run it after the utility has completed.

Usage

Run the utility using npx:

npx @tylertech/forge-upgrade@latest

Important: You must be on NodeJS version 16 or later.

Configurations

Upgrades are run from a "configuration" file within this utility. The table below will help you decide which configuration to use based on the version of Tyler Forge™ that your project is currently using prior to the upgrade:

FromToConfiguration
Forge 2.xForge 3.0forge-3.0 (latest)
Forge 2.xForge 3.0 (deprecations)forge-3.0-deprecated
TCW 1.xForge 2.0forge-2.0
TCW 1.xForge 3.0First run with forge-2.0 then run again with forge-3.0

Additional manual upgrades may be required, see version announcement and/or release notes for further information.

Options

The utility will accept the following arguments:

OptionDescription
--path <path>Accepts a relative path from the current directory to the source directory where the upgrade should begin from.
--configuration <name>The name of the upgrade configuration to use. Defaults to most recent configuration.
--no-replaceDisables replace operations.
--no-migrateDisables code migrations.
--dry-runRuns the utility without modifying any files and prints out what it would do if ran without this flag.
--ignorePaths or globs of files to ignore. (ex. --ignore "**/*/my-directory/**/*"). Note: separate multiple values with a comma.
--verboseEnables verbose logging.
--helpPrints the help manual.