🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@tylertech/forge-upgrade

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tylertech/forge-upgrade

Automated upgrade utility for the Tyler Forge™ based projects.

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
14
-51.72%
Maintainers
1
Weekly downloads
 
Created
Source

Forge Upgrade

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

It will 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.

Usage

Run the utility using npx:

npx @tylertech/forge-upgrade

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 TCW/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 usage.

Keywords

tyler

FAQs

Package last updated on 11 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts