3 Commits

Author SHA1 Message Date
Charles Lyding
511d876fb7 fix(@schematics/angular): add postcss dependency in application migration if needed
The application migration schematic will now attempt to detect the usage
of custom postcss plugins within a workspace and install the `postcss` dependency
if required. This will only occur if the migration analysis allows for
the conversion to use the `@angular/build` package instead of the
`@angular-devkit/build-angular` package. Custom postcss configurations will
be detected within the same locations as the build system itself which includes
the workspace root and any project root for the `postcss.config.json` and
`.postcssrc.json` files.
2024-05-02 09:59:06 -04:00
Charles Lyding
3dae3c03d1 fix(@schematics/angular): add less dependency in application migration if needed
The application migration schematic will now attempt to detect the usage
of Less stylesheets within a workspace and install the `less` dependency
if required. This will only occur if the migration analysis allows for
the conversion to use the `@angular/build` package instead of the
`@angular-devkit/build-angular` package. The Less usage detection may
not detect Less stylesheets within Node.js packages and currently does
not handle the case where a project only has inline Less stylesheets.
More complex analysis may be added in the future. However, a build time
error message will be presented with instructions to install `less` in
these cases if the stylesheet preprocessor is required and not present.
2024-04-29 14:05:36 -04:00
Alan Agius
e3f9f2b141 refactor: remove v17 migrations
This commit removes of migrations introduced in version 17

Closes ##26568, closes #27463
2024-04-18 15:09:24 +02:00