Skip to content

Commit 03c40dc

Browse files
author
farfromrefug
committed
chore: angular build update
1 parent 1b9e296 commit 03c40dc

File tree

5 files changed

+131
-125
lines changed

5 files changed

+131
-125
lines changed

packages/image/angular/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
},
1010
".": {
1111
"types": "./index.d.ts",
12-
"esm2022": "./esm2022/nativescript-community-ui-image-angular.mjs",
13-
"esm": "./esm2022/nativescript-community-ui-image-angular.mjs",
1412
"default": "./fesm2022/nativescript-community-ui-image-angular.mjs"
1513
}
1614
},
@@ -19,6 +17,6 @@
1917
"tslib": "^2.3.0"
2018
},
2119
"scripts": {
22-
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
20+
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with partial compilation mode, before attempting to publish.\\n')\" && exit 1"
2321
}
2422
}

packages/zoomimage/angular/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
},
1010
".": {
1111
"types": "./index.d.ts",
12-
"esm2022": "./esm2022/nativescript-community-ui-zoomimage-angular.mjs",
13-
"esm": "./esm2022/nativescript-community-ui-zoomimage-angular.mjs",
1412
"default": "./fesm2022/nativescript-community-ui-zoomimage-angular.mjs"
1513
}
1614
},
@@ -19,6 +17,6 @@
1917
"tslib": "^2.3.0"
2018
},
2119
"scripts": {
22-
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
20+
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with partial compilation mode, before attempting to publish.\\n')\" && exit 1"
2321
}
2422
}

src/image/angular/module.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
21
import { NgModule } from '@angular/core';
32
import { registerElement } from '@nativescript/angular';
43

54
import { ImgDirective, NSIMG_DIRECTIVES } from './directives';
65
import { Img } from '@nativescript-community/ui-image';
76
export { ImgDirective };
87
@NgModule({
9-
declarations: [NSIMG_DIRECTIVES],
10-
exports: [NSIMG_DIRECTIVES],
8+
imports: [NSIMG_DIRECTIVES],
9+
exports: [NSIMG_DIRECTIVES]
1110
})
1211
export class TNSImageModule {}
1312

src/zoomimage/angular/module.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
21
import { NgModule } from '@angular/core';
32
import { registerElement } from '@nativescript/angular';
43

54
import { ImgDirective, NSIMG_DIRECTIVES } from './directives';
65
import { ZoomImg } from '@nativescript-community/ui-zoomimage';
76
export { ImgDirective };
87
@NgModule({
9-
declarations: [NSIMG_DIRECTIVES],
10-
exports: [NSIMG_DIRECTIVES],
8+
imports: [NSIMG_DIRECTIVES],
9+
exports: [NSIMG_DIRECTIVES]
1110
})
1211
export class TNSZoomImageModule {}
1312

0 commit comments

Comments
 (0)