Since we cannot run `yarn install` with the `--frozen-lockfile` option (because we want to be able to install the locally built Angular packages), integration project lockfiles are susceptible to getting out-of-sync with the corresponding `package.json`. When this happens, yarn will install the latest available version that satisfies the version range specified in `package.json`. This commit adds another line of defense, by specifying exact versions for the dependencies in `package.json` files (i.e. `1.33.7` instead of `^1.33.0`). While transitive dependencies will be unpinned, this still ensures that the same version of direct dependencies will be installed in case of an out-of-sync lockfile, thus reducing the probability of random failures. PR Close #33968
CliHelloWorldLazyRollup
This test checks bundle sizes when there is a lazy module and experimentalRollupPass is used. It also checks if the ngDevMode
global variable and string references in packages/core/src/util/ng_dev_mode.ts
are correctly removed.
This test contains a lazy route to ensure ngDevMode
removal happens even across chunks, and a payload size check in ../_payload-limits.json
to ensure extra code is not retained accidentally.