{"id":26505,"library":"transvueify","title":"Transvueify","description":"Transvueify is a .vue to .vue transpiler that compiles JavaScript features inside Vue single-file components (SFCs) down to simpler JS using plugins. Version 0.0.6 is in early development with no stable release cadence; the project appears unmaintained since 2020. Unlike full-featured build tools (e.g., Vite, Vue CLI), Transvueify does not bundle – it only transforms .vue files in place, making it useful as a pre-step or for distributing modular Vue components. Its key differentiator is plugin-based transpilation targeting only the <script> block.","status":"abandoned","version":"0.0.6","language":"javascript","source_language":"en","source_url":"https://github.com/trescenzi/transvueify","tags":["javascript"],"install":[{"cmd":"npm install transvueify","lang":"bash","label":"npm"},{"cmd":"yarn add transvueify","lang":"bash","label":"yarn"},{"cmd":"pnpm add transvueify","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Used for file globbing when resolving input patterns","package":"glob","optional":false},{"reason":"Used for command-line argument parsing","package":"commander","optional":false}],"imports":[{"note":"ESM-only package; CommonJS require will fail.","wrong":"const transvueify = require('transvueify')","symbol":"transvueify","correct":"import transvueify from 'transvueify'"},{"note":"Type-only export available for TypeScript users.","symbol":"TranspilerResult","correct":"import { TranspilerResult } from 'transvueify'"},{"note":"Config interface for programmatic usage.","symbol":"Config","correct":"import type { Config } from 'transvueify'"}],"quickstart":{"code":"import transvueify from 'transvueify';\nimport path from 'path';\n\nconst config = {\n  input: 'src/**/*.vue',\n  output: 'dist/',\n  plugins: []\n};\n\ntransvueify(config)\n  .then(results => {\n    results.forEach(r => console.log(`Transpiled: ${r.filePath}`));\n  })\n  .catch(err => console.error(err));","lang":"typescript","description":"Demonstrates programmatic usage: import the default export, define config with input/output glob patterns, and handle the result promise."},"warnings":[{"fix":"Upgrade Node.js to version 12 or higher.","message":"Requires Node.js >=12.0; may fail on older versions.","severity":"breaking","affected_versions":"all"},{"fix":"Use this tool only as a pre-transpiler for script blocks; handle templates and styles separately.","message":"Output files have .vue extension but are plain JS components (no template/style blocks transpiled).","severity":"gotcha","affected_versions":"all"},{"fix":"Consider alternative tools like Vite or Vue CLI for production use.","message":"Project has had no commits since 2020 and is effectively abandoned.","severity":"deprecated","affected_versions":"all"},{"fix":"Be explicit in glob patterns (e.g., src/**/*.vue) to avoid including unintended directories.","message":"Glob patterns must match .vue files exactly; no automatic exclusion of node_modules.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"npm install transvueify; use ES import syntax.","cause":"Package not installed or CommonJS require used with ESM-only package.","error":"Error: Cannot find module 'transvueify'"},{"fix":"Use import transvueify from 'transvueify' as shown.","cause":"Default import used incorrectly; package exports a function directly.","error":"TypeError: transvueify is not a function"},{"fix":"Verify the input pattern is correct and directories exist.","cause":"Glob pattern has no matches or input directory missing.","error":"Error: ENOENT: no such file or directory, glob 'src/**/*.vue'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}