{"_id":"@cogita/plugin-seo","_rev":"8-6ccc9d43b254ddf9de590bccfe14928a","name":"@cogita/plugin-seo","dist-tags":{"latest":"1.3.7"},"versions":{"1.1.0":{"name":"@cogita/plugin-seo","version":"1.1.0","keywords":["cogita","plugin","seo","open-graph","json-ld","rspress"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-seo@1.1.0","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/seo#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"7a9c40af8719ae9217a1cda16122209e288f264e","tarball":"https://registry.npmjs.org/@cogita/plugin-seo/-/plugin-seo-1.1.0.tgz","fileCount":13,"integrity":"sha512-PGMw/XIL9IShU7steJ2mzQ85dcAvrQxl+Y+CGwqdZNl+bBt9E7qF4+uSihwUXmKkF4PqsZQSayNlUPUYx9tgIw==","signatures":[{"sig":"MEUCIGyeVXVZKuqBSvRwBFKkhIwp72db2wNniVkk20WfsKxhAiEAwpLLPkksiGdC2S1cC1MB0QVjNIMji0J8ig1xBD38zRM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25368},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-seo-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"rslib build -w","build":"rslib build","clean":"rm -rf dist"},"_npmUser":{"name":"wu9o","email":"wu9ors@gmail.com"},"_resolved":"/tmp/5c69e88ed8392fdb8c5d7da38d6aea59/cogita-plugin-seo-1.1.0.tgz","_integrity":"sha512-PGMw/XIL9IShU7steJ2mzQ85dcAvrQxl+Y+CGwqdZNl+bBt9E7qF4+uSihwUXmKkF4PqsZQSayNlUPUYx9tgIw==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/seo"},"_npmVersion":"10.8.2","description":"为 Cogita 生成页面级 SEO 元数据和结构化数据。","directories":{},"_nodeVersion":"18.20.8","dependencies":{"glob":"^11.0.0","@rspress/core":"^1.45.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.4","@rslib/core":"0.11.2","@types/node":"^18.11.17","@cogita/shared":"0.2.0","@rspress/shared":"^1.45.1","rsbuild-plugin-publint":"^0.3.3","@cogita/plugin-posts-frontmatter":"0.1.0"},"peerDependencies":{"@cogita/plugin-posts-frontmatter":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-seo_1.1.0_1787300291731_0.960996420404542","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@cogita/plugin-seo","version":"1.2.0","keywords":["cogita","plugin","seo","open-graph","json-ld","rspress"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-seo@1.2.0","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/seo#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"f3117d33b229a3c28e7bebc14d882cf66c178dec","tarball":"https://registry.npmjs.org/@cogita/plugin-seo/-/plugin-seo-1.2.0.tgz","fileCount":13,"integrity":"sha512-EX8oTAETaSq1Ik0K27aejehV5iJPyiliol6mHF+b+Q3Hlj0ABLjtHag6eSHOK++TddExYc770Cc9RdhdD8Idpw==","signatures":[{"sig":"MEQCIARzqOL1pkzNAA6RN8lm8vq9cFaDrB7b80HzTRT8ihsWAiAi5El2ACRQrk/yngtS/RWzR/pii5s+JERL2uDxHVJfPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26500},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-seo-1.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"rslib build -w","build":"rslib build","clean":"rm -rf dist"},"_npmUser":{"name":"wu9o","email":"wu9ors@gmail.com"},"_resolved":"/tmp/9c7a84dccf307e5967e9270ba501a1e6/cogita-plugin-seo-1.2.0.tgz","_integrity":"sha512-EX8oTAETaSq1Ik0K27aejehV5iJPyiliol6mHF+b+Q3Hlj0ABLjtHag6eSHOK++TddExYc770Cc9RdhdD8Idpw==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/seo"},"_npmVersion":"10.8.2","description":"为 Cogita 生成页面级 SEO 元数据和结构化数据。","directories":{},"_nodeVersion":"18.20.8","dependencies":{"glob":"^11.0.0","@rspress/core":"^1.45.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.4","@rslib/core":"0.11.2","@types/node":"^18.11.17","@cogita/shared":"0.3.0","@rspress/shared":"^1.45.1","rsbuild-plugin-publint":"^0.3.3","@cogita/plugin-posts-frontmatter":"0.1.0"},"peerDependencies":{"@cogita/plugin-posts-frontmatter":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-seo_1.2.0_1787305644309_0.907885594899424","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@cogita/plugin-seo","version":"1.3.0","keywords":["cogita","plugin","seo","open-graph","json-ld","rspress"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-seo@1.3.0","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/seo#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"aaad106a203f7fcb4eb9455a9f932f35ce45f035","tarball":"https://registry.npmjs.org/@cogita/plugin-seo/-/plugin-seo-1.3.0.tgz","fileCount":13,"integrity":"sha512-TSVZw6q1alsItEQojZvVlH4tlNENp6Mjthl+1fwAQKpJzYjdZjn+OFBTUr+cbB3+Be/4SHczrRqwj5WOFgAHGA==","signatures":[{"sig":"MEUCIQCwqWDHVyDc8EYTlbV4yHJGXbSTk/R/XmfnB8Tv94FULQIgXY+wuHfjPjtuLgaVs2u8v6uV/jdE53f+v2Oncfx+78U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27727},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-seo-1.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"rslib build -w","build":"rslib build","clean":"rm -rf dist"},"_npmUser":{"name":"wu9o","email":"wu9ors@gmail.com"},"_resolved":"/tmp/bfaa0f5acc8f1362a87b0920eaed6b0f/cogita-plugin-seo-1.3.0.tgz","_integrity":"sha512-TSVZw6q1alsItEQojZvVlH4tlNENp6Mjthl+1fwAQKpJzYjdZjn+OFBTUr+cbB3+Be/4SHczrRqwj5WOFgAHGA==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/seo"},"_npmVersion":"10.8.2","description":"为 Cogita 生成页面级 SEO 元数据和结构化数据。","directories":{},"_nodeVersion":"18.20.8","dependencies":{"glob":"^11.0.0","@rspress/core":"^1.45.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.4","@rslib/core":"0.11.2","@types/node":"^18.11.17","@cogita/shared":"0.4.0","@rspress/shared":"^1.45.1","rsbuild-plugin-publint":"^0.3.3","@cogita/plugin-posts-frontmatter":"0.1.0"},"peerDependencies":{"@cogita/plugin-posts-frontmatter":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-seo_1.3.0_1787397365620_0.6761546726396261","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@cogita/plugin-seo","version":"1.3.1","keywords":["cogita","plugin","seo","open-graph","json-ld","rspress"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-seo@1.3.1","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/seo#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"a931465e530bae4e639d8e619ee657c534b5b263","tarball":"https://registry.npmjs.org/@cogita/plugin-seo/-/plugin-seo-1.3.1.tgz","fileCount":13,"integrity":"sha512-F6As0jEsvhIz+2Tql1mAkNMHjwrC/S5g6rrRV1yWeepdowRgX8kRwUbgFc5Y2G5kWiDgumUGz98Mk1cznMcURw==","signatures":[{"sig":"MEYCIQCLwh6T3k4/udSYJhxIrvjmcEui2fFOeqakyq3ICFJpRAIhAPMfR98I3VhQhytf+ZEnUQ/GaNf0PHHs5K6aw01bTU1+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27727},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-seo-1.3.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"rslib build -w","build":"rslib build","clean":"rm -rf dist"},"_npmUser":{"name":"wu9o","email":"wu9ors@gmail.com"},"_resolved":"/tmp/4478c7b0e9493f35958ea37ec15ce8ea/cogita-plugin-seo-1.3.1.tgz","_integrity":"sha512-F6As0jEsvhIz+2Tql1mAkNMHjwrC/S5g6rrRV1yWeepdowRgX8kRwUbgFc5Y2G5kWiDgumUGz98Mk1cznMcURw==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/seo"},"_npmVersion":"10.8.2","description":"为 Cogita 生成页面级 SEO 元数据和结构化数据。","directories":{},"_nodeVersion":"18.20.8","dependencies":{"glob":"^11.0.0","@rspress/core":"^1.45.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.4","@rslib/core":"0.11.2","@types/node":"^18.11.17","@cogita/shared":"0.8.0","@rspress/shared":"^1.45.1","rsbuild-plugin-publint":"^0.3.3","@cogita/plugin-posts-frontmatter":"0.1.1"},"peerDependencies":{"@cogita/plugin-posts-frontmatter":"0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/plugin-seo_1.3.1_1787553762581_0.34032758042203426","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@cogita/plugin-seo","version":"1.3.2","keywords":["cogita","plugin","seo","open-graph","json-ld","rspress"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-seo@1.3.2","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/seo#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"74860e70de595ac0ec715e0e0f038bb0cc10ffff","tarball":"https://registry.npmjs.org/@cogita/plugin-seo/-/plugin-seo-1.3.2.tgz","fileCount":13,"integrity":"sha512-pKeyV4/OaBIsA0pKUto+7vV+i680Mi+Yhr7gUJAbciwrZma1fwsnLENWSMSDiZcE6+TzUByUfq5Q41zSKd8I1Q==","signatures":[{"sig":"MEUCIAnbuVuUCv4wQOe5JsfqbisBnG9pEvn9254fgVMQyfSxAiEA+Pv4JPKEyEbtO7O3ekyyjbUgfRgDYAtS9ni5gDg1i1Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28657},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-seo-1.3.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"rslib build -w","build":"rslib build","clean":"rm -rf dist"},"_npmUser":{"name":"wu9o","email":"wu9ors@gmail.com"},"_resolved":"/tmp/cff6ff32a7c543d3be8b6fee39b24887/cogita-plugin-seo-1.3.2.tgz","_integrity":"sha512-pKeyV4/OaBIsA0pKUto+7vV+i680Mi+Yhr7gUJAbciwrZma1fwsnLENWSMSDiZcE6+TzUByUfq5Q41zSKd8I1Q==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/seo"},"_npmVersion":"10.8.2","description":"为 Cogita 生成页面级 SEO 元数据和结构化数据。","directories":{},"_nodeVersion":"18.20.8","dependencies":{"glob":"^11.0.0","@rspress/core":"^1.45.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.4","@rslib/core":"0.11.2","@types/node":"^18.11.17","@cogita/shared":"0.9.0","@rspress/shared":"^1.45.1","rsbuild-plugin-publint":"^0.3.3","@cogita/plugin-posts-frontmatter":"0.1.1"},"peerDependencies":{"@cogita/plugin-posts-frontmatter":"0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/plugin-seo_1.3.2_1787566705098_0.8363995013439061","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@cogita/plugin-seo","version":"1.3.3","keywords":["cogita","plugin","seo","open-graph","json-ld","rspress"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-seo@1.3.3","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/seo#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"c495bf08fa5fcb2a88cd9ad2fabe716181ac320a","tarball":"https://registry.npmjs.org/@cogita/plugin-seo/-/plugin-seo-1.3.3.tgz","fileCount":13,"integrity":"sha512-qPpsgILZs+1Hj3ly4q/QWIQZZAkCgBRCufs569RGE3tPhQ8SWOeA0Np27fWMDPaC2B72UkEysRg3uXVxq6946g==","signatures":[{"sig":"MEQCIEm5pd+1VC0FwQUQJoHXKYpMkk/Z8FdX7g9D/HoP81pnAiAtXSdIXXjxPmCUR+9NsUMkq8QHznlp5DWJY0d78ercMw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28742},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-seo-1.3.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"rslib build -w","build":"rslib build","clean":"rm -rf dist"},"_npmUser":{"name":"wu9o","email":"wu9ors@gmail.com"},"_resolved":"/tmp/a3fc30570b7d6ca08a5402c971b87228/cogita-plugin-seo-1.3.3.tgz","_integrity":"sha512-qPpsgILZs+1Hj3ly4q/QWIQZZAkCgBRCufs569RGE3tPhQ8SWOeA0Np27fWMDPaC2B72UkEysRg3uXVxq6946g==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/seo"},"_npmVersion":"10.8.2","description":"为 Cogita 生成页面级 SEO 元数据和结构化数据。","directories":{},"_nodeVersion":"18.20.8","dependencies":{"glob":"^11.0.0","@rspress/core":"^1.45.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.4","@rslib/core":"0.11.2","@types/node":"^18.11.17","@cogita/shared":"0.10.0","@rspress/shared":"^1.45.1","rsbuild-plugin-publint":"^0.3.3","@cogita/plugin-posts-frontmatter":"0.1.2"},"peerDependencies":{"@cogita/plugin-posts-frontmatter":"0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/plugin-seo_1.3.3_1787639091592_0.5586215509957662","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"@cogita/plugin-seo","version":"1.3.4","keywords":["cogita","plugin","seo","open-graph","json-ld","rspress"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-seo@1.3.4","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/seo#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"cc993b232ff52062c00d64adeaf035385f082cfa","tarball":"https://registry.npmjs.org/@cogita/plugin-seo/-/plugin-seo-1.3.4.tgz","fileCount":13,"integrity":"sha512-QKd070Gb4fYuiGqXqocoeEsEe3CbVm3VpJ8Khs/T9eJcMS/ONqA9VU+ndL9NsMnT5SMqvSPr+4IREUc9180XzA==","signatures":[{"sig":"MEYCIQCnZIDKOTuemuspX3V2eI75oxFEhEvHEUg1AbZtIZQ/AwIhAKgpknwQTa5TJWtUt3V1rONSWi44eFVdhdTS25WMxSZp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28141},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-seo-1.3.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"rslib build -w","build":"rslib build","clean":"rm -rf dist"},"_npmUser":{"name":"wu9o","email":"wu9ors@gmail.com"},"_resolved":"/tmp/9a21099ff30eb7cc359a83a7596d266b/cogita-plugin-seo-1.3.4.tgz","_integrity":"sha512-QKd070Gb4fYuiGqXqocoeEsEe3CbVm3VpJ8Khs/T9eJcMS/ONqA9VU+ndL9NsMnT5SMqvSPr+4IREUc9180XzA==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/seo"},"_npmVersion":"10.8.2","description":"为 Cogita 生成页面级 SEO 元数据和结构化数据。","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@rspress/core":"^1.45.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.4","@rslib/core":"0.11.2","@types/node":"^18.11.17","@cogita/shared":"0.11.0","@rspress/shared":"^1.45.1","rsbuild-plugin-publint":"^0.3.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-seo_1.3.4_1787724970043_0.30325001609161784","host":"s3://npm-registry-packages-npm-production"}},"1.3.7":{"name":"@cogita/plugin-seo","version":"1.3.7","description":"为 Cogita 生成页面级 SEO 元数据和结构化数据。","keywords":["cogita","plugin","seo","open-graph","json-ld","rspress"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/wu9o/cogita.git","directory":"plugins/seo"},"bugs":{"url":"https://github.com/wu9o/cogita/issues"},"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/seo#readme","type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"dependencies":{"@rspress/core":"^1.45.1","@cogita/shared":"0.13.0"},"devDependencies":{"@rspress/shared":"^1.45.1","@rslib/core":"0.11.2","@types/node":"^18.11.17","rsbuild-plugin-publint":"^0.3.3","typescript":"^5.0.4"},"scripts":{"build":"rslib build","dev":"rslib build -w","clean":"rm -rf dist","test":"pnpm build && node --test tests/*.test.mjs"},"_id":"@cogita/plugin-seo@1.3.7","_integrity":"sha512-1xO4tYSIOyWsy0BQvnJ0qNmJpaLZbgDfPOqYCX5UgGc8vHes5ZrfVj3aJjJfDTC08fMthv1+bvYatGsBVNnwtA==","_resolved":"/tmp/e55b330f804684f9fd0ebaf52b8f0434/cogita-plugin-seo-1.3.7.tgz","_from":"file:cogita-plugin-seo-1.3.7.tgz","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-1xO4tYSIOyWsy0BQvnJ0qNmJpaLZbgDfPOqYCX5UgGc8vHes5ZrfVj3aJjJfDTC08fMthv1+bvYatGsBVNnwtA==","shasum":"a57620dbc9190af9f1dd3f42d6b140b56bf7ea66","tarball":"https://registry.npmjs.org/@cogita/plugin-seo/-/plugin-seo-1.3.7.tgz","fileCount":13,"unpackedSize":28818,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDKdAFmf5akgcDdtOXhvhhWMHP3TATwfBLpZ30Be4HkRQIgXHiQKJm+BEJ6cr8+raKze8INzhP76AfI0HHn5PtW6yA="}]},"_npmUser":{"name":"wu9o","email":"wu9ors@gmail.com"},"directories":{},"maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-seo_1.3.7_1788404989253_0.8962008607592957"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-21T08:18:11.493Z","modified":"2026-09-03T03:09:49.566Z","1.1.0":"2026-08-21T08:18:11.864Z","1.2.0":"2026-08-21T09:47:24.435Z","1.3.0":"2026-08-22T11:16:05.748Z","1.3.1":"2026-08-24T06:42:42.705Z","1.3.2":"2026-08-24T10:18:25.268Z","1.3.3":"2026-08-25T06:24:51.744Z","1.3.4":"2026-08-26T06:16:10.182Z","1.3.7":"2026-09-03T03:09:49.385Z"},"bugs":{"url":"https://github.com/wu9o/cogita/issues"},"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","homepage":"https://github.com/wu9o/cogita/tree/main/plugins/seo#readme","keywords":["cogita","plugin","seo","open-graph","json-ld","rspress"],"repository":{"type":"git","url":"git+https://github.com/wu9o/cogita.git","directory":"plugins/seo"},"description":"为 Cogita 生成页面级 SEO 元数据和结构化数据。","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"readme":"# @cogita/plugin-seo\n\n为 Cogita 生成页面级 SEO 元数据、Open Graph、Twitter Card 和 JSON-LD 结构化数据。\n\n该插件声明依赖 `content.posts` 能力，通过 Core 注入的共享内容索引生成文章级元数据，不直接依赖文章扫描插件。\n\n## 配置\n\n```ts\nexport default defineConfig({\n  site: {\n    title: '我的博客',\n    description: '记录技术和思考',\n    url: 'https://example.com/blog/',\n    base: '/blog/',\n  },\n  seo: {\n    enabled: true,\n    defaultImage: '/images/social-card.png',\n    defaultImageAlt: '站点默认分享图片',\n    author: '作者名称',\n    twitterCard: 'summary_large_image',\n    twitterSite: '@example',\n    twitterCreator: '@author',\n    includeJsonLd: true,\n    audit: {\n      enabled: true,\n      reportPath: 'seo-report.json',\n      failOnError: false,\n    },\n  },\n});\n```\n\n文章可以通过 `seo` frontmatter 覆盖默认值：\n\n```yaml\nseo:\n  title: 自定义分享标题\n  description: 自定义搜索摘要\n  canonical: /posts/custom-canonical\n  image: /images/custom-card.png\n  imageAlt: 分享卡片说明\n  noindex: false\n```\n\n插件使用 Rspress 的 `head` 配置钩子生成静态 HTML 标签，不增加浏览器运行时依赖。没有 `seo` 配置时插件不会改变现有页面。\n\n## SEO 审核\n\n开启 `audit.enabled` 后，插件会在构建阶段检查首页和文章页的标题、描述、canonical、分享图片替代文本和作者信息：\n\n- 默认只输出中文告警，不影响构建；\n- `failOnError: true` 时，缺少标题、描述或 canonical 会阻断构建；\n- 配置 `reportPath` 后，会在构建输出目录写入结构化的 `seo-report.json`；\n- `minDescriptionLength` 可调整描述过短的告警阈值，默认值为 50。\n\n审核报告使用统一的 `schemaVersion: 1`、`reportType: \"seo-audit\"`、`itemCount`、`errors`、`warnings` 和 `issues` 字段。可以与内容报告一起交给 `scripts/check-quality-reports.mjs`，按项目配置错误和警告阈值，并在 GitHub Actions 中输出 annotation。\n","readmeFilename":"README.md"}