From ed5387fd7c7d18ab2bb321655d9c5a2c731959d9 Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Wed, 6 Mar 2024 17:34:33 +0200 Subject: [PATCH] build: specify the package files --- CHANGELOG.md | 2 ++ CONTRIBUTING.md | 2 +- package.json | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b8f18c..1cb5ca0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ Any changes that haven't been included in a published version will be listed here. +- build: specify the package files + ## 0.14.0 - Added `node.reactions = ...` to the list of banned property setters under `ban-deprecated-sync-prop-setters`. Use `node.setReactionsAsync` instead. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 288ba20..3c59e2e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,7 +42,7 @@ To run tests, run: npm run tests ``` -To run an invidual test, you can run Jest with the `-t` parameter, followed by the string handle for the test. The handle is declared in each test file. Example: +To run an individual test, you can run Jest with the `-t` parameter, followed by the string handle for the test. The handle is declared in each test file. Example: ``` npx jest -t 'await-requires-async' diff --git a/package.json b/package.json index ef8258e..5a0454e 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,11 @@ "url": "https://github.com/figma/eslint-plugin-figma-plugins/issues" }, "homepage": "https://github.com/figma/eslint-plugin-figma-plugins#readme", + "files": [ + "dist/", + "LICENSE", + "README.md" + ], "dependencies": { "@typescript-eslint/typescript-estree": "^6.13.2", "@typescript-eslint/utils": "^6.12.0",