From e087ec4791729025b01f91aba6d429cd90dd6b2e Mon Sep 17 00:00:00 2001 From: Ben Mosher Date: Thu, 15 Sep 2016 07:07:59 -0400 Subject: [PATCH] updated resolvers/node/package.json to use "files" (fixes #531) --- resolvers/node/.npmignore | 1 - resolvers/node/CHANGELOG.md | 6 ++++++ resolvers/node/package.json | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) delete mode 100644 resolvers/node/.npmignore diff --git a/resolvers/node/.npmignore b/resolvers/node/.npmignore deleted file mode 100644 index 65e3ba2ed..000000000 --- a/resolvers/node/.npmignore +++ /dev/null @@ -1 +0,0 @@ -test/ diff --git a/resolvers/node/CHANGELOG.md b/resolvers/node/CHANGELOG.md index 782d9dc8b..49174cf17 100644 --- a/resolvers/node/CHANGELOG.md +++ b/resolvers/node/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this resolver will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). This change log adheres to standards from [Keep a CHANGELOG](http://keepachangelog.com). +## Unreleased +### Fixed +- use `files` in `package.json` to ship only `index.js` ([#531], thanks for noticing [@lukeapage]) + ## v0.2.3 - 2016-08-20 ### Added - debug logging (use `DEBUG=eslint-plugin-import:resolver:node eslint [...]`) @@ -22,6 +26,8 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel [#438]: https://github.com/benmosher/eslint-plugin-import/pull/438 +[#531]: https://github.com/benmosher/eslint-plugin-import/issues/531 [#437]: https://github.com/benmosher/eslint-plugin-import/issues/437 [@jasonkarns]: https://github.com/jasonkarns +[@lukeapage]: https://github.com/lukeapage diff --git a/resolvers/node/package.json b/resolvers/node/package.json index 00c315cd2..9f37bf98b 100644 --- a/resolvers/node/package.json +++ b/resolvers/node/package.json @@ -3,6 +3,7 @@ "version": "0.2.3", "description": "Node default behavior import resolution plugin for eslint-plugin-import.", "main": "index.js", + "files": ["index.js"], "scripts": { "test": "nyc mocha" },