Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
ts-migrate-server
Advanced tools
Readme
ts-migrate-server
is a package that contains the main migration runner.
ts-migrate-server
is designed around Airbnb projects. Use at your own risk.
Install ts-migrate-server using npm:
npm install --save-dev ts-migrate-server
Or yarn:
yarn add --dev ts-migrate-server
import path from 'path';
import { migrate, MigrateConfig } from 'ts-migrate-server';
// get input files folder
const inputDir = path.resolve(__dirname, 'input');
// create new migration config. You can add your plugins there
const config = new MigrateConfig();
// run migration
const exitCode = await migrate({ rootDir: inputDir, config });
process.exit(exitCode);
How can I use ts-migrate-server?
You can take a look at basic usage example. Another resource would be source code of the ts-migrate cli.
Why not just use codemods?
You actually can use codemods in your plugins! ts-migrate-server provides a more standardized API around TypeScript compiler usage and allows us to use the benefits of the TypeScript APIs without complicated setup.
I have an issue with a specific plugin, what should I do?
Please file an issue here.
See the Contributors Guide.
FAQs
A package that contains the main migration runner and spawns a TSServer process
The npm package ts-migrate-server receives a total of 80,599 weekly downloads. As such, ts-migrate-server popularity was classified as popular.
We found that ts-migrate-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.