First off, thanks for taking the time to contribute! π
The following is a set of guidelines for contributing to this project. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
-
Fork and Clone: Fork the repository to your own GitHub account and then clone it locally.
git clone https://github.com/EgiStr/portofolio.git cd portofolio -
Install Dependencies: We use
pnpmandturborepo.pnpm install
-
Branching: Create a new branch for your feature or bug fix.
# For new features git checkout -b feature/amazing-feature # For bug fixes git checkout -b bugfix/critical-issue
-
Development: Start the development server.
pnpm dev
We follow the Conventional Commits specification. This is enforced by commitlint and husky hooks.
Format: <type>(<scope>): <subject>
feat: A new featurefix: A bug fixdocs: Documentation only changesstyle: Changes that do not affect the meaning of the code (white-space, formatting, etc)refactor: A code change that neither fixes a bug nor adds a featureperf: A code change that improves performancetest: Adding missing tests or correcting existing testschore: Changes to the build process or auxiliary tools and libraries such as documentation generation
- β
feat(blog): add support for mdx code highlighting - β
fix(ui): resolve button alignment issue on mobile - β
docs: update readme with setup instructions - β
Added new feature(Will fail commitlint)
- Prettier: Code is automatically formatted on commit using
prettier. - Linting: We use strict ESLint rules. Run
pnpm lintto check for issues.
- Ensure any install or build dependencies are removed before the end of the layer when doing a build.
- Update the
README.mdwith details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters. - You may merge the Pull Request in once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you.
Bugs are tracked as GitHub issues. When filing an issue, strictly follow the Bug Report template. Explain the problem and include additional details to help maintainers reproduce the problem.
Feature requests are tracked as GitHub issues. When suggesting a new feature, strictly follow the Feature Request template. Explain detailed use cases and the rationale behind the request.