Skip to content

Commit 687089b

Browse files
authored
Remove es5 builds (#9945)
1 parent 389d137 commit 687089b

16 files changed

Lines changed: 3 additions & 210 deletions

File tree

.circleci/config.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,6 @@ jobs:
104104
- store_test_results:
105105
path: reports/junit
106106

107-
test-browser:
108-
working_directory: ~/jest
109-
docker:
110-
- image: circleci/node:12-browsers
111-
steps:
112-
- checkout
113-
- restore-cache: *restore-cache
114-
- run: *install
115-
- save-cache: *save-cache
116-
- run: yarn test-ci-es5-build-in-browser
117-
118107
test-or-deploy-website:
119108
working_directory: ~/jest
120109
docker:
@@ -140,6 +129,5 @@ workflows:
140129
- test-node-13
141130
- test-node-14 # current
142131
- test-jest-circus
143-
- test-browser
144132
- test-or-deploy-website:
145133
filters: *filter-ignore-gh-pages

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
bin/
44
flow-typed/**
55
packages/*/build/**
6-
packages/*/build-es5/**
76
packages/jest-diff/src/cleanupSemantic.ts
87
website/blog
98
website/build

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ module.exports = {
9595
files: [
9696
'packages/jest-jasmine2/src/jasmine/**/*',
9797
'packages/expect/src/jasmineUtils.ts',
98-
'e2e/browser-support/browserTest.js',
9998
'**/vendor/**/*',
10099
],
101100
rules: {

.github/workflows/nodejs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ jobs:
4545
run: yarn verify-old-ts
4646
- name: run eslint
4747
run: yarn lint
48-
- name: run eslint on browser builds
49-
run: yarn lint-es5-build
5048
- name: run prettier
5149
run: yarn lint:prettier:ci
5250
- name: check copyright headers

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
/node_modules
1818

1919
/packages/*/build/
20-
/packages/*/build-es5/
2120
/packages/*/coverage/
2221
/packages/*/node_modules/
2322
/packages/*/package-lock.json

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
### Chore & Maintenance
88

9+
- `[expect, jest-mock, pretty-format]` [**BREAKING**] Remove `build-es5` from package ([#9945](https://github.com/facebook/jest/pull/9945))
10+
911
### Performance
1012

1113
## 25.5.4

e2e/browser-support/browserTest.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

jest.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ module.exports = {
2323
modulePathIgnorePatterns: [
2424
'examples/.*',
2525
'packages/.*/build',
26-
'packages/.*/build-es5',
2726
'packages/jest-runtime/src/__tests__/test_root.*',
2827
'website/.*',
2928
'e2e/runtime-internal-module-registry/__mocks__',
@@ -44,7 +43,6 @@ module.exports = {
4443
'/e2e/global-teardown',
4544
'\\.snap$',
4645
'/packages/.*/build',
47-
'/packages/.*/build-es5',
4846
'/packages/.*/src/__tests__/setPrettyPrint.ts',
4947
'/packages/jest-core/src/__tests__/test_root',
5048
'/packages/jest-core/src/__tests__/__fixtures__/',

karma.conf.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@
5959
"jest-snapshot-serializer-raw": "^1.1.0",
6060
"jest-watch-typeahead": "^0.5.0",
6161
"jquery": "^3.2.1",
62-
"karma": "^4.0.1",
63-
"karma-chrome-launcher": "^3.0.0",
64-
"karma-mocha": "^1.3.0",
65-
"karma-webpack": "^4.0.2",
6662
"lerna": "^3.20.2",
6763
"make-dir": "^3.0.0",
6864
"micromatch": "^4.0.2",
@@ -82,7 +78,6 @@
8278
"tempy": "~0.3.0",
8379
"throat": "^5.0.0",
8480
"typescript": "^3.8.2",
85-
"webpack": "^4.28.4",
8681
"which": "^2.0.1"
8782
},
8883
"scripts": {
@@ -96,14 +91,12 @@
9691
"jest": "node ./packages/jest-cli/bin/jest.js",
9792
"jest-coverage": "yarn jest --coverage",
9893
"lint": "eslint . --cache --ext js,jsx,ts,tsx,md",
99-
"lint-es5-build": "eslint --no-eslintrc --no-ignore --env=browser packages/*/build-es5",
10094
"lint:prettier": "prettier '**/*.{md,yml,yaml}' 'website/static/**/*.{css,js}' --write --ignore-path .gitignore",
10195
"lint:prettier:ci": "prettier '**/*.{md,yml,yaml}' 'website/static/**/*.{css,js}' --check --ignore-path .gitignore",
10296
"postinstall": "opencollective postinstall && yarn build",
10397
"install-no-ts-build": "node ./scripts/remove-postinstall && yarn --no-progress --frozen-lockfile && node ./scripts/build",
10498
"remove-prettier-dep": "node ./scripts/remove-prettier-dep",
10599
"publish": "yarn build-clean && yarn build && lerna publish --silent",
106-
"test-ci-es5-build-in-browser": "karma start --single-run",
107100
"test-ci": "yarn jest-coverage --color -i --config jest.config.ci.js && yarn test-leak && node ./scripts/mapCoverage.js && codecov",
108101
"test-ci-partial": "yarn jest --color -i --config jest.config.ci.js",
109102
"test-pretty-format-perf": "node packages/pretty-format/perf/test.js",

0 commit comments

Comments
 (0)