Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.13 KB

CONTRIBUTING.md

File metadata and controls

60 lines (36 loc) · 1.13 KB

Contributing

Getting Started

Prerequisites

  • node
  • Angular CLI (v17)

Fork

Fork the repo and clone your fork to get the artefacts locally.

Set Upstream Repo

Set the upstream repo so you can raise a PR against that repo:

git remote add upstream [email protected]:iancharlesdouglas/ng-realworld-ssr.git

Install Dependencies

npm i

Workflow

IDE

In your IDE make the following settings:

  • install the ESLint and Prettier extensions and set format on save to true
  • tab stops should be 2 characters (as configured in Pretter/ESLint setup)
  • print width should be 120 characters (as configured in Prettier/ESLint setup).

Building

Run npm build.

Running locally

See the main README.

Submitting a Pull Request

Sync Your Fork

Before submitting a pull request, make sure your fork is up to date with the latest upstream changes.

git fetch upstream
git checkout main
git merge upstream/main

Submit a PR

After you've pushed your changes to remote, submit your PR. Make sure you are comparing <YOUR_USER_ID>/feature to origin/main.