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

Ignore some files in npm package #10882

Merged
merged 3 commits into from Dec 18, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/babel-generator/.npmignore
@@ -1,3 +1,4 @@
src
test
scripts
*.log
3 changes: 3 additions & 0 deletions packages/babel-plugin-proposal-pipeline-operator/.npmignore
@@ -0,0 +1,3 @@
*.log
src
test
@@ -0,0 +1,3 @@
*.log
src
test
2 changes: 2 additions & 0 deletions packages/babel-plugin-syntax-pipeline-operator/.npmignore
@@ -0,0 +1,2 @@
*.log
src
JLHwung marked this conversation as resolved.
Show resolved Hide resolved
3 changes: 3 additions & 0 deletions packages/babel-plugin-transform-dotall-regex/.npmignore
@@ -0,0 +1,3 @@
*.log
src
test
3 changes: 1 addition & 2 deletions packages/babel-preset-env-standalone/package.json
Expand Up @@ -5,8 +5,7 @@
"main": "babel-preset-env.js",
"files": [
"babel-preset-env.js",
"babel-preset-env.min.js",
"src"
"babel-preset-env.min.js"
],
"scripts": {
"prepublishOnly": "cd ../.. && make prepublish-build-preset-env-standalone"
Expand Down
3 changes: 3 additions & 0 deletions packages/babel-preset-typescript/.npmignore
@@ -0,0 +1,3 @@
*.log
src
test
3 changes: 1 addition & 2 deletions packages/babel-standalone/package.json
Expand Up @@ -5,8 +5,7 @@
"main": "babel.js",
"files": [
"babel.js",
"babel.min.js",
"src"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I remove the src here because

  1. It is untranspiled since day 1 of @babel/standalone and nobody ever complains about that
  2. src is not intended to be used by end users

"babel.min.js"
],
"scripts": {
"prepublishOnly": "cd ../.. && make prepublish-build-standalone"
Expand Down