Skip to content

Ignore files about 'contributing' when publish to npm#18301

Merged
plainheart merged 5 commits into
apache:masterfrom
fullmooooon:master
Feb 23, 2023
Merged

Ignore files about 'contributing' when publish to npm#18301
plainheart merged 5 commits into
apache:masterfrom
fullmooooon:master

Conversation

@fullmooooon
Copy link
Copy Markdown
Contributor

@fullmooooon fullmooooon commented Feb 23, 2023

image

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

Fixed issues

Details

I found this PNG in my "node_modules\echarts" folder. I checked it in the repository. This PNG is not associated with any files in the current code base. Although this 235 KB image only accounts for 0.5% of the entire folder, it is unreasonable to add extra useless files on thousands of front-end developers' computers

Document Info

One of the following should be checked.

  • This PR doesn't relate to document changes
  • The document should be updated later
  • The document changes have been made in apache/echarts-doc#xxx

Misc

ZRender Changes

  • This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs

N.A.

Others

Merging options

  • Please squash the commits into a single one when merging.

Other information

@echarts-bot
Copy link
Copy Markdown

echarts-bot Bot commented Feb 23, 2023

Thanks for your contribution!
The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.

Copy link
Copy Markdown
Member

@plainheart plainheart left a comment

Choose a reason for hiding this comment

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

Thanks for your suggestion! But we can't directly remove the file. It's better to ignore this file when publishing to npm. Just add this file to .npmignore.

@fullmooooon fullmooooon changed the title Delete \asset\contributing-inspect.png Ignore file '\asset\contributing-inspect.png' when publish to npm Feb 23, 2023
@fullmooooon
Copy link
Copy Markdown
Contributor Author

@plainheart Thank you for your suggestion. It has been revised.

Comment thread .npmignore
@fullmooooon fullmooooon changed the title Ignore file '\asset\contributing-inspect.png' when publish to npm Ignore files about 'contributing' when publish to npm Feb 23, 2023
@plainheart plainheart merged commit 6d1f491 into apache:master Feb 23, 2023
@echarts-bot
Copy link
Copy Markdown

echarts-bot Bot commented Feb 23, 2023

Congratulations! Your PR has been merged. Thanks for your contribution! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants