Skip to content

Commit af91759

Browse files
authored
fix: Accidentally publishing useless files (#16917)
1 parent 0a613d6 commit af91759

File tree

169 files changed

+410
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+410
-57
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ jobs:
134134
- name: Generate readmes
135135
run: |
136136
make generate-readme
137+
- name: Generate .npmignore
138+
run: |
139+
node scripts/generators/npm-ignore.js
137140
- name: Cleanup fixtures
138141
run: |
139142
node scripts/cleanup-fixtures.js

Makefile.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile.source.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ target["prepublish-build"] = function () {
255255
target["clean-lib"]();
256256
target["clean-runtime-helpers"]();
257257

258+
node(["scripts/generators/npm-ignore.js"]);
259+
258260
env(
259261
() => {
260262
target["build-bundle"]();
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo

eslint/babel-eslint-parser/.npmignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
src
22
test
3-
.*
4-
*.log
3+
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo

eslint/babel-eslint-plugin-development-internal/.npmignore

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
src
22
test
3-
.*
4-
*.log
3+
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo

eslint/babel-eslint-plugin/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
src
22
test
3-
.*
43
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo

packages/babel-cli/.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo

packages/babel-code-frame/.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo

packages/babel-compat-data/.npmignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
build
2-
scripts
31
src
42
test
53
*.log
6-
yarn.lock
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
6+
build
7+
scripts

packages/babel-core/.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
46
cjs-proxy-dev.cjs

packages/babel-generator/.npmignore

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo

packages/babel-helper-check-duplicate-nodes/.npmignore

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
src
22
test
33
*.log
4-
yarn.lock
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
6+
scripts
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo

packages/babel-helpers/.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
6+
scripts

packages/babel-highlight/.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo

packages/babel-node/.npmignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
src
22
test
3-
node_modules
3+
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
6+
scripts
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
46
CONTRIB.md
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
*.log
21
src
32
test
3+
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src
22
test
33
*.log
4+
tsconfig.json
5+
tsconfig.tsbuildinfo

0 commit comments

Comments
 (0)