From d899ebf7b4494af13b2b34ba5c093d4f461568ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oktay=20=C5=9Eenkan?= Date: Sat, 5 Oct 2024 05:07:41 +0300 Subject: [PATCH] ci(nuxt-app): run nuxt prepare script before build instead of postinstall --- apps/nuxt-app/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/nuxt-app/package.json b/apps/nuxt-app/package.json index 219ce90..e78b9c1 100644 --- a/apps/nuxt-app/package.json +++ b/apps/nuxt-app/package.json @@ -4,11 +4,10 @@ "private": true, "type": "module", "scripts": { - "build": "nuxt build", + "build": "yarn nuxt prepare && nuxt build", "dev": "nuxt dev --port 3001", "generate": "nuxt generate", "preview": "nuxt preview", - "postinstall": "yarn nuxt prepare", "lint": "eslint ." }, "dependencies": {