GeezerVison is showing github.com — [build2 -> build] Local scripts · react/react@bb0d069
File treeExpand file treeCollapse file tree Open diff view settings react-devtools-extensions
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: fixtures/dom/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 20 | 20 | }, | 21 | 21 | "scripts": { | 22 | 22 | "start": "react-scripts start", | 23 | | - "prestart": "cp ../../build2/oss-stable/scheduler/umd/scheduler-unstable_mock.development.js ../../build2/oss-stable/scheduler/umd/scheduler-unstable_mock.production.min.js ../../build2/oss-stable/react/umd/react.development.js ../../build2/oss-stable/react-dom/umd/react-dom.development.js ../../build2/oss-stable/react/umd/react.production.min.js ../../build2/oss-stable/react-dom/umd/react-dom.production.min.js ../../build2/oss-stable/react-dom/umd/react-dom-server.browser.development.js ../../build2/oss-stable/react-dom/umd/react-dom-server.browser.production.min.js ../../build2/oss-stable/react-dom/umd/react-dom-test-utils.development.js ../../build2/oss-stable/react-dom/umd/react-dom-test-utils.production.min.js public/ && cp -a ../../build2/oss-stable/. node_modules", | | 23 | + "prestart": "cp ../../build/oss-stable/scheduler/umd/scheduler-unstable_mock.development.js ../../build/oss-stable/scheduler/umd/scheduler-unstable_mock.production.min.js ../../build/oss-stable/react/umd/react.development.js ../../build/oss-stable/react-dom/umd/react-dom.development.js ../../build/oss-stable/react/umd/react.production.min.js ../../build/oss-stable/react-dom/umd/react-dom.production.min.js ../../build/oss-stable/react-dom/umd/react-dom-server.browser.development.js ../../build/oss-stable/react-dom/umd/react-dom-server.browser.production.min.js ../../build/oss-stable/react-dom/umd/react-dom-test-utils.development.js ../../build/oss-stable/react-dom/umd/react-dom-test-utils.production.min.js public/ && cp -a ../../build/oss-stable/. node_modules", | 24 | 24 | "build": "react-scripts build && cp build/index.html build/200.html", | 25 | 25 | "test": "react-scripts test --env=jsdom", | 26 | 26 | "eject": "react-scripts eject" | |
Collapse file Copy file name to clipboardExpand all lines: package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 108 | 108 | "scripts": { | 109 | 109 | "build": "node ./scripts/rollup/build.js", | 110 | 110 | "build-combined": "node ./scripts/rollup/build-all-release-channels.js", | 111 | | - "build-for-devtools": "cross-env RELEASE_CHANNEL=experimental yarn build react/index,react/jsx,react-dom,react-is,react-debug-tools,scheduler,react-test-renderer,react-refresh --type=NODE && rm -rf build2 && mkdir build2 && cp -r ./build/node_modules build2/oss-experimental/", | | 111 | + "build-for-devtools": "cross-env RELEASE_CHANNEL=experimental yarn build react/index,react/jsx,react-dom,react-is,react-debug-tools,scheduler,react-test-renderer,react-refresh --type=NODE && rm -rf build && mkdir build && cp -r ./build/node_modules build/oss-experimental/", | 112 | 112 | "build-for-devtools-dev": "yarn build-for-devtools --type=NODE_DEV", | 113 | 113 | "build-for-devtools-prod": "yarn build-for-devtools --type=NODE_PROD", | 114 | 114 | "linc": "node ./scripts/tasks/linc.js", | |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-core/webpack.backend.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -22,7 +22,7 @@ const builtModulesDir = resolve( | 22 | 22 | __dirname, | 23 | 23 | '..', | 24 | 24 | '..', | 25 | | - 'build2', | | 25 | + 'build', | 26 | 26 | 'oss-experimental', | 27 | 27 | ); | 28 | 28 |
| |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-core/webpack.standalone.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -22,7 +22,7 @@ const builtModulesDir = resolve( | 22 | 22 | __dirname, | 23 | 23 | '..', | 24 | 24 | '..', | 25 | | - 'build2', | | 25 | + 'build', | 26 | 26 | 'oss-experimental', | 27 | 27 | ); | 28 | 28 |
| |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/build.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -27,7 +27,7 @@ const ensureLocalBuild = async () => { | 27 | 27 | __dirname, | 28 | 28 | '..', | 29 | 29 | '..', | 30 | | - 'build2', | | 30 | + 'build', | 31 | 31 | 'oss-experimental', | 32 | 32 | ); | 33 | 33 |
| |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/webpack.backend.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -24,7 +24,7 @@ const builtModulesDir = resolve( | 24 | 24 | __dirname, | 25 | 25 | '..', | 26 | 26 | '..', | 27 | | - 'build2', | | 27 | + 'build', | 28 | 28 | 'oss-experimental', | 29 | 29 | ); | 30 | 30 |
| |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/webpack.config.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -24,7 +24,7 @@ const builtModulesDir = resolve( | 24 | 24 | __dirname, | 25 | 25 | '..', | 26 | 26 | '..', | 27 | | - 'build2', | | 27 | + 'build', | 28 | 28 | 'oss-experimental', | 29 | 29 | ); | 30 | 30 |
| |
Collapse file Copy file name to clipboardExpand all lines: packages/react-devtools-shell/webpack.config.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -28,7 +28,7 @@ const builtModulesDir = resolve( | 28 | 28 | __dirname, | 29 | 29 | '..', | 30 | 30 | '..', | 31 | | - 'build2', | | 31 | + 'build', | 32 | 32 | 'oss-experimental', | 33 | 33 | ); | 34 | 34 |
| |
Collapse file Copy file name to clipboardExpand all lines: scripts/circleci/check_minified_errors.sh +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 2 | 2 |
| 3 | 3 | # Ensure errors are minified in production | 4 | 4 |
| 5 | | -OUT=$(git --no-pager grep -n --untracked --no-exclude-standard 'FIXME (minify-errors-in-prod)' -- './build2/*') | | 5 | +OUT=$(git --no-pager grep -n --untracked --no-exclude-standard 'FIXME (minify-errors-in-prod)' -- './build/*') | 6 | 6 |
| 7 | 7 | if [ "$OUT" != "" ]; then | 8 | 8 | echo "$OUT"; | |
Collapse file Copy file name to clipboardExpand all lines: scripts/jest/config.build-devtools.js +3-5Lines changed: 3 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -35,13 +35,11 @@ moduleNameMapper['react-devtools-feature-flags'] = | 35 | 35 | // Map packages to bundles | 36 | 36 | packages.forEach(name => { | 37 | 37 | // Root entry point | 38 | | - moduleNameMapper[ | 39 | | - `^${name}$` | 40 | | - ] = `<rootDir>/build2/${NODE_MODULES_DIR}/${name}`; | | 38 | + moduleNameMapper[`^${name}$`] = `<rootDir>/build/${NODE_MODULES_DIR}/${name}`; | 41 | 39 | // Named entry points | 42 | 40 | moduleNameMapper[ | 43 | 41 | `^${name}\/([^\/]+)$` | 44 | | - ] = `<rootDir>/build2/${NODE_MODULES_DIR}/${name}/$1`; | | 42 | + ] = `<rootDir>/build/${NODE_MODULES_DIR}/${name}/$1`; | 45 | 43 | }); | 46 | 44 |
| 47 | 45 | // Allow tests to import shared code (e.g. feature flags, getStackByFiberInDevAndProd) | @@ -57,7 +55,7 @@ module.exports = Object.assign({}, baseConfig, { | 57 | 55 | // Exclude the build output from transforms | 58 | 56 | transformIgnorePatterns: [ | 59 | 57 | '/node_modules/', | 60 | | - '<rootDir>/build2/', | | 58 | + '<rootDir>/build/', | 61 | 59 | '/__compiled__/', | 62 | 60 | '/__untransformed__/', | 63 | 61 | ], | |
|