Commit Graph

1998 Commits

Author SHA1 Message Date
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
Pavinthan
e1c4d272f8 React native repository updated in README.md (#5849)
Create React Native App (https://github.com/react-community/create-react-native-app ) has been archived by the owner. It is now read-only.
2018-11-19 14:04:54 -05: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
kulek1
69babbb55a Rename 'getting started' link to 'docs' (#5806) 2018-11-14 09:27:07 -08:00
Sagir Khan
d72256c7f8 docs: Simplify installing Storybook with npx (#5788)
Reduce two-step install to just one step (per the latest storybook docs)

Change (i) `npm install -g @storybook/cli` and (ii) `sb init` to `npx -p @storybook/cli sb init`

Refs: https://storybook.js.org/basics/quick-start-guide/
2018-11-14 08:54:02 -07:00
Gregory Shilin
0c9c97a778 Don't polyfill fetch for Node -- additional files (#5789) 2018-11-13 10:22:03 -05:00
Andy
1d8d9eaaee docs: Change Storybook install documentation (#5779) 2018-11-12 11:14:49 -07:00
Explorer /
0238098a5e Add PR welcoming badge (#5759)
* add pr badge 🎉

* add rounded badge 💥

* Update README.md
2018-11-09 23:46:22 -05:00
Kévin Dunglas
477862dd0e Suggest Encore when not building a SPA with Symfony (#5730)
* Suggest Encore when not building a SPA with Symfony

* Update README.md
2018-11-07 22:43:55 -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
Joe Haddad
32106d216e Tweak bot settings 2018-11-07 21:55:06 -05:00
Joe Haddad
76407a859b Update stale.yml 2018-11-07 21:36:08 -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
Kasra Bigdeli
fbfa21621a Updated the link to firebase hosting (#5710) 2018-11-04 16:32:04 -08:00
Jing Ma
5a8fd83962 Fixed link to manifest.json file (#5704) 2018-11-04 19:24:32 -05:00
Oleksandr Melnykov
8025a0ac9e Fix broken documentation link (#5670)
Fix public folder documentation link
2018-11-04 12:03:04 -08: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
Joe Haddad
8a74ac577a Lock issues more aggressively 2018-11-02 18:06:48 -04:00
Joe Haddad
3d8307f043 Make stale bot configuration more aggressive 2018-11-02 18:04:54 -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
Ian Sutherland
05aae37001 Add bot config (#4483)
* Add stale config

* Update stale config

* Add lock config

* Update lock.yml
2018-11-01 19:23:27 -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
babel-preset-react-app@6.1.0 react-scripts@2.1.1 babel-plugin-named-asset-import@0.2.3 create-react-app@2.1.1 react-dev-utils@6.1.1 react-error-overlay@5.1.0 v2.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
Joe Haddad
6534d69de5 Add changelog for 2.1.1 2018-10-31 23:27:22 -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
Jake Boone
c11cc81fb7 Update making-a-progressive-web-app.md (#5658) 2018-10-31 23:06:51 -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
Ian Sutherland
b18ea6c818 Update minimum node version to 8.10 in README (#5635) 2018-10-30 20:09:41 -04:00
Vincent
d671b8fb04 Add link to cra-ts migration guide (#5629)
For users coming from create-react-app-typescript, the added link provides instructions on how to port their app to Create React App.
2018-10-30 11:34:07 -04:00
Joe Haddad
87e3d4fd10 Update docs url 2018-10-30 00:06:28 -04:00
Joe Haddad
b6e4cc70aa Add note about react-scripts version 2018-10-29 23:50:46 -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
react-error-overlay@5.0.6 v2.1.0 create-react-app@2.1.0 confusing-browser-globals@1.0.5 babel-preset-react-app@6.0.0 react-dev-utils@6.1.0 eslint-config-react-app@3.0.5 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
89ecc82cea Add release documentation 2018-10-29 23:33:07 -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
Eric Feng
2a7fd5a1ea Fixing Internal Links (#5552)
* Fixing Internal Links

Internal links, like those found on [Available Scripts](https://facebook.github.io/create-react-app/docs/available-scripts)
use absolute urls and therefore link to https://facebook.github.io/docs/deployment instead of
https://facebook.github.io/create-react-app/docs/deployment.

* changing to markdown links and fixing various broken internal links
2018-10-29 14:00:28 -04:00
Bruno Lemos
feea693f63 Ignore json files from TypeScript type checking (#5614)
Fix #5613
2018-10-29 10:33:57 -04:00
Joe Haddad
57cccb3332 Compile lock file on publish 2018-10-28 16:24:36 -04:00
Joe Haddad
a95822451c Remove unsupported TS options (#5609) 2018-10-28 15:52:09 -04:00
Joe Haddad
3403f05e93 Ignore test files from reported type errors (#5608)
* Ignore test files from reported type errors

* Ignore setup proxy & test files
2018-10-28 15:24:12 -04:00