{"_id":"@accessitech/vite-ssg","_rev":"18-17fc9596bccd1495021c191b9c789008","name":"@accessitech/vite-ssg","dist-tags":{"latest":"0.3.4"},"versions":{"0.2.0":{"name":"@accessitech/vite-ssg","version":"0.2.0","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.0","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"dist":{"shasum":"b92800072fac63ef66323835987f8a47ea8eeb21","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.0.tgz","fileCount":20,"integrity":"sha512-/HCxrys5HJab9aTaNX426ioSfjlgX69y3b+BjPTWz6fiAgVU80hH4aPhKWj0LL6SC03BBKWtlZNDJIZO2ggwxA==","signatures":[{"sig":"MEQCIHT/gGc+dNzvzmXY/TxPxrbTzZ/PBAMR2N/xKZEOtxX9AiA/K2fZ7wg32iErO72s8WgbIYOz8VuX0j2niz2sBEeIwA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70053},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"v20.19.4"},"gitHead":"5d026c21516f1655f103dab964c54ec638314fda","scripts":{"tsc":"tsc","test":"vitest","build":"tsc","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.0_1755622307810_0.16430475374303066","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@accessitech/vite-ssg","version":"0.2.1","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.1","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"dist/index.js"},"dist":{"shasum":"04564d9a55415d9a78fe03359431562df1aeaffd","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.1.tgz","fileCount":20,"integrity":"sha512-iDEX0l1cPpGzQxz5KQUf5WS336APXJDSKYu/cJX6F3prnoyBuW3R2iW5e6FMvvRdKHGYAaoKtVkRknt2x9zYmw==","signatures":[{"sig":"MEUCIDQEQrciInD8VsWWoa+LXPsfJ+K0kH2JeXMSnU8yfpXhAiEAm00tHqIp5L7LS4tsq1CTIXIfQ2tXWcvt2OrJhGwLNa0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70103},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"v20.19.4"},"gitHead":"032989bdc6f2d73fe1e8e873c894b230dcb3261a","scripts":{"tsc":"tsc","test":"vitest","build":"tsc","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.1_1755623080015_0.35845003870127545","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@accessitech/vite-ssg","version":"0.2.2","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.2","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"dist/index.js"},"dist":{"shasum":"7c191e72b2af21c354848fd59aa65d59822521fe","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.2.tgz","fileCount":36,"integrity":"sha512-x+H3qTi6uiRpILWzNxaEH98mVISRJO034H6IJjD0N17SHE1ebDcI+PsY8cqGFUbFG5TAhKoSmCCamJTqZRTIAg==","signatures":[{"sig":"MEQCIAW2ubkdY2lABNx82SpC46yjhRomKHey95XdtEMGWyfeAiAYlcVEaaTWFXn7JEf4PXSdTXQVfc3AAF7ffYfk01Q23g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":98386},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"v20.19.4"},"gitHead":"5f34cb88056a0afea65da3bbe1738a2405302148","scripts":{"tsc":"tsc","test":"vitest","build":"tsc","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.2_1755623503732_0.09361759049068508","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@accessitech/vite-ssg","version":"0.2.3","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.3","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"dist/index.js"},"dist":{"shasum":"44675336aaa6f0957f7fd674ae290382a91e1e84","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.3.tgz","fileCount":36,"integrity":"sha512-x+aG4E5gyoSr/Wc5QhzCMY3YCGgEoFMAgasTKMpBbizEvEvzF5nO5++xeOglvSCCFrz57DxPS52TO4MQM0Xftg==","signatures":[{"sig":"MEUCIQCbtrgrsZkusmj/6uUkFRjL/L7B9KyQlaTYMd6lbGbqmAIgIadNuOyh5PNGRgW3Kcpgs8XN9GUytjsJC1zm54jAXpU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":98310},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"v20.19.4"},"gitHead":"7e2704e722d0d886c180ab123d331389b2be33a2","scripts":{"tsc":"tsc","test":"vitest","build":"tsc","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.3_1755623835641_0.5812147740194598","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@accessitech/vite-ssg","version":"0.2.4","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.4","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"dist/src/cli.js"},"dist":{"shasum":"d5f62d2b1684ba63fcad59208f4ae2e988fa90f1","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.4.tgz","fileCount":36,"integrity":"sha512-PmfNVlqWbnmibmscT73u3ky21oF62vjHhialcRyymWHcC75elzjbjVRnVqI/aTkXYgnVdat68tGO1w6wFfBExw==","signatures":[{"sig":"MEUCIQDMj2hM1CB7yohSkhSr+Pq+dYOC6gn1cZWN3SV+GxglTQIgTj7t978cLSPa3rvKTAxWufcqZYzf1l5fTQAX8L1Y8jc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":98312},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"v20.19.4"},"gitHead":"90e5832b29bf859921a4354439236d28a6a2cfdb","scripts":{"tsc":"tsc","test":"vitest","build":"tsc","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.4_1755624276807_0.7834124729366629","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@accessitech/vite-ssg","version":"0.2.5","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.5","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"dist/src/cli.js"},"dist":{"shasum":"bd4082c143eaeae0cffe52d68e26e0c3ccc44d29","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.5.tgz","fileCount":24,"integrity":"sha512-6l3WQsa3l0HcF2MPKJ1CutkmOHZ8NAD+XmoqVgSJ6IDlBzhuGUJv0xKnQYsYNr3tgzyH5IQVPc8y5C5Bi3VUiQ==","signatures":[{"sig":"MEUCIQCVOnMQ1wX3nEt+9G3MLWGsBFJWwcy3zA2YNBvpUtFs1QIgJ7V2hBfzuPJgQaJI1/EqLfbjJDfFt9ZNiu/nvX46sfk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72215},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"v20.19.4"},"gitHead":"ccdf40370fa954ebdda8acd7e064351eddbdfd18","scripts":{"tsc":"tsc","test":"vitest","build":"rm -rf dist && tsc","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.5_1755624815805_0.8764156205062026","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@accessitech/vite-ssg","version":"0.2.6","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.6","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"dist/cli.js"},"dist":{"shasum":"b5fe952e0cf3f1f4e83f41de0180fff067c4a543","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.6.tgz","fileCount":24,"integrity":"sha512-XqHbGDKWeINLO9wmcBE1yx7vk0vD7kIFnxvFqaQObz8no9QgIC+xDENAruzRukJow9RzVN2nKn462AdXNUh0BQ==","signatures":[{"sig":"MEUCIQDnRc9sWTiMufkNIwMECgauKJIL7dAtm6rP0iZanF6qKQIgEW+kifKbYV2UoFRHAkqMS3WCzUMoA10wp/1C3SYxXys=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72190},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"v20.19.4"},"gitHead":"32bf65d5e3c86496fa1c6adda6880e9a6533e92b","scripts":{"tsc":"tsc","test":"vitest","build":"rm -rf dist && tsc","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.6_1755626013461_0.8250915292562417","host":"s3://npm-registry-packages-npm-production"}},"0.2.7":{"name":"@accessitech/vite-ssg","version":"0.2.7","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.7","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"dist/cli.js"},"dist":{"shasum":"62f140d36d80e2fdcde9141d1def3573a13c299e","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.7.tgz","fileCount":24,"integrity":"sha512-2Vp6pF9U5ZupcFTudwiX44qOh7O3TrPJYMrQlxW8oTq+MqnL6vO3sai2Re0vsHHRotEpzj7xkpPUHbbTY9wOPg==","signatures":[{"sig":"MEUCIQCT245Vrd5KwBYGf7ehN6lm/nK0YJG6/80TiRLRyw0a4AIgXuJ8I/BHeUwr8UAijS4jjnRVFPyB32mzrIUTRdRFHmY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72083},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"v20.19.4"},"gitHead":"86d66076ea495cf87f6d45d58e15704df6fd8172","scripts":{"tsc":"tsc","test":"vitest","build":"rm -rf dist && tsc","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.7_1755626309304_0.9038390489620542","host":"s3://npm-registry-packages-npm-production"}},"0.2.8":{"name":"@accessitech/vite-ssg","version":"0.2.8","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.8","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"dist/cli.js"},"dist":{"shasum":"f21d553f38c7393968fafc531216d810f00a6bb1","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.8.tgz","fileCount":24,"integrity":"sha512-9QAykrMca/SAVWjOYszE/VqbDX+RztcwQDSuw4kb4YvDhc5p8bodESNbCuQ0zlFmu9Ki/oVwVQ3YwjELFLvTyw==","signatures":[{"sig":"MEUCIQDCPTXQV0lFfEcKHu6qd2DRPAT4zxq7giQ6c4Srdby/oAIgEV7JobNRf/0chBqBEU/pWeE4H6cUCLOR+o+kBfnMWg0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73032},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"v20.19.4"},"gitHead":"740b643466e34d06833781aa84cd380b06695d4a","scripts":{"tsc":"tsc","test":"vitest","build":"rm -rf dist && tsc","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.8_1755626752095_0.16050971561873006","host":"s3://npm-registry-packages-npm-production"}},"0.2.9":{"name":"@accessitech/vite-ssg","version":"0.2.9","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.9","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"dist/cli.js"},"dist":{"shasum":"19545ffe10f94c3f8eecda07994388f861d587f1","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.9.tgz","fileCount":24,"integrity":"sha512-KkD9Mfq8hPnAD/NU5wYV5LloFzAdCnQXcER+La7vuwPfCrYO6Jaw/t/ZV8W0TMmDpvBp4XjuWLuhy7fU5fMRdQ==","signatures":[{"sig":"MEUCIDFzSi0PG6R/r2JFSo2/5Vh0/lhbvrijI058FtiUT+tqAiEAndxJXPdHMsxxQKUTWN8rK79+SyInSTOnt9yjXBOT88g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73366},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"v20.19.4"},"gitHead":"bae69f29bfff458289224bf452b09796939e6318","scripts":{"tsc":"tsc","test":"vitest","build":"rm -rf dist && tsc","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.9_1755626916271_0.6631835992229704","host":"s3://npm-registry-packages-npm-production"}},"0.2.10":{"name":"@accessitech/vite-ssg","version":"0.2.10","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.10","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"dist/cli.js"},"dist":{"shasum":"5aff0807f232f17b2d2e60e68684d622e911d9ec","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.10.tgz","fileCount":24,"integrity":"sha512-CMJ+3n1BgELkEnkVnmqLLzHXppy+0hWhTKconoWFKcbG9FN1CUVlmP4u0eLJhDCPtP+fXc43q5MN6Ku8JBlYqg==","signatures":[{"sig":"MEQCIB9iD187iNLjHUEt909TzCky4xECvdczIxhWNUK6IGjSAiAqG3X85uH0QwZAjGkt3XbMaM6DdyEFPYBJzTZ5yHT8og==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73801},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"v20.19.4"},"gitHead":"0ed71e75b42eb7821e21b3d4770071d5ae33dfa7","scripts":{"tsc":"tsc","test":"vitest","build":"rm -rf dist && tsc","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.10_1755627138285_0.5361070059876436","host":"s3://npm-registry-packages-npm-production"}},"0.2.11":{"name":"@accessitech/vite-ssg","version":"0.2.11","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.11","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"dist/cli.js"},"dist":{"shasum":"e3aa089abdf838e1338997eadaba1ca1e0c698d0","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.11.tgz","fileCount":24,"integrity":"sha512-m6mLKLZqSVEBZVTHq6KHYFlRXsxj2Frmlqq57Sv6ce91f4un73rxH5GDhC7dQXYDYEN381/ZXMk7QLp4PcOBsA==","signatures":[{"sig":"MEYCIQCzvKx9JibbcsNEj1kMLWiGSs2r1sEQUUueQfaGqdf42gIhAORdWfui3kpzBpniXzxdFnWnrOirKk0rhYMh0CLLLhV4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75234},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"v20.19.4"},"gitHead":"57a834c155cf0ef780246023f5e0c04826a73965","scripts":{"tsc":"tsc","test":"vitest","build":"rm -rf dist && tsc","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.11_1755627295050_0.8755590688944863","host":"s3://npm-registry-packages-npm-production"}},"0.2.12":{"name":"@accessitech/vite-ssg","version":"0.2.12","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.12","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"src/cli.ts"},"dist":{"shasum":"c8b45e94229e72305d18fc3935ae0b4d33cfbeef","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.12.tgz","fileCount":15,"integrity":"sha512-qAEGgymPPARr0mzHlH116BNOtzslti1jkpMrd6wFDVZ/SfI55cajwHoFKMcJF2UFJOIrjdup4W//PEKlCoj4GQ==","signatures":[{"sig":"MEUCIQCHPNhdUou57rbvHS2Y2Oo7V0tBVy5Y/hM3RsvGWqcZiAIgYw/tf3SKNZmyvwhf7AIH/RfqReqNtOKt3g8KMwIydnk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52268},"main":"src/index.ts","types":"src/index.ts","engines":{"node":"v20.19.4"},"exports":{".":{"types":"./src/index.ts","import":"./src/index.ts","default":"./src/index.ts","require":"./src/index.ts","typescript":"./src/index.ts"}},"gitHead":"de4ab16c4a08b02b93d24a71a6239f8e6051b389","scripts":{"tsc":"tsc","test":"vitest","build":"rm -rf dist && tsc && chmod +x dist/cli.js","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"tsx":"^4.20.4","ts-node":"^10.9.2"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"devDependencies":{"sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.12_1755633833668_0.4294094912842661","host":"s3://npm-registry-packages-npm-production"}},"0.2.13":{"name":"@accessitech/vite-ssg","version":"0.2.13","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.13","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"src/cli.ts"},"dist":{"shasum":"e3082aeab4a9605c1207e25c0ce424aa3080ec30","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.13.tgz","fileCount":15,"integrity":"sha512-jiDEjdtSX5Wwlm7DkSevKCbzMrrzlcSqt/H41pIVBneXX5Vc91h51/wugl3sjsryTDCB8IRfUJqIoa9j/4gMdw==","signatures":[{"sig":"MEQCIHYx8lrcsIqD9qAjS/PhWaQF712sqYXZVvWFBXh0FGKlAiBxU1yZnAnVKVtI8jKKHoZenahLMTk8rCVOY0gtM5JSRg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75830},"main":"src/index.ts","types":"src/index.ts","engines":{"node":"v20.19.4"},"exports":{".":{"types":"./src/index.ts","import":"./src/index.ts","default":"./src/index.ts","require":"./src/index.ts","typescript":"./src/index.ts"}},"gitHead":"e42917b61a83a089d7c9e0d98f570bd1a4bc0d88","scripts":{"tsc":"tsc","test":"vitest","build":"rm -rf dist && tsc && chmod +x dist/cli.js","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"tsx":"^4.20.4","ts-node":"^10.9.2"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"devDependencies":{"sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.13_1755646671995_0.009941169606299649","host":"s3://npm-registry-packages-npm-production"}},"0.2.14":{"name":"@accessitech/vite-ssg","version":"0.2.14","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.2.14","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"src/cli.ts"},"dist":{"shasum":"c9221001ab2aae77bb536eb594f293cb1bd66988","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.2.14.tgz","fileCount":15,"integrity":"sha512-3iSrx5R3xfoROSn3oHNxLc5hm87QgEjC9TLgpmeV57toTGBqLYnZmy9nnfZ2ZrCneLjffEcru+wauGkjV1JZBg==","signatures":[{"sig":"MEUCIE+v8p+VhYmxxW91okE/QpJBRyLz4uwkgfBcxDaA4wBWAiEAvkF5Oft1E3c8PjHoO8C5jfmdzrtF98bZKTpKDdEqCjY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75830},"main":"src/index.ts","types":"src/index.ts","engines":{"node":"v20.19.4"},"exports":{".":{"types":"./src/index.ts","import":"./src/index.ts","default":"./src/index.ts","require":"./src/index.ts","typescript":"./src/index.ts"}},"gitHead":"935ede4208dab1808dee1d93e076634a676d380f","scripts":{"tsc":"tsc","test":"vitest","build":"rm -rf dist && tsc && chmod +x dist/cli.js","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"tsx":"^4.20.4","ts-node":"^10.9.2"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"devDependencies":{"sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.2.14_1755646695329_0.26348730117316754","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@accessitech/vite-ssg","version":"0.3.2","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.3.2","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"src/cli.ts"},"dist":{"shasum":"8eadc331cdc3ab269df83dd8e69725b8200dfbba","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.3.2.tgz","fileCount":15,"integrity":"sha512-Nq4yrdhBk9mTTMnilo9XpTv5W08jjojku+pjth/j9qWbD1W2azPqJwjkP775wbsQ1EZmcuChOg33lQhw2jAfAQ==","signatures":[{"sig":"MEUCIQDYkiei7AXKlgH8LBpStKPwqcjfeQBvy+RDsk4dm6k6OwIgby1q8+gkQ0LohUOJ59ZPuZz8eaURZypUffQas0p+PfQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":77558},"main":"src/index.ts","types":"src/index.ts","engines":{"node":"v20.19.4"},"exports":{".":{"types":"./src/index.ts","import":"./src/index.ts","default":"./src/index.ts","require":"./src/index.ts","typescript":"./src/index.ts"}},"gitHead":"5c695afcf91052c155fd60089f99db2cf1a0ca8d","scripts":{"tsc":"tsc","test":"vitest","build":"rm -rf dist && tsc && chmod +x dist/cli.js","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"tsx":"^4.20.4","ts-node":"^10.9.2"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"devDependencies":{"sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.3.2_1755651726114_0.048578263150526046","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@accessitech/vite-ssg","version":"0.3.3","keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","_id":"@accessitech/vite-ssg@0.3.3","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"bin":{"vite-ssg":"src/cli.ts"},"dist":{"shasum":"0b87a40b9a4b3a44d87f9fb1e1a5ed391a3e0060","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.3.3.tgz","fileCount":15,"integrity":"sha512-b5LiNBR6jejxM6ZruLrltO5Xb4eEXql8TDdNQNYwQTA0g5Y3rue9pOiD4tgTbHewaklvSEavjoews7YR5T88+Q==","signatures":[{"sig":"MEQCIAIpx3XrjPZt42qKSznP3Txh3TuQ5+/BgTQj8SFjPs5oAiA2YBLDh6fyTTsu1GtjqGhGwrvpxh6vgDVGCFju5EpUFQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78009},"main":"src/index.ts","types":"src/index.ts","engines":{"node":"v20.19.4"},"exports":{".":{"types":"./src/index.ts","import":"./src/index.ts","default":"./src/index.ts","require":"./src/index.ts","typescript":"./src/index.ts"}},"gitHead":"8708017305d370ccb9a27b3e8d64f4115ea89f75","scripts":{"tsc":"tsc","test":"vitest","build":"rm -rf dist && tsc && chmod +x dist/cli.js","test:ui":"vitest --ui","test:run":"vitest run"},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"_npmVersion":"10.8.2","description":"A framework agnostic static site generator (ssg) using Vite.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"tsx":"^4.20.4","ts-node":"^10.9.2"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"devDependencies":{"sass":"1.32.13","vite":"^6.2.5","jsdom":"^26.1.0","vitest":"^3.2.4","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.14.0","fast-xml-parser":"^5.2.0","@vitejs/plugin-react-swc":"^3.8.1","@testing-library/jest-dom":"^6.7.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-ssg_0.3.3_1755798169259_0.01972853899800131","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@accessitech/vite-ssg","version":"0.3.4","description":"A framework agnostic static site generator (ssg) using Vite.","main":"src/index.ts","types":"src/index.ts","typesVersions":{"*":{"*":["src/*"]}},"exports":{".":{"typescript":"./src/index.ts","types":"./src/index.ts","import":"./src/index.ts","require":"./src/index.ts","default":"./src/index.ts"}},"bin":{"vite-ssg":"src/cli.ts"},"engines":{"node":"v20.19.4"},"scripts":{"build":"rm -rf dist && tsc && chmod +x dist/cli.js","tsc":"tsc","test":"vitest","test:ui":"vitest --ui","test:run":"vitest run"},"keywords":["static","site","generator","ssg","vite"],"author":{"name":"AccessiTech LLC"},"license":"MIT","devDependencies":{"@testing-library/jest-dom":"^6.7.0","@types/node":"^22.14.0","@vitejs/plugin-react-swc":"^3.8.1","@vitest/ui":"^3.2.4","fast-xml-parser":"^5.2.0","jsdom":"^26.1.0","sass":"1.32.13","typescript":"^5.8.3","vite":"^6.2.5","vitest":"^3.2.4"},"dependencies":{"ts-node":"^10.9.2","tsx":"^4.20.4"},"_id":"@accessitech/vite-ssg@0.3.4","gitHead":"bbe64969fdeb8445035a5078ecaedfe12caa938f","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-U7jxRojfufUYjGQmOaf+reP1Atngo3OR88g9eZ4FbRE8IqY7coRJeTDU+dMi8bvxf7/ZHajj07eogEJzNrkJlA==","shasum":"81493bebd394ecfb315c6c74e3d48db146475699","tarball":"https://registry.npmjs.org/@accessitech/vite-ssg/-/vite-ssg-0.3.4.tgz","fileCount":15,"unpackedSize":77995,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCC213l2HHEBSziP8lYxdVsJQASyhPyztIwpbV4VxmvFAIgbwWZAvOLDyoEziuX7N/aGfLBEoACsa8+mboH4dfCMfw="}]},"_npmUser":{"name":"accessitech","email":"accessiT3ch@gmail.com"},"directories":{},"maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vite-ssg_0.3.4_1757547393322_0.19850261925306212"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-19T16:51:47.702Z","modified":"2025-09-10T23:36:33.789Z","0.2.0":"2025-08-19T16:51:47.983Z","0.2.1":"2025-08-19T17:04:40.189Z","0.2.2":"2025-08-19T17:11:43.931Z","0.2.3":"2025-08-19T17:17:15.856Z","0.2.4":"2025-08-19T17:24:36.988Z","0.2.5":"2025-08-19T17:33:36.028Z","0.2.6":"2025-08-19T17:53:33.715Z","0.2.7":"2025-08-19T17:58:29.484Z","0.2.8":"2025-08-19T18:05:52.281Z","0.2.9":"2025-08-19T18:08:36.525Z","0.2.10":"2025-08-19T18:12:18.497Z","0.2.11":"2025-08-19T18:14:55.276Z","0.2.12":"2025-08-19T20:03:53.911Z","0.2.13":"2025-08-19T23:37:52.182Z","0.2.14":"2025-08-19T23:38:15.527Z","0.3.2":"2025-08-20T01:02:06.381Z","0.3.3":"2025-08-21T17:42:49.446Z","0.3.4":"2025-09-10T23:36:33.515Z"},"author":{"name":"AccessiTech LLC"},"license":"MIT","keywords":["static","site","generator","ssg","vite"],"description":"A framework agnostic static site generator (ssg) using Vite.","maintainers":[{"name":"accessitech","email":"accessiT3ch@gmail.com"}],"readme":"# @accessitech/vite-ssg\n\nA framework agnostic Static Site Generator (SSG) using Vite.\n\nCommon server side rendering (SSR) like Next.js, Nuxt.js, and others are great, but they are tied to their respective, often proprietary, frameworks. This project aims to provide a framework agnostic SSG that can be used with any framework that can be rendered to HTML.\n\nServerless and static hosting options like GitHub Pages, GoogleSites, and others lack the ability to serve your multi-page app with route specific metadata. This project aims to provide a solution to that problem by generating static HTML files that are optimized for search engines.\n\nThis project is built on top of Vite, a fast build tool that provides a great developer experience. It leverages Vite's fast build times and SSR capabilities to generate static HTML files that are optimized for search engines.\n\n## Features\n\n- **Framework agnostic**: Works with any framework that can be rendered to HTML.\n- **Fast**: Built on top of Vite, it leverages Vite's fast build times and Server Side Rendering (SSR).\n- **SEO friendly**: Generates static HTML files that are optimized for search engines.\n- **Easy to use**: Simple API and configuration.\n- **Customizable**: Easily extendable with plugins and custom configurations.\n\n### What the Script Does\n\n1. **Fetches the RSS feed**: The script fetches the RSS feed from the specified URL and parses it to extract the items.\n2. **Preloads the data**: The script preloads the data needed for rendering the app. This is done by dispatching the data to your store.\n3. **Copies the build index.html**: The script copies the build index.html file at the destination directory, and uses that as a base to generate the static HTML files.\n4. **Renders the app**: The script renders the app using the `render` function. This function takes a path as an argument and returns the rendered HTML string.\n5. **Merges the metadata**: The script renders the metadata using the `renderMetadata` function, and merges it with existing metadata from the index.html file.\n6. **Writes the static HTML files**: The script writes the resulting content to new static HTML files at the destination directory.\n\n## Getting Started\n\nTo get started, you need to install the package and its dependencies. You can do this using npm or yarn.\n\n### Installation\n\n```bash\nnpm install -D @accessitech/vite-ssg tsx\n\n# or\n\nyarn add -D @accessitech/vite-ssg tsx\n```\n\n### TypeScript Source Integration (Advanced)\n\nFor TypeScript projects that want to work directly with the source TypeScript files (for better debugging, source maps, and development experience), this package exposes its TypeScript source files through the `exports.typescript` field.\n\nModern TypeScript tools and bundlers (like Vite, webpack 5+, etc.) will automatically prefer the TypeScript source when available. This allows you to:\n\n- Get better source maps that point to the original TypeScript files\n- Debug directly in the source TypeScript code\n- Get full IntelliSense and type information\n- Have your bundler handle the compilation optimally\n\nTo use JavaScript config files in ES module projects (which is recommended for compatibility), rename your config file:\n```bash\n# Instead of ssg.config.ts, use:\nmv ssg.config.ts ssg.config.js\n```\n\n### Basic Usage\n\nTo use the package, you need to create a `ssg.config.ts` file in the root of your project. This file will contain the configuration for the SSG.\n\n#### ssg.config.ts\n\n```typescript\n//  ssg.config.ts\nimport { ConfigProps, defineConfig } from \"@accessitech/vite-ssg\";\n\nexport const config: ConfigProps = defineConfig({\n  // ...\n});\n\n```\n\n#### src/server.tsx\n\nThe main script will use your server file specified by `config.ssrEntry` in the `ssg.config.ts` file. This file should export:\n\n1. a `render` function that takes a path as an argument and returns the rendered HTML string.\n2. a `renderMetadata` function that takes a data object as an argument and returns the rendered metadata string.\n3. a `preload` function loads your data and dispatches it to your store.\n4. a `fetchMetaData` function that takes a URL as an argument and returns the associated metadata and file content.\n5. any other business logic you need to fetch and parse your metadata.\n\n**IMPORTANT: ReactDOMServer is imported dynamically to avoid SSR issues with Vite.**\n\n```typescript\n// src/server.tsx\nimport App from './App/App';\nimport { YourDataProps, YourMetadataComponent } from './Your/MetaData/Component';\n\nexport const preload = async (data:any) => {\n  // fetch data needed for rendering\n  // customize as needed to populate your store\n  store.dispatch({ type: 'YOUR_ACTION', payload: data });\n};\n\nexport const render = async (path:string):string => {\n  // customize as needed to render your app\n  const ReactDOMServer = (await import('react-dom/server')).default;\n  return ReactDOMServer.renderToString(<App path={path} />);\n};\n\nexport const renderMetadata = async (data:YourDataProps):string => {\n  // customize as needed to render your metadata\n  const ReactDOMServer = (await import('react-dom/server')).default;\n  return ReactDOMServer.renderToString(<YourMetadataComponent {...data} />);\n};\n\nexport const fetchMetaData = async (url:string):\n  Promise<{ metaData: { [key: string]: string }, fileContent: string }>\n=> {\n  // fetch your metadata from the url\n  const fileContent:string = await businessLogicToGetFileContent(url);\n  const metaData: {[key:string]: string} = await businessLogicToParseMetaData(fileContent);\n  \n  // IMPORTANT: The function must return an object with a 'metaData' property\n  // The metaData object should contain standard metadata fields like:\n  // - title: Page title\n  // - description: Page description  \n  // - url: Canonical URL (optional, will be auto-generated if not provided)\n  // - image: Social media image URL\n  // - type: Open Graph type (article, website, etc.)\n  \n  return { metaData, fileContent };\n};\n```\n\n#### package.json\n\nAdd a script to your `package.json` file to run the SSG. This script will use the `tsx` command to run the `generate` function from the package.\n\n```json\n{\n  ...\n  \"scripts\": {\n    ...\n    \"ssg\": \"tsx ./node_modules/@accessitech/vite-ssg/generate\"\n  }\n  ...\n}\n```\n\n### Running the SSG\n\nTo run the SSG, you can use the following command:\n\n```bash\nnpm run ssg\n\n# or\n\nyarn ssg\n```\n\n## Configuration\n\nConfiguration can be done in a `ssg.config.ts`, `ssg.config.js`, or `ssg.config.json` file, or by passing a `ConfigProps` object directly to the `generate` function. Configuration files should export a `ConfigProps` object.\n\n```typescript\n// @accessitech/vite-ssg/index.ts\nimport { UserConfig, ServerOptions } from \"vite\";\n...\n\n// ViteServerProps is a subset of UserConfig from Vite\nexport interface ViteServerProps extends UserConfig {}\n\n// ConfigProps is the configuration API for @accessitech/vite-ssg\nexport interface ConfigProps {\n  // The entry server file containing the render function\n  // Note: Don't include the leading slash\n  ssrEntry: string;\n\n  // The source URL for the RSS feed\n  // Note: Don't include the leading\n  urlSrc: string;\n\n  // The destination directory for the generated static files\n  // This should be your build folder\n  // Note: Don't include the leading or trailing slash\n  dest: string;\n\n  // The paths that don't require preloading data\n  // Note: DO use the leading slash\n  // and DO NOT use the trailing slash\n  // e.g. \"/blog\" instead of \"blog\" or \"/blog/\"\n  staticPaths: string[];\n\n  // The metadata associated with the static paths\n  // Note: DO use the leading slash\n  // and DO NOT use the trailing slash\n  staticMetaData: string[];\n  \n  // A function that takes an array of items and returns an array of paths\n  // Note: DO use the leading slash\n  // and DO NOT use the trailing slash\n  pathsBuilder: (items: any[]) => string[];\n\n  // The base URL for the production environment\n  // Note: don't include the trailing slash\n  productionUrlBase: string;\n\n  // The Vite server configuration\n  viteServer: ViteServerProps;\n\n  // Whether to replace the index.html file in the destination directory\n  // with the generated static index.html file\n  replaceIndexHtml?: boolean;\n}\n\n// The default configuration file\nexport const CONFIG: ConfigProps = {\n  ssrEntry: \"src/server.tsx\",\n  urlSrc: \"public/rss.xml\",\n  dest: \"docs\",\n  staticPaths: [\"/\", \"/blog\"],\n  staticMetaData: [\"src/App/meta.ts\", \"src/pages/Blog/meta.ts\"],\n  productionUrlBase: \"https://accessi.tech\",\n  pathsBuilder: (items) =>\n    items.map((item) => {\n      const { link } = item;\n      const id = link.split(\"/\").pop()?.replace(\".md\", \"\") || \"\";\n      return `/blog/${id}`;\n    }),\n  viteServer: {\n    root: path.resolve(process.cwd()),\n    plugins: [reactPlugin()], // Add your Vite plugins here\n    server: { middlewareMode: true, port: 3000, ssr: true } as ServerOptions,\n    appType: \"custom\",\n  },\n};\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","readmeFilename":"README.md"}