Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !12436

Wp5

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Administrator requested to merge github/fork/yvettep321/wp5 into main 3 years ago
  • Overview 1
  • Commits 35
  • Pipelines 0
  • Changes 49

Created by: yvettep321

Compare
  • version 1
    a702d6a0
    2 years ago

  • main (base)

and
  • latest version
    a702d6a0
    35 commits, 2 years ago

  • version 1
    a702d6a0
    35 commits, 2 years ago

49 files
+ 2999
- 76873

    Preferences

    File browser
    Compare changes
.github/‎workflows‎
integra‎tion.yml‎ +1 -1
docusau‎rus/docs‎
advanced-con‎figuration.md‎ +1 -1
getting-s‎tarted.md‎ +1 -1
pack‎ages‎
babel-prese‎t-react-app‎
crea‎te.js‎ +12 -0
packag‎e.json‎ +15 -14
cra-te‎mplate‎
packag‎e.json‎ +1 -1
cra-templat‎e-typescript‎
packag‎e.json‎ +1 -1
create-r‎eact-app‎
__te‎sts__‎
getTemplateInsta‎llPackage.test.js‎ +9 -9
createRe‎actApp.js‎ +3 -3
inde‎x.js‎ +2 -2
packag‎e.json‎ +1 -1
yarn.loc‎k.cached‎ +2608 -4722
eslint-conf‎ig-react-app‎
READ‎ME.md‎ +1 -1
bas‎e.js‎ +3 -0
jes‎t.js‎ +3 -0
packag‎e.json‎ +8 -14
react-app‎-polyfill‎
packag‎e.json‎ +1 -1
react-d‎ev-utils‎
ForkTsCheckerWarni‎ngWebpackPlugin.js‎ +25 -0
ModuleNotFo‎undPlugin.js‎ +1 -8
ModuleScop‎ePlugin.js‎ +6 -0
READ‎ME.md‎ +2 -29
WatchMissingNode‎ModulesPlugin.js‎ +0 -33
WebpackDevSe‎rverUtils.js‎ +7 -64
evalSourceMap‎Middleware.js‎ +3 -1
packag‎e.json‎ +3 -3
typescriptF‎ormatter.js‎ +0 -45
webpackHotD‎evClient.js‎ +2 -2
react-err‎or-overlay‎
packag‎e.json‎ +7 -16
webpack.‎config.js‎ +4 -4
react-‎scripts‎
con‎fig‎
webpack/per‎sistentCache‎
createEnviro‎nmentHash.js‎ +9 -0
path‎s.js‎ +6 -0
pnpT‎s.js‎ +0 -43
webpack.‎config.js‎ +133 -177
webpackDevSer‎ver.config.js‎ +53 -64
fixtures/k‎itchensink‎
temp‎late‎
integ‎ration‎
webpack‎.test.js‎ +5 -4
src/featur‎es/webpack‎
JsonIncl‎usion.js‎ +3 -1
templa‎te.json‎ +1 -1
scr‎ipts‎
ut‎ils‎
verifyPack‎ageTree.js‎ +0 -2
verifyTypeSc‎riptSetup.js‎ +1 -1
ejec‎t.js‎ +2 -2
star‎t.js‎ +0 -9
packag‎e.json‎ +30 -44
test/f‎ixtures‎
boostr‎ap-sass‎
packag‎e.json‎ +1 -1
global-scss-as‎set-resolution‎
packag‎e.json‎ +1 -1
READ‎ME.md‎ +1 -1
azure-pipeline‎s-test-job.yml‎ +2 -2
azure-pip‎elines.yml‎ +19 -19
package-‎lock.json‎ +0 -71523
packag‎e.json‎ +1 -1
.github/workflows/integration.yml
+ 1
- 1
  • View file @ a702d6a0

  • Edit in single-file editor

  • Open in Web IDE


@@ -14,7 +14,7 @@ jobs:
@@ -14,7 +14,7 @@ jobs:
strategy:
strategy:
matrix:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
node: ['10', '12', '14']
node: ['14', '16']
steps:
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
- name: Setup node
- name: Setup node
docusaurus/docs/advanced-configuration.md
+ 1
- 1
  • View file @ a702d6a0

  • Edit in single-file editor

  • Open in Web IDE


