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

Set files field in all of our package.json files #820

Closed
2 tasks
rauno56 opened this issue Jan 4, 2022 · 3 comments · Fixed by #1786
Closed
2 tasks

Set files field in all of our package.json files #820

rauno56 opened this issue Jan 4, 2022 · 3 comments · Fixed by #1786
Assignees
Labels
contribfest These small and isolated issues are suitable for Kubecon Contribfest enhancement New feature or request good first issue internal never-stale up-for-grabs Good for taking. Extra help will be provided by maintainers

Comments

@rauno56
Copy link
Member

rauno56 commented Jan 4, 2022

files field defines which files ought to be included in the final published package.

  • set files for all the package.json files. Don't include files always included, remove non-existing doc, TS source files. Basically only .js, .js.map and .d.ts files in the build folder need to be included,
  • remove .npmignore files since it doubles files as an blacklist.

Motivation:

@rauno56 rauno56 added bug Something isn't working up-for-grabs Good for taking. Extra help will be provided by maintainers good first issue internal never-stale labels Jan 4, 2022
@dyladan
Copy link
Member

dyladan commented Jan 4, 2022

Existence of this field seems like something that could easily be checked in CI

@rauno56
Copy link
Member Author

rauno56 commented Jan 4, 2022

Existence of this field seems like something that could easily be checked in CI

Yes, that's a good idea! Plus points for adding that for whoever will take this.

@dyladan dyladan added enhancement New feature or request and removed bug Something isn't working labels Sep 21, 2022
@dyladan dyladan added the contribfest These small and isolated issues are suitable for Kubecon Contribfest label Nov 8, 2023
@macno
Copy link
Contributor

macno commented Nov 8, 2023

ready to pick this one #contribfest

macno added a commit to macno/opentelemetry-js-contrib that referenced this issue Nov 9, 2023
macno added a commit to macno/opentelemetry-js-contrib that referenced this issue Nov 9, 2023
macno added a commit to macno/opentelemetry-js-contrib that referenced this issue Nov 9, 2023
macno added a commit to macno/opentelemetry-js-contrib that referenced this issue Nov 9, 2023
macno added a commit to macno/opentelemetry-js-contrib that referenced this issue Nov 9, 2023
macno added a commit to macno/opentelemetry-js-contrib that referenced this issue Nov 9, 2023
macno added a commit to macno/opentelemetry-js-contrib that referenced this issue Nov 9, 2023
macno added a commit to macno/opentelemetry-js-contrib that referenced this issue Nov 9, 2023
macno added a commit to macno/opentelemetry-js-contrib that referenced this issue Nov 9, 2023
macno added a commit to macno/opentelemetry-js-contrib that referenced this issue Nov 9, 2023
macno added a commit to macno/opentelemetry-js-contrib that referenced this issue Nov 9, 2023
macno added a commit to macno/opentelemetry-js-contrib that referenced this issue Nov 9, 2023
blumamir added a commit that referenced this issue Nov 13, 2023
* chore: typo in CONTRIBUTING.md

* chore: cleanup files entries in package.json (#820)

* chore: add missing files entries to package.json (#820)

* chore: remove useless .npmignore (#820)

---------

Co-authored-by: Amir Blum <[email protected]>
jmcdo29 pushed a commit to jmcdo29/opentelemetry-js-contrib that referenced this issue Nov 13, 2023
* chore: typo in CONTRIBUTING.md

* chore: cleanup files entries in package.json (open-telemetry#820)

* chore: add missing files entries to package.json (open-telemetry#820)

* chore: remove useless .npmignore (open-telemetry#820)

---------

Co-authored-by: Amir Blum <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribfest These small and isolated issues are suitable for Kubecon Contribfest enhancement New feature or request good first issue internal never-stale up-for-grabs Good for taking. Extra help will be provided by maintainers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants