Socket
Socket
Sign inDemoInstall

migrate-yfiles-ts-app

Package Overview
Dependencies
49
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    migrate-yfiles-ts-app

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


Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 02 Feb 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc