fix: install node dependencies in devshell commands

Signed-off-by: Brian McGee <brian@bmcgee.ie>
This commit is contained in:
Brian McGee 2024-05-10 11:15:04 +01:00
parent 0dd4344339
commit 249f807e92
No known key found for this signature in database
GPG Key ID: D49016E76AD1E8C0

View File

@ -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;