This project uses pnpm
as the Node package manager.
/
├── public/
└── src/
├── assets/
├── components/
├── layouts/
├── pages/
├── stores/
├── types/
└── utils/
- Clone this repository
git clone [email protected]:esc-chula/gem-of-your-soul.git
- Change directory
cd gem-of-your-soul
- Install dependencies
pnpm install
- Run development server
pnpm dev
- The development server will be running on localhost:4321
- Create new branch
git checkout -b <BRANCH_NAME> origin/dev
-
Make your changes
-
Stage and commit your changes
git add .
git commit -m "<COMMIT MESSAGE>"
- Push your changes
git push origin <BRANCH_NAME>
- Create a pull request to the dev branch in GitHub
Before pushing to the remote repository, make sure one has formatted their code correctly. By running this command below, the code will be formatted.
pnpm format
For Windows users, please run the following command to prevent line ending issues.
git config --global core.autocrlf false
In short, the commit message should look like this:
git commit -m "feat: <what-you-did>"
# or
git commit -m "fix: <what-you-fixed>"
# or
git commit -m "refactor: <what-you-refactored>"
The commit message should start with one of the following types:
- feat: A new feature
- fix: A bug fix
- refactor: A code change that neither fixes a bug nor adds a feature
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) For more information, please read the conventional commit format documentation.