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
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
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
96ba7bddc1
Bump versions
2018-08-22 19:44:29 +01:00
Andrew Clark
577a274d8c
Use file name whitelist to prevent RCE ( #4866 )
...
* Use file name whitelist to prevent RCE
Use a whitelist to validate user-provided file names. This doesn't cover
the entire range of valid filenames but should cover almost all of them
in practice. Allows letters, numbers, periods, dashes, and underscores.
Opting to use a whitelist instead of a blacklist because getting this
wrong leaves us vulnerable to a RCE attack.
* Allow alphabet characters from all languages
Updated the whitelist to /^[\p{L}0-9/.\-_]+$/u, which matches
alphanumeric characters, periods, dashes, and underscores. Unicode
property support is stage 4 so I've inlined the transpiled version.
* Only use file name whitelist on Windows
* Log error message if file name does not pass whitelist
2018-08-22 17:35:24 +01:00
Jed Fox
69c3d4b04c
Update support info for service workers ( #4825 )
2018-07-26 13:50:29 -04:00
Jack Zhao
52449c34ee
Only use safe options when packing CSS assets ( #4706 )
...
* support scoped packages for cra --scripts-version option
* enable safe option to cssnano processor
Fixes #4682
2018-07-23 01:22:05 -04:00
Vladimir Kutepov
8169a93e38
Bump babel-loader to fix npm warning ( #4776 )
2018-07-23 01:15:41 -04:00
Ian Sutherland
92d9c5ada4
Add Node 10 to CI config and remove Node 6 ( #4383 )
...
* Add Node 10 to Travis config. Remove Node 6.
* Add Node 10 to Appveyor config. Remove Node 6.
* Remove node 9 from travis config.
* Increase mocha timeout.
* Update minimum Node version to 8.
* Update yarn to latest on Travis.
* Update old-node test to use Node 4.
* Increase mocha timeout in kitchensink-eject tests.
* Update yarn to latest on Appveyor.
2018-07-15 22:26:42 -06:00
Jack Zhao
366e5d3475
[internal] Separate out kitchensink test into two ( #4767 )
...
* support scoped packages for cra --scripts-version option
* seperate out kitchensink test
* add eject to node 6 testing
* travis node 6 eject
* fix CI warnings
2018-07-15 12:21:32 -06:00
Mike Wilcox
706b319633
Fix typo ( #4738 )
2018-07-05 12:46:24 -04:00
Miguel Palau
4a87838f52
remove extra dot on devtool link comment ( #4741 )
2018-07-05 12:40:55 -04:00
Ideveloper
26f701fd60
Suggest reactstrap instead of react-bootstrap ( #4703 )
...
* Suggest `reactstrap` instead of `react-bootstrap`
* Update README.md
2018-06-29 21:24:38 -04:00
Jack Zhao
d366039795
Support scoped packages for cra --scripts-version option ( #4677 )
2018-06-25 11:29:54 -04:00
Dan Abramov
1407287839
Add mode entry points to our preset ( #4669 )
2018-06-23 14:41:51 +01:00
Alex Brazier
f26ed0f09a
Use yarn in predeploy script if built using yarn ( #4623 )
2018-06-18 10:06:26 -06:00
Dmitriy Sadkovoy
3e165448a7
Added thread-loader config for application code entrypoint ( #4582 )
2018-06-07 01:06:47 -06:00
Dmitriy Sadkovoy
d0afe4b3b9
Configured the thread-loader to keeping workers alive in development mode ( #4562 )
2018-06-05 18:27:34 +02:00
Marius Gedminas
fffe909731
Move whitespace comment closer to where it applies ( #4566 )
2018-06-05 11:58:47 -04:00
Dan Abramov
6370e40aad
Temporarily remove doc section on webpack analyzer ( #4564 )
2018-06-05 14:58:06 +02:00
Jack Zhao
a98c3df3bb
Merge pull request #3945 from joshwcomeau/bundle-stats
...
Allow bundles to be analyzed with Webpack-specific tools
2018-06-04 01:10:47 -07:00
Josh Comeau
80b24d54d9
Remove outdated bit from README, update bundle-analyzer link
2018-06-03 09:04:11 -04:00