Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johannschopplich/kirbyup

πŸ†™ Official bundler for Kirby Panel plugins
https://github.com/johannschopplich/kirbyup

kirby kirby-cms kirby-panel kirby-plugin

Last synced: 3 days ago
JSON representation

πŸ†™ Official bundler for Kirby Panel plugins

Awesome Lists containing this project

README

        

[![kirbyup](./docs/public/og.png)](https://kirbyup.getkirby.com)

# kirbyup

[![npm version](https://img.shields.io/npm/v/kirbyup?color=a1b858&label=)](https://www.npmjs.com/package/kirbyup)

The official bundler for Kirby Panel plugins with zero-config usage and built-in HMR.

- [✨  Release Notes](https://github.com/johannschopplich/kirbyup/releases)
- [πŸ“– Β Read the documentation](https://kirbyup.getkirby.com)

## Key Features

- πŸ”„ [Hot module replacement](https://kirbyup.getkirby.com/guide/getting-started.html#development)
- πŸŽ’ PostCSS support
- 🧭 Add custom path aliases
- πŸ”Œ Run actions based on environment variables
- πŸ¦” [Extends Vite with `kirbyup.config.js`](https://kirbyup.getkirby.com/guide/config-file)

## Setup

> [!TIP]
> [πŸ“– Read the documentation](https://kirbyup.getkirby.com)

```bash
# pnpm
pnpm add -D kirbyup

# npm
npm i -D kirbyup
```

## Basic Usage

> [!TIP]
> [πŸ“– Read the documentation](https://kirbyup.getkirby.com) or skip starting from scratch and pick one of the following starters:
> - [`eslint`](./examples/eslint)
> - [`tailwindcss`](./examples/tailwindcss)

Having installed kirbyup, you can add the following scripts as shortcuts to the commands you will use most often:

```json
{
"scripts": {
"dev": "kirbyup serve src/index.js",
"build": "kirbyup src/index.js"
},
"devDependencies": {
"kirbyup": "^3.1.3"
}
}
```

## πŸ’» Development

1. Clone this repository
2. Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`
3. Install dependencies using `pnpm install`
4. Run `pnpm run dev:prepare`
5. Start development server using `pnpm run dev`

## License

[MIT](./LICENSE) License Β© 2021-PRESENT [Johann Schopplich](https://github.com/johannschopplich)

[MIT](./LICENSE) License Β© 2022-PRESENT [Jonas Kuske](https://github.com/jonaskuske)