Hi! We are really excited that you are interested in contributing to @vite-pwa/assets-generator
. 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.
The @vite-pwa/assets-generator
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/assets-generator
package:
-
Fork the
@vite-pwa/assets-generator
repository to your own GitHub account and then clone it to your local device. -
@vite-pwa/assets-generator
uses pnpm v8. If you are working on multiple projects with different versions of pnpm, it's recommend to enable Corepack by runningcorepack enable
. -
Check out a branch where you can work and commit your changes:
git checkout -b my-new-branch
-
Run
pnpm install
in@vite-pwa/assets-generator
's root folder -
Run
nr build
in@vite-pwa/assets-generator
's root folder. -
Run
nr test
in@vite-pwa/assets-generator
's root folder.
Build the project from root folder and run the test (nr build && nr test
).