Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

2.11.0 #221

Merged
merged 244 commits into from
Jan 14, 2018
Merged

2.11.0 #221

merged 244 commits into from
Jan 14, 2018

Conversation

wmonk
Copy link
Owner

@wmonk wmonk commented Jan 11, 2018

This is the merged upstream of facebook 1.0.17

fezhengjin and others added 30 commits May 25, 2017 16:18
* Print file sizes with correct build folder path.

* Just use the print the basename.
Simplified steps for deploying app to `now` as a static site. No need to `serve` script in `package.json` file. As of May 15, 2017, all static deployments on `now` are free and unlimited.
* Disable a micro-option in uglify that appears to be buggy

See facebook/create-react-app#2376

* wrong plugin

* Add a comment
* Update e2e-kitchensink.sh

* Try again (differently)
* Revert "Fix wrong path expansion in end-to-end test (#2388)"

This reverts commit 2aafaad.

* Revert "Suggest just "yarn build" (#2385)"

This reverts commit 70bf125.

* Revert "Catch "No tests found" during CI (#2387)"

This reverts commit 5317b3f.
* Added cache clear to e2e scripts

* Install latest yarn on AppVeyor to avoid windows crashing bug in yarn

* Alternative fix for yarn crashing e2e tests on windows machines
* Fix detection of parent directory

* Correct parent directory detection fix

Add windows specific path and extend to issuer path
since CRA now use the latest version of Jest under the hood,
`jest-enzyme` v3.2.0 is now working perfectly fine
"ensuring that you web app" ->
"ensuring that your web app"
Removed Node v4 (CRA only supports Node >= 6)
* re-add storybook && update the documentation and links

* Change to new documentation domain
* Added NamedModulesPlugin in webpack.config.dev.js

* Update webpack.config.dev.js
* Update README.md to make links to webpack point to webpack.js.org instead
  insteade of webpack 1 webpack.githup.io
- Call `npm run flow --init` won't create a .flowconfig file, it should be `npm run flow init`
This eliminates a `yarn` warning on OSX machines running Node.js 8. See
here for details: fsevents/fsevents#170

You can see an example of the warning in the second screenshot in
facebook/create-react-app#2422 (comment)
* Update README.md

Fix broken link to React Router documentation

* Update README.md
@wmonk wmonk mentioned this pull request Jan 11, 2018
@wmonk wmonk requested a review from DorianGrey January 11, 2018 09:03
Copy link
Collaborator

@DorianGrey DorianGrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just found two minor changes to be (re-)applied.

@@ -187,7 +183,7 @@ function createCompiler(webpack, config, appName, urls, useYarn) {
);
console.log(
'To ignore, add ' +
chalk.cyan('// tslint:disable-next-line') +
chalk.cyan('// eslint-disable-next-line') +
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should remain tslint:disable-next-line - we're not using ESLint.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is an unneeded change isn't it, as we still use the published react-dev-utils not a ts specific one?

Copy link
Collaborator

@DorianGrey DorianGrey Jan 13, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh - yeah, my bad.

},
transformIgnorePatterns: [
'[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$',
],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suppose this pattern should not be removed, but only extended to also cover mjs:

transformIgnorePatterns: [
    '[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$'
]

@wmonk wmonk changed the base branch from 2.9.0 to master January 13, 2018 10:01
@wmonk wmonk changed the title 2.10.0 2.11.0 Jan 13, 2018
'^.+\\.css$': resolve('config/jest/cssTransform.js'),
'^(?!.*\\.(js|jsx|mjs|css|json)$)': resolve(
'config/jest/fileTransform.js'
),
},
transformIgnorePatterns: [
'[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in the last comment, the pattern should include mjs:

'[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$'

This pattern was extended to include mjs a couple of months ago already.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doh

@wmonk wmonk merged commit ea32709 into master Jan 14, 2018
@wmonk wmonk deleted the 2.10.0 branch January 14, 2018 17:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.