From e3f33add16c1a226c7fc67d721e12dc18f282ab4 Mon Sep 17 00:00:00 2001 From: Adrian Smijulj Date: Wed, 6 Jul 2022 12:54:45 +0200 Subject: [PATCH] fix: replace `--noEmit` with `--emitDeclarationOnly` --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d1f4536..b8278a7 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "github-actions-wac": "./bin.js" }, "scripts": { - "build": "rm -rf dist && swc src -d dist --source-maps --extensions '.ts' && tsc ./src/**/*.ts --outDir dist --declaration --noEmit", + "build": "rm -rf dist && swc src -d dist --source-maps --extensions '.ts' && tsc ./src/**/*.ts --outDir dist --declaration --emitDeclarationOnly", "watch": "swc src -d dist --source-maps --extensions '.ts' --watch", "prepare-dist-for-release": "cp README.md dist/README.md && cp package.json dist/package.json", "generate-gh-actions-workflow-types": "ts-node scripts/generateGithubActionsWorkflowTypes.ts",