Commit Graph

1158 Commits

Author SHA1 Message Date
David Rice
6e261f8a06 Update react-dev-util globby dependency to v8.0.2 (#6162)
v8.0.2 was recently released https://github.com/sindresorhus/globby/releases to fix some pathing issues with dir-glob.
2019-01-09 14:24:03 -05:00
Jason Laster
773d103986 Switch to eval-source-map (#5060)
Switches to eval-source-map, which is easier for webpack to recompute
when a file changes and has column based mappings, which lets firefox
devtools show original variable in the debugger and evaluate original
expressions in the console.
2019-01-06 22:42:05 -05:00
Ian Schmitz
005ee5b952 Bump eslint-plugin-react version and update webpack config (#6132)
* Bump eslint-plugin-react version

* Move eslint-plugin-react settings into eslint-config-react-app

* Add react/no-typos rule
2019-01-06 15:05:14 -08:00
Joe Haddad
3e1dc99013 Fix CI and upgrade dependencies (#6137)
* Upgrade a bunch of dependencies

* Turn off nightly Yarn
2019-01-06 13:13:20 -05:00
Ian Schmitz
0d0d0349a5 Publish
- create-react-app@2.1.3
 - react-dev-utils@7.0.1
 - react-error-overlay@5.1.2
 - react-scripts@2.1.3
2019-01-04 10:53:44 -08:00
Ian Schmitz
6a95aae96d Prepare 2.1.3 release 2019-01-04 10:08:47 -08:00
Zachary Friss
4c7c3c5e28 Update webpack-dev-server 3.1.9 -> 3.1.14 (#6064)
* Update webpack-dev-server 3.1.9 -> 3.1.14
2019-01-01 21:26:44 -08:00
shawtung
1aca3cc416 Fix comment typo (#6036) 2018-12-30 18:45:05 -08:00
Prashant Andani
6fc1993728 Typo fixes (#6104)
<!--
Thank you for sending the PR!

If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots!

Happy contributing!
-->
2018-12-30 18:21:33 -08:00
Joe Haddad
d7c0b59242 Publish
- babel-plugin-named-asset-import@0.3.0
 - babel-preset-react-app@7.0.0
 - create-react-app@2.1.2
 - eslint-config-react-app@3.0.6
 - react-app-polyfill@0.2.0
 - react-dev-utils@7.0.0
 - react-error-overlay@5.1.1
 - react-scripts@2.1.2
2018-12-23 13:53:12 -05:00
Joe Haddad
6a7a43f3e4 Prepare 2.1.2 release 2018-12-23 13:50:24 -05:00
Dugagjin Lashi
3d1c0eacea add webp support for typescript (#5978)
* add webp support for typescript

* moved webp declaration below png
2018-12-11 10:53:44 -05:00
Manoel
a9cf551db7 Update eslint instructions in docs (#5990) 2018-12-08 09:02:58 +02:00
Ian Sutherland
7513481491 Update links to docs in all package README files (#5912)
* Update links to docs in all package README files

* Fix formatting of issue template

* Fix formatting of issue template
2018-12-06 13:30:54 -07:00
Stephen Algeo
433d0be3b1 Improve error messaging in verifyPackageTree.js (#5974) 2018-12-06 13:39:01 +02:00
Joe Haddad
c50a7ea7de Suggest a different default for speed reasons (#5959)
Advanced users can opt into this behavior, but it's generally outside the users' control to fix and comes with performance concerns
2018-12-04 10:58:48 -05:00
Ian Sutherland
88f2b0bcfc Add pre-eject message about new features in v2 (#5954)
* Add pre-eject message about new features in v2

* Make message bold
2018-12-03 21:54:56 -05:00
Michael Jackson
4878f2cae7 Correct some comments (#5927)
And remove some outdated info from 1.x
2018-11-29 20:48:07 -08:00
Ian Sutherland
2616d5fd9c Add placeholders to template README for bit.ly links. (#5808)
* Add placeholders to template README for bit.ly links.

* Add placeholders to template README for goo.gl links.
2018-11-27 11:29:30 -05:00
Alex Guerra
81c0cd4b19 Disable copy to clipboard in cra --info (#5905)
* Disable copy to clipboard in cra --info

Fixes an issue where npx create-react-app --info throws an exception on Windows. The exception was caused by envinfo's copy to clipboard functionality; envinfo is distributed pre-bundled, but the dependency it uses for copying to the clipboard makes use of a binary on Windows that can't be found once the bundle is made. Disabling copy to clipboard fixes the issue. Closes #5757.

* Explicitly set clipboard to false
2018-11-27 08:07:44 -05:00
Ian Schmitz
49e258b4a6 Support setupTests.ts (#5698) 2018-11-22 21:14:25 -08:00
Ian Sutherland
d9ee05cc8a Remove unnecessary whitespace in template HTML 2018-11-22 21:57:51 -07:00
Sibiraj
85a8a22513 Run prettier on HTML files (#5839) 2018-11-22 23:41:10 -05:00
Simen Bekkhus
3a14e8fc26 fix: make typescriptformatter support 0.5 of fork checker (#5879) 2018-11-22 20:44:35 -05:00
Joe Haddad
5c3f333837 Upgrade babel deps 2018-11-21 22:54:53 -05:00
Ian Schmitz
445a56dab4 Fix TypeScript decorator support (#5783)
* Fix TypeScript decorator support

* Update babel flow override

* WIP
2018-11-21 21:57:25 -05:00
Simen Bekkhus
2c92fd48f1 fix: add sideEffects: false to react-error-overlay (#5451)
This allows us to leave the import in the code, and webpack will still tree shake it out
2018-11-21 21:53:03 -05:00
Rasmus Eneman
a5ea56abbf Add allowESModules option to babel-preset-react-app (#5487)
* Add allowESModules option to babel-preset-react-app

* changes after feedback

* Apply suggestions from code review

Co-Authored-By: Pajn <rasmus@eneman.eu>
2018-11-21 14:39:33 -05:00
Nima Shahri
fb465a39e5 Make named-asset-import plugin work with export-as syntax (#5573)
* update named-asset-import babel plugin

* add tests to named-asset-import plugin

* add more plugin test

* extract generateNewSource method, renaming variables

* extract replaceNotVisitedSpecifiers for export and import visitors

* remove visited list update from importDeclaration

* renaming methods and removing return directly instead of saving
2018-11-20 09:00:29 -07:00
Adam Wanninger
7e25df150d extra polyfills must be included manually (#5814)
* extra polyfills must be included manually, fixes #5795

* make note italicized
2018-11-16 09:06:01 -05:00
Gregory Shilin
0c9c97a778 Don't polyfill fetch for Node -- additional files (#5789) 2018-11-13 10:22:03 -05:00
Joe Haddad
30ee52cf3b Merge webpack configuration (#5722)
* Rename production configuration

* Upgrade lint staged

* Merge mode, bail, devtool, and entry

* Merge output settings

* Remove old comment

* Merge some trivial differences

* Disable minimize in development mode

* Only minify html and generate SW in production

* Adjust comment

* Toggle development plugins

* Add missing imports

* Scope settings

* Delete development config

* Use new config file

* Remove unnecessary config import
2018-11-07 22:11:20 -05:00
Noel Yoo
77f8df7ad7 Fix typo (#5727) 2018-11-06 07:44:59 -05:00
Ben Scott
457a562541 Version bump postcss-preset-env to latest (#5721) 2018-11-05 19:45:09 -05:00
Ian Schmitz
5cdf360246 Fix tsconfig.json lib suggested value (#5701) 2018-11-03 15:21:10 -04:00
Joe Haddad
aac14ea579 Add permissive TS lib defaults (#5694) 2018-11-02 19:25:56 -04:00
Dennis Ushakov
20be1b6707 ignore intellij module files when generating an app (#4605) 2018-11-02 11:24:50 -04:00
Trevor Brindle
79ad494367 update envinfo to 5.11.1 (#5685) 2018-11-02 10:28:42 -04:00
Joe Haddad
3e9ba54018 Publish
- babel-plugin-named-asset-import@0.2.3
 - babel-preset-react-app@6.1.0
 - create-react-app@2.1.1
 - react-dev-utils@6.1.1
 - react-error-overlay@5.1.0
 - react-scripts@2.1.1
2018-10-31 23:29:52 -04:00
Joe Haddad
6094329bf9 Update cached lock file 2018-10-31 23:28:26 -04:00
Andrew Lisowski
36ce5786f5 Expose reportRuntimeError (#4709)
* factor out crashWithFrames and expose reportRuntimeError

* address code review and move error call to handleRuntimeError
2018-10-31 23:20:23 -04:00
Joe Haddad
1a8003dbdc Add support for decorators (#5659)
* Turn on decorators

* Add decorator test
2018-10-31 23:08:52 -04:00
Nima Shahri
337541b452 add tests for named-asset-imports plugin (#5575)
* add tests for named-asset-imports plugin

* add ticketFormats store/saga

* change import to require on test file to avoid using babel when running tests

* remove all babel dependencies as not needed more for running tests

* update tests and rename file to index.test.js

* remove npmignore as it is whitelisted in package.json

* add babel-plugin-named-asset-import tests to e2e
2018-10-31 14:33:02 -06:00
Eduardo Duran
6311bac13e Make serviceWorker config argument optional in template (#5651) 2018-10-31 09:47:00 -04:00
ZHAO Jinxiang
e1321e520c fix: Duplicate string index signature in ProcessEnv (#5621) 2018-10-31 00:42:12 -04:00
Joe Haddad
b8c180dca3 Publish
- babel-preset-react-app@6.0.0
 - confusing-browser-globals@1.0.5
 - create-react-app@2.1.0
 - eslint-config-react-app@3.0.5
 - react-dev-utils@6.1.0
 - react-error-overlay@5.0.6
 - react-scripts@2.1.0
2018-10-29 23:40:56 -04:00
Joe Haddad
12be8387cf Update lockfile 2018-10-29 23:39:52 -04:00
Joe Haddad
0542698fe5 Update lockfile 2018-10-29 23:25:40 -04:00
Joe Haddad
6364bbf6dc Remove react-scripts type reference on eject (#5611)
* Remove react-scripts type reference on eject

* Check for env file

* Check eject for typescript

* Shuffle appTypeDeclarations

* Append internal types on eject

* Ensure lib is published for types

* Adjust comment

* Don't add a bunch of new lines

* File should exist and not be deleted

* Add debug

* Set file explicitly

* Revert "Set file explicitly"

This reverts commit bcd58a36cbd08a71af50b037d8f1fae6c595fb4e.

* Copy file before destroying ourselves

* Revert "Add debug"

This reverts commit 0068ba81c6d79d99788877c9e1b618acd7412dce.
2018-10-29 23:15:52 -04:00
Bruno Lemos
feea693f63 Ignore json files from TypeScript type checking (#5614)
Fix #5613
2018-10-29 10:33:57 -04:00