Skip to content

[fix]: Add .npmignore to ensure files are packed correctly#34

Merged
nickhudkins merged 2 commits intomainlinefrom
fix-packaging-issues
Mar 7, 2025
Merged

[fix]: Add .npmignore to ensure files are packed correctly#34
nickhudkins merged 2 commits intomainlinefrom
fix-packaging-issues

Conversation

@ajchili
Copy link
Collaborator

@ajchili ajchili commented Mar 7, 2025

Fixes #33 by adding a .npmignore file.

By default, the files attribute in a package.json file will respect the .gitignore file if no .npmignore file is specified. This results in the dist directory being ignored which is problematic for consumers of @nickhudkins/malcolm since those files are necessary.

Before After
image image

@ajchili ajchili requested a review from nickhudkins March 7, 2025 04:06
@nickhudkins nickhudkins merged commit 8d48697 into mainline Mar 7, 2025
2 checks passed
@nickhudkins nickhudkins deleted the fix-packaging-issues branch March 7, 2025 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NPM package is borked

3 participants