jackdbd / vampa

Monorepo I use for my Cloudflare Pages Functions plugins and Hono middlewares

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vampa 🔥

CI workflow

Monorepo I use for my Cloudflare Pages Functions plugins and Hono middlewares.

Installation

Clone the repo:

git clone git@github.com:jackdbd/vampa.git

cd vampa

Install all dependencies from npmjs.com:

npm install --include dev

Development

This monorepo uses Turborepo for local development.

npm run dev

Build

Build all packages in this monorepo:

npm run build

Generate a file size report for each library:

npm run size

Release

This monorepo uses changesets to manage CHANGELOGs and releases on npmjs.com.

When you want to include a change in the CHANGELOG of one or more packages, do the following.

1: Run this command from the monorepo root:

npx changeset add

2: Select which packages are affected by this change, and whether this change represents a major/minor/patch version bump.

3: Double check the generated markdown file in the .changeset folder. This file will be consumed by changesets when generating the next release. You can also double check whether changesets will trigger a major/minor/patch version bump using this command:

npx changeset status

4: Commit your changes and push them to the remote repository. The Changesets Release Action will create a Pull Request.

⚠️ In order to work, Changesets Release Action requires that the GITHUB_TOKEN has Read and write permissions and can create a Pull Request. To set the permissions of the default GITHUB_TOKEN used in the workflows of this GitHub repo, go to SettingsActionsGeneralWorkflow permissions.

GitHub Workflow permissions required for Changesets Release Action

5: Once Changesets Release Action has created a Pull Request, you can review it and merge it. Only when you merge this PR, Changesets will publish the packages to npmjs.com.

PR

About

Monorepo I use for my Cloudflare Pages Functions plugins and Hono middlewares

License:MIT License


Languages

Language:JavaScript 85.0%Language:TypeScript 14.0%Language:Nix 1.0%