Skip to content

fix: add files and remove npmignore#7500

Merged
janechu merged 1 commit intoreleases/fast-element-v3from
users/janechu/add-files-instead-of-npmignore
Apr 29, 2026
Merged

fix: add files and remove npmignore#7500
janechu merged 1 commit intoreleases/fast-element-v3from
users/janechu/add-files-instead-of-npmignore

Conversation

@janechu
Copy link
Copy Markdown
Collaborator

@janechu janechu commented Apr 28, 2026

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.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

}
},
"files": [
"./dist",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this still have the tests in them?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great question, no because we went from Karma to Playwright, so we do not need to compile our tests to JS, as such they never make it to ./dist.

@janechu janechu merged commit 41800ca into releases/fast-element-v3 Apr 29, 2026
11 checks passed
@janechu janechu deleted the users/janechu/add-files-instead-of-npmignore branch April 29, 2026 05:20
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.

2 participants