Commit Graph

797 Commits

Author SHA1 Message Date
Joe Haddad
5ead915b73 Automatically setup TypeScript when detected (#5549)
* Don't resolve TS files if it's not detected in the project

* Automatically create tsconfig.json file for user

* Remove always false check

* Add missing file

* Don't filter paths too early
2018-10-24 00:59:26 -04:00
Joe Haddad
9b4009d718 Remove service worker types from the main install 2018-10-23 20:31:57 -04:00
Nima Shahri
787a4a705d Avoid pushing .pnp folder to git (#5469)
* Add .pnp folder ro gitignore file

Avoid pushing .pnp folder to git

* Add .pnp.js to ignore list
2018-10-23 16:09:43 -04:00
Ian Schmitz
315ff4b487 Respect tsconfig.json extends when validating config (#5537)
* Use TS to resolve tsconfig extends

* Prevent modifications to original tsconfig

* Print friendly error
2018-10-23 15:52:48 -04:00
Bruno Lemos
c6cdf42036 Use TypeScript parser to read tsconfig.json (#5532) 2018-10-22 14:51:31 -04:00
Bruno Lemos
4c558d7c26 Enable TypeScript json module resolver (#5531)
* Enable TypeScript json module resolver

* Update verifyTypeScriptSetup.js
2018-10-22 14:49:56 -04:00
Joe Haddad
5410da0bfc Add TypeScript error formatting (#5529) 2018-10-22 13:29:18 -04:00
Jeffrey Posnick
81657147e4 Update Workbox dependency (#5527) 2018-10-22 12:23:33 -04:00
Joe Haddad
7231285c6a Properly exclude test files from typechecking 2018-10-22 08:47:41 -04:00
Joe Haddad
6b010b09a9 Fix TypeScript file detection 2018-10-22 08:36:41 -04:00
Joe Haddad
b5f156efec Print friendly message on first time use 2018-10-22 08:32:48 -04:00
Joe Haddad
fa535304d1 Hoist compiler options 2018-10-22 08:26:52 -04:00
Joe Haddad
e0939b6262 Automatically create a tsconfig.json when entrypoint is TypeScript 2018-10-22 08:24:48 -04:00
Joe Haddad
680cf9371a Validate tsconfig when using TypeScript (#5524)
* Sanity check TypeScript config

* Check more options

* Set all defaults and suggestions

* Update docs

* Update doc notes

* Automatically copy react app declared types to project on start

* Remove note about loaders.d.ts
2018-10-22 08:15:41 -04:00
Joe Haddad
7ba343c187 Check for TypeScript install in preflight (#5516)
* Check for TypeScript install in preflight

* Remove unused import
2018-10-21 19:25:04 -04:00
Joe Haddad
c019942bf9 Always type check TypeScript when being used (#5515)
* Always type check TypeScript when being used

* Use alternate version
2018-10-21 18:24:33 -04:00
Ian Sutherland
60f9bc2ace Update doc links in template README (#5512) 2018-10-21 15:23:15 -04:00
Bruno Lemos
88aef1100f TypeScript syntax support (#4837) 2018-10-21 12:03:26 -04:00
Dan Abramov
f1fbc671e1 Update README.md 2018-10-19 20:06:23 -04:00
Dan Abramov
fa6da6219a Update README.md 2018-10-19 20:05:20 -04:00
Dan Abramov
0ff690dba7 Point README to docs 2018-10-19 20:04:06 -04:00
Kit Thompson
302daeffff Fix typo
explictly seems like a typo for explicitly
2018-10-18 10:31:43 -04:00
Ran Yitzhaki
05d3fd2d0d Remove dot from the end of the link (#5449) 2018-10-16 20:14:33 -04:00
Dan Abramov
f89385f743 Publish
- babel-preset-react-app@5.0.4
 - confusing-browser-globals@1.0.4
 - create-react-app@2.0.4
 - eslint-config-react-app@3.0.4
 - react-dev-utils@6.0.5
 - react-error-overlay@5.0.5
 - react-scripts@2.0.5
2018-10-14 20:03:15 +01:00
Rafael Lüder
a70055fe5b Added note on update to .flowconfig for .scss imports (#5321)
* Added note on update to .flowconfig for .scss imports

Added a note aimed at Flow users on how to get Flow to recognize the .scss imports.

* Mentioned .sass extension in note, added backticks
2018-10-14 19:36:44 +01:00
Gavin Barron
c52cdc6280 Correct instructions for HTTPS and PowerShell (#5394)
Current instructions for running using HTTPS in a PowerShell prompt are incorrect and do not work on Windows 10 v1809
2018-10-14 19:30:45 +01:00
Jeffrey Posnick
50607682ef Updates to clarify the "waiting" SW behavior (#5410) 2018-10-12 09:45:57 -04:00
Alex Forbes-Reed
9971653775 Add environment variable to optionaly disable inlining of chunks (#5354)
* Add environment variable to optionaly disable inlining of chunks

* Changed env var to `process.env.INLINE_RUNTIME_CHUNK `

* Added env var to Advanced Configuration in docs

* Drop implied behavior

* Tweak working to match other descriptions
2018-10-08 12:48:15 -04:00
simonCordovaByte9
b201aee073 Update README.md (#5302) 2018-10-06 18:22:39 -04:00
Ragnar Rebase
12f794cfdb Update README due to deprecation of react-testing-library's toBeInTheDOM (#5334) 2018-10-06 18:20:27 -04:00
Almero Steyn
81830dc9a2 Update eslint-plugin-jsx-a11y version (#5330) 2018-10-06 15:13:34 -04:00
David Gilbertson
f9c1a76037 README link fixes (#5326)
* Fix broken link in main README

* Fix incorrect link in user guide README
2018-10-05 19:59:51 -04:00
Behzod Saidov
fcb4f98c4e Updated the URL in index.html (#5327)
It seems correct URL is https://developers.google.com/web/fundamentals/web-app-manifest/
Current URL (https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/) is redirecting to there.
2018-10-05 19:58:55 -04:00
Ben Brandt
183efedb42 Remove unused require for getCacheIdentifier after ejecting (#5317) 2018-10-05 13:01:52 -04:00
Peter Bengtsson
e783bf8aed avoid TypeError on when registering service workers without config (#5301)
* avoid TypeError on when registering service workers without config

Fixes #5299

* same before config.onUpdate
2018-10-04 22:42:16 -04:00
Ryan Cogswell
ea15ebad8f Adding documentation about git init (#5296) 2018-10-04 22:40:28 -04:00
Ernesto García
3a4414c142 add react-testing-library documentation/examples (#4679) (#5290)
* add react-testing-library documentation/examples

* make react-testing-library a heading

* fix typo
2018-10-04 10:07:40 -04:00
Joe Haddad
0473b7d812 Run formatting over *.md files to prevent conflicts 2018-10-04 08:37:28 -04:00
Adam Bowles
61c0ba3731 Fix broken links to src/serviceWorker.js (#5286) 2018-10-04 08:27:19 -04:00
Joe Haddad
6e14dbbbb8 Publish
- babel-preset-react-app@5.0.3
 - create-react-app@2.0.3
 - react-dev-utils@6.0.4
 - react-error-overlay@5.0.4
 - react-scripts@2.0.4
2018-10-03 16:01:44 -04:00
Joe Haddad
f166144557 Disable inline 3 option (#5281) 2018-10-03 15:43:37 -04:00
Joe Haddad
736561fa8b Add .mjs support back to webpack (#5258)
* Add `.mjs` support back to webpack, because webpack was not the problem

* Continue toggling `.mjs` to `javascript/auto` mode

* Be more inline with the specification

* Bump old Node to 6
2018-10-03 00:03:51 -04:00
Ian Sutherland
7c65ba71f1 Revert change to http-proxy-middleware docs (#5252) 2018-10-02 11:07:54 -06:00
Kohei Hasegawa
ab272d25d5 Fix documentation of http-proxy-middleware (#5226) 2018-10-02 10:21:19 -06:00
Crux
d624f25df3 Fix GENERATE_SOURCEMAP env not working for css (#5246) 2018-10-02 10:37:42 -04:00
Zacharias Knudsen
a9c09d48d9 Add Relay example (#5233) 2018-10-02 08:30:09 -04:00
Joe Haddad
209053b97e Publish
- babel-plugin-named-asset-import@0.2.2
 - babel-preset-react-app@5.0.2
 - confusing-browser-globals@1.0.3
 - create-react-app@2.0.2
 - eslint-config-react-app@3.0.3
 - react-app-polyfill@0.1.3
 - react-dev-utils@6.0.3
 - react-error-overlay@5.0.3
 - react-scripts@2.0.3
2018-10-01 20:54:45 -04:00
Dan Abramov
56fed47976 Tweak preflight check message 2018-10-02 00:40:46 +01:00
Dan Abramov
bce2bfca6d Support globalSetup and globalTeardown Jest options (#5218) 2018-10-02 00:33:26 +01:00
Joe Haddad
316da53a32 Check for more packages which may cause problems (#5217) 2018-10-01 18:20:42 -04:00