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

feat: add "files" to generated package.json #190

Merged
merged 1 commit into from
May 23, 2024
Merged

feat: add "files" to generated package.json #190

merged 1 commit into from
May 23, 2024

Conversation

mdjermanovic
Copy link
Member

Adds "files": [ "lib" ] to the generated package.json.

To avoid lint errors:

C:\projects\tmp\tmp\eslint.config.mjs
   1:22  error  "@eslint/js" is not published                   n/no-unpublished-import
   2:24  error  "eslint-plugin-n" is not published              n/no-unpublished-import
   3:26  error  "eslint-plugin-eslint-plugin" is not published  n/no-unpublished-import

And I believe the plugin author would anyway have to add it before publishing.

Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM.

@nzakas nzakas merged commit cf7d755 into main May 23, 2024
11 checks passed
@nzakas nzakas deleted the package-files branch May 23, 2024 13:49
@github-actions github-actions bot mentioned this pull request May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants