From 2ff3e7b1bcf11f1536d563eb3b3c5559559cafb3 Mon Sep 17 00:00:00 2001 From: felipefialho Date: Tue, 16 Jul 2024 15:51:39 -0300 Subject: [PATCH] chore(icons): add compile to sync scripts to avoid errors --- packages/icons/package.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/icons/package.json b/packages/icons/package.json index 55e5efcf1..63718ebc0 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -8,7 +8,7 @@ ], "scripts": { "compile": "tsc", - "build:scripts": "nx exec -- node dist/scripts/build.js", + "build:scripts": "npm run compile && nx exec -- node dist/scripts/build.js", "build": "nx exec -- node dist/scripts/generate-types.js && npm run compile && npm run copy", "copy": "npx copyfiles --flat ./dist/icons.d.ts ../core/src", "test:ci": "jest --coverage --no-cache --updateSnapshot --ci", @@ -16,11 +16,6 @@ }, "nx": { "targets": { - "build:scripts": { - "dependsOn": [ - "compile" - ] - }, "build": { "dependsOn": [ "build:scripts"