Skip to content

Commit

Permalink
build: remove pre-commit git hook (#329)
Browse files Browse the repository at this point in the history
Remove the pre-commit git hook and its related
dependencies_ husky, lint-staged, commitizen and
cz-conventional-changelog.
  • Loading branch information
satnaing committed Jul 22, 2024
1 parent c63f106 commit 7b83996
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 1,737 deletions.
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ pnpm dlx create-astro --template satnaing/astro-paper
Then start the project by running the following commands:

```bash
# prepare commit hook & install dependencies
npm run prepare && npm run install
# install dependencies
npm run install

# start running the project
npm run dev
Expand Down Expand Up @@ -162,7 +162,6 @@ All commands are run from the root of the project, from a terminal:
| `npm run format:check` | Check code format with Prettier |
| `npm run format` | Format codes with Prettier |
| `npm run sync` | Generates TypeScript types for all Astro modules. [Learn more](https://docs.astro.build/en/reference/cli-reference/#astro-sync). |
| `npm run cz` | Commit code changes with commitizen |
| `npm run lint` | Lint with ESLint |
| `docker compose up -d` | Run AstroPaper on docker, You can access with the same hostname and port informed on `dev` command. |
| `docker compose run app npm install` | You can run any command above into the docker container. |
Expand Down
Loading

0 comments on commit 7b83996

Please sign in to comment.