Commit Graph

1693 Commits

Author SHA1 Message Date
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
Dan Abramov
ca88a69b77 Bump versions 2018-08-22 19:44:57 +01:00
Dan Abramov
96ba7bddc1 Bump versions 2018-08-22 19:44:29 +01:00
Andrew Clark
24b101d233 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 19:43:38 +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
Terbiy
ca5998326d Fix link to the article about BEM (#4858) 2018-08-07 10:57:03 -04:00
Jed Fox
69c3d4b04c Update support info for service workers (#4825) 2018-07-26 13:50:29 -04:00
Ashley Otero
506b3f19f0 Update code of conduct link (#4814) 2018-07-23 09:26:46 -06: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
Kent C. Dodds
ea7b37414a add react-testing-library documentation/examples (#4679)
* add react-testing-library documentation/examples

* make react-testing-library a heading

* fix typo
2018-06-26 12:45:00 -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
Dan
8de0412c54 babel-preset-react-app@3.1.2 2018-06-23 13:38:59 +01:00
Dan Abramov
805ab399e1 Add modes to our Babel preset (1.x) (#4668) 2018-06-23 13:37:23 +01:00
Anton Rusinov
26febc5251 Add instructions on alternative methods of app creation (#4638) 2018-06-20 14:15:15 -06:00
Jack Zhao
e1ee8032a8 Fix node 10 npm login issue (#4626)
* node10

* token

* rerun tests
2018-06-18 13:00:55 -04: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
Reuben Antz
227c44f4fa Update file tree view (#4546)
Update file tree view
2018-06-01 08:19:33 -04:00
Jack Zhao
76ef9fadb6 Merge pull request #4014 from viankakrisna/enable-manifest-plugin-on-dev
enable manifest plugin on dev
2018-05-31 10:26:38 -07:00