Skip to content

Commit 8070359

Browse files
MichaelDeBoeygaearon
authored andcommitted
Fix links to package (facebook#3898)
1 parent f869937 commit 8070359

File tree

14 files changed

+54
-54
lines changed

14 files changed

+54
-54
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# react-scripts
22

3-
This package includes scripts and configuration used by [Create React App](https://github.com/facebookincubator/create-react-app).<br>
3+
This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
44
Please refer to its documentation:
55

6-
* [Getting Started](https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
7-
* [User Guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
6+
* [Getting Started](https://github.com/facebook/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
7+
* [User Guide](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.

bin/react-scripts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ switch (script) {
5959
console.log('Unknown script "' + script + '".');
6060
console.log('Perhaps you need to update react-scripts?');
6161
console.log(
62-
'See: https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#updating-to-new-releases'
62+
'See: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#updating-to-new-releases'
6363
);
6464
break;
6565
}

config/env.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ dotenvFiles.forEach(dotenvFile => {
5050

5151
// We support resolving modules according to `NODE_PATH`.
5252
// This lets you use absolute paths in imports inside large monorepos:
53-
// https://github.com/facebookincubator/create-react-app/issues/253.
53+
// https://github.com/facebook/create-react-app/issues/253.
5454
// It works similar to `NODE_PATH` in Node itself:
5555
// https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders
5656
// Note that unlike in Node, only *relative* paths from `NODE_PATH` are honored.
5757
// Otherwise, we risk importing Node.js core modules into an app instead of Webpack shims.
58-
// https://github.com/facebookincubator/create-react-app/issues/1023#issuecomment-265344421
58+
// https://github.com/facebook/create-react-app/issues/1023#issuecomment-265344421
5959
// We also resolve them to make sure all tools using them work consistently.
6060
const appDirectory = fs.realpathSync(process.cwd());
6161
process.env.NODE_PATH = (process.env.NODE_PATH || '')

config/paths.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const fs = require('fs');
1313
const url = require('url');
1414

1515
// Make sure any symlinks in the project folder are resolved:
16-
// https://github.com/facebookincubator/create-react-app/issues/637
16+
// https://github.com/facebook/create-react-app/issues/637
1717
const appDirectory = fs.realpathSync(process.cwd());
1818
const resolveApp = relativePath => path.resolve(appDirectory, relativePath);
1919

config/webpack.config.dev.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const env = getClientEnvironment(publicUrl);
3535
// package.json
3636
const postCSSLoaderOptions = {
3737
// Necessary for external CSS imports to work
38-
// https://github.com/facebookincubator/create-react-app/issues/2677
38+
// https://github.com/facebook/create-react-app/issues/2677
3939
ident: 'postcss',
4040
plugins: () => [
4141
require('postcss-flexbugs-fixes'),
@@ -50,7 +50,7 @@ const postCSSLoaderOptions = {
5050
// The production configuration is different and lives in a separate file.
5151
module.exports = {
5252
// You may want 'eval' instead if you prefer to see the compiled output in DevTools.
53-
// See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.
53+
// See the discussion in https://github.com/facebook/create-react-app/issues/343.
5454
devtool: 'cheap-module-source-map',
5555
// These are the "entry points" to our application.
5656
// This means they will be the "root" imports that are included in JS bundle.
@@ -94,15 +94,15 @@ module.exports = {
9494
// This allows you to set a fallback for where Webpack should look for modules.
9595
// We placed these paths second because we want `node_modules` to "win"
9696
// if there are any conflicts. This matches Node resolution mechanism.
97-
// https://github.com/facebookincubator/create-react-app/issues/253
97+
// https://github.com/facebook/create-react-app/issues/253
9898
modules: ['node_modules'].concat(
9999
// It is guaranteed to exist because we tweak it in `env.js`
100100
process.env.NODE_PATH.split(path.delimiter).filter(Boolean)
101101
),
102102
// These are the reasonable defaults supported by the Node ecosystem.
103103
// We also include JSX as a common component filename extension to support
104104
// some tools, although we do not recommend using it, see:
105-
// https://github.com/facebookincubator/create-react-app/issues/290
105+
// https://github.com/facebook/create-react-app/issues/290
106106
// `web` extension prefixes have been added for better support
107107
// for React Native Web.
108108
extensions: ['.web.js', '.mjs', '.js', '.json', '.web.jsx', '.jsx'],
@@ -331,12 +331,12 @@ module.exports = {
331331
new webpack.HotModuleReplacementPlugin(),
332332
// Watcher doesn't work well if you mistype casing in a path so we use
333333
// a plugin that prints an error when you attempt to do this.
334-
// See https://github.com/facebookincubator/create-react-app/issues/240
334+
// See https://github.com/facebook/create-react-app/issues/240
335335
new CaseSensitivePathsPlugin(),
336336
// If you require a missing module and then `npm install` it, you still have
337337
// to restart the development server for Webpack to discover it. This plugin
338338
// makes the discovery automatic so you don't have to restart.
339-
// See https://github.com/facebookincubator/create-react-app/issues/186
339+
// See https://github.com/facebook/create-react-app/issues/186
340340
new WatchMissingNodeModulesPlugin(paths.appNodeModules),
341341
// Moment.js is an extremely popular library that bundles large locale files
342342
// by default due to how Webpack interprets its code. This is a practical

config/webpack.config.prod.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const extractTextPluginOptions = shouldUseRelativeAssetPaths
6060
// package.json
6161
const postCSSLoaderOptions = {
6262
// Necessary for external CSS imports to work
63-
// https://github.com/facebookincubator/create-react-app/issues/2677
63+
// https://github.com/facebook/create-react-app/issues/2677
6464
ident: 'postcss',
6565
plugins: () => [
6666
require('postcss-flexbugs-fixes'),
@@ -101,15 +101,15 @@ module.exports = {
101101
// This allows you to set a fallback for where Webpack should look for modules.
102102
// We placed these paths second because we want `node_modules` to "win"
103103
// if there are any conflicts. This matches Node resolution mechanism.
104-
// https://github.com/facebookincubator/create-react-app/issues/253
104+
// https://github.com/facebook/create-react-app/issues/253
105105
modules: ['node_modules'].concat(
106106
// It is guaranteed to exist because we tweak it in `env.js`
107107
process.env.NODE_PATH.split(path.delimiter).filter(Boolean)
108108
),
109109
// These are the reasonable defaults supported by the Node ecosystem.
110110
// We also include JSX as a common component filename extension to support
111111
// some tools, although we do not recommend using it, see:
112-
// https://github.com/facebookincubator/create-react-app/issues/290
112+
// https://github.com/facebook/create-react-app/issues/290
113113
// `web` extension prefixes have been added for better support
114114
// for React Native Web.
115115
extensions: ['.web.js', '.mjs', '.js', '.json', '.web.jsx', '.jsx'],
@@ -388,7 +388,7 @@ module.exports = {
388388
compress: {
389389
warnings: false,
390390
// Disabled because of an issue with Uglify breaking seemingly valid code:
391-
// https://github.com/facebookincubator/create-react-app/issues/2376
391+
// https://github.com/facebook/create-react-app/issues/2376
392392
// Pending further investigation:
393393
// https://github.com/mishoo/UglifyJS2/issues/2011
394394
comparisons: false,
@@ -399,7 +399,7 @@ module.exports = {
399399
output: {
400400
comments: false,
401401
// Turned on because emoji and regex is not minified properly using default
402-
// https://github.com/facebookincubator/create-react-app/issues/2488
402+
// https://github.com/facebook/create-react-app/issues/2488
403403
ascii_only: true,
404404
},
405405
},
@@ -436,7 +436,7 @@ module.exports = {
436436
}
437437
if (message.indexOf('Skipping static resource') === 0) {
438438
// This message obscures real errors so we ignore it.
439-
// https://github.com/facebookincubator/create-react-app/issues/2612
439+
// https://github.com/facebook/create-react-app/issues/2612
440440
return;
441441
}
442442
console.log(message);
@@ -445,7 +445,7 @@ module.exports = {
445445
// Don't precache sourcemaps (they're large) and build asset manifest:
446446
staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],
447447
// `navigateFallback` and `navigateFallbackWhitelist` are disabled by default; see
448-
// https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#service-worker-considerations
448+
// https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#service-worker-considerations
449449
// navigateFallback: publicUrl + '/index.html',
450450
// navigateFallbackWhitelist: [/^(?!\/__).*/],
451451
}),

config/webpackDevServer.config.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ module.exports = function(proxy, allowedHost) {
2525
// https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a
2626
// However, it made several existing use cases such as development in cloud
2727
// environment or subdomains in development significantly more complicated:
28-
// https://github.com/facebookincubator/create-react-app/issues/2271
29-
// https://github.com/facebookincubator/create-react-app/issues/2233
28+
// https://github.com/facebook/create-react-app/issues/2271
29+
// https://github.com/facebook/create-react-app/issues/2233
3030
// While we're investigating better solutions, for now we will take a
3131
// compromise. Since our WDS configuration only serves files in the `public`
3232
// folder we won't consider accessing them a vulnerability. However, if you
@@ -72,9 +72,9 @@ module.exports = function(proxy, allowedHost) {
7272
// by listening to the compiler events with `compiler.plugin` calls above.
7373
quiet: true,
7474
// Reportedly, this avoids CPU overload on some systems.
75-
// https://github.com/facebookincubator/create-react-app/issues/293
75+
// https://github.com/facebook/create-react-app/issues/293
7676
// src/node_modules is not ignored to support absolute imports
77-
// https://github.com/facebookincubator/create-react-app/issues/1065
77+
// https://github.com/facebook/create-react-app/issues/1065
7878
watchOptions: {
7979
ignored: ignoredFiles(paths.appSrc),
8080
},
@@ -84,7 +84,7 @@ module.exports = function(proxy, allowedHost) {
8484
overlay: false,
8585
historyApiFallback: {
8686
// Paths with dots should still use the history fallback.
87-
// See https://github.com/facebookincubator/create-react-app/issues/387.
87+
// See https://github.com/facebook/create-react-app/issues/387.
8888
disableDotRule: true,
8989
},
9090
public: allowedHost,
@@ -96,7 +96,7 @@ module.exports = function(proxy, allowedHost) {
9696
// previous service worker registered for the same host:port combination.
9797
// We do this in development to avoid hitting the production cache if
9898
// it used the same host and port.
99-
// https://github.com/facebookincubator/create-react-app/issues/2272#issuecomment-302832432
99+
// https://github.com/facebook/create-react-app/issues/2272#issuecomment-302832432
100100
app.use(noopServiceWorkerMiddleware());
101101
},
102102
};

fixtures/kitchensink/src/features/syntax/AsyncAwait.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function load() {
1818
}
1919

2020
/* eslint-disable */
21-
// Regression test for https://github.com/facebookincubator/create-react-app/issues/3055
21+
// Regression test for https://github.com/facebook/create-react-app/issues/3055
2222
const x = async (
2323
/* prettier-ignore */
2424
y: void

fixtures/kitchensink/src/features/webpack/assets/style.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Ensure CSS inclusion doesn't regress
3-
* https://github.com/facebookincubator/create-react-app/issues/2677
3+
* https://github.com/facebook/create-react-app/issues/2677
44
*/
55
@import '~normalize.css/normalize.css';
66

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"node": ">=6"
99
},
1010
"bugs": {
11-
"url": "https://github.com/facebookincubator/create-react-app/issues"
11+
"url": "https://github.com/facebook/create-react-app/issues"
1212
},
1313
"files": [
1414
"bin",

scripts/eject.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ inquirer
245245
);
246246
let windowsCmdFileContent;
247247
if (process.platform === 'win32') {
248-
// https://github.com/facebookincubator/create-react-app/pull/3806#issuecomment-357781035
248+
// https://github.com/facebook/create-react-app/pull/3806#issuecomment-357781035
249249
// Yarn is diligent about cleaning up after itself, but this causes the react-scripts.cmd file
250250
// to be deleted while it is running. This trips Windows up after the eject completes.
251251
// We'll read the batch file and later "write it back" to match npm behavior.

scripts/utils/verifyPackageTree.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const path = require('path');
1818
function verifyPackageTree() {
1919
const depsToCheck = [
2020
// These are packages most likely to break in practice.
21-
// See https://github.com/facebookincubator/create-react-app/issues/1795 for reasons why.
21+
// See https://github.com/facebook/create-react-app/issues/1795 for reasons why.
2222
// I have not included Babel here because plugins typically don't import Babel (so it's not affected).
2323
'eslint',
2424
'jest',

0 commit comments

Comments
 (0)