Skip to content

Commit

Permalink
add dependency on uuid to products app
Browse files Browse the repository at this point in the history
  • Loading branch information
njlaw committed Sep 15, 2022
1 parent 187bbad commit af24ee0
Show file tree
Hide file tree
Showing 4 changed files with 14,347 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/products/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<nx-example-header> </nx-example-header>
<div>{{ uuid }}</div>
<div>
<router-outlet></router-outlet>
</div>
5 changes: 4 additions & 1 deletion apps/products/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Component } from '@angular/core';
import { v4 } from 'uuid';

import '@nx-example/shared/header';

Expand All @@ -7,4 +8,6 @@ import '@nx-example/shared/header';
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
})
export class AppComponent {}
export class AppComponent {
uuid = v4();
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"react-test-renderer": "18.2.0",
"rxjs": "7.5.6",
"tslib": "^2.0.0",
"uuid": "8.0.0",
"zone.js": "0.11.4"
},
"devDependencies": {
Expand Down Expand Up @@ -82,6 +83,7 @@
"@types/react": "18.0.18",
"@types/react-dom": "18.0.6",
"@types/react-router-dom": "5.3.3",
"@types/uuid": "8.3.4",
"@typescript-eslint/eslint-plugin": "5.33.1",
"@typescript-eslint/parser": "5.33.1",
"cypress": "^10.2.0",
Expand Down

0 comments on commit af24ee0

Please sign in to comment.