From 22efba2dfd8d5bcd1b483db90d8871fc8155331b Mon Sep 17 00:00:00 2001 From: Aaron Klinker Date: Sun, 21 Jan 2024 15:25:40 -0600 Subject: [PATCH] Fix lint --- .github/workflows/verify.yml | 6 +++--- package.json | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 9baef87..17046b4 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -29,12 +29,12 @@ jobs: - name: Type Check run: pnpm compile - - name: Lint - run: pnpm lint - - name: Build run: pnpm build + - name: Lint + run: pnpm lint + - name: Test run: pnpm test diff --git a/package.json b/package.json index 50d0288..5ef2507 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,18 @@ "bin": { "publish-extension": "bin/publish-extension.cjs" }, + "exports": [ + { + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + }, + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + ], "scripts": { "format": "prettier --write .", "format:check": "prettier --check .",