Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 1.17 KB

CONTRIBUTING.md

File metadata and controls

27 lines (15 loc) · 1.17 KB

Contributing Guide

Hi! We are really excited that you are interested in contributing to @vite-pwa/workbox-window. Before submitting your contribution, please make sure to take a moment and read through the following guide.

Refer also to https://github.com/antfu/contribute.

Set up your local development environment

The @vite-pwa/workbox-window repo is a monorepo using pnpm workspaces. The package manager used to install and link dependencies must be pnpm.

To develop and test the @vite-pwa/workbox-window package:

  1. Fork the @vite-pwa/workbox-window repository to your own GitHub account and then clone it to your local device.

  2. @vite-pwa/workbox-window uses pnpm. If you are working on multiple projects with different versions of pnpm, it's recommended to enable Corepack by running corepack enable.

  3. Check out a branch where you can work and commit your changes:

git checkout -b my-new-branch
  1. Run pnpm install in @vite-pwa/workbox-window's root folder

  2. Run nr build && ni in @vite-pwa/workbox-window's root folder.

  3. Run any script in the example.