{"_id":"@belgie/vite","_rev":"4-59531483063cd38028b2cb8575ad6404","name":"@belgie/vite","dist-tags":{"latest":"0.41.1"},"versions":{"0.1.0":{"name":"@belgie/vite","version":"0.1.0","author":{"name":"Matt LeMay","email":"mplemay@users.noreply.github.com"},"license":"MIT","_id":"@belgie/vite@0.1.0","maintainers":[{"name":"mplemay97","email":"mplemay97@gmail.com"}],"homepage":"https://github.com/mplemay/belgie#readme","bugs":{"url":"https://github.com/mplemay/belgie/issues"},"bin":{"vite":"dist/cli.js"},"dist":{"shasum":"4bdf10d0f9f358dc0160e1b00ebcdaac45f8f409","tarball":"https://registry.npmjs.org/@belgie/vite/-/vite-0.1.0.tgz","fileCount":10,"integrity":"sha512-9n3WwmMnt6U5+eHPvpvG0oe9KjNKE2X/86OjnAO8uo93t30K9R4UPQ3qcF5j0jYPeeVXBet6Aw5yXLlRlHKVzw==","signatures":[{"sig":"MEUCIQDaCfWlkrSUx0u3OqLGmZ8CN76/+7s0ETzdBah0CbCDyAIgIZnIXxQ66eNW3NHy67EppbTmxf4lfpFMYitoRmxwdL0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92432},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"gitHead":"680129106048786a9652356ee1c750ad92592e5c","private":false,"scripts":{"dev":"tsdown --watch","test":"npm run build && npm run test:coverage && npm run check","build":"tsdown","check":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm test"},"_npmUser":{"name":"mplemay97","email":"mplemay97@gmail.com"},"repository":{"url":"git+https://github.com/mplemay/belgie.git","type":"git","directory":"packages/vite"},"workspaces":[],"_npmVersion":"11.18.0","description":"Vite plugin and CLI for Belgie React widgets.","directories":{},"_nodeVersion":"26.6.0","dependencies":{"vite":"^8.2.0","react":"19.2.8","react-dom":"19.2.8","@vitejs/plugin-react":"6.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14","vitest":"^4.1.10","publint":"^0.3.22","typescript":"^7.0.2","@types/node":"26.1.2","@types/react":"19.2.18","@types/react-dom":"19.2.4","@vitest/coverage-v8":"^4.1.10","@arethetypeswrong/core":"^0.18.5"},"peerDependencies":{"vite":">=8"},"_npmOperationalInternal":{"tmp":"tmp/vite_0.1.0_1785973002343_0.08256904725338021","host":"s3://npm-registry-packages-npm-production"}},"0.40.0":{"name":"@belgie/vite","version":"0.40.0","author":{"name":"Matt LeMay","email":"mplemay@users.noreply.github.com"},"license":"MIT","_id":"@belgie/vite@0.40.0","maintainers":[{"name":"mplemay97","email":"mplemay97@gmail.com"}],"homepage":"https://github.com/mplemay/belgie#readme","bugs":{"url":"https://github.com/mplemay/belgie/issues"},"bin":{"vite":"dist/cli.js"},"dist":{"shasum":"f94cda704c9c25b3f9ee3b0e5dcb9b26ff0e9afc","tarball":"https://registry.npmjs.org/@belgie/vite/-/vite-0.40.0.tgz","fileCount":10,"integrity":"sha512-6JamY78KLKh+0iDzxsI3M4XpWV1jHyn63uqQHCyJcdXTqFLtwDuzW+VMi8Xh0yaaSf3DEXZQ0RM9vTi0KP/WAA==","signatures":[{"sig":"MEQCICpTli1hfvys33qPLeXX4fRLKqEaQoNrhy8aMjPuwuKkAiAwj9rkckVl6peekxSn1raI4zTK7vjxj4za/ZayONjvOw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@belgie%2fvite@0.40.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":92433},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"gitHead":"6e7da3ce1efbdc90667157b22f2788471e1de3f8","private":false,"scripts":{"dev":"tsdown --watch","test":"npm run build && npm run test:coverage && npm run check","build":"tsdown","check":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:db96ddeb-d20d-433e-a999-d9961145e17d"}},"repository":{"url":"git+https://github.com/mplemay/belgie.git","type":"git","directory":"packages/vite"},"workspaces":[],"_npmVersion":"11.16.0","description":"Vite plugin and CLI for Belgie React widgets.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"vite":"^8.2.0","react":"19.2.8","react-dom":"19.2.8","@vitejs/plugin-react":"6.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14","vitest":"^4.1.10","publint":"^0.3.22","typescript":"^7.0.2","@types/node":"26.1.2","@types/react":"19.2.18","@types/react-dom":"19.2.4","@vitest/coverage-v8":"^4.1.10","@arethetypeswrong/core":"^0.18.5"},"peerDependencies":{"vite":">=8"},"_npmOperationalInternal":{"tmp":"tmp/vite_0.40.0_1785976402524_0.2772003043012192","host":"s3://npm-registry-packages-npm-production"}},"0.41.0":{"name":"@belgie/vite","version":"0.41.0","author":{"name":"Matt LeMay","email":"mplemay@users.noreply.github.com"},"license":"MIT","_id":"@belgie/vite@0.41.0","maintainers":[{"name":"mplemay97","email":"mplemay97@gmail.com"}],"homepage":"https://github.com/mplemay/belgie#readme","bugs":{"url":"https://github.com/mplemay/belgie/issues"},"bin":{"vite":"dist/cli.js"},"dist":{"shasum":"a3cc5b85e8d119e40267607be27b89229f5ad9f8","tarball":"https://registry.npmjs.org/@belgie/vite/-/vite-0.41.0.tgz","fileCount":10,"integrity":"sha512-tuHCblBnXwSypMD1MdFEHGM0fH631cGg0XczZdGGeXSOiUIm8zpQuGGuj4Gn4ZYMiDoZrUwZF2NB6LPd7o1DPw==","signatures":[{"sig":"MEUCIQCVLOU3rgp1SHtM1Dk6/T9MgE80UTwFPu1yuoZVpplQewIgUKQs0mIsqWfp/uzbDiHa9c+q30FPwV2XAAwC8Lzq5LU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@belgie%2fvite@0.41.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":92307},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"gitHead":"aa9ee87b5910fe5972ec432e9e960b124404ced5","private":false,"scripts":{"dev":"tsdown --watch","test":"npm run build && npm run test:coverage && npm run check","build":"tsdown","check":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:db96ddeb-d20d-433e-a999-d9961145e17d"}},"repository":{"url":"git+https://github.com/mplemay/belgie.git","type":"git","directory":"packages/vite"},"workspaces":[],"_npmVersion":"11.16.0","description":"Vite plugin and CLI for Belgie React widgets.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"vite":"^8.2.0","react":"19.2.8","react-dom":"19.2.8","@vitejs/plugin-react":"6.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14","vitest":"^4.1.10","publint":"^0.3.22","typescript":"^7.0.2","@types/node":"26.1.2","@types/react":"19.2.18","@types/react-dom":"19.2.4","@vitest/coverage-v8":"^4.1.10","@arethetypeswrong/core":"^0.18.5"},"peerDependencies":{"vite":">=8"},"_npmOperationalInternal":{"tmp":"tmp/vite_0.41.0_1786488515108_0.6049588831391319","host":"s3://npm-registry-packages-npm-production"}},"0.41.1":{"author":{"name":"Matt LeMay","email":"mplemay@users.noreply.github.com"},"bin":{"vite":"dist/cli.js"},"bugs":{"url":"https://github.com/mplemay/belgie/issues"},"dependencies":{"@vitejs/plugin-react":"6.0.5","react":"19.2.8","react-dom":"19.2.8","vite":"^8.2.0"},"description":"Vite plugin and CLI for Belgie React widgets.","devDependencies":{"@arethetypeswrong/core":"^0.18.5","@types/node":"26.1.2","@types/react":"19.2.18","@types/react-dom":"19.2.4","@vitest/coverage-v8":"^4.1.10","publint":"^0.3.22","tsdown":"^0.22.14","typescript":"^7.0.2","vitest":"^4.1.10"},"engines":{"node":">=22"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"homepage":"https://github.com/mplemay/belgie#readme","license":"MIT","main":"./dist/index.js","module":"./dist/index.js","name":"@belgie/vite","peerDependencies":{"vite":">=8"},"private":false,"publishConfig":{"access":"public"},"repository":{"directory":"packages/vite","type":"git","url":"git+https://github.com/mplemay/belgie.git"},"scripts":{"build":"tsdown","check":"tsc --noEmit","dev":"tsdown --watch","prepublishOnly":"npm test","test":"npm run build && npm run test:coverage && npm run check","test:coverage":"vitest run --coverage","test:watch":"vitest"},"type":"module","types":"./dist/index.d.ts","version":"0.41.1","workspaces":[],"gitHead":"2e99461329c5c1db94929670d714598ca0e30340","_id":"@belgie/vite@0.41.1","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-FWYvmDxSuaV8sl3OurezS+S3G9r/8UEdW5C49kdB1Igh64wQ9z9XlFG4nZZRKKuBsO56Q557QLj8FomvEVo62A==","shasum":"0367335862c206e91daec90a55bc52872c1a55ad","tarball":"https://registry.npmjs.org/@belgie/vite/-/vite-0.41.1.tgz","fileCount":10,"unpackedSize":92307,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@belgie%2fvite@0.41.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDEQ8STQqdbgS2nYgH3s1bR3ynEH5Hym1ht+KK9Zhpv+AIgKvQ3KioqK8HFDJLYDy74XqUqrvLkzFp4Jz7s1BS3BsA="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:db96ddeb-d20d-433e-a999-d9961145e17d"}},"directories":{},"maintainers":[{"name":"mplemay97","email":"mplemay97@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vite_0.41.1_1786570189819_0.5994891790027292"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-05T23:36:42.126Z","modified":"2026-08-12T21:29:50.308Z","0.1.0":"2026-08-05T23:36:42.475Z","0.40.0":"2026-08-06T00:33:22.672Z","0.41.0":"2026-08-11T22:48:35.281Z","0.41.1":"2026-08-12T21:29:49.972Z"},"bugs":{"url":"https://github.com/mplemay/belgie/issues"},"author":{"name":"Matt LeMay","email":"mplemay@users.noreply.github.com"},"license":"MIT","homepage":"https://github.com/mplemay/belgie#readme","repository":{"directory":"packages/vite","type":"git","url":"git+https://github.com/mplemay/belgie.git"},"description":"Vite plugin and CLI for Belgie React widgets.","maintainers":[{"name":"mplemay97","email":"mplemay97@gmail.com"}],"readme":"# `@belgie/vite`\n\nVite plugin and CLI for Belgie React widgets.\n\n## Project mode\n\n```ts\nimport { belgie } from \"@belgie/vite\";\nimport { defineConfig } from \"vite\";\n\nexport default defineConfig({\n  plugins: [belgie({ srcDir: \"src/widgets\" })],\n});\n```\n\nWidgets live at `<srcDir>/<name>/widget.tsx` and must default-export a React component.\n\n## CLI mode\n\n```bash\n@belgie/vite --widget path/to/widget.tsx --out widget.html --plugins npm:@tailwindcss/vite@latest\n```\n\nFrom Belgie Python:\n\n```python\nawait runtime(Command(\"@belgie/vite\"))(\n    \"--widget\",\n    \"path/to/widget.tsx\",\n    \"--out\",\n    \"widget.html\",\n    \"--plugins\",\n    \"npm:@tailwindcss/vite@latest\",\n)\n```\n","readmeFilename":"README.md"}