Skip to content

Commit f00ff13

Browse files
committed
Merge pull request #1 from NativeScript/master
update pull
2 parents 1f2891f + 746647a commit f00ff13

File tree

483 files changed

+21141
-9207
lines changed

Some content is hidden

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

483 files changed

+21141
-9207
lines changed

.ackrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
--ignore-file=ext:js
2+
--ignore-dir=is:bin
3+
--ignore-file=is:android17.d.ts
4+
--ignore-file=is:ios.d.ts
5+
--ignore-file=match:tscommand.*
File renamed without changes.

.github/ISSUE_TEMPLATE.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Dear friend, we, the rest of the NativeScript community really
2+
appreciate your feedback! While we are doing all we can to take care of every
3+
issue, sometimes we get overwhelmed. Because of that, we will consider issues
4+
that are not constructive or problems that cannot be reproduced "dead".
5+
Additionally, we will treat feature requests or bug reports with unanswered
6+
questions regarding the behavior/reproduction for more than 20 days "dead". All
7+
"dead" issues will get closed.
8+
9+
## Please, provide the details below:
10+
11+
### Did you verify this is a real problem by searching [Stack Overflow](http://stackoverflow.com/questions/tagged/nativescript) and the [other open issues in this repo](https://github.com/NativeScript/nativescript/issues)?
12+
13+
### Tell us about the problem
14+
Please, ensure your title is less than 63 characters long and starts with a capital
15+
letter.
16+
17+
### Which platform(s) does your issue occur on?
18+
iOS/Android/Both
19+
20+
### Please provide the following version numbers that your issue occurs with:
21+
- CLI: (run `tns --version` to fetch it)
22+
- Cross-platform modules: (check the 'version' attribute in the
23+
`node_modules/tns-core-modules/package.json` file in your project)
24+
- Runtime(s): (look for the `"tns-android"` and `"tns-ios"` properties in the
25+
`package.json` file of your project)
26+
- Plugin(s): (look for the version number in the `package.json` file of your
27+
project)
28+
29+
### Please tell us how to recreate the issue in as much detail as possible.
30+
31+
### Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
32+

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Dear friend, we, the rest of the NativeScript community thank you for your
2+
contribution! Because we want to present a really nice, readable changelog with each
3+
release, please provide the following information:
4+
5+
### Create a meaningful title
6+
Please, ensure your title is less than 50 characters and starts with a capital
7+
letter. We strive to follow the guidelines in the
8+
[How to Write a Git Commit Message] (http://chris.beams.io/posts/git-commit/)
9+
article for PR titles.
10+
11+
### Does your commit message include the wording below to reference a specific issue in this repo?
12+
Fixes/Implements #[Issue Number].
13+
14+
### Does your pull request have [unit tests](https://github.com/NativeScript/NativeScript/blob/master/running-tests.md)?
15+
If not, why?
16+
If not, please tell us why tests are not included, and list all steps needed to test your pull request manually.
17+
18+

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# generated files
22
*.map
3+
*.tgz
34
.baseDir.ts
45
.sublime-grunt.cache
56
tscommand*.tmp.txt
67
.tscache
8+
.vscode
79

810
node_modules/
911
dist/
12+
package/
1013

1114
*.js
1215
!gruntfile.js
@@ -15,7 +18,7 @@ dist/
1518
!css-value/**/*.*
1619
!fetch/**/*.*
1720
!apps/TelerikNEXT/lib/**/*.*
18-
!build/*.*
21+
!build/**/*.*
1922
CrossPlatformModules.sln.ide/
2023
*.suo
2124
CrossPlatformModules.suo
@@ -31,3 +34,7 @@ tags
3134

3235
TestRunResult.txt
3336
.testsapprun
37+
38+
tns-core-modules.base.d.ts
39+
tns-core-modules.d.ts
40+
tns-core-modules.es6.d.ts

.travis.yml

Lines changed: 66 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,69 @@
1-
language: node_js
1+
env:
2+
global:
3+
- DATE=$(date +%Y-%m-%d)
4+
- PACKAGE_VERSION=$DATE-$TRAVIS_BUILD_NUMBER
5+
- PACKAGE_NAME=tns-core-modules
6+
- NODE_VERSION=5.10.1
7+
- EMULATOR_API_VER=22
8+
- RUNTIMEVERSION=next
9+
- AVD_NAME=Arm$EMULATOR_API_VER
10+
addons:
11+
artifacts:
12+
paths:
13+
- "$HOME/test-run-results$PACKAGE_VERSION.xml"
14+
sudo: required
15+
dist: trusty
16+
language: android
217
node_js:
3-
4.2.3
18+
- 4.2.3
19+
jdk:
20+
- oraclejdk8
21+
android:
22+
components:
23+
- platform-tools
24+
- tools
25+
- build-tools-23.0.3
26+
- android-$EMULATOR_API_VER
27+
- android-23
28+
- extra-android-support
29+
- extra-android-m2repository
30+
- sys-img-armeabi-v7a-android-$EMULATOR_API_VER
431
before_script:
5-
- npm install -g grunt-cli
6-
- npm install
32+
- nvm install $NODE_VERSION
33+
- npm install -g grunt-cli
34+
- npm install
35+
- "(cd build/platform-declarations && npm install)"
36+
- echo no | android create avd --force -n $AVD_NAME -t android-$EMULATOR_API_VER -b
37+
armeabi-v7a -c 12M
38+
- emulator -avd $AVD_NAME -skin WXGA720 -no-audio -no-window &
39+
- android-wait-for-emulator
740
script:
8-
grunt default
9-
41+
- jdk_switcher use oraclejdk8
42+
- grunt default &&
43+
FULL_PACKAGE_VERSION=`node -e 'console.log(require("./bin/dist/modules/package.json").version);'` &&
44+
(cd build/platform-declarations && grunt) &&
45+
echo no | npm install nativescript@next -g > /dev/null &&
46+
grunt buildOnlyTestsApp --platform=Android --modulesPath=./bin/dist/$PACKAGE_NAME-$FULL_PACKAGE_VERSION.tgz --runtimeVersion=$RUNTIMEVERSION --emuPId=.*emulator.* --avd=$AVD_NAME --showEmu=false > /dev/null &&
47+
grunt runOnlyTestsApp --platform=Android --modulesPath=./bin/dist/$PACKAGE_NAME-$FULL_PACKAGE_VERSION.tgz --emuPId=.*emulator.* --avd=$AVD_NAME --showEmu=false
48+
- node ./build/travis-scripts/check-testrun-broken.js
49+
- adb pull /data/data/org.nativescript.TestsApp/files/test-results.xml &&
50+
mv test-results.xml ~/test-run-results$PACKAGE_VERSION.xml
51+
before_deploy:
52+
- mv bin/dist/$PACKAGE_NAME-$FULL_PACKAGE_VERSION.tgz ../.deploymentpackage
53+
- mv build ../
54+
- cd ..
55+
- rm -rf NativeScript
56+
- tar -zxvf .deploymentpackage
57+
- mv package $PACKAGE_NAME
58+
- cd $PACKAGE_NAME
59+
- rm ../.deploymentpackage
60+
- mv ../build ./
61+
- node ./build/travis-scripts/add-publishConfig.js next
62+
deploy:
63+
provider: npm
64+
65+
on:
66+
branch: master
67+
skip_cleanup: true
68+
api_key:
69+
secure: j2gE5jnGSuCFy7s3pDB6Or2j+vhlRYIlSSB1mDI7R5PvpV0kWr8yE1rLnyqeb0pI7WY/36SV/0NZCClJhlrZFvd7QvaP3+55cGX3ijmsDp8WxfQRyHppA9RZuMFujG7swFr/s0RmoYgO9mYNe46lJTX8m0HZeNN2qlAC7LDD3x8=

AUTHORS

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,40 @@
11
Alexander Vakrilov <[email protected]>
22
Andrew Kulakov <[email protected]>
33
Antoine Rousseau <[email protected]>
4+
45
Darin Dimitrov <[email protected]>
6+
Dimitar Topuzov <[email protected]>
7+
Emil Öberg <[email protected]>
58
Erjan Gavalji <[email protected]>
69
Fırat Yalavuz <[email protected]>
710
Georgi Atanasov <[email protected]>
11+
Gheric Speiginer <[email protected]>
12+
Hristo Deshev <[email protected]>
813
Hristo Hristov <[email protected]>
14+
Jason Zhekov <[email protected]>
15+
John Bristowe <[email protected]>
16+
17+
Kamen Velikov <[email protected]>
18+
Lubomir Blagoev <[email protected]>
19+
Matt Donovan <[email protected]>
920
Matthew Knight <[email protected]>
21+
Mihail Slavchev <[email protected]>
1022
Nathanael Anderson <[email protected]>
1123
Nedyalko Nikolov <[email protected]>
24+
Neli Chakarova <[email protected]>
1225
Panayot Cankov <[email protected]>
26+
Peter Staev <[email protected]>
27+
Plamen Petkov <[email protected]>
28+
Prayag Verma <[email protected]>
29+
Richard Lai <[email protected]>
1330
Rossen Hristov <[email protected]>
31+
Stanimir Karoserov <[email protected]>
1432
Stefan Dobrev <[email protected]>
1533
TJ VanToll <[email protected]>
34+
Tsvetan Raikov <[email protected]>
1635
Valentin Stoychev <[email protected]>
36+
Vasil Chimev <[email protected]>
37+
Victor Nascimento <[email protected]>
1738
Vladimir Enchev <[email protected]>
18-
Wei Zhang <[email protected]>
39+
Wei Zhang <[email protected]>
40+
Yavor Georgiev <[email protected]>

0 commit comments

Comments
 (0)