You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a615521
Browse filesBrowse the repository at this point in the historyBrowse files
build(deps): bump webpack-sources to 3.7.0 and minimizer-webpack-plugin to 5.14.0 (#23022)
* build(deps): bump webpack-sources to 3.7.0 and minimizer-webpack-plugin to 5.14.0
* build(deps-dev): bump webpack-cli to 7.3.0
* test: give the webpack-cli mock a version, which webpack-cli 7.3 reads
* build: show installed and duplicated dependencies in one table
* build: read the webpack version npm 11 links instead of installing
* build: give separate advice for duplicated versions and unhoisted copies
* build: move packages nested under a linked webpack along with it
* build(deps-dev): bump webpack-cli to 7.3.1
* build: list duplicated dependencies without advice
Copy file name to clipboardExpand all lines: docs/architecture.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ This is the canonical repository map. **When you add, rename or remove a top-lev
66
66
-`check-redundant-type-assertions.js` (`yarn lint:redundant-casts`, inside `yarn lint`) — fails on a `/** @type {T} */ (expr)` whose `expr` already has exactly type `T`; `--write` removes them.
67
67
-`find-deep-webpack-imports.js` (`yarn find-deep-imports`) — which `webpack/lib/…` paths published packages import directly; `--check` (offline, run by the `Deep Imports` job) reads `tooling/deep-webpack-imports.json`. How it collects, and its `removed` map: [tooling/DEEP_IMPORTS.md](../tooling/DEEP_IMPORTS.md).
68
68
-`measure-color-agreement.js` (`yarn measure:color-agreement`) — asks a real browser for its own color conversions (not pixels) and prints how far webpack's sit from them; it is the source of the rounding margins in `lib/css/syntax-parser.js` and the list of spaces an engine reads through another transfer. Re-run it (seconds; `CHROME_EXECUTABLE_PATH` picks the binary) rather than adjusting either by hand.
69
-
-`dependency-report.js` (`yarn report:dependencies`) — installs `webpack` as this checkout's `package.json` declares its dependencies (a stub, since `npm pack` runs `prepare` even with `--ignore-scripts`) with the latest `webpack-cli` and `webpack-dev-server` into a temporary directory (the packages are listed in its `PACKAGES` array) and prints every package they pull in (devDependencies excluded) with its version, size on disk, parent packages with the range each asks for, and the shortest path to it, plus a table of duplicated packages; `--base <checkout>` adds what changed against another checkout (🔴 added or grew, 🟢 removed or shrank), and `--output` / `--json` / `--comment` write the Markdown / JSON report and the pull request comment. The `Dependency Report` workflow runs it against the base commit when `package.json` or `yarn.lock` changes, puts it in the job summary, uploads both files and keeps one comment on the pull request up to date (a fork's through `pr-reports.yml`).
69
+
- `dependency-report.js` (`yarn report:dependencies`) — installs `webpack` as this checkout's `package.json` declares its dependencies (a stub, since `npm pack` runs `prepare` even with `--ignore-scripts`) with the latest `webpack-cli` and `webpack-dev-server` into a temporary directory (the packages are listed in its `PACKAGES` array) and prints one table of every package they pull in (devDependencies excluded): its versions, size on disk, parent packages with the range each asks for, and the shortest path to each version, duplicated packages flagged and listed first; `--base <checkout>` adds what changed against another checkout (🔴 added or grew, 🟢 removed or shrank), and `--output` / `--json` / `--comment` write the Markdown / JSON report and the pull request comment. The `Dependency Report` workflow runs it against the base commit when `package.json` or `yarn.lock` changes, puts it in the job summary, uploads both files and keeps one comment on the pull request up to date (a fork's through `pr-reports.yml`).
70
70
-`retry.js` — reruns a failing setup command so a registry 503 or dropped browser download reds no job. Every network-reaching command in `.github/workflows/` (installs, `yarn upgrade`, Firefox/WebKit downloads, `git submodule update` fetches) runs as `node tooling/retry.js <command>`, tuned by `RETRY_ATTEMPTS` (3) and `RETRY_DELAY` (5000ms). A value that isn't a positive integer / non-negative number is refused, not defaulted (one reaching the loop as `NaN` retried until the job timed out). Node builtins only — callers run before `yarn install`.
71
71
-`assembly/` — WebAssembly source for the hash function.
72
72
-`setup/` — one-time setup; `setup.js` (`yarn setup`) is the only entry point and safe to re-run. A contributor at a terminal gets the interactive path (installs yarn if missing, links through yarn's registry); everything else gets the non-interactive one (verifies the lockfile instead of rewriting it, installs no global yarn, links the checkout as `node_modules/webpack` without touching yarn's machine-global registry). It decides from both streams being a TTY with `CI` unset — never a vendor-variable list, so an unknown agent takes the safe path. An agent allocating a PTY reads as a contributor and should set `WEBPACK_SETUP=automated` (`interactive` forces the other path).
`${duplicated.length} packages are installed more than once: in several versions, or one version npm could not hoist. Widening or upgrading the parent whose range excludes the newest version removes a copy.`,
416
+
"Parent packages name the version range each one asks for; the path is the shortest chain from a requested package.",
406
417
"",
407
-
"| Name | Versions | Size | Parent packages and path per version |",
0 commit comments