Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Latest commit

 

History

History
115 lines (95 loc) · 11.9 KB

File metadata and controls

115 lines (95 loc) · 11.9 KB

Contributing

Thanks for being willing to contribute!

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub

Project setup

  1. Fork and clone the repo
  2. npm install to install dependencies
  3. npm run validate to validate you've got it working
  4. Create a branch for your PR

Tip: Keep your main branch pointing at the original repository and make pull requests from branches on your fork. To do this, run:

git remote add upstream https://github.com/kentcdodds/cross-env.git
git fetch upstream
git branch --set-upstream-to=upstream/main main

This will add the original repository as a "remote" called "upstream," Then fetch the git information from that remote, then set your local main branch to use the upstream main branch whenever you run git pull. Then you can make all of your pull request branches based on this main branch. Whenever you want to update your version of main, do a regular git pull.

Development

This project uses modern tooling:

  • TypeScript for type safety
  • Vitest for testing
  • ESLint for linting
  • Prettier for formatting
  • zshy for building

Available Scripts

  • npm run build - Build the project
  • npm run dev - Build in watch mode
  • npm run test - Run tests in watch mode
  • npm run test:run - Run tests once
  • npm run test:coverage - Run tests with coverage
  • npm run lint - Run ESLint
  • npm run lint:fix - Fix ESLint issues
  • npm run format - Format code with Prettier
  • npm run format:check - Check code formatting
  • npm run typecheck - Run TypeScript type checking
  • npm run validate - Run all checks (build, typecheck, lint, format, test)

Help needed

Please checkout the the open issues

Also, please watch the repo and respond to questions/bug reports/feature requests! Thanks!

Contributors ✨

Thanks goes to these people (emoji key):


Kent C. Dodds

💻 📖 🚇 ⚠️

Ya Zhuang

🔌 📖

James Harris

📖

compumike08

🐛 📖 ⚠️

Daniel Rodríguez Rivero

🐛 💻 📖

Jonas Keinholz

🐛 💻 ⚠️

Hugo Wood

🐛 💻 ⚠️

Thiebaud Thomas

🐛 💻 ⚠️

Daniel Rey López

💻 ⚠️

Amila Welihinda

🚇

Paul Betts

🐛 💻

Turner Hayes

🐛 💻 ⚠️

Suhas Karanth

💻 ⚠️

Sven

💻 📖 💡 ⚠️

D. Nicolás Lopez Zelaya

💻

Johan Hernandez

💻

Jordan Nielson

🐛 💻 ⚠️

Jason Cooke

📖

bibo5088

💻

Eric Berry

🔍

Michaël De Boey

💻

Lauri Eskola

📖

devuxer

📖

Daniel

📖

This project follows the all-contributors specification. Contributions of any kind welcome!