File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
2
* Script that sets up the Angular snapshot github builds. We set up the snapshot builds by
3
3
* overwriting the versions in the "package.json" and taking advantage of Yarn's resolutions
4
- * feature. Yarn resolutions will be used to flatten nested Angular packages because otherwise
5
- * Yarn to resolve multiple versions of Angular packages because dependencies are not always
6
- * flattened. See:
4
+ * feature. Yarn resolutions will be used to flatten nested Angular packages because by default
5
+ * Yarn does not flatten any dependency. See:
7
6
*
8
7
* node_modules/compiler@snapshot
9
8
* node_modules/compiler-cli@snapshot
@@ -46,7 +45,7 @@ angularPackages.forEach(packageName => {
46
45
// to explicitly set the version for the package listed in the project "package.json".
47
46
packageJson . dependencies [ packageName ] = buildsUrl ;
48
47
49
- // In case this dependencies was previously a dev dependency, just remove it because we
48
+ // In case this dependency was previously a dev dependency, just remove it because we
50
49
// re-added it as a normal dependency for simplicity.
51
50
delete packageJson . devDependencies [ packageName ] ;
52
51
} ) ;
You can’t perform that action at this time.
0 commit comments