From 58406f055e9b25ac63fe204ee9297852f106b2ef Mon Sep 17 00:00:00 2001 From: dominicbachmann Date: Sun, 3 Apr 2022 19:10:29 +0200 Subject: [PATCH 1/2] Changed the package manager used in the .husky/pre-commit hook from yarn to pnpm --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index dc0378c34..fab6428a1 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -yarn lint-staged \ No newline at end of file +pnpm lint-staged From b8b57bc48b5570701633f6e789fe5ab555e57ade Mon Sep 17 00:00:00 2001 From: dominicbachmann Date: Sun, 3 Apr 2022 19:15:26 +0200 Subject: [PATCH 2/2] Fixed contributing guide --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ff57a6abd..f839dfce6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -29,7 +29,8 @@ ## Setup development environment - Copy `.env.template` to `.env` and set the `COOLIFY_APP_ID` environment variable to something cool. - Install dependencies with `pnpm install`. - Need to create a local SQlite database with `pnpm db:push`. - - This will apply all migrations and seed the database at `db/dev.db`. + - This will apply all migrations at `db/dev.db`. +- Seed the database with base entities with `pnpm db:seed` - You can start coding after starting `pnpm dev`. ## Database migrations