{"_id":"@brightlocaldev/ts-migrate-server","_rev":"2-7df08812b0b26d46936e7b37ff5a994d","name":"@brightlocaldev/ts-migrate-server","dist-tags":{"latest":"0.1.40"},"versions":{"0.1.36":{"name":"@brightlocaldev/ts-migrate-server","version":"0.1.36","keywords":["ts-migrate","ts-migrate-server","typescript","migration","codemod"],"license":"MIT","_id":"@brightlocaldev/ts-migrate-server@0.1.36","maintainers":[{"name":"patryk-w-bl","email":"patryk.wojtowicz@brightlocal.com"},{"name":"eugeny_brightlocal","email":"eugeny@brightlocal.com"}],"contributors":[{"url":"https://github.com/brieb","name":"Brie Bunge"},{"url":"https://github.com/Rudeg","name":"Sergii Rudenko"},{"url":"https://github.com/elliotsa","name":"Elliot Sachs"},{"url":"https://github.com/jjjjhhhhhh","name":"John Haytko"},{"url":"https://github.com/lencioni","name":"Joe Lencioni"}],"homepage":"https://github.com/airbnb/ts-migrate#readme","bugs":{"url":"https://github.com/airbnb/ts-migrate/issues"},"dist":{"shasum":"b591b77ecdf6db6c7858038e52a7387e2b360ac7","tarball":"https://registry.npmjs.org/@brightlocaldev/ts-migrate-server/-/ts-migrate-server-0.1.36.tgz","fileCount":21,"integrity":"sha512-op99aYxQX1nbcsR977zG4Qa66u2rB2eDl+E4WFas3VNANooEC5zR1kg8BiANGdW2z5gyYFY+culQd+wyEr5JVQ==","signatures":[{"sig":"MEUCIDKg4BYx6AqazmYLfaCbL3dSAi7bKv/Wabu/WcyDF5FxAiEA/AT1M5RZOYV5ebKfcoZLomUyxaIhQCj1si8qRnDcPJA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20039},"main":"build/src/index.js","gitHead":"d97941c3998da9b610fcc56b6f99756e279c7586","scripts":{"lint":"eslint . --ext=.js,.jsx,.ts,.tsx --ignore-path ../../.eslintignore","test":"jest --config jest-config.json","build":"tsc -p tsconfig.json","clean":"rm -rf build","prepublish":"yarn build"},"_npmUser":{"name":"patryk-w-bl","email":"patryk.wojtowicz@brightlocal.com"},"repository":{"url":"git+https://github.com/airbnb/ts-migrate.git","type":"git","directory":"packages/ts-migrate-server"},"_npmVersion":"lerna/3.22.1/node@v18.20.4+x64 (linux)","description":"A package that contains the main migration runner and spawns a TSServer process","directories":{"test":"tests"},"_nodeVersion":"18.20.4","dependencies":{"pretty-ms":"^7.0.1","updatable-log":"^0.2.0","@ts-morph/bootstrap":"^0.16.0"},"_hasShrinkwrap":false,"peerDependencies":{"typescript":">4.0"},"_npmOperationalInternal":{"tmp":"tmp/ts-migrate-server_0.1.36_1737037422914_0.4645288772001186","host":"s3://npm-registry-packages-npm-production"}},"0.1.38":{"name":"@brightlocaldev/ts-migrate-server","version":"0.1.38","keywords":["ts-migrate","ts-migrate-server","typescript","migration","codemod"],"license":"MIT","_id":"@brightlocaldev/ts-migrate-server@0.1.38","maintainers":[{"name":"patryk-w-bl","email":"patryk.wojtowicz@brightlocal.com"},{"name":"eugeny_brightlocal","email":"eugeny@brightlocal.com"}],"contributors":[{"url":"https://github.com/brieb","name":"Brie Bunge"},{"url":"https://github.com/Rudeg","name":"Sergii Rudenko"},{"url":"https://github.com/elliotsa","name":"Elliot Sachs"},{"url":"https://github.com/jjjjhhhhhh","name":"John Haytko"},{"url":"https://github.com/lencioni","name":"Joe Lencioni"}],"homepage":"https://github.com/airbnb/ts-migrate#readme","bugs":{"url":"https://github.com/airbnb/ts-migrate/issues"},"dist":{"shasum":"9c1c6161a1947eb9701b6d3382e1dbbf11b68415","tarball":"https://registry.npmjs.org/@brightlocaldev/ts-migrate-server/-/ts-migrate-server-0.1.38.tgz","fileCount":21,"integrity":"sha512-I23taeAIvT1toJSozvvhS0sStXdb/afUPCMmZI6UWYV2F3oqej0P9IfPyRW7OYtCsFs33tTtc9XpwXvPMiJ+KQ==","signatures":[{"sig":"MEUCIFtfGQlofl3ssr2dkM3DSYB+cBbRoM0wYly3FdTZ4HSQAiEA0Ro98tFGASvQbx68TOEtjZysy/mGAwJQWDcLTIL+4r8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20012},"main":"build/src/index.js","gitHead":"d5cc878764825ac643754e4eda023c83e2e86b78","scripts":{"lint":"eslint . --ext=.js,.jsx,.ts,.tsx --ignore-path ../../.eslintignore","test":"jest --config jest-config.json","build":"tsc -p tsconfig.json","clean":"rm -rf build","prepublish":"yarn build"},"_npmUser":{"name":"patryk-w-bl","email":"patryk.wojtowicz@brightlocal.com"},"repository":{"url":"git+https://github.com/airbnb/ts-migrate.git","type":"git","directory":"packages/ts-migrate-server"},"_npmVersion":"lerna/3.22.1/node@v18.20.4+x64 (linux)","description":"A package that contains the main migration runner and spawns a TSServer process","directories":{"test":"tests"},"_nodeVersion":"18.20.4","dependencies":{"pretty-ms":"^7.0.1","typescript":"4.7.2","updatable-log":"^0.2.0","@ts-morph/bootstrap":"^0.16.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ts-migrate-server_0.1.38_1737037634459_0.7027671338386765","host":"s3://npm-registry-packages-npm-production"}},"0.1.40":{"name":"@brightlocaldev/ts-migrate-server","version":"0.1.40","description":"A package that contains the main migration runner and spawns a TSServer process","main":"build/src/index.js","directories":{"test":"tests"},"keywords":["ts-migrate","ts-migrate-server","typescript","migration","codemod"],"repository":{"type":"git","url":"git+https://github.com/brightlocal/ts-migrate.git","directory":"packages/ts-migrate-server"},"bugs":{"url":"https://github.com/brightlocal/ts-migrate/issues"},"scripts":{"test":"jest --config jest-config.json","lint":"eslint . --ext=.js,.jsx,.ts,.tsx --ignore-path ../../.eslintignore","build":"tsc -p tsconfig.json","prepublish":"yarn build","clean":"rm -rf build"},"contributors":[{"name":"Brie Bunge","url":"https://github.com/brieb"},{"name":"Sergii Rudenko","url":"https://github.com/Rudeg"},{"name":"Elliot Sachs","url":"https://github.com/elliotsa"},{"name":"John Haytko","url":"https://github.com/jjjjhhhhhh"},{"name":"Joe Lencioni","url":"https://github.com/lencioni"}],"homepage":"https://github.com/brightlocal/ts-migrate#readme","license":"MIT","dependencies":{"@ts-morph/bootstrap":"^0.16.0","pretty-ms":"^7.0.1","typescript":"4.7.2","updatable-log":"^0.2.0"},"gitHead":"744cd7a9668929fdf024e467081128124c244db9","_id":"@brightlocaldev/ts-migrate-server@0.1.40","_nodeVersion":"18.20.4","_npmVersion":"lerna/3.22.1/node@v18.20.4+x64 (linux)","dist":{"integrity":"sha512-q7WK534yC5ymzGTp4QdyGVBK41eJIyI7wI1raCy73/1wUcMtNkzJBbzfCtJVRVSC5F24qzLv72tP9sXno7YYLw==","shasum":"4181c98aa7b53ade741d5ceb89ffa805b94e9655","tarball":"https://registry.npmjs.org/@brightlocaldev/ts-migrate-server/-/ts-migrate-server-0.1.40.tgz","fileCount":21,"unpackedSize":20051,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAYZPcRSa+5aF8hchDFJmTkRduCthJmd7eadIcWcXwSQIgVtosM6tQiudgshvEFRG6zdfD9ItHlTE2fYVOh0mU+lQ="}]},"_npmUser":{"name":"patryk-w-bl","email":"patryk.wojtowicz@brightlocal.com"},"maintainers":[{"name":"patryk-w-bl","email":"patryk.wojtowicz@brightlocal.com"},{"name":"eugeny_brightlocal","email":"eugeny@brightlocal.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ts-migrate-server_0.1.40_1737462099486_0.9858520036148524"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-16T14:23:42.791Z","modified":"2025-01-21T12:21:39.917Z","0.1.36":"2025-01-16T14:23:43.165Z","0.1.38":"2025-01-16T14:27:14.658Z","0.1.40":"2025-01-21T12:21:39.695Z"},"bugs":{"url":"https://github.com/brightlocal/ts-migrate/issues"},"license":"MIT","homepage":"https://github.com/brightlocal/ts-migrate#readme","keywords":["ts-migrate","ts-migrate-server","typescript","migration","codemod"],"repository":{"type":"git","url":"git+https://github.com/brightlocal/ts-migrate.git","directory":"packages/ts-migrate-server"},"description":"A package that contains the main migration runner and spawns a TSServer process","contributors":[{"name":"Brie Bunge","url":"https://github.com/brieb"},{"name":"Sergii Rudenko","url":"https://github.com/Rudeg"},{"name":"Elliot Sachs","url":"https://github.com/elliotsa"},{"name":"John Haytko","url":"https://github.com/jjjjhhhhhh"},{"name":"Joe Lencioni","url":"https://github.com/lencioni"}],"maintainers":[{"name":"patryk-w-bl","email":"patryk.wojtowicz@brightlocal.com"},{"name":"eugeny_brightlocal","email":"eugeny@brightlocal.com"}],"readme":"# ts-migrate-server\n\n`ts-migrate-server` is a package that contains the main migration runner.\n`ts-migrate-server` is designed around Airbnb projects. Use at your own risk.\n\n# Install\n\nInstall _ts-migrate-server_ using [npm](https://www.npmjs.com):\n\n`npm install --save-dev ts-migrate-server`\n\nOr [yarn](https://yarnpkg.com):\n\n`yarn add --dev ts-migrate-server`\n\n# Usage\n\n```typescript\nimport path from \"path\";\nimport { migrate, MigrateConfig } from \"ts-migrate-server\";\n\n// get input files folder\nconst inputDir = path.resolve(__dirname, \"input\");\n\n// create new migration config. You can add your plugins there\nconst config = new MigrateConfig();\n\n// run migration\nconst exitCode = await migrate({ rootDir: inputDir, config });\n\nprocess.exit(exitCode);\n```\n\n# FAQ\n\n> How can I use _ts-migrate-server_?\n\nYou can take a look at [basic usage example](https://github.com/brightlocal/ts-migrate/blob/master/packages/ts-migrate-example/src/index.ts#L2).\nAnother resource would be [source code](https://github.com/brightlocal/ts-migrate/blob/master/packages/ts-migrate/cli.ts) of the _ts-migrate_ cli.\n\n> Why not just use codemods?\n\nYou actually can use [codemods](https://github.com/brightlocal/ts-migrate/blob/master/packages/ts-migrate-plugins/src/plugins/declare-missing-class-properties.ts) in your plugins!\n_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.\n\n> I have an issue with a specific plugin, what should I do?\n\nPlease file an [issue here](https://github.com/brightlocal/ts-migrate/issues/new).\n\n# Contributing\n\nSee the [Contributors Guide](https://github.com/brightlocal/ts-migrate/blob/master/CONTRIBUTING.md).\n","readmeFilename":"README.md"}