@geenius/roadmap
v0.16.0
Published
Geenius Roadmap — Public roadmap, voting, comments, and admin tooling for Geenius apps
Maintainers
Readme
@geenius/roadmap
Public roadmap, voting, comments, and admin tooling for Geenius products.
Overview
@geenius/roadmap packages the shared roadmap data model, framework bindings, CSS variants, and Convex helpers behind a stable root export map. It is designed for feature-roadmap pages, detail drawers, voting flows, and admin review tools.
Installation
pnpm add @geenius/roadmapAdd the peers you actually use:
reactandreact-domfor@geenius/roadmap/reactor@geenius/roadmap/react-csssolid-jsfor@geenius/roadmap/solidjsor@geenius/roadmap/solidjs-cssconvexfor@geenius/roadmap/convex
Subpath Imports
import { getCategoryEmoji } from '@geenius/roadmap'
import { getCategoryEmoji } from '@geenius/roadmap/shared'
import { schema, listItems, toggleVote } from '@geenius/roadmap/convex'
import { RoadmapPage, RoadmapDetailPage, RoadmapAdminPage } from '@geenius/roadmap/react'
import { RoadmapPage as RoadmapCssPage } from '@geenius/roadmap/react-css'
import { createRoadmap } from '@geenius/roadmap/solidjs'
import { RoadmapPage as RoadmapSolidCssPage } from '@geenius/roadmap/solidjs-css'Public Subpaths
@geenius/roadmapand@geenius/roadmap/sharedexpose the framework-agnostic roadmap contract.@geenius/roadmap/reactexposes Tailwind-based React hooks, components, and pages.@geenius/roadmap/react-cssexposes standalone React components and pages backed by vanilla CSS.@geenius/roadmap/solidjsexposes Tailwind-based SolidJS primitives, components, and pages.@geenius/roadmap/solidjs-cssexposes standalone SolidJS components and pages backed by vanilla CSS.@geenius/roadmap/convexexposes the typed Convex schema, queries, and mutations.
The CSS variant entrypoints import their own stylesheets, so consumers only need the package subpath import.
Usage
import { RoadmapPage } from '@geenius/roadmap/react'
export function ProductRoadmapRoute() {
return <RoadmapPage />
}import { configureRoadmap } from '@geenius/roadmap'
import { RoadmapPage } from '@geenius/roadmap/react-css'
configureRoadmap({
enabled: true,
apiBasePath: '/api/roadmap',
publicVoting: true,
votesPerUser: 1,
allowComments: true,
showCompletedItems: true,
linkedToChangelog: false,
})
export function ProductRoadmapCssRoute() {
return <RoadmapPage />
}import { createRoadmap } from '@geenius/roadmap/solidjs'
export function SolidRoadmapExample() {
const roadmap = createRoadmap()
return <div>{roadmap.items().length}</div>
}Convex Example
import schema, { listItems, toggleVote } from '@geenius/roadmap/convex'
export { schema, listItems, toggleVote }Storybook
Reference Storybook apps for both frameworks live in the package repository:
Both surfaces render the Tailwind and vanilla CSS variants side by side for parity review.
License
Free-tier usage is licensed under FSL-1.1-Apache-2.0. Commercial usage follows the Geenius commercial license terms.
See LICENSE.
