From 1ecdc3a691e61ff5bae247f169476826b348dabc Mon Sep 17 00:00:00 2001 From: Karl Saehun Chung Date: Thu, 2 Jan 2025 17:43:01 +0900 Subject: [PATCH] fix: remove fake-esm build (#38) * remove fake-esm build * update pnpm action setup version * fix action yml --- .github/workflows/ci.yml | 2 +- package.json | 4 +--- tsconfig.esm.json | 7 ------- 3 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 tsconfig.esm.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8bf57af..c74149f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup pnpm - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v4 with: version: 8 diff --git a/package.json b/package.json index 7c5a5c1..18cc1c6 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,6 @@ "version": "2.1.6", "main": "dist/index.js", "types": "dist/index.d.ts", - "module": "esm/index.js", "license": "MIT", "engines": { "node": ">=16", @@ -11,10 +10,9 @@ }, "scripts": { "test": "jest --maxWorkers 4", - "build": "rm -rf dist esm && tsc -p tsconfig.build.json && tsc -p tsconfig.esm.json" + "build": "rm -rf dist && tsc -p tsconfig.build.json" }, "files": [ - "esm", "dist", "src" ], diff --git a/tsconfig.esm.json b/tsconfig.esm.json deleted file mode 100644 index 8aba921..0000000 --- a/tsconfig.esm.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "./tsconfig.build.json", - "compilerOptions": { - "outDir": "esm", - "module": "esnext" - } -}