From f578586ea5e013ef1c8f953ba962fa2d780c8527 Mon Sep 17 00:00:00 2001 From: Hidetake Iwata Date: Sat, 2 Mar 2024 10:42:10 +0900 Subject: [PATCH] Build typescript by ncc (#745) --- .github/workflows/release.yaml | 1 - .github/workflows/ts.yaml | 1 - package.json | 4 +--- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1936273..59ae86e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,7 +24,6 @@ jobs: - run: corepack enable pnpm - run: pnpm i - run: pnpm build - - run: pnpm package - uses: int128/release-typescript-action@94c45715849473c37ebdc66190c9ec4c9543e46b # v1.27.0 with: # TODO: change this on the stable release diff --git a/.github/workflows/ts.yaml b/.github/workflows/ts.yaml index d64cda4..cc5f9ea 100644 --- a/.github/workflows/ts.yaml +++ b/.github/workflows/ts.yaml @@ -33,7 +33,6 @@ jobs: - run: pnpm i - run: pnpm test - run: pnpm build - - run: pnpm package - name: e2e-test uses: ./ diff --git a/package.json b/package.json index ac66153..a15e38f 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,9 @@ { "private": true, - "main": "lib/src/main.js", "scripts": { - "build": "tsc", "format": "prettier --write **/*.ts", "lint": "eslint **/*.ts", - "package": "ncc build --source-map --license licenses.txt", + "build": "ncc build --source-map --license licenses.txt src/main.ts", "test": "jest" }, "dependencies": {