Skip to content

Commit 5670b42

Browse files
chore: release 0.4.1
1 parent f5501c2 commit 5670b42

File tree

5 files changed

+18
-5
lines changed

5 files changed

+18
-5
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
<a name="0.4.1"></a>
2+
3+
## [0.4.1](https://github.com/angular-component/router/compare/0.4.0...0.4.1) (2021-04-19)
4+
5+
### Bug Fixes
6+
7+
- enhance active route comparison to allow if/else restrictions ([#87](https://github.com/angular-component/router/issues/87)) ([af8b7b7](https://github.com/angular-component/router/commit/af8b7b7))
8+
19
<a name="0.4.0"></a>
210

311
# [0.4.0](https://github.com/angular-component/router/compare/0.3.1...0.4.0) (2021-01-18)

angular.json

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
"command": "yarn tsc -p libs/router/tsconfig.schematics.json"
3333
}
3434
]
35+
},
36+
"configurations": {
37+
"production": {}
3538
}
3639
},
3740
"lint": {

libs/router/README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,7 @@ export class MyComponent {
259259
Register a component to register the child routes.
260260

261261
```ts
262-
import { NgModule, Component } from '@angular/core';
263-
import { ModuleWithRoute } from '@angular-component/router';
262+
import { Component } from '@angular/core';
264263

265264
@Component({
266265
template: `
@@ -278,6 +277,9 @@ export class LazyRouteComponent {}
278277
Implement the `ModuleWithRoute` interface for the route component to render after the module is loaded.
279278

280279
```ts
280+
import { NgModule } from '@angular/core';
281+
import { ModuleWithRoute } from '@angular-component/router';
282+
281283
@NgModule({
282284
declarations: [LazyRouteComponent, LazyComponent],
283285
})

libs/router/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-component/router",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "A declarative router for Angular applications",
55
"schematics": "./schematics/collection.json",
66
"ng-add": {

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@angular-component/router",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"license": "MIT",
55
"scripts": {
66
"ng": "nx",
77
"postinstall": "node ./decorate-angular-cli.js && ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points",
88
"nx": "nx",
99
"start": "ng serve",
10-
"build": "ng build router",
10+
"build": "ng build router --prod",
1111
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
1212
"test": "ng test router",
1313
"lint": "nx workspace-lint && ng lint",

0 commit comments

Comments
 (0)