Commit Graph

1093 Commits

Author SHA1 Message Date
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
Dan Abramov
9d532d2751 Update cached lockfile 2018-10-14 19:58:24 +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
Dan Abramov
bd0ffb72aa Fix click-to-open on Windows (#5431)
* Fix click-to-open on Windows

* Oops
2018-10-14 19:27:34 +01:00
Vikram Rangaraj
52fcb23b0d use the correct dependency for babel-plugin-dynamic-import-node (#4984)
* use the correct dependency for babel-plugin-dynamic-import-node

* Update package.json
2018-10-14 19:22:18 +01:00
Jeffrey Posnick
50607682ef Updates to clarify the "waiting" SW behavior (#5410) 2018-10-12 09:45:57 -04:00
Ludovico Fischer
9fe8f6b4e7 Fix eslint config docs. (#5416)
Update peer dependency versions in README.
2018-10-12 11:39:33 +02:00
Joe Haddad
f80d27ba5b Fix checking against non-semver compliant Yarn versions (#5362) 2018-10-08 18:35:01 -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
Oskar Persson
9fd98447d8 Fix file size report after build (#5335)
Fixes #5333

printFileSizesAfterBuild calls canReadAsset with an object containing
the file name while measureFileSizesBeforeBuild calls it with just the
name. When canReadAsset only receives the name it returns false since
accessing the `name` property results in undefined.

This commit fixes that by having canReadAssset instead expect only the
file name and making printFileSizesAfterBuild just like
measureFileSizesBeforeBuild only provide the name as argument.
2018-10-06 18:27:30 -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
Dan Abramov
449a812b1a Disable Symbol typeof transform (#5278) 2018-10-03 20:04:33 +01:00
Maël Nison
201079dca2 Caches the Yarn resolution for faster installs (#5270)
* Caches the Yarn resolution for faster installs

* Adds the yarn.lock.cached file to the publish list

* Removes the copied lockfile when the install fails

* Updates the release checklist
2018-10-03 20:00:07 +01:00
Maël Nison
d6682c8190 Adds a version check when using --use-pnp (#5269) 2018-10-03 13:02:11 +01: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