From 1d74e970dfe2d4266f9fbc05d99108f98936a674 Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Thu, 14 Mar 2024 20:20:49 +0200 Subject: [PATCH] fix: explicitly specify the 'types' field in package.json (#25) --- CHANGELOG.md | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cb5ca0..2fb3e87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Any changes that haven't been included in a published version will be listed here. - build: specify the package files +- fix: explicitly specify the "types" field in package.json ## 0.14.0 diff --git a/package.json b/package.json index 5e2287f..33c49d3 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.14.0", "description": "typescript-eslint rules for Figma plugin development", "main": "dist/index.js", + "types": "dist/index.d.ts", "scripts": { "build": "npm run clean && tsc -p tsconfig.build.json && npm run update:eslint-docs", "watch": "tsc -p tsconfig.build.json -w",