Skip to content

ryuuart/Stonework

Repository files navigation

Emergence Web

My starter for creating client-side, browser libraries. There's more work to be done, but it's usable.

Getting Started

  1. Change default.env to .env with the environment variables you'd like.

  2. Update the LICENSE you find appropriate. Right now, it's the MIT License.

  3. Configure or customize the provided example package in packages/example.

  4. Customize the .github/workflow actions.

Features

I use a whole mix of tech to get all this running.

  1. If you use a system that Nix supports, then there's a flake that will set the correct NodeJS and pnpm version for you.

  2. Nix direnv will also automatically load environment variables and the Nix development shell.

  3. pnpm workspaces and Nx are used to manage this monorepo.

  4. A basic .eslintrc.js is provided for basic linting.

  5. A basic .prettierrc is provided for standard formatting.

  6. Nx is configured to always build package dependencies before the package itself.

  7. The example package is preconfigured with vite and vitest to build a basic library.

  8. A basic publishing Github Actions workflow is provided configured with changesets.

License

MIT License