File tree 7 files changed +7
-19
lines changed
7 files changed +7
-19
lines changed Original file line number Diff line number Diff line change 12
12
"license" : " SEE LICENSE IN <your-license-filename>" ,
13
13
"repository" : " <fill-your-repository-here>" ,
14
14
"scripts" : {
15
- "ngcc" : " ngcc" ,
16
- "postinstall" : " ngcc"
15
+ "ngcc" : " ngcc --properties es2015 module main --first-only " ,
16
+ "postinstall" : " npm run ngcc"
17
17
},
18
18
"dependencies" : {
19
19
"@angular/animations" : " ~9.0.1" ,
28
28
"@nativescript/theme" : " ~2.2.0" ,
29
29
"@nativescript/angular" : " file:../../dist/nativescript-angular-scoped.tgz" ,
30
30
"nativescript-angular" : " file:../../dist/nativescript-angular-compat.tgz" ,
31
- "reflect-metadata" : " ~0.1.12" ,
32
31
"rxjs" : " ^6.5.0" ,
33
32
"tns-core-modules" : " ~6.3.0" ,
34
33
"tslib" : " ~1.10.0" ,
37
36
"devDependencies" : {
38
37
"@angular/compiler-cli" : " ~9.0.1" ,
39
38
"@ngtools/webpack" : " ~9.0.1" ,
40
- "nativescript-dev-webpack" : " ~1.4 .0" ,
39
+ "nativescript-dev-webpack" : " ~1.5 .0" ,
41
40
"typescript" : " ~3.6.4"
42
41
},
43
42
"gitHead" : " f0bdb5bcc6c991497ddf34d446ed0cb4ae4da091" ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import {
14
14
} from "./platform-providers" ;
15
15
// import { NS_DIRECTIVES } from "./directives";
16
16
import { ListViewComponent } from "./directives/list-view-comp" ;
17
- import { TemplateKeyDirective , SetupItemViewArgs , TemplatedItemsComponent } from "./directives/templated-items-comp" ;
17
+ import { TemplateKeyDirective } from "./directives/templated-items-comp" ;
18
18
import { TabViewDirective , TabViewItemDirective } from "./directives/tab-view" ;
19
19
import {
20
20
ActionBarComponent ,
Original file line number Diff line number Diff line change 1
1
import {
2
2
ComponentFactoryResolver ,
3
3
ComponentRef ,
4
- Directive ,
5
4
Injectable ,
6
5
Injector ,
7
6
NgModuleRef ,
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ export const NS_DIRECTIVES = [
26
26
export {
27
27
ListViewComponent ,
28
28
TemplateKeyDirective ,
29
- SetupItemViewArgs ,
30
29
TemplatedItemsComponent ,
31
30
TabViewDirective ,
32
31
TabViewItemDirective ,
Original file line number Diff line number Diff line change 38
38
"disable-app-ng-ivy" : " ./bin/disable-app-ng-ivy"
39
39
},
40
40
"dependencies" : {
41
- "nativescript-intl" : " ^3.0.0" ,
42
- "reflect-metadata" : " ^0.1.8"
41
+ "nativescript-intl" : " ^3.0.0"
43
42
},
44
43
"peerDependencies" : {
45
44
"@angular/platform-browser-dynamic" : " ~9.0.0" ,
Original file line number Diff line number Diff line change 1
- // Always import reflect-metadata before @angular/core.
2
- // It's needed to handle __metadata calls inside @angular/core
3
- import "reflect-metadata" ;
4
-
5
- // Import platform-common immediately after reflect-metadata - because rest of the polyfills.
6
1
import {
7
2
NativeScriptPlatformRef ,
8
3
AppOptions ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { View } from "tns-core-modules/ui/core/view";
3
3
import { Frame } from "tns-core-modules/ui/frame" ;
4
4
import { LayoutBase } from "tns-core-modules/ui/layouts/layout-base" ;
5
5
import { ComponentFixture , TestBed } from "@angular/core/testing" ;
6
- import { NgModule , Type } from "@angular/core" ;
6
+ import { Type } from "@angular/core" ;
7
7
import { NativeScriptModule } from "../../nativescript.module" ;
8
8
import { platformBrowserDynamicTesting } from "@angular/platform-browser-dynamic/testing" ;
9
9
import { NS_COMPILER_PROVIDERS } from "../../platform" ;
@@ -105,10 +105,7 @@ export function nsTestBedBeforeEach(
105
105
// There's got to be a better way... (o_O)
106
106
TestBed . resetTestEnvironment ( ) ;
107
107
// TODO: this currently causes:
108
- /**
109
- * ../nativescript-angular/testing/src/util.ts:108:31 - error NG1010: Expected array when reading the NgModule.declarations of EntryComponentsTestModule
110
- declarations: entryComponents,
111
- */
108
+ // NG1010: Expected array when reading
112
109
// @NgModule ({
113
110
// declarations: entryComponents,
114
111
// exports: entryComponents,
You can’t perform that action at this time.
0 commit comments