Skip to content

Template for single SolidJS package app configured with TypeScript, ESLint, Prettier and Vitest

Notifications You must be signed in to change notification settings

thedanchez/template-solidjs-library

Repository files navigation

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

About

Template for single SolidJS package app configured with TypeScript, ESLint, Prettier and Vitest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published