Skip to content

Commit

Permalink
fix: Accidentally publishing useless files (#16917)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu authored Oct 22, 2024
1 parent 0a613d6 commit af91759
Show file tree
Hide file tree
Showing 169 changed files with 410 additions and 57 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ jobs:
- name: Generate readmes
run: |
make generate-readme
- name: Generate .npmignore
run: |
node scripts/generators/npm-ignore.js
- name: Cleanup fixtures
run: |
node scripts/cleanup-fixtures.js
Expand Down
4 changes: 2 additions & 2 deletions Makefile.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Makefile.source.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ target["prepublish-build"] = function () {
target["clean-lib"]();
target["clean-runtime-helpers"]();

node(["scripts/generators/npm-ignore.js"]);

env(
() => {
target["build-bundle"]();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
5 changes: 3 additions & 2 deletions eslint/babel-eslint-parser/.npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
src
test
.*
*.log
*.log
tsconfig.json
tsconfig.tsbuildinfo
4 changes: 0 additions & 4 deletions eslint/babel-eslint-plugin-development-internal/.npmignore

This file was deleted.

5 changes: 3 additions & 2 deletions eslint/babel-eslint-plugin-development/.npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
src
test
.*
*.log
*.log
tsconfig.json
tsconfig.tsbuildinfo
3 changes: 2 additions & 1 deletion eslint/babel-eslint-plugin/.npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
src
test
.*
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-cli/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-code-frame/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
7 changes: 4 additions & 3 deletions packages/babel-compat-data/.npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
build
scripts
src
test
*.log
yarn.lock
tsconfig.json
tsconfig.tsbuildinfo
build
scripts
2 changes: 2 additions & 0 deletions packages/babel-core/.npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
cjs-proxy-dev.cjs
4 changes: 0 additions & 4 deletions packages/babel-generator/.npmignore

This file was deleted.

2 changes: 2 additions & 0 deletions packages/babel-helper-annotate-as-pure/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-builder-react-jsx/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
3 changes: 0 additions & 3 deletions packages/babel-helper-check-duplicate-nodes/.npmignore

This file was deleted.

3 changes: 2 additions & 1 deletion packages/babel-helper-compilation-targets/.npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
src
test
*.log
yarn.lock
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-create-class-features-plugin/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-fixtures/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-import-to-platform-api/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-module-imports/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-module-transforms/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-optimise-call-expression/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-plugin-test-runner/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-plugin-utils/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-remap-async-to-generator/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-replace-supers/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-simple-access/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-string-parser/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
3 changes: 3 additions & 0 deletions packages/babel-helper-validator-identifier/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
scripts
2 changes: 2 additions & 0 deletions packages/babel-helper-validator-option/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-helper-wrap-function/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
3 changes: 3 additions & 0 deletions packages/babel-helpers/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
scripts
2 changes: 2 additions & 0 deletions packages/babel-highlight/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
5 changes: 4 additions & 1 deletion packages/babel-node/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
src
test
node_modules
*.log
tsconfig.json
tsconfig.tsbuildinfo
scripts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-plugin-external-helpers/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-plugin-proposal-decorators/.npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
CONTRIB.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-plugin-proposal-do-expressions/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-plugin-proposal-export-default-from/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-plugin-proposal-function-bind/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-plugin-proposal-function-sent/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-plugin-proposal-import-defer/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-plugin-proposal-import-wasm-source/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-plugin-proposal-json-modules/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-plugin-proposal-partial-application/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
4 changes: 3 additions & 1 deletion packages/babel-plugin-proposal-pipeline-operator/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.log
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
2 changes: 2 additions & 0 deletions packages/babel-plugin-proposal-record-and-tuple/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
src
test
*.log
tsconfig.json
tsconfig.tsbuildinfo
Loading

0 comments on commit af91759

Please sign in to comment.