Skip to content

Commit aff3a46

Browse files
committed
[meta] fix "files" field to include/exclude the proper files
Fixes #1635.
1 parent 986ba74 commit aff3a46

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
1414

1515
### Changed
1616
- [`import/external-module-folders` setting] behavior is more strict now: it will only match complete path segments ([#1605], thanks [@skozin])
17+
- [meta] fix "files" field to include/exclude the proper files ([#1635], thanks [@ljharb])
1718

1819
## [2.20.0] - 2020-01-10
1920
### Added
@@ -645,6 +646,7 @@ for info on changes for earlier releases.
645646

646647
[`memo-parser`]: ./memo-parser/README.md
647648

649+
[#1635]: https://github.com/benmosher/eslint-plugin-import/issues/1635
648650
[#1620]: https://github.com/benmosher/eslint-plugin-import/pull/1620
649651
[#1613]: https://github.com/benmosher/eslint-plugin-import/issues/1613
650652
[#1612]: https://github.com/benmosher/eslint-plugin-import/pull/1612

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010
"test": "tests"
1111
},
1212
"files": [
13+
"*.md",
14+
"LICENSE",
15+
"docs",
1316
"lib",
1417
"config",
15-
"memo-parser"
18+
"memo-parser/{*.js,LICENSE,*.md}"
1619
],
1720
"scripts": {
1821
"prebuild": "rimraf lib",

0 commit comments

Comments
 (0)