Skip to content

Commit

Permalink
feat(@schematics/angular): update ng-packagr to 4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-agius4 authored and hansl committed Sep 18, 2018
1 parent 7fee770 commit 5308fa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/schematics/angular/library/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function addDependenciesToPackageJson() {
{
type: NodeDependencyType.Dev,
name: 'ng-packagr',
version: '^4.1.0',
version: '^4.2.0',
},
{
type: NodeDependencyType.Dev,
Expand Down
2 changes: 1 addition & 1 deletion packages/schematics/angular/library/index_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ describe('Library Schematic', () => {
const tree = schematicRunner.runSchematic('library', defaultOptions, workspaceTree);

const packageJson = getJsonFileContent(tree, 'package.json');
expect(packageJson.devDependencies['ng-packagr']).toEqual('^4.1.0');
expect(packageJson.devDependencies['ng-packagr']).toEqual('^4.2.0');
expect(packageJson.devDependencies['@angular-devkit/build-ng-packagr'])
.toEqual(latestVersions.DevkitBuildNgPackagr);
});
Expand Down

0 comments on commit 5308fa0

Please sign in to comment.