Skip to content

Files

Latest commit

f921b30 · Feb 25, 2025

History

History
62 lines (45 loc) · 1.61 KB

README.md

File metadata and controls

62 lines (45 loc) · 1.61 KB

solid-create-script

Template: SolidJS Library

Template for SolidJS library package. Bundling of the library is managed by tsup.

Other things configured include:

  • Bun (for dependency management and running scripts)
  • TypeScript
  • ESLint / Prettier
  • Solid Testing Library + Vitest (for testing)
  • Playground app using library
  • GitHub Actions (for all CI/CD)

Getting Started

Some pre-requisites before install dependencies:

  • Install Node Version Manager (NVM)
    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
  • Install Bun
    curl -fsSL https://bun.sh/install | bash

Installing Dependencies

nvm use
bun install

Local Development Build

bun start

Linting & Formatting

bun run lint    # checks source for lint violations
bun run format  # checks source for format violations

bun run lint:fix    # fixes lint violations
bun run format:fix  # fixes format violations

Contributing

The only requirements when contributing are:

  • You keep a clean git history in your branch
    • rebasing main instead of making merge commits.
  • Using proper commit message formats that adhere to conventional commits
  • CI checks pass before merging into main