Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files field to packages #7104

Merged
merged 1 commit into from
May 17, 2023
Merged

Add files field to packages #7104

merged 1 commit into from
May 17, 2023

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented May 16, 2023

Changes

I found that many of out packages don't specify the "files" field, resulting in src, tests, and turbo logs being published to npm. I've added the field for the packages missing it.

Testing

Ran npm pack for each packages to verify.

Docs

n/a. refactor / bug fix.

@changeset-bot
Copy link

changeset-bot bot commented May 16, 2023

🦋 Changeset detected

Latest commit: 878a027

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added pkg: lit Related to Lit (scope) pkg: preact Related to Preact (scope) pkg: react Related to React (scope) pkg: solid Related to Solid (scope) pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope) pkg: integration Related to any renderer integration (scope) feat: markdown Related to Markdown (scope) labels May 16, 2023
@ematipico
Copy link
Member

Are the readme files still added ?

@bluwy
Copy link
Member Author

bluwy commented May 16, 2023

Yeah, npm/pnpm etc will always pack README.md, package.json, and LICENSE by default. (Edit: not CHANGELOG, that behaviour was removed in npm v7.x)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: markdown Related to Markdown (scope) pkg: integration Related to any renderer integration (scope) pkg: lit Related to Lit (scope) pkg: preact Related to Preact (scope) pkg: react Related to React (scope) pkg: solid Related to Solid (scope) pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants