Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: facebook/create-react-app
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: nos/create-react-app
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: develop
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.

Commits on Dec 22, 2019

  1. chore(react-scripts): add appIncludes

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    4da3d8c View commit details
  2. chore(react-scripts): update package.json

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    19ffe5c View commit details
  3. chore(react-scripts): update package.json

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    3118b6a View commit details
  4. chore(react-scripts): fix export

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    06891a0 View commit details
  5. v3.3.1

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    a5c0873 View commit details
  6. chore(react-scripts): adjust webpack config

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    493b8c2 View commit details
  7. chore(react-scripts): remove commas

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    2de5ad8 View commit details
  8. v3.3.2

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    1866ce3 View commit details
  9. chore(react-scripts): add missing imports

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    ea941ee View commit details
  10. v3.3.3

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    e2b4394 View commit details
  11. chore(react-scripts): add error handling when not in monorepo

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    6be812a View commit details
  12. v3.3.4

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    d359f16 View commit details
  13. chore(react-scripts): bump version

    Maurice Dalderup authored and Maurice Dalderup committed Dec 22, 2019
    Copy the full SHA
    5829bc2 View commit details

Commits on Jan 6, 2020

  1. chore(react-scripts): delete file

    Maurice Dalderup authored and Maurice Dalderup committed Jan 6, 2020
    Copy the full SHA
    66eecb1 View commit details
  2. chore(react-script): re-add file

    Maurice Dalderup authored and Maurice Dalderup committed Jan 6, 2020
    Copy the full SHA
    af71664 View commit details
  3. chore(react-scripts): bump version

    Maurice Dalderup authored and Maurice Dalderup committed Jan 6, 2020
    Copy the full SHA
    1d12367 View commit details

Commits on Feb 29, 2020

  1. Merge branch 'master' into develop

    Maurice Dalderup authored and Maurice Dalderup committed Feb 29, 2020
    Copy the full SHA
    5b4d2cb View commit details

Commits on Mar 1, 2020

  1. chore(app): remove file

    Maurice Dalderup authored and Maurice Dalderup committed Mar 1, 2020
    Copy the full SHA
    ccfe991 View commit details
  2. chore(app): re-add file

    Maurice Dalderup authored and Maurice Dalderup committed Mar 1, 2020
    Copy the full SHA
    c3dfe19 View commit details

Commits on Mar 5, 2020

  1. Copy the full SHA
    8c5e1f3 View commit details
  2. v3.4.0-nosplatform.2

    DalderupMaurice committed Mar 5, 2020
    Copy the full SHA
    a25fb24 View commit details
  3. Copy the full SHA
    eff6fa6 View commit details
  4. chore(app): add file

    DalderupMaurice committed Mar 5, 2020
    Copy the full SHA
    37f30fa View commit details
  5. v3.4.0-nosplatform.3

    DalderupMaurice committed Mar 5, 2020
    Copy the full SHA
    5ed0cee View commit details

Commits on Mar 6, 2020

  1. chore(app): remove file

    Maurice Dalderup authored and Maurice Dalderup committed Mar 6, 2020
    Copy the full SHA
    173c2f1 View commit details
  2. chore(app): add file

    Maurice Dalderup authored and Maurice Dalderup committed Mar 6, 2020
    Copy the full SHA
    35c7892 View commit details
  3. v3.4.0-nosplatform.4

    Maurice Dalderup authored and Maurice Dalderup committed Mar 6, 2020
    Copy the full SHA
    40d2ddc View commit details

Commits on Mar 24, 2020

  1. Merge tag 'v3.4.1' into develop

    Maurice Dalderup authored and Maurice Dalderup committed Mar 24, 2020
    Copy the full SHA
    48d7891 View commit details
  2. chore(react-scripts): bump version

    Maurice Dalderup authored and Maurice Dalderup committed Mar 24, 2020
    Copy the full SHA
    5d00a5f View commit details

Commits on Oct 24, 2020

  1. Merge branch 'master' into develop

    Maurice Dalderup authored and Maurice Dalderup committed Oct 24, 2020
    Copy the full SHA
    c7ff674 View commit details
  2. chore(root): linting

    Maurice Dalderup authored and Maurice Dalderup committed Oct 24, 2020
    Copy the full SHA
    a5fa4a1 View commit details
  3. Revert "chore(root): linting"

    This reverts commit a5fa4a1.
    Maurice Dalderup authored and DalderupMaurice committed Oct 24, 2020
    Copy the full SHA
    b7e94e2 View commit details
  4. Copy the full SHA
    d5c5632 View commit details
  5. Copy the full SHA
    8247010 View commit details

Commits on Oct 25, 2020

  1. v4.0.0-nosplatform.2

    DalderupMaurice committed Oct 25, 2020
    Copy the full SHA
    23e58ad View commit details

