Skip to content

Commit f72a4c9

Browse files
committed
chore: cleanup
1 parent 51aa7e7 commit f72a4c9

File tree

6 files changed

+11
-246
lines changed

6 files changed

+11
-246
lines changed

Diff for: e2e/ivy-sample/ngcc.config.js

-211
This file was deleted.

Diff for: e2e/ivy-sample/package.json

+6-29
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"description": "NativeScript Application",
1212
"license": "SEE LICENSE IN <your-license-filename>",
1313
"repository": "<fill-your-repository-here>",
14+
"scripts": {
15+
"ngcc": "ngcc",
16+
"postinstall": "ngcc"
17+
},
1418
"dependencies": {
1519
"@angular/animations": "~9.0.1",
1620
"@angular/common": "~9.0.1",
@@ -22,35 +26,8 @@
2226
"@angular/platform-browser-dynamic": "~9.0.1",
2327
"@angular/router": "~9.0.1",
2428
"@nativescript/theme": "~2.2.0",
25-
"kinvey-nativescript-sdk": "~4.2.5",
26-
"@nativescript/angular": "file:../../dist/nativescript-angular-compat.tgz",
27-
"nativescript-background-http": "~4.2.1",
28-
"nativescript-bottom-navigation": "~2.0.5",
29-
"nativescript-brightness": "~1.0.1",
30-
"nativescript-camera": "~4.5.0",
31-
"nativescript-cloud": "~1.20.0",
32-
"nativescript-directions": "~1.3.1",
33-
"nativescript-downloader": "~2.1.5",
34-
"nativescript-drop-down": "~5.0.4",
35-
"nativescript-fingerprint-auth": "~7.0.2",
36-
"nativescript-geolocation": "~5.1.0",
37-
"nativescript-grid-view": "~5.1.0",
38-
"nativescript-image-swipe": "~5.0.1",
39-
"nativescript-imagepicker": "~7.1.0",
40-
"nativescript-localize": "~4.2.0",
41-
"nativescript-mapbox": "~4.4.1",
42-
"nativescript-pager": "~11.0.11",
43-
"nativescript-photo-editor": "~1.1.0",
44-
"nativescript-purchase": "~2.0.13",
45-
"nativescript-socketio": "~3.3.1",
46-
"nativescript-telerik-reporting": "~1.0.3",
47-
"nativescript-ui-autocomplete": "~6.0.0",
48-
"nativescript-ui-calendar": "~6.0.0",
49-
"nativescript-ui-chart": "~7.0.0",
50-
"nativescript-ui-dataform": "~6.0.0",
51-
"nativescript-ui-gauge": "~6.0.0",
52-
"nativescript-ui-listview": "~8.0.1",
53-
"nativescript-ui-sidedrawer": "~8.0.0",
29+
"@nativescript/angular": "file:../../dist/nativescript-angular-scoped.tgz",
30+
"nativescript-angular": "file:../../dist/nativescript-angular-compat.tgz",
5431
"reflect-metadata": "~0.1.12",
5532
"rxjs": "^6.5.0",
5633
"tns-core-modules": "~6.3.0",

Diff for: e2e/ivy-sample/tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es5",
4+
"target": "es2015",
55
"experimentalDecorators": true,
66
"emitDecoratorMetadata": true,
77
"noEmitHelpers": true,
88
"noEmitOnError": true,
99
"skipLibCheck": true,
1010
"lib": [
11-
"es6",
11+
"es2017",
1212
"dom",
13-
"es2015.iterable"
13+
"es6"
1414
],
1515
"baseUrl": ".",
1616
"paths": {

Diff for: nativescript-angular/nativescript.module.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import "tns-core-modules/globals";
22
// Require application early to work around a circular import
33
import "tns-core-modules/application";
4-
import "./zone-js/dist/zone-nativescript";
54

65
import "./polyfills/array";
76
import "./polyfills/console";

Diff for: nativescript-angular/router/page-router-outlet.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ export class PageRouterOutlet implements OnDestroy { // tslint:disable-line:dire
343343
const destructables = new Set([PageService]);
344344
const injector = Injector.create({
345345
providers: [
346-
{ provide: PageService, useClass: PageService, deps: [Page] },
347346
{ provide: Page, useValue: page },
347+
{ provide: PageService, useClass: PageService, deps: [Page] },
348348
{ provide: Frame, useValue: this.frame },
349349
{ provide: PageRoute, useValue: new PageRoute(activatedRoute) },
350350
{ provide: ActivatedRoute, useValue: activatedRoute },

Diff for: nativescript-angular/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"target": "es5",
44
"module": "commonjs",
55
"moduleResolution": "node",
6-
"sourceMap": true,
6+
"sourceMap": false,
77
"emitDecoratorMetadata": true,
88
"experimentalDecorators": true,
99
"noImplicitUseStrict": true,

0 commit comments

Comments
 (0)