Skip to content

Commit

Permalink
cleanup(angular): remove dep on schematics angular (#15878)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Mar 29, 2023
1 parent e4db34a commit defa350
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion packages/angular/src/generators/init/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export async function angularInitGenerator(
const peerDepsToInstall = [
'@angular-devkit/core',
'@angular-devkit/schematics',
'@schematics/angular',
];
let devkitVersion: string;
peerDepsToInstall.forEach((pkg) => {
Expand Down Expand Up @@ -163,6 +162,7 @@ function updateDependencies(
'@angular/compiler-cli': angularVersion,
'@angular/language-service': angularVersion,
'@angular-devkit/build-angular': angularDevkitVersion,
'@schematics/angular': angularDevkitVersion,
}
);
}
Expand Down
1 change: 0 additions & 1 deletion packages/workspace/src/generators/new/generate-preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ function getPresetDependencies({
dev: {
'@angular-devkit/core': angularCliVersion,
'@angular-devkit/schematics': angularCliVersion,
'@schematics/angular': angularCliVersion,
typescript: typescriptVersion,
},
};
Expand Down
2 changes: 0 additions & 2 deletions packages/workspace/src/generators/new/new.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Linter } from '../../utils/lint';
import {
angularCliVersion,
nxVersion,
prettierVersion,
typescriptVersion,
} from '../../utils/versions';
import { Preset } from '../utils/presets';
Expand Down Expand Up @@ -92,7 +91,6 @@ describe('new', () => {
'@angular-devkit/core': angularCliVersion,
'@angular-devkit/schematics': angularCliVersion,
'@nrwl/workspace': nxVersion,
'@schematics/angular': angularCliVersion,
nx: nxVersion,
typescript: typescriptVersion,
});
Expand Down

1 comment on commit defa350

@vercel
Copy link

@vercel vercel bot commented on defa350 Mar 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx.dev
nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app

Please sign in to comment.