Commits on Dec 5, 2020

  1. Copy the full SHA
    4663285 View commit details
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -217,4 +217,4 @@ We are grateful to the authors of existing related projects for their ideas and

## License

Create React App is open source software [licensed as MIT](https://github.com/facebook/create-react-app/blob/master/LICENSE). The Create React App logo is licensed under a [Creative Commons Attribution 4.0 International license](https://creativecommons.org/licenses/by/4.0/).
Create React App is open source software [licensed as MIT](https://github.com/facebook/create-react-app/blob/master/LICENSE). The Create React App logo is licensed under a [Creative Commons Attribution 4.0 International license](https://creativecommons.org/licenses/by/4.0/).
Empty file modified packages/react-scripts/bin/react-scripts.js
100755 → 100644
Empty file.
24 changes: 19 additions & 5 deletions packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
@@ -30,6 +30,8 @@ const ESLintPlugin = require('eslint-webpack-plugin');
const paths = require('./paths');
const modules = require('./modules');
const getClientEnvironment = require('./env');
const spawn = require('cross-spawn');
const root = require('find-yarn-workspace-root')();
const ModuleNotFoundPlugin = require('react-dev-utils/ModuleNotFoundPlugin');
const ForkTsCheckerWebpackPlugin = require('react-dev-utils/ForkTsCheckerWebpackPlugin');
const typescriptFormatter = require('react-dev-utils/typescriptFormatter');
@@ -71,6 +73,21 @@ const cssModuleRegex = /\.module\.css$/;
const sassRegex = /\.(scss|sass)$/;
const sassModuleRegex = /\.module\.(scss|sass)$/;

let includedSources;
if (root) {
const vrs = spawn.sync('yarn', ['-v']);
const pgks = spawn.sync('yarn', ['workspaces', 'info', '--json']);
const output = JSON.parse(pgks.output[1].toString());
const version = vrs.output[1].toString();
const packages = version < '1.22.0' ? JSON.parse(output.data) : output;

includedSources = Object.values(packages).map(val =>
path.join(root, val.location)
);
} else {
includedSources = paths.appSrc;
}

const hasJsxRuntime = (() => {
if (process.env.DISABLE_NEW_JSX_TRANSFORM === 'true') {
return false;
@@ -351,10 +368,7 @@ module.exports = function (webpackEnv) {
// To fix this, we prevent you from importing files out of src/ -- if you'd like to,
// please link the files into your node_modules/ and let module-resolution kick in.
// Make sure your source files are compiled, as they will not be processed in any way.
new ModuleScopePlugin(paths.appSrc, [
paths.appPackageJson,
reactRefreshOverlayEntry,
]),
new ModuleScopePlugin(paths.appSrc, [reactRefreshOverlayEntry]),
],
},
resolveLoader: {
@@ -400,7 +414,7 @@ module.exports = function (webpackEnv) {
// The preset includes JSX, Flow, TypeScript, and some ESnext features.
{
test: /\.(js|mjs|jsx|ts|tsx)$/,
include: paths.appSrc,
include: includedSources,
loader: require.resolve('babel-loader'),
options: {
customize: require.resolve(
14 changes: 9 additions & 5 deletions packages/react-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "react-scripts",
"version": "4.0.1",
"description": "Configuration and scripts for Create React App.",
"name": "@nosplatform/react-scripts",
"version": "4.0.1-nosplatform.1",
"description": "nOS Configuration and scripts for Create React App.",
"repository": {
"type": "git",
"url": "https://github.com/facebook/create-react-app.git",
"url": "https://github.com/nos/create-react-app.git",
"directory": "packages/react-scripts"
},
"license": "MIT",
"engines": {
"node": "^10.12.0 || >=12.0.0"
},
"bugs": {
"url": "https://github.com/facebook/create-react-app/issues"
"url": "https://github.com/nos/create-react-app/issues"
},
"files": [
"bin",
@@ -55,6 +55,7 @@
"eslint-plugin-testing-library": "^3.9.2",
"eslint-webpack-plugin": "^2.1.0",
"file-loader": "6.1.1",
"find-yarn-workspace-root": "2.0.0",
"fs-extra": "^9.0.1",
"html-webpack-plugin": "4.5.0",
"identity-obj-proxy": "3.0.0",
@@ -113,5 +114,8 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"publishConfig": {
"access": "public"
}
}
Original file line number Diff line number Diff line change
@@ -221,7 +221,9 @@ function verifyTypeScriptSetup() {
} else {
// This is bug fix code of https://github.com/facebook/create-react-app/issues/9868
// Bellow code release variable from non-extensible and freeze status.
appTsConfig.compilerOptions = JSON.parse(JSON.stringify(appTsConfig.compilerOptions));
appTsConfig.compilerOptions = JSON.parse(
JSON.stringify(appTsConfig.compilerOptions)
);

// Original appTsConfig.compilerOptions status
// Object.isExtensible(appTsConfig.compilerOptions) output: false