Skip to content

Commit 55cfe61

Browse files
author
Dimitar Tachev
authored
Merge pull request #62 from NativeScript/tachev/verify-plugin
Tachev/verify plugin
2 parents ec78dfa + 2fdcb7c commit 55cfe61

File tree

178 files changed

+740
-435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+740
-435
lines changed

.github/issue_template.md

Lines changed: 28 additions & 0 deletions

.gitignore

Lines changed: 22 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,24 @@
1-
# Logs
2-
logs
3-
*.log
4-
npm-debug.log*
1+
.vscode
2+
.idea
53
.DS_Store
6-
7-
# Runtime data
8-
pids
9-
*.pid
10-
*.seed
11-
12-
# Directory for instrumented libs generated by jscoverage/JSCover
13-
lib-cov
14-
15-
# Coverage directory used by tools like istanbul
16-
coverage
17-
18-
# nyc test coverage
19-
.nyc_output
20-
21-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
22-
.grunt
23-
24-
# node-waf configuration
25-
.lock-wscript
26-
27-
# Compiled binary addons (http://nodejs.org/api/addons.html)
28-
build/Release
29-
30-
# Dependency directories
4+
*.js
5+
*.js.map
6+
*.log
7+
src/*.d.ts
8+
!src/index.d.ts
9+
!src/references.d.ts
10+
!src/scripts/*.js
11+
!seed-tests/*.js
12+
seed-tests/seed-copy/**/*.*
13+
seed-tests/seed-copy-new-git-repo/**/*.*
14+
!demo*/karma.conf.js
15+
!demo*/app/tests/*.js
16+
demo*/*.d.ts
17+
!demo*/references.d.ts
18+
demo*/lib
19+
demo*/platforms
3120
node_modules
32-
platforms
33-
jspm_packages
34-
35-
# Optional npm cache directory
36-
.npm
37-
38-
# Optional REPL history
39-
.node_repl_history
40-
41-
#Exclude all javascript (js) and (js.map) files from source code
42-
**/*.js
43-
**/*.map
44-
!examples/CameraTestAngular/webpack.*.js
45-
46-
# Dist directory where create script produces plugin installation files
47-
dist
48-
49-
# Ignoring .vscode (Visual Studio Code) internal directory
50-
.vscode
21+
publish/src
22+
publish/package
23+
demo*/report/report.html
24+
demo*/report/stats.json

.travis.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
branches:
2+
only:
3+
- master
4+
matrix:
5+
include:
6+
- stage: "Lint"
7+
language: node_js
8+
os: linux
9+
node_js: "6"
10+
script: cd src && npm run ci.tslint && cd ../demo && npm run ci.tslint && cd ../demo-angular && npm run ci.tslint
11+
- stage: "Build and WebPack"
12+
os: osx
13+
env:
14+
- Platform="iOS"
15+
osx_image: xcode8.3
16+
language: node_js
17+
node_js: "6"
18+
jdk: oraclejdk8
19+
script: cd demo && npm run build.plugin && npm i && npm run build-ios-bundle -- --uglify --snapshot && cd ../demo-angular && npm i && npm run build-ios-bundle -- --uglify --snapshot
20+
- language: android
21+
os: linux
22+
env:
23+
- Platform="Android"
24+
jdk: oraclejdk8
25+
before_install: nvm install 6.10.3
26+
script: cd demo && npm run build.plugin && npm i && npm run build-android-bundle -- --uglify --snapshot && cd ../demo-angular && npm i && npm run build-android-bundle -- --uglify --snapshot
27+
- env:
28+
- BuildAndroid="26"
29+
language: android
30+
os: linux
31+
jdk: oraclejdk8
32+
before_install: nvm install stable
33+
script:
34+
- cd src && npm i && npm run tsc && cd ../demo && tns build android && cd ../demo-angular && tns build android
35+
- os: osx
36+
env:
37+
- BuildiOS="11"
38+
- Xcode="9.1"
39+
osx_image: xcode9.1
40+
language: node_js
41+
node_js: "6"
42+
jdk: oraclejdk8
43+
script:
44+
- cd src && npm i && npm run tsc && cd ../demo && tns build ios && cd ../demo-angular && tns build ios
45+
46+
android:
47+
components:
48+
- tools
49+
- tools
50+
- platform-tools
51+
- build-tools-26.0.1
52+
- android-23
53+
- android-26
54+
- extra-android-m2repository
55+
56+
install:
57+
- echo no | npm install -g nativescript
58+
- tns usage-reporting disable
59+
- tns error-reporting disable

README.md

Lines changed: 167 additions & 6 deletions
File renamed without changes.

examples/CameraTestAngular/app/App_Resources/Android/app.gradle renamed to demo-angular/app/App_Resources/Android/app.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
android {
99
defaultConfig {
1010
generatedDensities = []
11-
applicationId = "org.nativescript.CameraTestAngular"
11+
applicationId = "org.nativescript.demo.angular"
1212
}
1313
aaptOptions {
1414
additionalParameters "--no-version-vectors"
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)