Skip to content

Commit

Permalink
include augury in package.json and import with @augury/core
Browse files Browse the repository at this point in the history
  • Loading branch information
keneasson committed Aug 27, 2018
1 parent 887c406 commit bde4d42
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions kitchen-sink-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@angular/platform-browser": "6.0.0",
"@angular/platform-browser-dynamic": "6.0.0",
"@angular/router": "6.0.0",
"@augury/core": "^0.1.3",
"core-js": "^2.4.1",
"rxjs": "6.1.0",
"zone.js": "0.8.26"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { LeakyFaucetComponent } from './leaky-faucet.component';

describe('LeakyFaucetComponent', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import { Component } from '@angular/core';
</div>
`
})


export class LeakyFaucetComponent {
isDripping = false;
drip = 'start the drip';
Expand Down
2 changes: 1 addition & 1 deletion kitchen-sink-demo/src/main.augury.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { AppModule } from './app/app.module';
import { environment } from './environments/environment';

// @todo: how to not include in prod bundle?
import { auguryBootstrap } from '../../../augury-labs/packages/core/dist'; // '@augury/core';
import { auguryBootstrap } from '@augury/core';
import { OverlayHealthIndicator } from '../../../augury-labs/packages/plugins/overlay-health-indicator/src';

auguryBootstrap({
Expand Down
4 changes: 4 additions & 0 deletions kitchen-sink-demo/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@
dependencies:
tslib "^1.9.0"

"@augury/core@^0.1.3":
version "0.1.4"
resolved "https://registry.yarnpkg.com/@augury/core/-/core-0.1.4.tgz#dd3f9788a6428f0d521edd97f5d09d88f303f9ad"

"@ngtools/webpack@6.0.0":
version "6.0.0"
resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-6.0.0.tgz#e160cccd85823e9b01ee7bc5156a02510a323a34"
Expand Down

0 comments on commit bde4d42

Please sign in to comment.