This repository has been archived by the owner on Jan 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9f70e8
commit 57ada2a
Showing
83 changed files
with
648 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,42 @@ | ||
*.js | ||
!src/scripts/*.js | ||
# Demo application build files | ||
demo/platforms/* | ||
demo/lib/* | ||
|
||
*.DS_Store | ||
|
||
src/*.js | ||
/*.js | ||
demo/app/**.js | ||
demo/node_modules/ | ||
node_modules/ | ||
hooks | ||
|
||
.vscode | ||
.idea | ||
demo/.DS_Store | ||
demo/app/.DS_Store | ||
.DS_Store | ||
.npmrc | ||
*.js | ||
*.js.map | ||
*.log | ||
*.d.ts | ||
!index.d.ts | ||
demo/lib | ||
demo/app/*.js | ||
src/*.d.ts | ||
!src/index.d.ts | ||
!src/references.d.ts | ||
!src/scripts/*.js | ||
!seed-tests/*.js | ||
seed-tests/seed-copy/**/*.* | ||
seed-tests/seed-copy-new-git-repo/**/*.* | ||
!demo/karma.conf.js | ||
!demo/app/tests/*.js | ||
demo/*.d.ts | ||
!demo/references.d.ts | ||
demo/lib | ||
demo/platforms | ||
demo/node_modules | ||
demo/.vscode | ||
node_modules | ||
*.DS_Store | ||
package-lock.json | ||
publish/src | ||
publish/package | ||
demo/report/report.html | ||
demo/report/stats.json | ||
!demo/webpack.config.js | ||
!demo/app/tests/**.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"semi": true, | ||
"printWidth": 120 | ||
"semi": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
branches: | ||
only: | ||
- master | ||
|
||
stages: | ||
- lint | ||
- build core | ||
- webpack core | ||
- tests | ||
|
||
matrix: | ||
include: | ||
# Lint | ||
- stage: lint | ||
language: node_js | ||
os: linux | ||
node_js: "8" | ||
script: | ||
- cd src && npm run ci.tslint | ||
- cd ../demo && npm run ci.tslint | ||
# Build Core App | ||
- stage: build core | ||
## Android Build | ||
os: linux | ||
env: | ||
- OS="Android28" | ||
language: android | ||
jdk: oraclejdk8 | ||
before_install: nvm install 8.11.4 | ||
script: | ||
- cd src && npm i && npm run tsc | ||
- cd ../demo && tns build android | ||
## iOS Build | ||
- os: osx | ||
env: | ||
- OS="iOS12.0" | ||
- Xcode="10.0" | ||
osx_image: xcode10 | ||
language: node_js | ||
node_js: "8" | ||
jdk: oraclejdk8 | ||
script: | ||
- cd src && npm i && npm run tsc | ||
- cd ../demo && tns build ios | ||
# Webpack Core App | ||
- stage: webpack core | ||
## Android Webpack | ||
os: linux | ||
language: android | ||
env: | ||
- OS="Android28" | ||
jdk: oraclejdk8 | ||
before_install: nvm install 8.11.4 | ||
script: | ||
- cd demo && npm run build.plugin | ||
- npm i && tns build android --bundle --env.uglify | ||
## iOS Webpack | ||
- os: osx | ||
env: | ||
- OS="iOS12.0" | ||
- Xcode="10.0" | ||
osx_image: xcode10 | ||
language: node_js | ||
node_js: "8" | ||
jdk: oraclejdk8 | ||
script: | ||
- cd demo && npm run build.plugin | ||
- npm i && tns build ios --bundle --env.uglify | ||
# Tests | ||
- stage: tests | ||
## Android Test | ||
os: linux | ||
language: android | ||
dist: precise | ||
jdk: oraclejdk8 | ||
env: | ||
- OS="Android28" | ||
before_script: | ||
- echo no | android create avd --force -n test -t android-21 -b armeabi-v7a | ||
- emulator -avd test -no-audio -no-window & | ||
- android-wait-for-emulator | ||
before_install: | ||
- nvm install 8 | ||
script: | ||
- cd src && npm i && npm run tsc && npm run tslint | ||
- cd ../demo && tns build android | ||
- travis_wait travis_retry tns test android --justlaunch | ||
## iOS Test | ||
- os: osx | ||
language: node_js | ||
node_js: "8" | ||
jdk: oraclejdk8 | ||
env: | ||
- OS="iOS12.0" | ||
- Xcode="10.0" | ||
osx_image: xcode10 | ||
script: | ||
- cd src && npm i && npm run tsc && npm run tslint | ||
- cd ../demo && tns build ios | ||
- travis_wait travis_retry tns test ios --justlaunch | ||
|
||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-28.0.3 | ||
- android-28 | ||
- extra-android-m2repository | ||
- sys-img-armeabi-v7a-android-21 | ||
|
||
before_install: | ||
- sudo pip install --upgrade pip | ||
- sudo pip install six | ||
|
||
install: | ||
- echo no | npm install -g nativescript | ||
- tns usage-reporting disable | ||
- tns error-reporting disable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added
BIN
+73.8 KB
demo/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"size" : "20x20", | ||
"idiom" : "iphone", | ||
"filename" : "[email protected]", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "20x20", | ||
"idiom" : "iphone", | ||
"filename" : "[email protected]", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"size" : "29x29", | ||
"idiom" : "iphone", | ||
|
@@ -30,18 +42,6 @@ | |
"filename" : "[email protected]", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"size" : "57x57", | ||
"idiom" : "iphone", | ||
"filename" : "icon-57.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"size" : "57x57", | ||
"idiom" : "iphone", | ||
"filename" : "[email protected]", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "60x60", | ||
"idiom" : "iphone", | ||
|
@@ -55,51 +55,39 @@ | |
"scale" : "3x" | ||
}, | ||
{ | ||
"size" : "29x29", | ||
"size" : "20x20", | ||
"idiom" : "ipad", | ||
"filename" : "icon-29.png", | ||
"filename" : "icon-20.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"size" : "29x29", | ||
"size" : "20x20", | ||
"idiom" : "ipad", | ||
"filename" : "icon-29@2x.png", | ||
"filename" : "icon-20@2x.png", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "40x40", | ||
"idiom" : "ipad", | ||
"filename" : "icon-40.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"size" : "40x40", | ||
"idiom" : "ipad", | ||
"filename" : "[email protected]", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "50x50", | ||
"size" : "29x29", | ||
"idiom" : "ipad", | ||
"filename" : "icon-50.png", | ||
"filename" : "icon-29.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"size" : "50x50", | ||
"size" : "29x29", | ||
"idiom" : "ipad", | ||
"filename" : "icon-50@2x.png", | ||
"filename" : "icon-29@2x.png", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "72x72", | ||
"size" : "40x40", | ||
"idiom" : "ipad", | ||
"filename" : "icon-72.png", | ||
"filename" : "icon-40.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"size" : "72x72", | ||
"size" : "40x40", | ||
"idiom" : "ipad", | ||
"filename" : "icon-72@2x.png", | ||
"filename" : "icon-40@2x.png", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
|
@@ -119,6 +107,12 @@ | |
"idiom" : "ipad", | ||
"filename" : "[email protected]", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "1024x1024", | ||
"idiom" : "ios-marketing", | ||
"filename" : "icon-1024.png", | ||
"scale" : "1x" | ||
} | ||
], | ||
"info" : { | ||
|
Binary file added
BIN
+98.7 KB
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.2 KB
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png
Oops, something went wrong.
Binary file added
BIN
+3.61 KB
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file added
BIN
+6.68 KB
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+314 Bytes
(120%)
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png
Oops, something went wrong.
Binary file modified
BIN
+1.82 KB
(160%)
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+4.41 KB
(190%)
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+582 Bytes
(130%)
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png
Oops, something went wrong.
Binary file modified
BIN
+3.32 KB
(180%)
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+7.39 KB
(200%)
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file removed
BIN
-30.7 KB
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-50.png
Diff not rendered.
Binary file removed
BIN
-36.3 KB
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Diff not rendered.
Binary file removed
BIN
-31.5 KB
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-57.png
Diff not rendered.
Binary file removed
BIN
-37.7 KB
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Diff not rendered.
Binary file modified
BIN
+7.49 KB
(200%)
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+20.8 KB
(300%)
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file removed
BIN
-32.9 KB
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-72.png
Diff not rendered.
Binary file removed
BIN
-41.2 KB
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Diff not rendered.
Binary file modified
BIN
+3.17 KB
(180%)
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png
Oops, something went wrong.
Binary file modified
BIN
+12.5 KB
(230%)
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+17.9 KB
(280%)
demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
54 changes: 54 additions & 0 deletions
54
demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+160 KB
...app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png
Oops, something went wrong.
Binary file added
BIN
+165 KB
...p_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png
Oops, something went wrong.
Binary file added
BIN
+43.2 KB
..._Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-XR.png
Oops, something went wrong.
Binary file added
BIN
+71.5 KB
...ources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-XS-Max.png
Oops, something went wrong.
Binary file added
BIN
+43.4 KB
...p_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait-XR.png
Oops, something went wrong.
Binary file added
BIN
+72.7 KB
...sources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait-XS-Max.png
Oops, something went wrong.
Oops, something went wrong.