Conflict: This file was modified in both the source and target branches. Ask someone with write access to resolve it.
@@ -15,7 +15,7 @@ You can adjust various development and production settings by setting environmen
@@ -15,7 +15,7 @@ You can adjust various development and production settings by setting environmen
| PORT | ✅ Used | 🚫 Ignored | By default, the development web server will attempt to listen on port 3000 or prompt you to attempt the next available port. You may use this variable to specify a different port. |
| PORT | ✅ Used | 🚫 Ignored | By default, the development web server will attempt to listen on port 3000 or prompt you to attempt the next available port. You may use this variable to specify a different port. |
| HTTPS | ✅ Used | 🚫 Ignored | When set to `true`, Create React App will run the development server in `https` mode. |
| HTTPS | ✅ Used | 🚫 Ignored | When set to `true`, Create React App will run the development server in `https` mode. |
| WDS_SOCKET_HOST | ✅ Used | 🚫 Ignored | When set, Create React App will run the development server with a custom websocket hostname for hot module reloading. Normally, `webpack-dev-server` defaults to `window.location.hostname` for the SockJS hostname. You may use this variable to start local development on more than one Create React App project at a time. See [webpack-dev-server documentation](https://webpack.js.org/configuration/dev-server/#devserversockhost) for more details. |
| WDS_SOCKET_HOST | ✅ Used | 🚫 Ignored | When set, Create React App will run the development server with a custom websocket hostname for hot module reloading. Normally, `webpack-dev-server` defaults to `window.location.hostname` for the SockJS hostname. You may use this variable to start local development on more than one Create React App project at a time. See [webpack-dev-server documentation](https://webpack.js.org/configuration/dev-server/#devserversockhost) for more details. |
| WDS_SOCKET_PATH | ✅ Used | 🚫 Ignored | When set, Create React App will run the development server with a custom websocket path for hot module reloading. Normally, `webpack-dev-server` defaults to `/sockjs-node` for the SockJS pathname. You may use this variable to start local development on more than one Create React App project at a time. See [webpack-dev-server documentation](https://webpack.js.org/configuration/dev-server/#devserversockpath) for more details. |
| WDS_SOCKET_PATH | ✅ Used | 🚫 Ignored | When set, Create React App will run the development server with a custom websocket path for hot module reloading. Normally, `webpack-dev-server` defaults to `/ws` for the SockJS pathname. You may use this variable to start local development on more than one Create React App project at a time. See [webpack-dev-server documentation](https://webpack.js.org/configuration/dev-server/#devserversockpath) for more details. |
| WDS_SOCKET_PORT | ✅ Used | 🚫 Ignored | When set, Create React App will run the development server with a custom websocket port for hot module reloading. Normally, `webpack-dev-server` defaults to `window.location.port` for the SockJS port. You may use this variable to start local development on more than one Create React App project at a time. See [webpack-dev-server documentation](https://webpack.js.org/configuration/dev-server/#devserversockport) for more details. |
| WDS_SOCKET_PORT | ✅ Used | 🚫 Ignored | When set, Create React App will run the development server with a custom websocket port for hot module reloading. Normally, `webpack-dev-server` defaults to `window.location.port` for the SockJS port. You may use this variable to start local development on more than one Create React App project at a time. See [webpack-dev-server documentation](https://webpack.js.org/configuration/dev-server/#devserversockport) for more details. |
| PUBLIC_URL | ✅ Used | ✅ Used | Create React App assumes your application is hosted at the serving web server's root or a subpath as specified in [`package.json` (`homepage`)](deployment#building-for-relative-paths). Normally, Create React App ignores the hostname. You may use this variable to force assets to be referenced verbatim to the url you provide (hostname included). This may be particularly useful when using a CDN to host your application. |
| PUBLIC_URL | ✅ Used | ✅ Used | Create React App assumes your application is hosted at the serving web server's root or a subpath as specified in [`package.json` (`homepage`)](deployment#building-for-relative-paths). Normally, Create React App ignores the hostname. You may use this variable to force assets to be referenced verbatim to the url you provide (hostname included). This may be particularly useful when using a CDN to host your application. |
| BUILD_PATH | 🚫 Ignored | ✅ Used | By default, Create React App will output compiled assets to a `/build` directory adjacent to your `/src`. You may use this variable to specify a new path for Create React App to output assets. BUILD_PATH should be specified as a path relative to the root of your project. |
| BUILD_PATH | 🚫 Ignored | ✅ Used | By default, Create React App will output compiled assets to a `/build` directory adjacent to your `/src`. You may use this variable to specify a new path for Create React App to output assets. BUILD_PATH should be specified as a path relative to the root of your project. |
docusaurus/docs/getting-started.md
+ 1
- 1
  • View file @ a702d6a0

  • Edit in single-file editor

  • Open in Web IDE


@@ -34,7 +34,7 @@ Create a project, and you’re good to go.
@@ -34,7 +34,7 @@ Create a project, and you’re good to go.
## Creating an App
## Creating an App
**You’ll need to have Node >= 10 on your local development machine** (but it’s not required on the server). You can use [nvm](https://github.com/creationix/nvm#installation) (macOS/Linux) or [nvm-windows](https://github.com/coreybutler/nvm-windows#node-version-manager-nvm-for-windows) to switch Node versions between different projects.
**You’ll need to have Node >= 14 on your local development machine** (but it’s not required on the server). You can use [nvm](https://github.com/creationix/nvm#installation) (macOS/Linux) or [nvm-windows](https://github.com/coreybutler/nvm-windows#node-version-manager-nvm-for-windows) to switch Node versions between different projects.
To create a new app, you may choose one of the following methods:
To create a new app, you may choose one of the following methods:
packages/babel-preset-react-app/create.js
+ 12
- 0
  • View file @ a702d6a0

  • Edit in single-file editor

  • Open in Web IDE


Conflict: This file was modified in both the source and target branches. Ask someone with write access to resolve it.
@@ -146,12 +146,24 @@ module.exports = function (api, opts, env) {
@@ -146,12 +146,24 @@ module.exports = function (api, opts, env) {
// class { handleClick = () => { } }
// class { handleClick = () => { } }
// Enable loose mode to use assignment instead of defineProperty
// Enable loose mode to use assignment instead of defineProperty
// See discussion in https://github.com/facebook/create-react-app/issues/4263
// See discussion in https://github.com/facebook/create-react-app/issues/4263
 
// Note:
 
// 'loose' mode configuration must be the same for
 
// * @babel/plugin-proposal-class-properties
 
// * @babel/plugin-proposal-private-methods
 
// * @babel/plugin-proposal-private-property-in-object
 
// (when they are enabled)
[
[
require('@babel/plugin-proposal-class-properties').default,
require('@babel/plugin-proposal-class-properties').default,
{
{
loose: true,
loose: true,
},
},
],
],
 
[
 
require('@babel/plugin-proposal-private-methods').default,
 
{
 
loose: true,
 
},
 
],
// Adds Numeric Separators
// Adds Numeric Separators
require('@babel/plugin-proposal-numeric-separator').default,
require('@babel/plugin-proposal-numeric-separator').default,
// Polyfills the runtime needed for async/await, generators, and friends
// Polyfills the runtime needed for async/await, generators, and friends
packages/babel-preset-react-app/package.json
+ 15
- 14
  • View file @ a702d6a0

  • Edit in single-file editor

  • Open in Web IDE


Conflict: This file was modified in both the source and target branches. Ask someone with write access to resolve it.
@@ -21,20 +21,21 @@
@@ -21,20 +21,21 @@
"test.js"
"test.js"
],
],
"dependencies": {
"dependencies": {
"@babel/core": "^7.12.3",
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.12.1",
"@babel/plugin-proposal-decorators": "^7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-proposal-numeric-separator": "^7.12.1",
"@babel/plugin-proposal-numeric-separator": "^7.14.5",
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/plugin-transform-flow-strip-types": "^7.12.1",
"@babel/plugin-proposal-private-methods": "^7.14.5",
"@babel/plugin-transform-react-display-name": "^7.12.1",
"@babel/plugin-transform-flow-strip-types": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/plugin-transform-react-display-name": "^7.14.5",
"@babel/preset-env": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-react": "^7.12.1",
"@babel/preset-env": "^7.14.5",
"@babel/preset-typescript": "^7.12.1",
"@babel/preset-react": "^7.14.5",
"@babel/runtime": "^7.12.1",
"@babel/preset-typescript": "^7.14.5",
"babel-plugin-macros": "^2.8.0",
"@babel/runtime": "^7.14.5",
 
"babel-plugin-macros": "^3.1.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24"
"babel-plugin-transform-react-remove-prop-types": "^0.4.24"
}
}
}
}
0 Assignees
None
Assign to
0 Reviewers
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
Lock merge request
Unlocked
participants
Reference:
Source branch: github/fork/yvettep321/wp5

Menu

Explore Projects Groups Snippets