Skip to content

Commit 41800ca

Browse files
authored
fix: add files and remove npmignore (#7500)
# Pull Request ## 📖 Description The old `.npmignore` was too cumbersome and missed new files going in. This opt-in strategy with the `files` property of `package.json` is a much cleaner and easier to maintain approach for package contents. ## ✅ Checklist ### General - [ ] I have included a change request file using `$ npm run change` - [ ] I have added tests for my changes. - [x] I have tested my changes. - [ ] I have updated the project documentation to reflect my changes. - [x] I have read the [CONTRIBUTING](https://github.com/microsoft/fast/blob/main/CONTRIBUTING.md) documentation and followed the [standards](https://github.com/microsoft/fast/blob/main/CODE_OF_CONDUCT.md#our-standards) for this project.
1 parent 4decca1 commit 41800ca

2 files changed

Lines changed: 5 additions & 22 deletions

File tree

packages/fast-element/.npmignore

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/fast-element/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,5 +226,9 @@
226226
"devDependencies": {
227227
"@microsoft/fast-build": "*",
228228
"@microsoft/webui": "0.0.10"
229-
}
229+
},
230+
"files": [
231+
"./dist",
232+
"CHANGELOG.md"
233+
]
230234
}

0 commit comments

Comments
 (0)