{"id":49598,"library":"uni-migration","title":"uni-migration","description":"A CLI tool for migrating WeChat Mini Program projects to uni-app framework. Current version 0.0.2, with no established release cadence. It converts WeChat app project directories into uni-app structure. Differentiator: handles WeChat-specific syntax and file formats. Minimal documentation and early stage.","status":"active","version":"0.0.2","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install uni-migration","lang":"bash","label":"npm"},{"cmd":"yarn add uni-migration","lang":"bash","label":"yarn"},{"cmd":"pnpm add uni-migration","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Installed globally or used via npx. Not importable as a module.","wrong":"npm install uni-migration --save && require('uni-migration')","symbol":"CLI","correct":"npx uni-migration [options] [weapp_dir] output_dir"}],"quickstart":{"code":"# Install globally\nnpm install -g uni-migration\n\n# Run migration\nuni-migration --help\n\n# Example: migrate a WeChat project named 'my-weapp' to output 'my-uniapp'\nuni-migration ./my-weapp ./my-uniapp","lang":"javascript","description":"Shows installation and basic CLI usage for migrating a WeChat Mini Program project to uni-app."},"warnings":[{"fix":"Pin version or expect instability.","message":"Package is in early development (v0.0.2). May have breaking changes with each release.","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"Use 'npm install -g uni-migration' or 'npx uni-migration'.","message":"Requires global installation or npx; not a Node.js module to require.","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"Check source code for details if needed.","message":"Limited documentation; error messages may be unclear. Only supports WeChat Mini Program to uni-app conversion.","severity":"gotcha","affected_versions":">=0.0.1"}],"env_vars":null,"search_vec":"'0.0.2':20 'app':16,29,35 'cadenc':25 'cli':5 'convert':27 'current':18 'differenti':37 'directori':31 'document':47 'earli':49 'establish':23 'file':44 'format':45 'framework':17 'handl':38 'javascript':51 'migrat':3,8 'mini':10 'minim':46 'program':11 'project':12,30 'releas':24 'specif':41 'stage':50 'structur':36 'syntax':42 'tool':6 'uni':2,15,34 'uni-app':14,33 'uni-migr':1 'version':19 'wechat':9,28,40 'wechat-specif':39","created_at":"2026-06-07T17:02:35.905577+00:00","updated_at":"2026-06-07T17:02:35.905577+00:00","problems":[{"fix":"Run 'npm install -g uni-migration' or use 'npx uni-migration'.","cause":"Not installed globally or not using npx.","error":"Command 'uni-migration' not found"},{"fix":"Check the path to the WeChat Mini Program directory.","cause":"Provided WeChat app directory does not exist.","error":"ENOENT: no such file or directory, scandir 'weapp_dir'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"uni-migration","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}