From ce9a5c0690eaf79ea57df02d81bedd8e2f7926df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Wed, 18 Sep 2024 23:01:31 +0200 Subject: [PATCH] =?UTF-8?q?Build=20types=20in=20the=20=E2=80=9Cbuild?= =?UTF-8?q?=E2=80=9D=20target?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 -- package.json | 10 +++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index acf4bca..2470a1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,8 +33,6 @@ jobs: cache: "npm" - name: "Install dependencies" run: "npm ci" - - name: "Build types" - run: "npm run types" - name: "Build lib" run: "npm run build" - name: "Build docs" diff --git a/package.json b/package.json index d334484..e337354 100644 --- a/package.json +++ b/package.json @@ -60,13 +60,13 @@ "dist/" ], "scripts": { - "all": "run-s types build docs lint test", - "types": "run-s types:clean types:compile", - "types:clean": "rimraf ./types/", - "types:compile": "tsc -p ./src/", - "build": "run-s build:clean build:compile", + "all": "run-s build docs lint test", + "build": "run-s build:clean build:types build:compile", "build:clean": "rimraf ./dist/", "build:compile": "rollup -c", + "build:types": "run-s build:types:clean build:types:compile", + "build:types:clean": "rimraf ./types/", + "build:types:compile": "tsc -p ./src/", "docs": "run-s docs:clean docs:compile", "docs:clean": "rimraf ./docs/", "docs:compile": "typedoc ./src/index.js --readme none --out ./docs/",