From 62a2673f65ab1f592063628bf3879d851a02591e Mon Sep 17 00:00:00 2001 From: "Shahar \"Dawn\" Or" Date: Mon, 11 Nov 2024 15:06:30 +0700 Subject: [PATCH] fix: include missing files in package fixes #1890 --- .npmignore | 3 +++ package.json | 7 +------ src/{fixture.ts => test/_fixture.ts} | 0 3 files changed, 4 insertions(+), 6 deletions(-) create mode 100644 .npmignore rename src/{fixture.ts => test/_fixture.ts} (100%) diff --git a/.npmignore b/.npmignore new file mode 100644 index 00000000..87bbe8cb --- /dev/null +++ b/.npmignore @@ -0,0 +1,3 @@ +**/* +!/lib/**/* +/lib/test/**/* diff --git a/package.json b/package.json index ca3d789c..0a4f9764 100644 --- a/package.json +++ b/package.json @@ -95,10 +95,5 @@ "type-fest": "4.26.1", "typescript": "5.6.3", "typescript-eslint_bottom": "npm:typescript-eslint@8.12.0" - }, - "files": [ - "lib/index.js", - "lib/index.d.ts", - "lib/rules.js" - ] + } } diff --git a/src/fixture.ts b/src/test/_fixture.ts similarity index 100% rename from src/fixture.ts rename to src/test/_fixture.ts