Simen Bekkhus
1c2011dbce
chore: verify all packages have the same engine requirement ( #9871 )
2020-04-23 20:19:29 +02:00
Lucas Azzola
83aad6978a
Handle ERR_REQUIRE_ESM when reading configuration ( #9573 )
2020-02-16 09:05:20 +01:00
Simen Bekkhus
c9250bcff4
chore: correct logging in local build watch mode
2020-02-09 01:51:11 +01:00
Simen Bekkhus
cd6f7553ad
chore: replace mkdirp with make-dir ( #9486 )
2020-01-31 11:43:13 +01:00
Simen Bekkhus
e818dca70b
feat: add support for .mjs config ( #9431 )
2020-01-21 15:58:50 +01:00
Simen Bekkhus
300de984b4
chore: run typescript build as part of typecheck, not normal build ( #7855 )
2019-02-13 12:21:11 +01:00
Simen Bekkhus
384a375e52
chore: inherit stdio when running tsc for better output
2019-02-11 03:21:31 +01:00
Simen Bekkhus
d1ad66e4ab
Migrate pretty-format to TypeScript ( #7809 )
2019-02-06 21:39:09 +01:00
Simen Bekkhus
d792940b01
Setup building, linting and testing of TypeScript ( #7808 )
2019-02-06 10:18:49 +01:00
Simen Bekkhus
89b2f1b3ba
chore: upgrade to prettier 1.16 ( #7658 )
2019-01-22 15:41:18 +01:00
Simen Bekkhus
418d784e80
chore: use createDirectory from jest-util when creating directories ( #7610 )
2019-01-16 08:23:37 +01:00
Rubén Norte
665a93eec7
Update Facebook copyright headers ( #7589 )
...
* Update Facebook copyright headers
* Update changelog
* Fixed CSS comments
* Fixed change in sourcemap
2019-01-08 17:41:54 +00:00
Simen Bekkhus
1818d84b2c
Migrate to Babel 7 ( #7016 )
2018-12-18 10:28:03 +01:00
Simen Bekkhus
e21ae1188d
fix: display test duration even if time is mocked out ( #7264 )
2018-10-24 22:28:59 +02:00
Simen Bekkhus
187ca9ea2c
chore: add babel plugin to make sure Jest is unaffected by fake Promise implementations ( #7225 )
2018-10-24 16:02:08 +02:00
Mark Pedrotti
0098f9bee1
scripts: Don’t make empty subfolders for ignored files in build folder ( #7001 )
2018-09-29 11:44:46 +02:00
Simen Bekkhus
6ad3f848cf
upgrade prettier ( #6344 )
2018-05-30 20:30:20 +02:00
Simen Bekkhus
69c11a0c81
Run prettier on output in build dirs ( #5858 )
2018-03-22 16:15:26 +00:00
Aaron Abramov
d584277a7f
don't build mocks ( #5680 )
2018-02-27 08:10:33 +01:00
Ran Yitzhaki
95c7e5eee1
Scripts standardize file names: Fix file names in scripts directory ( #5511 )
...
* remove _runCommand script as there is no usage for it anymore
* rename _getPackage -> getPackages to follow naming convention
* rename skip_on_windows -> SkipOnWindows to follow naming convention
2018-02-10 10:48:34 +00:00
cpojer
77744a2481
🃏 Change license from BSD+Patents to MIT.
2017-09-26 20:54:29 +01:00
Simen Bekkhus
0cb03f6474
Upgrade to prettier 1.6 ( #4426 )
2017-09-05 16:20:04 +01:00
Simen Bekkhus
a397abaf9f
Rename jest-matchers to expect ( #4345 )
...
* Rename jest-matchers to expect
* lint
2017-08-24 18:35:54 +01:00
Simen Bekkhus
64535a1d0b
Use babel transform to inline all requires ( #4340 )
...
* Use babel transform to inline all requires
* Remove jest-util and jest-validate from blacklist
* Do not apply the inline-require transform to blacklisted modules.
* Always have commonjs plugin, but remove for non-blacklisted deps
2017-08-24 16:26:46 +01:00
Aaron Abramov
bd2bd8ce68
node@4 ./scripts/build ( #4153 )
2017-07-28 09:29:59 -07:00
Aaron Abramov
aa33f2abd5
don't try to build ghost packages ( #3934 )
2017-06-29 08:56:02 +01:00
Kenneth Skovhus
ac25993b51
Use rollup for browser builds ( #3532 )
...
* Remove browser builds for sub dependencies
* Add karma browser tests for es5 builds
* Use rollup for browser builds
* Review comment + prettier
* Fix rollup build by using export for jest-matchers
* Run prettier on unrelated file
2017-06-28 11:08:28 +01:00
Michał Pierzchała
5577ecef57
Make build script printing small-terminals-friendly ( #3892 )
...
* Make build script printing small-terminals-friendly
* Debug windows
* Fallback on undefined stdout.columns
* Bring back 'editor.formatOnSave'
* Update yarn.lock
2017-06-27 01:16:58 +02:00
mpontus
9b157c3a7c
Audit @flow and "use strict" ( #3451 )
...
* Remove 'use strict' from all files
* 'use strict' removed from pacakges' sources
* Strict mode is now enabled automatically by babel
* 'use strict' check removed from dangerfile
* Updated contributing guidelines
* Enable @flow for most files
* Commit yarn.lock
* Revert removal of "use strict" in test and mock files
* Improve annotations for ReportDispatcher
* Replace "void 0" with "undefined"
* Update babel-plugin-transform-strict-mode to match transitive deps
2017-05-12 11:01:23 +01:00
Simen Bekkhus
73368b1a62
Use eslint-plugin-import ( #3423 )
2017-05-11 14:13:49 +01:00
Kenneth Skovhus
4b91e92e31
Add babel-transform-runtime to browser builds ( #3476 )
2017-05-05 07:26:52 +01:00
Kenneth Skovhus
bd8b0715d1
Better browser support ( #3421 )
...
* Add support for building es2015 versions of packages
* Build ES2015 versions of relevant packages
* Ensure no untranspiled code by linting build-es5 folders
2017-05-04 16:23:14 +01:00
Michał Pierzchała
8c2a65120a
Prettier 1.2.2, refactor runCommand ( #3352 )
...
* Prettier 1.2.2, refactor runCommand
* Fix test-examples
* Run prettier on examples and scripts
* Fix integration_tests
* Disable esilnt's computed-property-spacing
2017-04-25 16:16:08 +01:00
jddxf
6f82cdfdec
Use `mkdirp` so that it would work on Windows too. ( #2725 )
2017-01-28 23:51:54 +00:00
Brian Woodward
a78920dc2a
update to use micromatch ( #2338 )
...
* update to use micromatch
* update Configuration docs to point to micromatch for additional glob pattern documentation
2016-12-16 14:44:42 +00:00
Dmitrii Abramov
79cbada3b6
s/chalk.gray/chalk.dim ( #1489 )
2016-08-27 16:24:47 +02:00
Dmitrii Abramov
6c7620237b
single jest run for all packages ( #1361 )
...
* single jest run for all packages
* Split a heavy test into two files (to avoid timeouts)
2016-08-04 15:09:17 -07:00
Christoph Pojer
25b8369291
Use `vm.Script` and refactor coverage caching. ( #1239 )
...
* Use `vm.Script`.
* Rewrite basic coverage support in Jest.
* Move `vm.Script` creation and caching into `transform`.
* Copy all jest packages into example folders.
This ensures we are using the latest version of every package.
* Cache the wrapped code.
* Use babel-jest for Jest itself; update setup.
* Added a transform.js test.
* Relax jest.mock babel transform restrictions.
* Updated package.json and .npmignore for all packages.
* Make watch script resilient to deleted files.
2016-07-07 16:43:12 +09:00
Dmitrii Abramov
deacaec429
npm run watch ( #1146 )
2016-06-14 15:40:21 -07:00
Christoph Pojer
fb820fa811
Annotate FakeTimers. ( #1140 )
...
Also add trailing comma transform.
2016-06-14 14:52:53 -07:00
Will Binns-Smith
55913db2a2
Flowify jest-environment-node ( #1133 )
...
This adds flowtypes to the jest-environment-node package!
2016-06-14 12:47:43 -07:00
Dmitrii Abramov
8185645473
test against build/__tests__
2016-06-13 22:27:15 -07:00
Dmitrii Abramov
1fcf231d95
Build step in preparation for `flow` integration
...
Summary:
It only strips out flow types and puts all .js files into `/build/*` directory
also moved stuff around in the root directory. All build/test/setup related files now are in `./scripts/*`
<img width="605" alt="screen shot 2016-06-03 at 8 18 05 pm" src="https://cloud.githubusercontent.com/assets/940133/15797324/79d4d8c2-29c8-11e6-8910-746bb6e5b92c.png ">
Closes https://github.com/facebook/jest/pull/1113
Differential Revision: D3426709
fbshipit-source-id: fe585d557d53dcce4b23af0538c861b5d1ac292e
2016-06-13 15:00:46 -07:00