Hi! We're Really excited that you are interested in contributing to Genpwd. Before submitting your contribution, please make sure to take a moment and Read through the following guidelines:
-
Checkout a topic branch from the relevant branch, e.g.
main
, and merge back against that branch. -
If adding a new feature:
- Provide a convincing Reason to add this feature. Ideally, you should open a suggestion issue first and have it approved before working on it.
-
If fixing bug:
- Provide a detailed description of the bug in the PR. Live demo preferred.
-
It's OK to have multiple small commits as you work on the PR - GitHub can automatically squash them before merging.
-
Commit messages must be matched by the following regex:
/^(feat|fix|style|refactor|perf|test|workflow|build|ci|chore|types)(\(.+\))?: .{1,50}/
You will need pnpm:
npm install -g pnpm
After cloning the repo, run:
pnpm install
pnpm dev
After executing the above command, visit chrome extensions page chrome://extensions/
, and click Load unpacked
button, then select the build/chrome-mv3-dev
folder in the project root directory, and try modifying the source code. You'll get live update.
Alternatively, you can open a new CLI window and run the following command, this will open a clean chrome window.
pnpm start
pnpm dev:firefox
After executing the above command, visit firefox debugging page about:debugging#/runtime/this-firefox
, and click Load Temporary Add-on...
button, then select the build/firefox-mv2-dev/manifest.json
file in the project root directory, and try modifying the source code. You'll get live update.
Alternatively, you can open a new CLI window and run the following command锛宼his will open a clean firefox window.
pnpm start:firefox
pnpm build
pnpm package
pnpm build:firefox
pnpm package:firefox