Commit Graph

19 Commits

Author SHA1 Message Date
DorianGrey
6fa3b6ae49 Use ts-jest instead of custom solution for transforming ts files. 2017-07-13 08:21:20 +02:00
Jan-André Zinser
106599d23f Fix code-coverage reports for ts/tsx 2017-06-23 12:12:52 +02:00
William Monk
0b2821f556 Merge pull request #79 from zinserjan/fix-jest-caching
Jest cache busting for ts/tsx files
2017-06-23 10:36:10 +01:00
Jan-André Zinser
0618b12e9a Jest cache busting for ts/tsx files 2017-06-07 20:58:59 +02:00
DorianGrey
5fe4a0fd52 fix(typescriptTransform): Let tsc read the config instead of requiring it
Requiring the config does not support tsconfig options like "extends", which is useful for using multiple configs on a single project.
2017-06-01 11:53:57 +02:00
William Monk
b9b585f147 Fix jest tests 2017-05-22 15:15:37 +01:00
William Monk
32f52bebfe Merge remote-tracking branch 'facebook/master' 2017-05-21 21:27:47 +01:00
Michael Gerhaeuser
138fb63eea Fix eslint findings 2017-04-29 08:32:37 +02:00
Jan Florian Dietrich
dfb348447a Use "compilerOptions" from projects tsconfig for jest
* .. if file is present
* .. if file is valid json
* .. if compilerOptions are set in tsconfig.json
* .. fall back to old value in other cases
2017-03-29 19:09:23 +02:00
William Monk
757416b04a Merge commit '67d04032a3e4d8d4d44c395e7fe291e0d9a381c8' 2017-03-20 22:19:15 +00:00
Valerii Sorokobatko
fe7b5c212b update to modern code style (#1738)
* mv create-react-app/index.js -> create-react-app/creteReactApp.js

* update to modern code style

* var -> cosnt

* set trailing-coma to es5 for prettier
2017-03-07 19:46:10 +00:00
Dan Abramov
0d0df6acf1 Fix internal linting setup and add missing headers (#1741) 2017-03-06 14:24:19 +00:00
Dan Abramov
1bfd5dafdf Fix internal linting setup and add missing headers (#1741) 2017-03-06 14:20:29 +00:00
Daniel Grant
b88d6655eb Modularise scripts (#1433)
* Refactor start script into modules

* Move dev server config into config file

* Replace eject file whitelist with a "remove-file-on-eject" flag

* Move utils into scripts folder (for inclusion in ejection)

* Add missed changes

* Pass showInstructions as an argument

* Fix eject bug

* Don't eject babelTransform
2017-03-03 22:05:07 -05:00
Will Monk
dffa7bec75 Get tests working 2016-12-11 21:21:55 +00:00
Dan Abramov
5456ffff29 Let Jest handle all file types (#1197)
* Let Jest handle all file types

* Update regexes

* Fix exclusion regex to also exclude files without extension
* Be over-cautious with Windows paths because I'm not sure how Jest handles them

* There is no automatic babel-jest discovery now that we use transsform
2016-12-07 20:28:03 +00:00
Nazim Hajidin
a5c30b945f Don't look for babelrc file during test (#1017) 2016-11-20 16:23:11 +02:00
Dan Abramov
ba34b0b79b Eject .babelrc instead of separate configs (#705)
Fixes #410, #674
2016-09-23 00:33:14 +01:00
Ville Immonen
26464096d5 Set up a monorepo with Lerna 2016-09-19 10:52:19 +03:00