Skip to content

Commit

Permalink
fix(config): show version warning when using ts-jest without babel (#…
Browse files Browse the repository at this point in the history
…1729)

Fixes [undefined target](#1678 (comment))

Fixes [usage-with-Babel](#1678 (comment))
  • Loading branch information
ahnpnl committed Jun 14, 2020
1 parent 3f39b52 commit e512bc0
Show file tree
Hide file tree
Showing 16 changed files with 2,918 additions and 572 deletions.
210 changes: 105 additions & 105 deletions e2e/__templates__/default/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions e2e/__templates__/default/package.json
Expand Up @@ -3,8 +3,8 @@
"version": "0.0.0-tmpl.0",
"private": true,
"devDependencies": {
"@types/jest": "25.2.3",
"@types/node": "12.12.44",
"@types/jest": "26.0.0",
"@types/node": "12.12.47",
"jest": "26.0.1",
"typescript": "3.9.5"
},
Expand Down
3 changes: 3 additions & 0 deletions e2e/__templates__/with-babel-7-string-config/babel.config.js
@@ -1,2 +1,5 @@
module.exports = {
presets: [
"@babel/preset-env"
]
}
1,375 changes: 1,242 additions & 133 deletions e2e/__templates__/with-babel-7-string-config/package-lock.json

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions e2e/__templates__/with-babel-7-string-config/package.json
Expand Up @@ -4,14 +4,16 @@
"private": true,
"devDependencies": {
"@babel/core": "7.10.2",
"@types/jest": "25.2.3",
"@types/node": "12.12.44",
"@babel/preset-env": "7.10.2",
"@types/jest": "26.0.0",
"@types/node": "12.12.47",
"babel-jest": "26.0.1",
"jest": "26.0.1",
"typescript": "3.9.5"
},
"wantedDependencies": {
"@babel/core": "7",
"@babel/preset-env": "7",
"@types/jest": "latest",
"@types/node": "12",
"babel-jest": "latest",
Expand Down
5 changes: 5 additions & 0 deletions e2e/__templates__/with-babel-7/babel.config.js
@@ -0,0 +1,5 @@
module.exports = {
presets: [
"@babel/preset-env"
]
}
1,375 changes: 1,242 additions & 133 deletions e2e/__templates__/with-babel-7/package-lock.json

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions e2e/__templates__/with-babel-7/package.json
Expand Up @@ -4,14 +4,16 @@
"private": true,
"devDependencies": {
"@babel/core": "7.10.2",
"@types/jest": "25.2.3",
"@types/node": "12.12.44",
"@babel/preset-env": "7.10.2",
"@types/jest": "26.0.0",
"@types/node": "12.12.47",
"babel-jest": "26.0.1",
"jest": "26.0.1",
"typescript": "3.9.5"
},
"wantedDependencies": {
"@babel/core": "7",
"@babel/preset-env": "7",
"@types/jest": "latest",
"@types/node": "12",
"babel-jest": "latest",
Expand Down

0 comments on commit e512bc0

Please sign in to comment.