Skip to content

Commit 4b0b1fb

Browse files
marlonkeatingmuselesscreator
authored andcommitted
feat: Re-enable typescript for production builds
build: Add .ts/.tsx extensions to webpack resolver chore: Add ending newline to Image.tsx build: Use typescript config from @edx/eslint-config chore: formatting
1 parent edb8de8 commit 4b0b1fb

File tree

3 files changed

+16
-30
lines changed

3 files changed

+16
-30
lines changed

config/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const path = require('path');
22
const fs = require('fs');
3-
const { defaults: tsjPreset } = require('ts-jest/presets');
3+
const { jsWithTs: tsjPreset } = require('ts-jest/presets');
44

55
const presets = require('../lib/presets');
66

package-lock.json

Lines changed: 10 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
"@typescript-eslint/eslint-plugin": "^5.58.0",
4646
"@typescript-eslint/parser": "^5.58.0",
4747
"autoprefixer": "10.4.15",
48+
"@edx/eslint-config": "4.0.0-alpha.1",
49+
"@edx/typescript-config": "^1.0.0",
50+
"@types/jest": "^26.0.0",
51+
"@typescript-eslint/eslint-plugin": "^5.58.0",
52+
"@typescript-eslint/parser": "^5.58.0",
4853
"babel-jest": "26.6.3",
4954
"babel-loader": "9.1.3",
5055
"babel-plugin-react-intl": "7.9.4",

0 commit comments

Comments
 (0)