-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: update angular and dev-infra package while accounting for rule changes #44490
Commits on Dec 16, 2021
-
Updates Angular and the dev-infra package to the latest version/build.
Configuration menu - View commit details
-
Copy full SHA for 0799a17 - Browse repository at this point
Copy the full SHA 0799a17View commit details -
build: update symbol extractor to support IIFE bundles using arrow-fu…
…nctions Updates the symbol extractor to support IIFE bundles using arrow-functions instead of function declarations. This is in preparation for running symbol extraction tests with the overhauled optimization pipeline for Angular v13, relying on ESBuild internally. Also removes rollup-specific code that does not seem to be relevant anymore / rollup will be replaced anyway.
Configuration menu - View commit details
-
Copy full SHA for 73b7472 - Browse repository at this point
Copy the full SHA 73b7472View commit details -
build: add postinstall script as runfile for
yarn_install
repositor……y rule Adds the postinstall script as runfile for the `yarn_install` repository rule, so that the dependencies are re-fetched when the script changes.
Configuration menu - View commit details
-
Copy full SHA for 02d5d83 - Browse repository at this point
Copy the full SHA 02d5d83View commit details -
build: update postinstall script to account for local target referenc…
…es in dev-infra We are in an inconvenient situation where the ng-dev package might rely on packages from the Angular framework repository. Given that we install this package in the framework repository, we need to update some references through a postinstall. This commit updates the patches to account for the latest changes in the dev-infra package/repository.
Configuration menu - View commit details
-
Copy full SHA for c02ee5d - Browse repository at this point
Copy the full SHA c02ee5dView commit details -
build: switch all instances from
ng_rollup_bundle
toapp_bundle
The `ng_rollup_bundle` rule has been replaced with a new rule called `app_bundle`. This rule replicates the Angular v13 optimization pipeline in the CLI, so that we can get better benchmarking results. Also the rule is much simpler to maintain as it relies on ESbuild. The old `ng_rollup_bundle` rule did rely on e.g. build-optimizer that no longer has an effect on v13 Angular packages, so technically size tests/symbol tests were no longer as correct as they were before. This commit fixes that. A couple of different changes and their explanation: * Language-service will no longer use the benchmark rule for creating its NPM bundles! It will use plain `rollup_bundle`. ESBuild would have been nice but the language-service relies on AMD that ESBuild cannot generate (yet?) * Service-worker ngsw-worker.js file was generated using the benchmark bundle rule. This is wrong. We will use a simple ESbuild rule in the future. The output is more predictable that way, and we can have a clear use of the benchmark bundle rule.. * A couple of benchmarks in `modules/` had to be updated to use e.g. `initTableUtils` calls. This is done because with the new rule, all files except for the entry-point are considered side-effect free. The utilities for benchmarks relied on side-effects in some transitively-loaded file (bad practice anyway IMO). We are now initializing the utilities using a proper init function that is exported...
Configuration menu - View commit details
-
Copy full SHA for 25854fb - Browse repository at this point
Copy the full SHA 25854fbView commit details -
build: update release config to reflect latest ng-dev config changes
The ng-dev release config changed its release configuration in order to support experimental packages. This commit updates the FW release config to work with the new config signature of ng-dev. All of our peackages are non-experimental, so we do not specify an explicit `experimental` property.
Configuration menu - View commit details
-
Copy full SHA for 29f1e85 - Browse repository at this point
Copy the full SHA 29f1e85View commit details -
test: update size goldens to reflect latest CLI devkit update
Updates the size goldens to the reflect the latest CLI devkit updates.
Configuration menu - View commit details
-
Copy full SHA for 127dafd - Browse repository at this point
Copy the full SHA 127dafdView commit details