From 783b6419b75989b479d8e391f57dd639df0a4135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oktay=20=C5=9Eenkan?= Date: Sat, 5 Oct 2024 05:12:28 +0300 Subject: [PATCH] ci(nuxt-app): change postinstall script --- apps/nuxt-app/package.json | 5 +++-- package.json | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/nuxt-app/package.json b/apps/nuxt-app/package.json index e78b9c1..f59bf66 100644 --- a/apps/nuxt-app/package.json +++ b/apps/nuxt-app/package.json @@ -4,11 +4,12 @@ "private": true, "type": "module", "scripts": { - "build": "yarn nuxt prepare && nuxt build", + "build": "nuxt build", "dev": "nuxt dev --port 3001", "generate": "nuxt generate", "preview": "nuxt preview", - "lint": "eslint ." + "lint": "eslint .", + "postinstall": "turbo run build --filter='@oktaytest/nuxt' && nuxt prepare" }, "dependencies": { "@oktaytest/nuxt": "*" diff --git a/package.json b/package.json index dc26aa3..2d2ac7b 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,7 @@ }, "devDependencies": { "prettier": "^3.1.1", - "turbo": "^2.1.3", - "nuxt": "^3.13.2" + "turbo": "^2.1.3" }, "packageManager": "yarn@1.22.19", "engines": {