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 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