Skip to content

Commit

Permalink
Merge pull request #9 from numtide/fix/install-docs-dependencies
Browse files Browse the repository at this point in the history
fix: install node dependencies in devshell commands
  • Loading branch information
brianmcgee authored May 10, 2024
2 parents 2188358 + 249f807 commit 39b73b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nix/docs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ _: {
inherit category;
name = "docs:dev";
help = "serve docs for local development";
command = "cd $PRJ_ROOT/docs && npm run dev";
command = "cd $PRJ_ROOT/docs && npm ci && npm run dev";
}
{
inherit category;
name = "docs:build";
help = "create a production build of docs";
command = "cd $PRJ_ROOT/docs && npm run build";
command = "cd $PRJ_ROOT/docs && npm ci && npm run build";
}
{
inherit category;
name = "docs:preview";
help = "preview a production build of docs";
command = "cd $PRJ_ROOT/docs && npm run preview";
command = "cd $PRJ_ROOT/docs && npm ci && npm run preview";
}
{
inherit category;
Expand Down

0 comments on commit 39b73b8

Please sign in to comment.