Aaron Reisman
2aaf71eed0
Add eslintConfig to new projects automatically ( #1457 )
2018-09-21 08:18:18 -04:00
Jack Zhao
5254ffebca
Use Yarn cache for Travis ( #4774 )
...
* support scoped packages for cra --scripts-version option
* cache yarn
* only cache yarn
* also cache .npm
2018-09-21 08:10:16 -04:00
Joe Haddad
ca2e9f0f3c
Adjust ESLint configuration for v5 ( #5051 )
2018-09-21 08:07:12 -04:00
Jack Zhao
58e00a3109
Bump (peer) dependencies to ESLint 5.6 ( #5050 )
2018-09-21 07:35:02 -04:00
Jack Zhao
d0ed84507b
Convert test suite to Jest ( #4550 )
...
* convert mocha tests to jest
* jest 23
* add jest configs
* use material css
* fix windows
* forceExit jest test
* force exit eject
* test
* test
* retrigger test
* remove appveyor comment
* try to remove pretendToBeVisual option
* use jsdom env
* test environment
* no cache
* test no close
* bring back raf
* test revert all broken changes
* add back jsdom
* remove jsdom
* node test environment
* use latest change
* runInBand
* runInBand
* comment test run
* try different jest option
* standardize jest test options
* increase heap size
* remove heap size config
* support scoped packages for cra --scripts-version option
* upgrade jest version
* fix windows
* fix windows again
* jest 23.4.1
* babel-jest
* babel-jest
* split out kitchhensink
* travis node 6
* travis node 6 config
* node 6 travis eject
* cache yarn
* only cache yarn
* remove unrelated changes
* typo
2018-09-21 05:17:45 -04:00
Jason Laster
2ed8eccf08
Switch to eval-source-map ( #4930 )
2018-09-20 18:54:50 -04:00
Joe Haddad
e8b0ee8080
Allow dynamic import proposal in node_modules ( #5047 )
2018-09-20 16:54:12 -04:00
Joe Haddad
9ac99cef31
Change browsers output to be a single line
2018-09-20 16:50:40 -04:00
Joe Haddad
e2dc3fc5a4
Lessen significance of browserslist
...
Adjust the default browsers to be a single list and remove it from the build output; it only affects CSS now
2018-09-20 16:48:45 -04:00
Joe Haddad
a1a08dba98
Correct Babel dependency behavior ( #5046 )
...
* Correct babel dependency compile target
* Correctly compile runtime for dependencies
2018-09-20 16:24:08 -04:00
James B. Pollack
7d41493e73
Reorder Storybook resources to be more helpful ( #5035 )
2018-09-20 16:23:04 -04:00
Joe Haddad
4abc5c4877
Always lint with latest React version ( #5043 )
...
This is the best behavior so people have seamless upgrades to new React majors.
This is probably a terrible default warning from the ESLint plugin, and we need to wait for https://github.com/yannickcr/eslint-plugin-react/issues/1955 before changing this hardcoded behavior.
Closes #5034
2018-09-20 11:58:27 -04:00
Joe Haddad
c989b70b89
Further tweak runtime plugin per documentation
2018-09-20 11:26:33 -04:00
Joe Haddad
054ba79ff6
Turn off use built ins
2018-09-20 11:22:59 -04:00
Joe Haddad
0da9f2d6c2
Switch back to main eslint-loader
...
Closes #5020
2018-09-20 10:21:52 -04:00
Joe Haddad
0bdbe42768
Upgrade to Babel 7 stable ( #5042 )
...
Closes #4932 , Closes #4876
2018-09-20 10:17:09 -04:00
Joe Haddad
c9e1876382
Lock babel configuration back to IE 9 support (ES5) ( #5033 )
2018-09-19 15:54:24 -04:00
Joe Haddad
e41c67dfce
Upgrade Prettier
2018-09-19 14:48:04 -04:00
Joe Haddad
25ebe01399
Upgrade react-scripts dependencies ( #5032 )
...
* No lock files prevents the use of yarn upgrade & outdated
* Update deps
* Bump Jest across the board
* Add safe postcss parser
2018-09-19 14:44:08 -04:00
Jeffrey Posnick
1b2813144b
Updates to reflect service worker registration being opt-in ( #3924 )
...
* Updates to reflect service worker registration being opt-in.
* Fixed an anchor link.
* Updates to SWPrecacheWebpackPlugin config, and corresponding docs.
2018-09-19 14:08:38 -04:00
Joe Haddad
c1ccbbc282
Upgrade html-webpack-plugin to fix tests ( #5031 )
...
* Upgrade html webpack plugin
* Fix build
2018-09-19 12:09:18 -04:00
Joe Haddad
d55525651f
Disable webpack chunk coalescing ( #5030 )
...
* Disable webpack chunk rollup
* Bump timeout
* Revert "Bump timeout"
This reverts commit 84632115d178b48e08eb75dc5e9a921ece6aa759.
2018-09-19 09:43:57 -04:00
Fredrik Palmquist
f11bea1e4c
Fix file size reporter on Windows ( #5025 )
...
* fix FileSizeReporter in Windows enviroment
* chore: change line endings
2018-09-19 08:25:55 -04:00
Joe Haddad
9bbc1775bb
Remove mjs support ( #5027 )
...
* Revert Lerna dependency, there's too many bugs in v3
* Remove `mjs` support
2018-09-18 17:09:27 -04:00
Joe Haddad
7398ee6fcd
Revert Lerna dependency, there's too many bugs in v3
2018-09-18 16:52:56 -04:00
Joe Haddad
ac12d38a7f
Upgrade workplace dependencies
2018-09-18 14:49:27 -04:00
Joe Haddad
50b4857ff8
Revert "Add support for yarn and lerna monorepos. ( #3741 )"
...
This reverts commit b43ad04b88 .
2018-09-18 14:31:19 -04:00
Joe Haddad
92e40c38e8
Revert "Add react-scripts version compatibility for monorepos. ( #3953 )"
...
This reverts commit aa8789b1aa .
2018-09-18 14:31:19 -04:00
Joe Haddad
10e8fd5531
Revert "Ensure workspaces key exists in parent package.json ( #3989 )"
...
This reverts commit 47d2d94118 .
2018-09-18 14:31:19 -04:00
Joe Haddad
cc328d6287
Revert "Use yarn when running inside yarn workspace. ( #3997 )"
...
This reverts commit 2c34d5b66e .
2018-09-18 14:31:19 -04:00
Joe Haddad
d8c2da5668
Revert "Add support for new yarn workspaces config format ( #4001 )"
...
This reverts commit 9690bc86d5 .
2018-09-18 14:31:19 -04:00
Joe Haddad
02b30d696c
Revert "Fix typos in example monorepo documentation. ( #4164 )"
...
This reverts commit 058d03f8f8 .
2018-09-18 14:31:19 -04:00
Joe Haddad
2300f9e983
Switch from uglifyjs to terser ( #5026 )
...
Uglify is no longer maintained and has bugs not present in Terser (its successor)
2018-09-18 14:31:02 -04:00
Joe Haddad
e6ba967581
Force color during Jest tests (for CI)
2018-09-17 19:59:15 -04:00
Joe Haddad
54dc975c86
Add test cases so message output can be tweaked with confidence
2018-09-17 19:59:15 -04:00
Joe Haddad
98a875a032
Fix unfound export error
2018-09-17 19:59:15 -04:00
Joe Haddad
74e452712b
Fix message massaging for ESLint warnings
2018-09-17 19:59:14 -04:00
Joe Haddad
5ba88da723
Fix css error message massaging
2018-09-17 19:59:14 -04:00
Joe Haddad
710557f2f4
Fix syntax error message massaging
2018-09-17 19:59:14 -04:00
Joe Haddad
22353ecf02
Fix ESLint output formatting
...
The `formatter` option is incompatible with with `thread-loader`.
The `formatter` option previously accepted a function which was lost during JSON serialization.
2018-09-17 19:59:14 -04:00
Joe Haddad
7edb1b508d
Add prettierrc file for monorepo development
2018-09-17 19:59:14 -04:00
Joe Haddad
97d7da7dac
Purge AppVeyor cache
2018-09-17 19:59:14 -04:00
Joe Haddad
311215d161
Upgrade webpack and thread-loader
2018-09-17 19:59:14 -04:00
Joe Haddad
a3707eb642
Pin package versions
2018-09-17 19:59:14 -04:00
Eugene Kopich
d66216ee80
docs: flowtype.org -> flow.org ( #4881 )
2018-09-17 19:50:55 -04:00
Tore Hammervoll
11580f22f2
Update jest version ( #4846 )
...
* Update jest version
* Update babel-jest version
* Use testURL: http://localhost in jest configs.
* Update to jest version 23.5
This version of jest includes a fix for https://github.com/jsdom/jsdom/issues/2304
* "testURL": "http://localhost " is default with jest v23.5
2018-09-17 01:28:16 +01:00
Anna Henningsen
7b7acde872
Update webpack-dev-server 3.1.5 → 3.1.7 ( #4955 )
...
This fixes the functionality of this dependency for Node 10 and above.
Refs: https://github.com/webpack/webpack-dev-server/pull/1451
Refs: https://github.com/nodejs/node/issues/21665
2018-09-02 21:02:29 +01:00
Dan Abramov
a671462c10
Add 1.1.5 release notes
2018-08-24 15:41:00 +01:00
Dan Abramov
dc74990b89
Add 1.1.5 release notes
v1.1.5
2018-08-24 15:40:13 +01:00
Dan Abramov
550fccb693
Bump release
2018-08-22 19:58:43 +01:00