Skip to content

chore(deps): update angularcli monorepo #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
793 changes: 557 additions & 236 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"tslib": "1.10.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.800.3",
"@angular-devkit/build-ng-packagr": "0.800.3",
"@angular/cli": "8.0.3",
"@angular-devkit/build-angular": "0.801.0",
"@angular-devkit/build-ng-packagr": "0.801.0",
"@angular/cli": "8.1.0",
"@angular/compiler-cli": "8.1.0",
"@types/jasmine": "3.3.13",
"@types/jasminewd2": "2.0.6",
Expand Down
3 changes: 1 addition & 2 deletions projects/iframe/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
]
},
"files": [
"src/test.ts",
"src/polyfills.ts"
"src/test.ts"
],
"include": [
"src/**/*.spec.ts",
Expand Down
10 changes: 6 additions & 4 deletions projects/ivy/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface Data {
<p id="clear">{{clear}}</p>
<p id="length">{{length$ | async}}</p>
<p id="keys">{{keys$ | async | json}}</p>
<p id="has" [hidden]="has$ | async">Should not be seen</p>
<p id="has" [hidden]="has">Should not be seen</p>
<iframe src="http://localhost:8080"></iframe>
`
})
Expand All @@ -29,7 +29,7 @@ export class AppComponent implements OnInit {
size$!: Observable<number>;
length$!: Observable<number>;
keys$!: Observable<string[]>;
has$!: Observable<boolean>;
has = false;

constructor(private localStorage: LocalStorage, private storageMap: StorageMap) {}

Expand Down Expand Up @@ -77,9 +77,11 @@ export class AppComponent implements OnInit {
toArray(),
);

this.has$ = this.localStorage.setItem('has', 'test').pipe(
this.localStorage.setItem('has', 'test').pipe(
mergeMap(() => this.storageMap.has('has')),
);
).subscribe((has) => {
this.has = has;
});

});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { TestBed } from '@angular/core/testing';
import { mergeMap, tap, filter } from 'rxjs/operators';

import { StorageMap } from './storage-map.service';
Expand Down Expand Up @@ -897,25 +896,6 @@ describe('StorageMap', () => {

});

it('automatic storage injection', (done) => {

const localStorageService = TestBed.get<StorageMap>(StorageMap) as StorageMap;

const index = 'index';
const value = `value${Date.now()}`;

localStorageService.set(index, value).pipe(
mergeMap(() => localStorageService.get(index))
).subscribe((data) => {

expect(data).toBe(value);

closeAndDeleteDatabase(done, localStorageService);

});

});

});

});
11 changes: 2 additions & 9 deletions projects/ngx-pwa/local-storage/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,21 @@
"compilerOptions": {
"outDir": "../../../out-tsc/lib",
"target": "es2015",
"module": "es2015",
"moduleResolution": "node",
"declaration": true,
"sourceMap": true,
"inlineSources": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"types": [],
"lib": [
"dom",
"es2018"
]
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true,
"enableResourceInlining": true,
"flatModuleId": "AUTOGENERATED",
"flatModuleOutFile": "AUTOGENERATED"
"enableResourceInlining": true
},
"exclude": [
"src/test.ts",
Expand Down
9 changes: 6 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"downlevelIteration": true,
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "esnext",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"importHelpers": true,
"target": "es2015",
"typeRoots": [
Expand All @@ -32,5 +31,9 @@
"dist/ngx-pwa/local-storage/*"
]
}
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
}
2 changes: 1 addition & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"array-type": false,
"arrow-parens": false,
"deprecation": {
"severity": "warn"
"severity": "warning"
},
"import-blacklist": [
true,
Expand Down