create-issue-status
v0.1.3
Published
Create new issue-status projects with scaffolding templates
Readme
create-issue-status
Scaffolding your first issue status page
With NPM:
$ npm create issue-status@latestWith Yarn:
$ yarn create issue-statusWith PNPM:
$ pnpm create issue-statusWith Bun:
$ bun create issue-statusThen follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold an Issue Status project, run:
# npm 7+, extra double-dash is needed:
npm create issue-status@latest my-status-page -- --template static
# yarn
yarn create issue-status my-status-page --template static
# pnpm
pnpm create issue-status my-status-page --template static
# bun
bun create issue-status my-status-page --template staticCurrently supported template presets include:
static- Simple static data (good for getting started)github- Use GitHub Issues as data sourcecustom- Implement your own provider
Generated Project Structure
my-status-page/
├── issue-status.config.ts # Your configuration
├── package.json # Dependencies and scripts
└── node_modules/ # Installed dependenciesAvailable Scripts
In the generated project:
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build
Provider Types
Static Provider
Perfect for getting started. Uses static data defined in your config file.
GitHub Provider
Uses GitHub Issues as your data source. Requires:
- Issues labeled with
issue status+componentfor components - Issues labeled with
issue status+incidentfor incidents - Status labels:
operational,degraded performance,partial outage,major outage
Custom Provider
Implement your own data source by completing the provider interface in the generated config file.
