1.0.4 • Published 6 years ago

migrate-yfiles-ts-app v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

migrate-yfiles-ts-app

Tool that helps with the migration of typescript files that reference old yFiles for HTML API.

Usage

Install via

$ npm install -g migrate-yfiles-ts-app

then run

$ migrate-yfiles-ts-app --project path/to/tsconfig.json [--fix --out out/path]

Options

  • --project: Path to the project's tsconfig.json (default: ./tsconfig.json)
  • --fix The tool is able to perform some transformations on its own. Enable to make use of this feature (default: disabled).
  • --out/-o: If you don't want the tool to apply changes in-place you can specify a separate out path (default: ./).

Tests

In order to run the tests put the yFiles type definition file from the version that your program is using into "yfiles.d.ts" in the root folder.

About

This tool is built on top of TSLint and adds some custom rules which detect API changes. If your IDE natively supports TSLint you might as well add those custom rules to your TSLint settings instead of running this tool from console. Have a look at tslint.json for available rules.

License

MIT

1.0.4

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.9.0

7 years ago