{"id":22877,"library":"vite-plugin-tanstack-start-zephyr","title":"Vite Plugin TanStack Start Zephyr","description":"Vite plugin (v1.0.2) integrating TanStack Start with Zephyr cloud deployment platform. Enables deploying TanStack Start applications to Zephyr with minimal configuration. Requires vite 7 or 8, and @tanstack/react-start 1+. Ships TypeScript types. Active development with frequent security patches and feature releases.","status":"active","version":"1.0.2","language":"javascript","source_language":"en","source_url":"https://github.com/ZephyrCloudIO/zephyr-packages","tags":["javascript","vite-plugin","vite","tanstack-start","zephyr","deploy","typescript"],"install":[{"cmd":"npm install vite-plugin-tanstack-start-zephyr","lang":"bash","label":"npm"},{"cmd":"yarn add vite-plugin-tanstack-start-zephyr","lang":"bash","label":"yarn"},{"cmd":"pnpm add vite-plugin-tanstack-start-zephyr","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency, required by plugin","package":"vite","optional":false},{"reason":"peer dependency, target framework","package":"@tanstack/react-start","optional":false}],"imports":[{"note":"ESM-only; CommonJS require will fail.","wrong":"const zephyrPlugin = require('vite-plugin-tanstack-start-zephyr')","symbol":"default","correct":"import zephyrPlugin from 'vite-plugin-tanstack-start-zephyr'"}],"quickstart":{"code":"// vite.config.ts\nimport { defineConfig } from 'vite';\nimport zephyrPlugin from 'vite-plugin-tanstack-start-zephyr';\n\nexport default defineConfig({\n  plugins: [\n    zephyrPlugin()\n  ]\n});","lang":"typescript","description":"Minimal setup to add Zephyr deployment support to a TanStack Start project."},"warnings":[{"fix":"Upgrade vite to 7.x or 8.x.","message":"Requires vite ^7.0.0 || ^8.0.0. Not compatible with older vite versions.","severity":"breaking","affected_versions":"<=7.0.0"},{"fix":"Upgrade @tanstack/react-start to 1.x.","message":"Requires @tanstack/react-start ^1.0.0. Not compatible with v0.x.","severity":"breaking","affected_versions":"<1.0.0"},{"fix":"Use ESM `import` syntax.","message":"Use of CommonJS `require` will cause a runtime error.","severity":"deprecated","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Switch to ESM: add \"type\": \"module\" in package.json or use .mjs extension, then use `import`.","cause":"Using CommonJS `require` to import an ESM-only package.","error":"ReferenceError: require is not defined"},{"fix":"Invoke the default export: `zephyrPlugin()` in plugins array.","cause":"Calling `zephyrPlugin` instead of using it as a factory: `zephyrPlugin()`","error":"TypeError: plugin is not a function"},{"fix":"Install @tanstack/react-start@^1.0.0.","cause":"Peer dependency not met.","error":"Error: The plugin 'vite-plugin-tanstack-start-zephyr' requires @tanstack/react-start@^1.0.0"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}