From 6fcdb5cac731b189a64123a29b295134ba94cb1e Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sat, 28 Jan 2023 11:15:58 +0100 Subject: [PATCH 1/2] chore: make sure to exclude .eslintcache from published module --- packages/babel-jest/.npmignore | 1 + packages/babel-plugin-jest-hoist/.npmignore | 1 + packages/babel-preset-jest/.npmignore | 1 + packages/diff-sequences/.npmignore | 1 + packages/expect-utils/.npmignore | 1 + packages/expect/.npmignore | 1 + packages/jest-changed-files/.npmignore | 1 + packages/jest-circus/.npmignore | 1 + packages/jest-cli/.npmignore | 1 + packages/jest-config/.npmignore | 1 + packages/jest-console/.npmignore | 1 + packages/jest-core/.npmignore | 1 + packages/jest-create-cache-key-function/.npmignore | 1 + packages/jest-diff/.npmignore | 1 + packages/jest-docblock/.npmignore | 1 + packages/jest-each/.npmignore | 1 + packages/jest-environment-jsdom/.npmignore | 1 + packages/jest-environment-node/.npmignore | 1 + packages/jest-environment/.npmignore | 1 + packages/jest-expect/.npmignore | 1 + packages/jest-fake-timers/.npmignore | 1 + packages/jest-get-type/.npmignore | 1 + packages/jest-globals/.npmignore | 1 + packages/jest-haste-map/.npmignore | 1 + packages/jest-jasmine2/.npmignore | 1 + packages/jest-leak-detector/.npmignore | 1 + packages/jest-matcher-utils/.npmignore | 1 + packages/jest-message-util/.npmignore | 1 + packages/jest-mock/.npmignore | 1 + packages/jest-phabricator/.npmignore | 2 +- packages/jest-regex-util/.npmignore | 1 + packages/jest-repl/.npmignore | 1 + packages/jest-reporters/.npmignore | 1 + packages/jest-resolve-dependencies/.npmignore | 1 + packages/jest-resolve/.npmignore | 1 + packages/jest-runner/.npmignore | 1 + packages/jest-runtime/.npmignore | 1 + packages/jest-schemas/.npmignore | 1 + packages/jest-snapshot/.npmignore | 1 + packages/jest-source-map/.npmignore | 1 + packages/jest-test-result/.npmignore | 1 + packages/jest-test-sequencer/.npmignore | 1 + packages/jest-transform/.npmignore | 1 + packages/jest-types/.npmignore | 1 + packages/jest-util/.npmignore | 1 + packages/jest-validate/.npmignore | 1 + packages/jest-watcher/.npmignore | 1 + packages/jest-worker/.npmignore | 1 + packages/jest/.npmignore | 1 + packages/pretty-format/.npmignore | 1 + 50 files changed, 50 insertions(+), 1 deletion(-) diff --git a/packages/babel-jest/.npmignore b/packages/babel-jest/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/babel-jest/.npmignore +++ b/packages/babel-jest/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/babel-plugin-jest-hoist/.npmignore b/packages/babel-plugin-jest-hoist/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/babel-plugin-jest-hoist/.npmignore +++ b/packages/babel-plugin-jest-hoist/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/babel-preset-jest/.npmignore b/packages/babel-preset-jest/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/babel-preset-jest/.npmignore +++ b/packages/babel-preset-jest/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/diff-sequences/.npmignore b/packages/diff-sequences/.npmignore index 8dda7de8f4fe..d6ae93cfed1f 100644 --- a/packages/diff-sequences/.npmignore +++ b/packages/diff-sequences/.npmignore @@ -6,3 +6,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/expect-utils/.npmignore b/packages/expect-utils/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/expect-utils/.npmignore +++ b/packages/expect-utils/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/expect/.npmignore b/packages/expect/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/expect/.npmignore +++ b/packages/expect/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-changed-files/.npmignore b/packages/jest-changed-files/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-changed-files/.npmignore +++ b/packages/jest-changed-files/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-circus/.npmignore b/packages/jest-circus/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-circus/.npmignore +++ b/packages/jest-circus/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-cli/.npmignore b/packages/jest-cli/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-cli/.npmignore +++ b/packages/jest-cli/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-config/.npmignore b/packages/jest-config/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-config/.npmignore +++ b/packages/jest-config/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-console/.npmignore b/packages/jest-console/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-console/.npmignore +++ b/packages/jest-console/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-core/.npmignore b/packages/jest-core/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-core/.npmignore +++ b/packages/jest-core/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-create-cache-key-function/.npmignore b/packages/jest-create-cache-key-function/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-create-cache-key-function/.npmignore +++ b/packages/jest-create-cache-key-function/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-diff/.npmignore b/packages/jest-diff/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-diff/.npmignore +++ b/packages/jest-diff/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-docblock/.npmignore b/packages/jest-docblock/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-docblock/.npmignore +++ b/packages/jest-docblock/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-each/.npmignore b/packages/jest-each/.npmignore index f0309881b754..9263e07f7d06 100644 --- a/packages/jest-each/.npmignore +++ b/packages/jest-each/.npmignore @@ -6,3 +6,4 @@ assets tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-environment-jsdom/.npmignore b/packages/jest-environment-jsdom/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-environment-jsdom/.npmignore +++ b/packages/jest-environment-jsdom/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-environment-node/.npmignore b/packages/jest-environment-node/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-environment-node/.npmignore +++ b/packages/jest-environment-node/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-environment/.npmignore b/packages/jest-environment/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-environment/.npmignore +++ b/packages/jest-environment/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-expect/.npmignore b/packages/jest-expect/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-expect/.npmignore +++ b/packages/jest-expect/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-fake-timers/.npmignore b/packages/jest-fake-timers/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-fake-timers/.npmignore +++ b/packages/jest-fake-timers/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-get-type/.npmignore b/packages/jest-get-type/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-get-type/.npmignore +++ b/packages/jest-get-type/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-globals/.npmignore b/packages/jest-globals/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-globals/.npmignore +++ b/packages/jest-globals/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-haste-map/.npmignore b/packages/jest-haste-map/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-haste-map/.npmignore +++ b/packages/jest-haste-map/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-jasmine2/.npmignore b/packages/jest-jasmine2/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-jasmine2/.npmignore +++ b/packages/jest-jasmine2/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-leak-detector/.npmignore b/packages/jest-leak-detector/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-leak-detector/.npmignore +++ b/packages/jest-leak-detector/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-matcher-utils/.npmignore b/packages/jest-matcher-utils/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-matcher-utils/.npmignore +++ b/packages/jest-matcher-utils/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-message-util/.npmignore b/packages/jest-message-util/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-message-util/.npmignore +++ b/packages/jest-message-util/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-mock/.npmignore b/packages/jest-mock/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-mock/.npmignore +++ b/packages/jest-mock/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-phabricator/.npmignore b/packages/jest-phabricator/.npmignore index 0238c408fd91..bb9fdb98bae7 100644 --- a/packages/jest-phabricator/.npmignore +++ b/packages/jest-phabricator/.npmignore @@ -1,8 +1,8 @@ **/__mocks__/** **/__tests__/** -example __typetests__ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-regex-util/.npmignore b/packages/jest-regex-util/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-regex-util/.npmignore +++ b/packages/jest-regex-util/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-repl/.npmignore b/packages/jest-repl/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-repl/.npmignore +++ b/packages/jest-repl/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-reporters/.npmignore b/packages/jest-reporters/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-reporters/.npmignore +++ b/packages/jest-reporters/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-resolve-dependencies/.npmignore b/packages/jest-resolve-dependencies/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-resolve-dependencies/.npmignore +++ b/packages/jest-resolve-dependencies/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-resolve/.npmignore b/packages/jest-resolve/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-resolve/.npmignore +++ b/packages/jest-resolve/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-runner/.npmignore b/packages/jest-runner/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-runner/.npmignore +++ b/packages/jest-runner/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-runtime/.npmignore b/packages/jest-runtime/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-runtime/.npmignore +++ b/packages/jest-runtime/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-schemas/.npmignore b/packages/jest-schemas/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-schemas/.npmignore +++ b/packages/jest-schemas/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-snapshot/.npmignore b/packages/jest-snapshot/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-snapshot/.npmignore +++ b/packages/jest-snapshot/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-source-map/.npmignore b/packages/jest-source-map/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-source-map/.npmignore +++ b/packages/jest-source-map/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-test-result/.npmignore b/packages/jest-test-result/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-test-result/.npmignore +++ b/packages/jest-test-result/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-test-sequencer/.npmignore b/packages/jest-test-sequencer/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-test-sequencer/.npmignore +++ b/packages/jest-test-sequencer/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-transform/.npmignore b/packages/jest-transform/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-transform/.npmignore +++ b/packages/jest-transform/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-types/.npmignore b/packages/jest-types/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-types/.npmignore +++ b/packages/jest-types/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-util/.npmignore b/packages/jest-util/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-util/.npmignore +++ b/packages/jest-util/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-validate/.npmignore b/packages/jest-validate/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-validate/.npmignore +++ b/packages/jest-validate/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-watcher/.npmignore b/packages/jest-watcher/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest-watcher/.npmignore +++ b/packages/jest-watcher/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest-worker/.npmignore b/packages/jest-worker/.npmignore index 8dda7de8f4fe..d6ae93cfed1f 100644 --- a/packages/jest-worker/.npmignore +++ b/packages/jest-worker/.npmignore @@ -6,3 +6,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/jest/.npmignore b/packages/jest/.npmignore index 80bf61eb922c..bb9fdb98bae7 100644 --- a/packages/jest/.npmignore +++ b/packages/jest/.npmignore @@ -5,3 +5,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache diff --git a/packages/pretty-format/.npmignore b/packages/pretty-format/.npmignore index 8dda7de8f4fe..d6ae93cfed1f 100644 --- a/packages/pretty-format/.npmignore +++ b/packages/pretty-format/.npmignore @@ -6,3 +6,4 @@ src tsconfig.json tsconfig.tsbuildinfo api-extractor.json +.eslintcache From d3e653aee77c0c69741c4928a7241a7fb1bf16e1 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sat, 28 Jan 2023 11:17:09 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 472efe9b8e45..4997b655331c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ ### Chore & Maintenance +- `[*]` make sure to exclude `.eslintcache` from published module ([#13832](https://github.com/facebook/jest/pull/13832)) + ### Performance ## 29.4.1