Commit 9635082
committed
fix(@angular/cli): update yarn berry package manager configuration
This commit updates the package manager descriptor for modern Yarn (Berry) to align with its current CLI options and configuration mechanisms:
- Removes `noLockfileFlag` as Yarn Berry does not support a direct `--no-lockfile` flag for adding packages.
- Updates `ignoreScriptsFlag` to use `--mode=skip-build`, which is the modern equivalent for skipping build scripts during installation.
- Changes `getRegistryOptions` to use `YARN_NPM_REGISTRY_SERVER` environment variable, which is the correct way to configure the registry in Yarn Berry.1 parent cb24c24 commit 9635082
File tree
1 file changed
+3
-3
lines changed- packages/angular/cli/src/package-managers
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
167 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
0 commit comments