Skip to content

Commit d211add

Browse files
Zdravko BranzovZdravko Branzov
authored andcommitted
chore: bump version to 4.4.1 and add needed references when using npm package
1 parent 1139cf4 commit d211add

File tree

7 files changed

+19
-13
lines changed

7 files changed

+19
-13
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ demo*/report/stats.json
2727
/src/*.tgz
2828
*.esm.json
2929
*.tns.json
30-
!demo-vue/app/app.js
30+
!demo-vue/app/app.js
31+
test-results.xml

demo-angular/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"nativescript-css-loader": "~0.26.0",
4040
"nativescript-dev-typescript": "~0.9.0",
4141
"nativescript-dev-webpack": "~0.21.0",
42+
"tns-platform-declarations": "^5.3.2",
4243
"tslint": "~5.11.0"
4344
}
4445
}

demo-angular/references.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
/// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" /> Needed for autocompletion and compilation.
1+
// Needed for autocompletion and compilation.
2+
/// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" />
3+
// If the plugin is referenced from npm,
4+
// the native typings should be referenced
5+
// from the following locations:
6+
// / <reference path="./node_modules/tns-platform-declarations/ios.d.ts" />
7+
// / <reference path="./node_modules/tns-platform-declarations/android.d.ts" />

demo-vue/test-results.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

demo/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"nativescript-dev-appium": "4.0.9",
3838
"nativescript-dev-typescript": "~0.9.0",
3939
"nativescript-dev-webpack": "~0.21.0",
40+
"tns-platform-declarations": "^5.3.2",
4041
"tslint": "~5.11.0"
4142
}
4243
}

demo/references.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
/// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" /> Needed for autocompletion and compilation.
1+
// Needed for autocompletion and compilation.
2+
/// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" />
3+
// If the plugin is referenced from npm,
4+
// the native typings should be referenced
5+
// from the following locations:
6+
// / <reference path="./node_modules/tns-platform-declarations/ios.d.ts" />
7+
// / <reference path="./node_modules/tns-platform-declarations/android.d.ts" />

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-camera",
3-
"version": "4.4.0",
3+
"version": "4.4.1",
44
"description": "Provides API for using device camera",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)