{"_id":"@cogita/plugin-collections","_rev":"8-ecf645c80c1cbdb758a4e2844881ce58","name":"@cogita/plugin-collections","dist-tags":{"latest":"1.0.7"},"versions":{"0.1.0":{"name":"@cogita/plugin-collections","version":"0.1.0","keywords":["cogita","plugin","collections","series","blog","static-site-generator","rspress","content-organization"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-collections@0.1.0","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/collections#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"80cbb9b86b32525c6f25c035473e194a0869b181","tarball":"https://registry.npmjs.org/@cogita/plugin-collections/-/plugin-collections-0.1.0.tgz","fileCount":12,"integrity":"sha512-vnFArYhs6JhfUZE+TrFBRy+jWMIoDUOz5rGEohlQf2nWFT3+AvRUr5gOVE/KlqTkZ/MuHPvDzKI4qxRLBVvSvw==","signatures":[{"sig":"MEYCIQClydr2G0kN03F9g4O88r5HPkq3hqOfTgFNkCg0z1SZHwIhAM2hvRnwCQpAm94kg4faw/8yU25nzVj1cmd4kc0x9JLK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18702},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-collections-0.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/49a1e52c3a5c41babf0d21da00e583f7/cogita-plugin-collections-0.1.0.tgz","_integrity":"sha512-vnFArYhs6JhfUZE+TrFBRy+jWMIoDUOz5rGEohlQf2nWFT3+AvRUr5gOVE/KlqTkZ/MuHPvDzKI4qxRLBVvSvw==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/collections"},"_npmVersion":"10.8.2","description":"合集插件，为 Cogita 博客提供有序系列文章管理、合集页面生成和导航功能。","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/glob":"^8.1.0","@cogita/shared":"0.0.3","rsbuild-plugin-publint":"^0.3.3"},"peerDependencies":{"@cogita/plugin-posts-frontmatter":"0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_0.1.0_1786003613711_0.28456376697114205","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@cogita/plugin-collections","version":"0.1.1","keywords":["cogita","plugin","collections","series","blog","static-site-generator","rspress","content-organization"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-collections@0.1.1","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/collections#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"04e0c12873efe35d674d2a572b0f0d037b5ed894","tarball":"https://registry.npmjs.org/@cogita/plugin-collections/-/plugin-collections-0.1.1.tgz","fileCount":12,"integrity":"sha512-gMm/NnwBnfXATwHMJMJ3+GD+k243btVGU0t9AEsJrBfv+JZ04yqyRDXAgnC5CcdsG3nTbm7AGqHokzXh6iLswA==","signatures":[{"sig":"MEQCIB6xP8f1Y4+VDnEgseUeWFkYT3XdYZcJBJt/3qZ3KVHUAiAcuj5GRtjUoNWPzLpX5d6lHIuPPCQwISRWOEv3rWp4Nw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18702},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-collections-0.1.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/6381a663c604df66fbbde08c295b3022/cogita-plugin-collections-0.1.1.tgz","_integrity":"sha512-gMm/NnwBnfXATwHMJMJ3+GD+k243btVGU0t9AEsJrBfv+JZ04yqyRDXAgnC5CcdsG3nTbm7AGqHokzXh6iLswA==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/collections"},"_npmVersion":"10.8.2","description":"合集插件，为 Cogita 博客提供有序系列文章管理、合集页面生成和导航功能。","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/glob":"^8.1.0","@cogita/shared":"0.0.4","rsbuild-plugin-publint":"^0.3.3"},"peerDependencies":{"@cogita/plugin-posts-frontmatter":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_0.1.1_1787289196572_0.07717736535372222","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@cogita/plugin-collections","version":"1.0.0","keywords":["cogita","plugin","collections","series","blog","static-site-generator","rspress","content-organization"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-collections@1.0.0","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/collections#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"82244983a0b62d35b2b8669569c81b18de3ecf98","tarball":"https://registry.npmjs.org/@cogita/plugin-collections/-/plugin-collections-1.0.0.tgz","fileCount":12,"integrity":"sha512-+cjEehsUNBlPtFZkE0HObCI2gswWEa1BHEnwGOGLHhGfxCBgnUsVLXp3KVUQexGa7fh6rpA9eRLyM5uu3J/B+Q==","signatures":[{"sig":"MEYCIQDmACnacWPtAqxQSOG2QEVnn4HsMDWbRQc9XuWokXnS0AIhAN72XhwF5K6cFAnJZWQu8ZcHF9YwQQ5n+cLzd6modV5a","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18702},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-collections-1.0.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/609c6d7748fa8f09898798ad37b2d114/cogita-plugin-collections-1.0.0.tgz","_integrity":"sha512-+cjEehsUNBlPtFZkE0HObCI2gswWEa1BHEnwGOGLHhGfxCBgnUsVLXp3KVUQexGa7fh6rpA9eRLyM5uu3J/B+Q==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/collections"},"_npmVersion":"10.8.2","description":"合集插件，为 Cogita 博客提供有序系列文章管理、合集页面生成和导航功能。","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/glob":"^8.1.0","@cogita/shared":"0.2.0","rsbuild-plugin-publint":"^0.3.3"},"peerDependencies":{"@cogita/plugin-posts-frontmatter":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.0_1787300290705_0.9481061458450342","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@cogita/plugin-collections","version":"1.0.1","keywords":["cogita","plugin","collections","series","blog","static-site-generator","rspress","content-organization"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-collections@1.0.1","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/collections#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"998b735863b6d451921223b8eca42b102c9317f6","tarball":"https://registry.npmjs.org/@cogita/plugin-collections/-/plugin-collections-1.0.1.tgz","fileCount":12,"integrity":"sha512-pATqKVIsabIGKbCXu8ncfL44dluEe9Sl0n4PUDzgRqc6zL5vdPdFjxJjlNDiadKM0Us/pJGPUFKsIsGRnDqO9g==","signatures":[{"sig":"MEQCIEq/TCbiWFgN5I283j4Ptl4LFCFOf1WcpAT+c4nodEEYAiBMP2fgXaCzqitSs4/rHfdxtRGq5d3xta7A1YOqMNMRPA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18702},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-collections-1.0.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/d3b2624b2ebb3c57170ab4338fde6869/cogita-plugin-collections-1.0.1.tgz","_integrity":"sha512-pATqKVIsabIGKbCXu8ncfL44dluEe9Sl0n4PUDzgRqc6zL5vdPdFjxJjlNDiadKM0Us/pJGPUFKsIsGRnDqO9g==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/collections"},"_npmVersion":"10.8.2","description":"合集插件，为 Cogita 博客提供有序系列文章管理、合集页面生成和导航功能。","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/glob":"^8.1.0","@cogita/shared":"0.8.0","rsbuild-plugin-publint":"^0.3.3"},"peerDependencies":{"@cogita/plugin-posts-frontmatter":"0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.1_1787553756575_0.41434899331126473","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@cogita/plugin-collections","version":"1.0.2","keywords":["cogita","plugin","collections","series","blog","static-site-generator","rspress","content-organization"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-collections@1.0.2","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/collections#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"d6e9d580319b31e4738e3a37ea13240c40b2a3af","tarball":"https://registry.npmjs.org/@cogita/plugin-collections/-/plugin-collections-1.0.2.tgz","fileCount":12,"integrity":"sha512-hdWhai3Rxwiau4+HO77UeLrm3l5q04DW3vQultNXZ9xMq4k0NdnkMyUWhFa4eu9ZNnEYwc5Y5Sayu685zty0Rw==","signatures":[{"sig":"MEQCIAnYsUvgTX2MklN1s6hw/pYpcqc9Byb/shQF30dzpRP4AiBll4y5SFzY593KdRKqKATXfhNEB/yq1IzuIaIRFqaQcw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19098},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-collections-1.0.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/21c294d08d8efca69738cfdcec70d069/cogita-plugin-collections-1.0.2.tgz","_integrity":"sha512-hdWhai3Rxwiau4+HO77UeLrm3l5q04DW3vQultNXZ9xMq4k0NdnkMyUWhFa4eu9ZNnEYwc5Y5Sayu685zty0Rw==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/collections"},"_npmVersion":"10.8.2","description":"合集插件，为 Cogita 博客提供有序系列文章管理、合集页面生成和导航功能。","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/glob":"^8.1.0","@cogita/shared":"0.9.0","rsbuild-plugin-publint":"^0.3.3"},"peerDependencies":{"@cogita/plugin-posts-frontmatter":"0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.2_1787566700817_0.7697868295708776","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@cogita/plugin-collections","version":"1.0.3","keywords":["cogita","plugin","collections","series","blog","static-site-generator","rspress","content-organization"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-collections@1.0.3","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/collections#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"26177b42c10961e7732b2be9a641f9dee71a8b00","tarball":"https://registry.npmjs.org/@cogita/plugin-collections/-/plugin-collections-1.0.3.tgz","fileCount":12,"integrity":"sha512-HWYizHjQZdEun/2uoF90e1mGC6lqU8e+k1WNx23Aw2kvluKDUlur7b8wqIWjNlp5iAvhxjhFPfu7dsHZ5fLFiA==","signatures":[{"sig":"MEUCIAmMs7b3x/XQNzG9DZ0S40JOpzae3YQ6VoxdUVVagVomAiEAvAaAOz6aRoGSpgbf8sseyNkq0DjJrhtgZpUtR5m5/Ug=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19511},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-collections-1.0.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/b07ed232e08284bd88327083bd265e85/cogita-plugin-collections-1.0.3.tgz","_integrity":"sha512-HWYizHjQZdEun/2uoF90e1mGC6lqU8e+k1WNx23Aw2kvluKDUlur7b8wqIWjNlp5iAvhxjhFPfu7dsHZ5fLFiA==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/collections"},"_npmVersion":"10.8.2","description":"合集插件，为 Cogita 博客提供有序系列文章管理、合集页面生成和导航功能。","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/glob":"^8.1.0","@cogita/shared":"0.10.0","rsbuild-plugin-publint":"^0.3.3"},"peerDependencies":{"@cogita/plugin-posts-frontmatter":"0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.3_1787639084535_0.9470763326394127","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@cogita/plugin-collections","version":"1.0.4","keywords":["cogita","plugin","collections","series","blog","static-site-generator","rspress","content-organization"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","_id":"@cogita/plugin-collections@1.0.4","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/collections#readme","bugs":{"url":"https://github.com/wu9o/cogita/issues"},"dist":{"shasum":"14b09670ef731f062f8208f4b5a61f3f3a48736a","tarball":"https://registry.npmjs.org/@cogita/plugin-collections/-/plugin-collections-1.0.4.tgz","fileCount":12,"integrity":"sha512-rTQilt2nKvw2g/nGMjJtB4gKV9bsvuFtfDBpkMuc8GtsPvQaUpt7+z2mUnVE+0u0KedAEYVhurOIp5fIB9ljOQ==","signatures":[{"sig":"MEUCIDebsmsILhH0NIbluanKKAdKGdLCKJRyrFeDreTtlK/OAiEA+J2g7SuYa+vSh6FgUntO4MhzJMVuX95/U8HPZxbTLu4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18807},"main":"./dist/index.js","type":"module","_from":"file:cogita-plugin-collections-1.0.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/c2a5efd38d55f28102cd0f0be8343e1d/cogita-plugin-collections-1.0.4.tgz","_integrity":"sha512-rTQilt2nKvw2g/nGMjJtB4gKV9bsvuFtfDBpkMuc8GtsPvQaUpt7+z2mUnVE+0u0KedAEYVhurOIp5fIB9ljOQ==","repository":{"url":"git+https://github.com/wu9o/cogita.git","type":"git","directory":"plugins/collections"},"_npmVersion":"10.8.2","description":"合集插件，为 Cogita 博客提供有序系列文章管理、合集页面生成和导航功能。","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@rspress/core":"^1.45.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.4","@rslib/core":"0.11.2","@cogita/shared":"0.11.0","rsbuild-plugin-publint":"^0.3.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.4_1787724965504_0.577292061437521","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@cogita/plugin-collections","version":"1.0.7","description":"合集插件，为 Cogita 博客提供有序系列文章管理、合集页面生成和导航功能。","keywords":["cogita","plugin","collections","series","blog","static-site-generator","rspress","content-organization"],"author":{"name":"wu9o","email":"https://github.com/wu9o"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/wu9o/cogita.git","directory":"plugins/collections"},"bugs":{"url":"https://github.com/wu9o/cogita/issues"},"homepage":"https://github.com/wu9o/cogita/tree/main/plugins/collections#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"},"devDependencies":{"@rslib/core":"0.11.2","rsbuild-plugin-publint":"^0.3.3","typescript":"^5.0.4"},"dependencies":{"@rspress/core":"^1.45.1","@cogita/shared":"0.13.0"},"scripts":{"build":"rslib build","dev":"rslib build -w","clean":"rm -rf dist"},"_id":"@cogita/plugin-collections@1.0.7","_integrity":"sha512-ozsn7kiJXLs8Vczo7ZDF4kzNRUvvqVIZ4imW6n1NkWvu888GVSo+HMbMV2lBNKwkUpRCyqSFphEbEN7PLSTFeA==","_resolved":"/tmp/93e8f44621f82033de3f4e335d66dcd4/cogita-plugin-collections-1.0.7.tgz","_from":"file:cogita-plugin-collections-1.0.7.tgz","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ozsn7kiJXLs8Vczo7ZDF4kzNRUvvqVIZ4imW6n1NkWvu888GVSo+HMbMV2lBNKwkUpRCyqSFphEbEN7PLSTFeA==","shasum":"93425e8fed723efe61ebb8780e0acd914444f4f8","tarball":"https://registry.npmjs.org/@cogita/plugin-collections/-/plugin-collections-1.0.7.tgz","fileCount":12,"unpackedSize":19045,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDHKf3WevundLlxR1MwW7ezXnBXDOBfhE5LrTT24xiEcAiEA3b9lFRXj29fBf+fkXCLuRTO5YdVsow/s6vh59UI54VM="}]},"_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-collections_1.0.7_1788404983552_0.832768589975555"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-06T08:06:53.562Z","modified":"2026-09-03T03:09:43.893Z","0.1.0":"2026-08-06T08:06:53.860Z","0.1.1":"2026-08-21T05:13:16.714Z","1.0.0":"2026-08-21T08:18:10.918Z","1.0.1":"2026-08-24T06:42:36.716Z","1.0.2":"2026-08-24T10:18:20.992Z","1.0.3":"2026-08-25T06:24:44.692Z","1.0.4":"2026-08-26T06:16:05.649Z","1.0.7":"2026-09-03T03:09:43.708Z"},"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/collections#readme","keywords":["cogita","plugin","collections","series","blog","static-site-generator","rspress","content-organization"],"repository":{"type":"git","url":"git+https://github.com/wu9o/cogita.git","directory":"plugins/collections"},"description":"合集插件，为 Cogita 博客提供有序系列文章管理、合集页面生成和导航功能。","maintainers":[{"name":"wu9o","email":"wu9ors@gmail.com"}],"readme":"# @cogita/plugin-collections\n\n合集（Collection）插件，为 Cogita 博客提供有序系列文章管理、合集页面生成和导航功能。\n\n## 功能特性\n\n- **有序系列文章**：将多篇相关文章组织成有顺序的合集（类似书籍章节、课程课时）\n- **自动页面生成**：自动生成合集索引页和合集详情页\n- **文章页合集导航**：在文章详情页显示\"本文是合集 X 的第 N 篇\"及上下篇导航\n- **虚拟模块**：通过 `virtual-collections-data` 暴露合集数据和辅助函数\n- **元数据覆盖**：支持在配置中为合集设置自定义标题、描述和封面\n- **零配置开箱即用**：文章 frontmatter 只需声明 `collection` 和 `order` 字段\n\n## 安装\n\n该插件作为 `@cogita/theme-lucid` 的依赖自动安装，无需手动安装。\n\n## 配置\n\n在 `cogita.config.ts` 中配置：\n\n```typescript\nexport default defineConfig({\n  collections: {\n    enabled: true,\n    routePrefix: 'collections',\n    metadata: {\n      'react-hooks-series': {\n        title: 'React Hooks 深入系列',\n        description: '从入门到精通，系统掌握 React Hooks',\n      },\n    },\n    minPostCount: 1,\n  },\n  theme: 'lucid',\n});\n```\n\n### 配置选项\n\n| 选项 | 类型 | 默认值 | 说明 |\n|------|------|--------|------|\n| `enabled` | `boolean` | `true` | 是否启用合集功能 |\n| `routePrefix` | `string` | `'collections'` | 合集页面路由前缀 |\n| `metadata` | `Record<string, CollectionMetadata>` | `{}` | 合集元数据覆盖（按 slug 索引） |\n| `excludeCollections` | `string[]` | `[]` | 排除的合集 slug 列表 |\n| `minPostCount` | `number` | `1` | 最小文章数阈值 |\n\n## 文章 Frontmatter\n\n在文章的 frontmatter 中声明合集归属：\n\n```yaml\n---\ntitle: \"React Hooks 入门\"\ncollection: \"react-hooks-series\"\norder: 1\ncollectionTitle: \"React Hooks 实战指南\"\n---\n```\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| `collection` | `string` | 合集 slug，同一 slug 的文章归入同一合集 |\n| `order` | `number` | 在合集中的排序序号（升序），未指定则按日期排序 |\n| `collectionTitle` | `string` | 合集内该篇的自定义标题（可选，覆盖文章原标题） |\n\n## 虚拟模块\n\n插件通过 `addRuntimeModules` 暴露 `virtual-collections-data`：\n\n```typescript\nimport {\n  allCollections,\n  collectionMap,\n  collectionsConfig,\n  collectionStats,\n  getCollectionBySlug,\n  getPostsByCollection,\n  getCollectionByPostRoute,\n} from 'virtual-collections-data';\n```\n\n## 许可证\n\nMIT\n","readmeFilename":"README.md"}