Skip to content

Commit a568164

Browse files
authored
Merge branch 'master' into redbox
2 parents b9de015 + 24f38f8 commit a568164

File tree

109 files changed

+1480
-513
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+1480
-513
lines changed

.eslintignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/
2+
build
3+
my-app*
4+
packages/react-scripts/template
5+
packages/react-scripts/fixtures

.eslintrc

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
{
2-
"extends": "react-app"
2+
"extends": "eslint:recommended",
3+
"env": {
4+
"browser": true,
5+
"commonjs": true,
6+
"node": true,
7+
"es6": true
8+
},
9+
"parserOptions": {
10+
"ecmaVersion": 6
11+
},
12+
"rules": {
13+
"no-console": "off",
14+
"strict": ["error", "global"]
15+
}
316
}

CHANGELOG.md

+95-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,103 @@
1+
## 0.9.4 (March 6, 2017)
2+
3+
#### :bug: Bug Fix
4+
* `create-react-app`
5+
6+
* [#1706](https://github.com/facebookincubator/create-react-app/pull/1706) Extract compressed package for package name. ([@Timer](https://github.com/Timer))
7+
8+
You may now specify a scoped package for `--scripts-version` and obtain a working installation.
9+
10+
* [#1695](https://github.com/facebookincubator/create-react-app/pull/1695) Print why installation was aborted. ([@tgig](https://github.com/tgig))
11+
12+
* `react-scripts`
13+
14+
* [#1727](https://github.com/facebookincubator/create-react-app/pull/1727) Fix ejecting from a scoped fork. ([@gaearon](https://github.com/gaearon))
15+
16+
Ejecting now works within a scoped fork.
17+
18+
* [#1721](https://github.com/facebookincubator/create-react-app/pull/1721) Fix hot reloading for WebpackDevServer after eject. ([@gaearon](https://github.com/gaearon))
19+
20+
* `react-dev-utils`
21+
22+
* [#1690](https://github.com/facebookincubator/create-react-app/pull/1690) Fix `openBrowser()` when `BROWSER=open` on macOS. ([@bpierre](https://github.com/bpierre))
23+
24+
* [#1696](https://github.com/facebookincubator/create-react-app/pull/1696) Improve reliability of port detection. ([@chrisdrackett](https://github.com/chrisdrackett))
25+
26+
#### :nail_care: Enhancement
27+
* `eslint-config-react-app`, `react-scripts`
28+
29+
* [#1705](https://github.com/facebookincubator/create-react-app/pull/1705) Add support for `ignoreRestSiblings` in `no-unused-vars`. ([@chrisdrackett](https://github.com/chrisdrackett))
30+
31+
Linter no longer warns when using rest properties to remove variables from an object.
32+
33+
* [#1542](https://github.com/facebookincubator/create-react-app/pull/1542) Bump `jsx-a11y` version. ([@bondz](https://github.com/bondz))
34+
35+
* `react-dev-utils`, `react-scripts`
36+
37+
* [#1726](https://github.com/facebookincubator/create-react-app/pull/1726) Extract generic build functions into `react-dev-utils`. ([@viankakrisna](https://github.com/viankakrisna))
38+
39+
* Other
40+
41+
* [#1402](https://github.com/facebookincubator/create-react-app/pull/1402) Stub `package.json` for e2e test. ([@matoilic](https://github.com/matoilic))
42+
43+
#### :memo: Documentation
44+
* `react-scripts`
45+
* [#1710](https://github.com/facebookincubator/create-react-app/pull/1710) Update now.sh deployment instructions. ([@replaid](https://github.com/replaid))
46+
* [#1717](https://github.com/facebookincubator/create-react-app/pull/1717) Add docs for Apache client side routing. ([@viankakrisna](https://github.com/viankakrisna))
47+
* [#1698](https://github.com/facebookincubator/create-react-app/pull/1698) Suggest to use `.env` for enabling polling mode. ([@gaearon](https://github.com/gaearon))
48+
* [#1687](https://github.com/facebookincubator/create-react-app/pull/1687) Fixed missing `--recursive` flag in first `npm run watch-css` command. ([@mklemme](https://github.com/mklemme))
49+
50+
#### :house: Internal
51+
* `react-scripts`
52+
* [#1736](https://github.com/facebookincubator/create-react-app/pull/1736) Fix eject for linked react-scripts. ([@tuchk4](https://github.com/tuchk4))
53+
* [#1741](https://github.com/facebookincubator/create-react-app/pull/1741) Fix internal linting setup. ([@gaearon](https://github.com/gaearon))
54+
* [#1730](https://github.com/facebookincubator/create-react-app/pull/1730) Fix Node 4 e2e tests. ([@Timer](https://github.com/Timer))
55+
* `eslint-config-react-app`
56+
* [#1740](https://github.com/facebookincubator/create-react-app/pull/1740) Relax ESLint config peerDependency. ([@gaearon](https://github.com/gaearon))
57+
* `eslint-config-react-app`, `react-dev-utils`, `react-scripts`
58+
* [#1729](https://github.com/facebookincubator/create-react-app/pull/1729) Lint internal scripts with `eslint:recommended`. ([@gaearon](https://github.com/gaearon))
59+
* `react-dev-utils`
60+
* [#1724](https://github.com/facebookincubator/create-react-app/pull/1724) Don't use ES6 in a file that should run on Node 4. ([@gaearon](https://github.com/gaearon))
61+
* Other
62+
* [#1723](https://github.com/facebookincubator/create-react-app/pull/1723) Skip AppVeyor CI builds for Markdown changes. ([@gaearon](https://github.com/gaearon))
63+
* [#1707](https://github.com/facebookincubator/create-react-app/pull/1707) Add double quotes to escape spaces in paths in e2e. ([@viankakrisna](https://github.com/viankakrisna))
64+
* [#1688](https://github.com/facebookincubator/create-react-app/pull/1688) Upgrade `lerna` version. ([@viankakrisna](https://github.com/viankakrisna))
65+
66+
#### Committers: 11
67+
- Ade Viankakrisna Fadlil ([viankakrisna](https://github.com/viankakrisna))
68+
- Bond ([bondz](https://github.com/bondz))
69+
- Chris Drackett ([chrisdrackett](https://github.com/chrisdrackett))
70+
- Dan Abramov ([gaearon](https://github.com/gaearon))
71+
- Joe Haddad ([Timer](https://github.com/Timer))
72+
- Mato Ilic ([matoilic](https://github.com/matoilic))
73+
- Myk Klemme ([mklemme](https://github.com/mklemme))
74+
- Pierre Bertet ([bpierre](https://github.com/bpierre))
75+
- Ryan Platte ([replaid](https://github.com/replaid))
76+
- Travis Giggy ([tgig](https://github.com/tgig))
77+
- Valerii Sorokobatko ([tuchk4](https://github.com/tuchk4))
78+
79+
### Migrating from 0.9.3 to 0.9.4
80+
81+
Inside any created project that has not been ejected, run:
82+
83+
```
84+
npm install --save-dev --save-exact [email protected]
85+
```
86+
87+
You may also optionally update the global command-line utility for scoped package support:
88+
89+
```
90+
npm install -g [email protected]
91+
```
92+
193
## 0.9.3 (February 28, 2017)
294

395
#### :rocket: New Feature
496
* `create-react-app`
597
* [#1423](https://github.com/facebookincubator/create-react-app/pull/1423) **Fall back to Yarn offline cache when creating a new project.** ([@voxsim](https://github.com/voxsim))
6-
98+
799
If you are using Yarn, and you have created at least one app previously, Create React App now works offline.
8-
100+
9101
<img src="http://i.imgur.com/1FLa9Tg.gif" width="500" alt="Yarn offline installation demo">
10102

11103
#### :bug: Bug Fix
@@ -52,7 +144,7 @@ npm install --save-dev --save-exact [email protected]
52144
You may also optionally update the global command-line utility for offline Yarn cache support:
53145

54146
```
55-
npm install -g [email protected].0
147+
npm install -g [email protected].1
56148
```
57149

58150
## 0.9.2 (February 26, 2017)

appveyor.cleanup-cache.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Edit this file to trigger a cache rebuild.
2+
http://help.appveyor.com/discussions/questions/1310-delete-cache
3+
4+
----
5+
Just testing if this works.

appveyor.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ environment:
1414
test_suite: "kitchensink"
1515

1616
cache:
17-
- node_modules
18-
- packages\react-scripts\node_modules
17+
- node_modules -> appveyor.cleanup-cache.txt
18+
- packages\react-scripts\node_modules -> appveyor.cleanup-cache.txt
1919

2020
clone_depth: 50
2121

@@ -30,6 +30,10 @@ install:
3030

3131
build: off
3232

33+
skip_commits:
34+
files:
35+
- '**/*.md'
36+
3337
test_script:
3438
- node --version
3539
- npm --version

lerna.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lerna": "2.0.0-beta.37",
2+
"lerna": "2.0.0-beta.38",
33
"version": "independent",
44
"changelog": {
55
"repo": "facebookincubator/create-react-app",
@@ -12,5 +12,8 @@
1212
"tag: internal": ":house: Internal"
1313
},
1414
"cacheDir": ".changelog"
15-
}
15+
},
16+
"packages": [
17+
"packages/*"
18+
]
1619
}

package.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,8 @@
1111
"test": "node packages/react-scripts/scripts/test.js --env=jsdom"
1212
},
1313
"devDependencies": {
14-
"babel-eslint": "7.1.0",
15-
"eslint": "3.8.1",
16-
"eslint-config-react-app": "0.5.1",
17-
"eslint-plugin-flowtype": "2.21.0",
18-
"eslint-plugin-import": "2.0.1",
19-
"eslint-plugin-jsx-a11y": "2.2.3",
20-
"eslint-plugin-react": "6.4.1",
21-
"lerna": "^2.0.0-beta.37",
14+
"eslint": "3.16.1",
15+
"lerna": "2.0.0-beta.38",
2216
"lerna-changelog": "^0.2.3"
2317
}
2418
}

packages/babel-preset-react-app/index.js

+10-4
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,16 @@ if (env === 'test') {
8484
module.exports = {
8585
presets: [
8686
// Latest stable ECMAScript features
87-
[require.resolve('babel-preset-latest'), {
88-
'es2015': {
89-
modules: false
90-
}
87+
[require.resolve('babel-preset-env'), {
88+
targets: {
89+
// React parses on ie 9, so we should too
90+
ie: 9,
91+
// We currently minify with uglify
92+
// Remove after https://github.com/mishoo/UglifyJS2/issues/448
93+
uglify: true
94+
},
95+
// Disable polyfill transforms
96+
useBuiltIns: false
9197
}],
9298
// JSX, Flow
9399
require.resolve('babel-preset-react')

packages/babel-preset-react-app/package.json

+8-9
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,16 @@
1313
"dependencies": {
1414
"babel-plugin-dynamic-import-node": "1.0.0",
1515
"babel-plugin-syntax-dynamic-import": "6.18.0",
16-
"babel-plugin-transform-class-properties": "6.22.0",
17-
"babel-plugin-transform-object-rest-spread": "6.22.0",
18-
"babel-plugin-transform-react-constant-elements": "6.22.0",
19-
"babel-plugin-transform-react-jsx": "6.22.0",
16+
"babel-plugin-transform-class-properties": "6.23.0",
17+
"babel-plugin-transform-object-rest-spread": "6.23.0",
18+
"babel-plugin-transform-react-constant-elements": "6.23.0",
19+
"babel-plugin-transform-react-jsx": "6.23.0",
2020
"babel-plugin-transform-react-jsx-self": "6.22.0",
2121
"babel-plugin-transform-react-jsx-source": "6.22.0",
2222
"babel-plugin-transform-regenerator": "6.22.0",
23-
"babel-plugin-transform-runtime": "6.22.0",
24-
"babel-preset-env": "1.1.8",
25-
"babel-preset-latest": "6.22.0",
26-
"babel-preset-react": "6.22.0",
27-
"babel-runtime": "6.22.0"
23+
"babel-plugin-transform-runtime": "6.23.0",
24+
"babel-preset-env": "1.2.1",
25+
"babel-preset-react": "6.23.0",
26+
"babel-runtime": "6.23.0"
2827
}
2928
}

0 commit comments

Comments
 (0)