Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cyco130/create-vike

Generates Vike application boilerplate
https://github.com/cyco130/create-vike

Last synced: 3 months ago
JSON representation

Generates Vike application boilerplate

Awesome Lists containing this project

README

        

# Vike Project Generator

Generates Vike application boilerplate

## Usage
```
create-vike [options]

Arguments:
output-dir Output directory

Options:
-V, --version output the version number
-f, --framework Frontend framework (choices: "react", "vue")
-l, --language Programming language (choices: "js", "ts")
-h, --help display help for command
```

## How it works
- Generates TypeScript and JavaScript files from the templates in `input-files` via `detype`.
- Copies files from `files//` where:
- `` is `shared`, `ts`, or `js`
- `` is any combination of `vike` (default), `react`, `vue`, and `client-router` combined with a plus sign
- Configuration files (`package.json`, `tsconfig.json`, and `vite.config.{js,ts}`) are generated programmatically.
- Boilerplate package versions are kept in `src/config-generators/package-versions.json`, `check-deps.mjs` can be used to review package updates.

## TODO
- Add integration tests
- Create an interactive frontend
- Resolve user's default prettier config if any and use it instead of the default