Skip to content

Update production with master to update the setup scripts #3112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 230 commits into from
Sep 8, 2017
Merged
Changes from all commits
Commits
Show all changes
230 commits
Select commit Hold shift + click to select a range
9b1673f
Yosifov/add test (#2710)
yyosifov Apr 20, 2017
d992963
Fix installation scripts for Mac (#2714)
etabakov Apr 21, 2017
2af3615
Fix debug on iOS simulator with watch (#2721)
rosen-vladimirov Apr 19, 2017
5c3ea30
Implement extensibility model for CLI (#2724)
rosen-vladimirov Apr 21, 2017
b094d1f
Do not start emulator when `--available-devices` is passed (#2736)
rosen-vladimirov Apr 25, 2017
34214c9
Install karma peer dependencies on `test init` (#2693)
petekanev Apr 25, 2017
430200b
Update to latest common
rosen-vladimirov Apr 25, 2017
76a619f
Expose service for configuration
Apr 24, 2017
de44599
Expose npm operations
Apr 19, 2017
0b70f39
Docs and tests
Apr 20, 2017
9c41267
Fix comments
Apr 25, 2017
a9b14a3
Rebase
Apr 25, 2017
a389de1
Final fix
Apr 26, 2017
b3e50ad
Improve debugService public API
rosen-vladimirov Apr 25, 2017
8b730f3
Add tests for debugService
rosen-vladimirov Apr 25, 2017
ec539bb
Fix emulate command (#2743)
rosen-vladimirov Apr 27, 2017
9306f38
Fix some issues about the provision switch (#2705)
PanayotCankov Apr 27, 2017
9895dde
Freeze mocha-typescript to 1.0.23 (#2746)
PanayotCankov Apr 27, 2017
5af9b00
Merge remote-tracking branch 'origin/release' into vladimirov/merge-r…
rosen-vladimirov Apr 27, 2017
7c83bca
Merge remote-tracking branch 'origin/release' into vladimirov/merge-r…
rosen-vladimirov Apr 27, 2017
3e8ddcf
Merge release in master (#2749)
rosen-vladimirov Apr 28, 2017
261429d
Revert "Merge release in master (#2749)" (#2750)
yyosifov Apr 28, 2017
c223620
Merge pull request #2751 from NativeScript/vladimirov/merge-rel-master
yyosifov Apr 28, 2017
b1aeca3
Update the mobile-cli-lib to latest version (#2760)
yyosifov May 3, 2017
1c64e4b
Merge branch 'release' into vladimirov/merge-rel-master
rosen-vladimirov May 5, 2017
c0be28f
Merge pull request #2783 from NativeScript/vladimirov/merge-rel-master
rosen-vladimirov May 5, 2017
1e23be6
Merge remote-tracking branch 'origin/release' into vladimirov/merge-r…
rosen-vladimirov May 9, 2017
2124b88
Merge pull request #2794 from NativeScript/vladimirov/merge-rel-master
rosen-vladimirov May 10, 2017
dd8f866
Fix getting production dependencies code (#2789)
rosen-vladimirov May 11, 2017
0a36bb2
Use qr-image for qr code generation (#2803)
Mitko-Kerezov May 11, 2017
1d57f5f
Merge remote-tracking branch 'origin/release' into vladimirov/merge-r…
rosen-vladimirov May 12, 2017
5311af8
Update to latest common lib
rosen-vladimirov May 12, 2017
29c149b
Merge release in master (#2808)
rosen-vladimirov May 12, 2017
f64d471
Update Travis CI Scripts (#2805)
May 12, 2017
0d13919
Merge pull request #2809 from NativeScript/vladimirov/merge-rel-master
rosen-vladimirov May 12, 2017
6b9ffeb
Fix getting information for installed npm package (#2813)
rosen-vladimirov May 15, 2017
a5bd263
Add support for Custom entitlements files (#2753)
yyosifov May 18, 2017
649637f
Fix posting notification to iOS Simulator (#2824)
rosen-vladimirov May 19, 2017
94a3132
Add .html to the fast-sync files (#2823)
yyosifov May 22, 2017
d3f06ab
Add awaitWriteFinish option to choki in livesync to wait file to be r…
yyosifov May 22, 2017
9c6bf82
Fix unit tests on non-macOS (#2827)
rosen-vladimirov May 22, 2017
4b8abed
Add a section for Entitlements (#2834)
yyosifov May 23, 2017
b077a96
Prevent starting a simulator when build --forDevice (#2833)
yyosifov May 23, 2017
31f8c94
Don't create/update the bash_profile when turning autocomplete on (#2…
yyosifov May 23, 2017
ff88c9b
After fix .html can again be synced correctly without restart (#2839)
yyosifov May 23, 2017
b4ffe76
Fix ios logs with logLevel INFO (#2843)
Mitko-Kerezov May 26, 2017
756af30
Increase version to 3.0.2 and add changelog (#2849)
yyosifov May 26, 2017
3ef06f7
Fix deviceLogs emitted for all attached ios devices (#2845)
Mitko-Kerezov May 26, 2017
bea33e9
Remove reference to Google groups in README (#2838)
PetyaSotirova May 26, 2017
bfdee17
Fix permissions on ~/.local/share/.nativescript-cli with Sudo runs (#…
yyosifov May 29, 2017
a1932ce
Updated md files for the debug command. (#2836)
pkoleva May 29, 2017
1cf8440
Remove the emulate command (#2844)
etabakov May 29, 2017
c2d844d
Fix prepare for android when building with webpack (#2852)
sis0k0 May 29, 2017
67fdb67
Update CHANGELOG.md
dtopuzov May 30, 2017
106a2e8
Expose a way to set projectApiKey for analytics (#2859)
Mitko-Kerezov May 30, 2017
492d24b
Update Android SDK packages in macOS setup script (#2857)
May 30, 2017
2e2a8e1
Update ios-device-lib (#2861)
rosen-vladimirov May 31, 2017
67dafcc
Add the available devices option to the help #2850 (#2854)
etabakov May 31, 2017
2b04e1d
Conform ios inspector code with npm 5 (#2862)
Mitko-Kerezov May 31, 2017
d0f8dc0
Add the available devices option to the help #2850 (#2854)
etabakov May 31, 2017
30cbdfa
Update Android SDK packages in macOS setup script (#2857)
May 30, 2017
29e6718
Updated md files for the debug command. (#2836)
pkoleva May 29, 2017
2e5b963
Remove reference to Google groups in README (#2838)
PetyaSotirova May 26, 2017
d9f2ab4
Bump version and add release notes (#2866)
dtopuzov Jun 1, 2017
a1867c8
Update CocoaPods.md (#2867)
dtopuzov Jun 1, 2017
b615149
Expose loadExtension to fix double loading of packages (#2868)
rosen-vladimirov Jun 1, 2017
b490242
Fix analytics (#2869)
rosen-vladimirov Jun 2, 2017
2707acf
Merge remote-tracking branch 'origin/release' into vladimirov/merge-r…
rosen-vladimirov Jun 2, 2017
66a47ad
Update submodule to latest version
rosen-vladimirov Jun 2, 2017
c3af7fb
Merge pull request #2872 from NativeScript/vladimirov/merge-rel-master
rosen-vladimirov Jun 2, 2017
d3dbade
Bump version to 3.1.0 (#2878)
Jun 6, 2017
ab08c91
Add CFBundleURLSchemes when building for iOS in debug. (#2863)
TomaNikolov Jun 6, 2017
c1c3ac4
Flatten scoped module when copying into android/src (#2837)
petekanev Jun 6, 2017
55b170a
Add Content-Length to the itunes request applications service request…
PanayotCankov Jun 8, 2017
b99145d
#2856 Remove non-production dependencies which break npm links (#2880)
etabakov Jun 8, 2017
2f3745a
Fix unit tests (#2886)
Mitko-Kerezov Jun 13, 2017
9b83cda
WIP
nadyaA May 10, 2017
33d79ab
Move OS compatibility check to commands
nadyaA May 16, 2017
8ccf75f
New LiveSync
rosen-vladimirov May 31, 2017
a0f037e
WIP
rosen-vladimirov Jun 4, 2017
33371a4
WIP next
rosen-vladimirov Jun 5, 2017
19b7fca
Add useLiveEdit option
rosen-vladimirov Jun 5, 2017
1765397
Update Public API interfaces
rosen-vladimirov Jun 5, 2017
823f1c5
Add events for LiveSync
rosen-vladimirov Jun 5, 2017
f45f1e3
Add correct events for LiveSync
rosen-vladimirov Jun 5, 2017
cd7f808
Add docs and improve liveSync operations when called multiple times f…
rosen-vladimirov Jun 6, 2017
e293ef9
Fix liveSync - add correct check for deviceDescriptors
rosen-vladimirov Jun 6, 2017
2c4d0c9
Delete AndroidAppIdentifier
Jun 5, 2017
b3b7df8
Remove device-path-provider
Jun 6, 2017
4aafecc
Fix multiple rebuilds for the same platform
rosen-vladimirov Jun 6, 2017
6b3662d
Fix unit tests
rosen-vladimirov Jun 6, 2017
0f9c0aa
Extract all common logic of livesync services to platform-livesync-se…
rosen-vladimirov Jun 6, 2017
4dfc040
Remove livesync-provider
rosen-vladimirov Jun 6, 2017
3a38e78
Add notify event during LiveSync
rosen-vladimirov Jun 6, 2017
869c95a
Rename error event to liveSyncError
rosen-vladimirov Jun 6, 2017
96af540
Do not kill ios-device-lib in `tns run`
rosen-vladimirov Jun 7, 2017
4d6b990
WIP
TsvetanMilanov Jun 7, 2017
f11d405
Expose saveBuildInfoFile
Jun 8, 2017
4eb8d7f
Fix always reinstalling apps during livesync
rosen-vladimirov Jun 9, 2017
4bb0330
Minor bugfixes
Jun 9, 2017
e6c2821
Move notification service to common
Jun 9, 2017
4e4197e
Fix Success livesync and run fail messages
Jun 9, 2017
e377340
Implement tracking
Jun 9, 2017
75578ea
Fix lint errors
Jun 9, 2017
03f0537
Fix message for tests
Jun 12, 2017
e2205c6
Fix comments vol. I
Jun 12, 2017
82ba18f
Cache sockets per app per device
rosen-vladimirov Jun 12, 2017
013c5fa
Fix run
Jun 12, 2017
714275c
Fix run not starting emulator
Jun 13, 2017
64080f7
Pass emulator flag and fix process.platform messages
Jun 13, 2017
c6127ea
Fix chrome debug message
Jun 13, 2017
f32f243
Do not determine dynamic dependencies on Windows
nadyaA Jun 14, 2017
5b1141c
Restart app upon debugging
Jun 15, 2017
0acb22d
Update common to latest master
Jun 15, 2017
baab31b
Remove obsolete vendor directory
Jun 15, 2017
7b2f1ab
Fix run with --release and --clean
Jun 14, 2017
f3dc66e
Fix unit tests
rosen-vladimirov Jun 14, 2017
b4b4232
Fix debug-service unit tests
rosen-vladimirov Jun 15, 2017
b74d44d
Update ios-device-lib to 0.4.4
rosen-vladimirov Jun 15, 2017
ea88148
Merge pull request #2883 from NativeScript/vladimirov/new-livesync
rosen-vladimirov Jun 15, 2017
32569e4
Update ios-device-lib (#2893)
rosen-vladimirov Jun 15, 2017
2adfc16
Pass mobileProvisionData to prepare (#2895)
rosen-vladimirov Jun 16, 2017
0aa938a
Return information about the error if loadExtension fails (#2899)
Jun 19, 2017
8cef8da
Emit liveSyncStopped for every device (#2900)
Mitko-Kerezov Jun 19, 2017
e3ce4e6
Revert "Restart app upon debugging" (#2898)
Mitko-Kerezov Jun 19, 2017
80c9aac
Allow prepare for Android without ANDROID_HOME (#2904)
rosen-vladimirov Jun 20, 2017
fc128fd
Pass correct release arguments to run command (#2906)
Jun 20, 2017
b7e9bf7
Fix adding specific platform (#2907)
rosen-vladimirov Jun 20, 2017
69d14c4
Fix platform update command (#2910)
rosen-vladimirov Jun 21, 2017
761fc4e
Add changelog for 3.1.0 (#2912)
Jun 22, 2017
6df2bc1
Fix snapshot (#2918)
PanayotCankov Jun 23, 2017
a8763db
Fix merging of CFBundleURLSchemes in debug builds (#2913)
rosen-vladimirov Jun 23, 2017
e0bc1cb
Fix starting of emulator on `tns debug <platform>` when device is not…
rosen-vladimirov Jun 23, 2017
a0c6379
Fix asking for user email on postinstall
rosen-vladimirov Jun 23, 2017
6c089b2
Update .travis.yml
rosen-vladimirov Jun 23, 2017
e5ba743
Update ios-device-lib to 0.4.7
rosen-vladimirov Jun 26, 2017
b525faa
Update to latest common lib
rosen-vladimirov Jun 26, 2017
ca2e5de
Set version to 3.1.1 and prepare CHANGELOG
rosen-vladimirov Jun 26, 2017
8c9f3cf
Merge pull request #2919 from NativeScript/vladimirov/fix-email-check
rosen-vladimirov Jun 26, 2017
79c6310
Set version to 3.2.0
rosen-vladimirov Jun 26, 2017
22daa61
Add Android 26 as verified version
rosen-vladimirov Jun 26, 2017
fb869c0
Merge pull request #2924 from NativeScript/vladimirov/android-26
rosen-vladimirov Jun 26, 2017
7f9c201
fix android with webpack (#2925)
PanayotCankov Jun 27, 2017
e50a7fc
Different npm install result from npm 5. (#2926)
TomaNikolov Jun 27, 2017
f0dfab2
Cherry-pick "fix android with webpack" from master (#2930)
rosen-vladimirov Jun 28, 2017
895e0bf
Update Travis CI Scripts (#2915)
Jun 30, 2017
60cf564
Update TS to latest release (#2928)
Jul 4, 2017
fd4fcef
Track exceptions in separate Analytics project (#2948)
rosen-vladimirov Jul 5, 2017
d51e767
Error handling fixes. (#2938)
TomaNikolov Jul 5, 2017
e500166
Removing files that now live in the {N}/docs repo. (#2937)
tjvantoll Jul 5, 2017
4e2c510
Fix plugins prompts on postinstall (#2949)
rosen-vladimirov Jul 5, 2017
a68fd59
Merge remote-tracking branch 'origin/release' into vladimirov/merge-r…
rosen-vladimirov Jul 5, 2017
6ecffae
Upate to latest common-lib
rosen-vladimirov Jul 5, 2017
b6d4427
Fix LICENSE years (#2953)
rosen-vladimirov Jul 5, 2017
0c619e0
Merge remote-tracking branch 'origin/release' into vladimirov/merge-r…
rosen-vladimirov Jul 5, 2017
6cd4304
Merge pull request #2951 from NativeScript/vladimirov/merge-rel-master
rosen-vladimirov Jul 5, 2017
0166da3
Replace grunt-tslint with direct calling to tslint (#2954)
rosen-vladimirov Jul 6, 2017
e191e95
Fix remove of non-production dependencies. (#2959)
TomaNikolov Jul 7, 2017
19e6829
Debug on emulator by default when multiple devices/emulators attached…
rosen-vladimirov Jul 10, 2017
7e51ba8
Fix CFBundleURLTypes merging. (#2961)
TomaNikolov Jul 11, 2017
00776b0
Fix unmet peer dependency break adding of platform. (#2969)
TomaNikolov Jul 11, 2017
70a6e17
Fix LiveSync calls cosecutive times (#2973)
rosen-vladimirov Jul 13, 2017
98db3bd
Remove emulator launch from ios-provision-service. (#2971)
TomaNikolov Jul 13, 2017
17e6611
Fix recursive calling of actions. (#2976)
TomaNikolov Jul 13, 2017
703884a
Emit `liveSyncStarted` when the application is really livesynced (#2977)
rosen-vladimirov Jul 13, 2017
8590ede
Do not attach to the device log on every application start. (#2978)
TomaNikolov Jul 13, 2017
82d6abc
Add official support for Node.js 8 (#2979)
rosen-vladimirov Jul 14, 2017
dea71ce
Fix debug when using CLI as library (#2984)
rosen-vladimirov Jul 19, 2017
1955028
Separate preparation of JS from native code (#2983)
rosen-vladimirov Jul 20, 2017
52c88bb
Fix EPIPE during livesync on iOS (#2987)
rosen-vladimirov Jul 20, 2017
ac8cf2f
Fix error handling during fast sync (#2991)
Mitko-Kerezov Jul 20, 2017
199b293
Move skipNativePrepare to deviceDescriptors (#2990)
rosen-vladimirov Jul 20, 2017
dc8af3d
Fix itunes error after run android (#2994)
KristianDD Jul 21, 2017
c2ff812
Add error handling for debug sockets (#2995)
Mitko-Kerezov Jul 21, 2017
54d1bcf
Set correct timeout on LiveSync (#2996)
Mitko-Kerezov Jul 21, 2017
e5f5a54
Fix run without platform on ios. (#2982)
KristianDD Jul 22, 2017
abb0aa8
Set version to 3.1.3 and update CHANGELOG
rosen-vladimirov Jul 22, 2017
8512415
Fix rebuilding application every time when a change is applied (#3002)
rosen-vladimirov Jul 25, 2017
f51a72c
Set version to 3.2.0
rosen-vladimirov Jul 25, 2017
28232f3
Merge pull request #3003 from NativeScript/vladimirov/merge-rel-master
rosen-vladimirov Jul 25, 2017
b62c925
Fix LiveSync on iOS when app is uninstalled manually (#3005)
rosen-vladimirov Jul 26, 2017
184a91b
Respect configuration when preparing project files (#2958)
Jul 27, 2017
afa5102
"This" is not the correct property invoker in current context (#3013)
Jul 28, 2017
ac4ee24
Ensure platforms directory exists prior to preparing (#3014)
Mitko-Kerezov Jul 28, 2017
2d02102
Emit liveSyncStopped event when LiveSync operation is really stopped …
rosen-vladimirov Jul 30, 2017
0388273
move device discovery to debug command as it is done for run command …
Plamen5kov Jul 31, 2017
0a7408a
Emit liveSyncStopped properly when stopping on all devices (#3030)
Mitko-Kerezov Aug 3, 2017
e35de42
livesync deletes files and cleans temp folder afterwards (#3027)
Plamen5kov Aug 4, 2017
81488de
Add check for application identifier ios (#3033)
KristianDD Aug 7, 2017
b1c6f18
Fix tns run ios on case sensitive file system (#3045)
rosen-vladimirov Aug 9, 2017
cc99451
Fix `tns debug <platform> --start` inconsistent behavior (#3047)
rosen-vladimirov Aug 10, 2017
9184434
doctor doesn't crash on missing xcode tools (#3043)
Plamen5kov Aug 11, 2017
1a7e27d
Update .travis.yml (#3050)
Aug 11, 2017
815f0a9
Fix IPA export (#3036)
PeterStaev Aug 11, 2017
7605f81
don't restart application twice on crash (#3051)
Plamen5kov Aug 14, 2017
ffc7661
Fix message when unable to find devices for LiveSync (#3058)
rosen-vladimirov Aug 14, 2017
381b35e
Update ios-project-service.ts (#3056)
senk Aug 14, 2017
1ba4656
Improve get latest compatible version to search for major.minor.*x* v…
rosen-vladimirov Aug 14, 2017
39ae515
Fix the error handling in hooks execution (#3055)
TsvetanMilanov Aug 14, 2017
973fc8c
Update ios-sim-portable to 3.1.0 (#3060)
rosen-vladimirov Aug 15, 2017
4d5bcfb
Fix tns run ios when no simulator is running (#3064)
rosen-vladimirov Aug 15, 2017
1f46ca1
make livesync work with renamed files and folders (#3042)
Plamen5kov Aug 17, 2017
445b463
Fix setup script for Windows #3048 (#3049)
etabakov Aug 17, 2017
f99762c
Fix passing provision to `tns run ios` and passsing `--teamId` (#3069)
rosen-vladimirov Aug 17, 2017
db969b6
Documented `--provision` option in build-ios.md (#3068)
pkoleva Aug 18, 2017
ff5d1e5
Add option to use chrome-devtools fronted from appspot (#3071)
rosen-vladimirov Aug 21, 2017
a25fa75
Fix stopLiveSync method (#3077)
rosen-vladimirov Aug 22, 2017
f762d88
Fix typo in the messages (#3078)
etabakov Aug 22, 2017
8223f4f
Fix native platform add after cloud build. (#3075)
TomaNikolov Aug 22, 2017
5fc07a7
Fix simultaneous livesync error (#3074)
Mitko-Kerezov Aug 22, 2017
dd9aa32
Fix prepare of scoped plugins (#3080)
rosen-vladimirov Aug 23, 2017
e6eda41
Improve iOS log filter regex. (#3079)
TomaNikolov Aug 23, 2017
0d536f4
Install correct emulators if/not HAMX is supported (#3072)
etabakov Aug 23, 2017
9fb0efc
Fix xcode9 provision, provide --quiet by default, enable -allowProvis…
PanayotCankov Aug 23, 2017
0b89d3e
Expose enable/disable debugging (#3065)
Mitko-Kerezov Aug 23, 2017
164b687
Fix unit-tests on Windows (#3086)
rosen-vladimirov Aug 24, 2017
9cde852
Add prefer-const rule to tslint (#3090)
rosen-vladimirov Aug 28, 2017
41b10b5
Updated changelog for 3.2.0 RC (#3093)
pkoleva Aug 29, 2017
557cc89
update proxy-set command manual to contain information about setting …
petekanev Aug 29, 2017
9afb251
Set version to 3.3.0 (#3095)
rosen-vladimirov Aug 30, 2017
608737f
Debug improvements (#3094)
Mitko-Kerezov Aug 31, 2017
8fe4465
Only return debugInfo if url is passed (#3103)
Mitko-Kerezov Sep 5, 2017
f989e8d
Enable silent mode setup for Windows #3076 (#3082)
etabakov Sep 5, 2017
e343c0a
Install platform tools api level 25 (#3083)
etabakov Sep 5, 2017
e0b05f4
Install Google Chrome on Mac for debugging purpose (#3102)
etabakov Sep 5, 2017
570ebbb
Emit deviceIdentifier in debuggerAttached event (#3104)
rosen-vladimirov Sep 5, 2017
47be8d7
Improve analytics (#3088)
rosen-vladimirov Sep 5, 2017
3774db5
Update ios-device-lib and plist-merge-patch (#3107)
rosen-vladimirov Sep 7, 2017
4a7371a
Minor LiveSync+Debug fixes (#3109)
Mitko-Kerezov Sep 7, 2017
7889c55
Analytics fixes (#3110)
rosen-vladimirov Sep 8, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 30 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -8,12 +8,16 @@ node_js:
- '6'
git:
submodules: true
install:
- npm install --ignore-scripts
before_script:
- gem install xcodeproj
- gem install cocoapods
- npm install grunt
- node_modules/.bin/grunt enableScripts:false
- grunt rebuild
- ./bin/nativescript error-reporting disable # force ~/.local dir creation -- some tests rely on it
- ./bin/nativescript usage-reporting disable
- "./bin/nativescript error-reporting disable"
- "./bin/nativescript usage-reporting disable"
- npm test
- node_modules/.bin/grunt enableScripts:true
script:
@@ -26,27 +30,27 @@ after_success:
before_deploy:
- node .travis/add-publishConfig.js $TRAVIS_BRANCH
deploy:
- provider: s3
bucket: nativescript-ci
access_key_id: AKIAIYSWYOZRFLVKPCTQ
secret_access_key:
secure: THGlblH9XdRcTQMc3jm4kpwCB3myl8MGB3v9XjB5ObK4gqxUxuPi6e158LEG9Dgb730MGEYtaAjc9OneH59WAjQOrdcf3GXiGKOiCYzGYZLqVE4pjNDuxHaVGOj7mso4TzMinMCaDSQajTvadCfVmXqgT6p9eSXkiV3V2d2DN6c=
skip_cleanup: true
local-dir: s3-publish
upload-dir: build_result
on:
branch: master
- provider: npm
skip_cleanup: true
email: nativescript@telerik.com
on:
branch: master
api_key:
secure: KzzsvF3eA3j4gRQa8tO//+XWNSR3XiX8Sa18o3PyKyG9/cBZ6PQ3Te74cNS1C3ZiLUOgs5dWA6/TmRVPci4XjvFaWo/B6e2fuVSl5H94Od99bkeBHJsbLSEkLN4ClV/YbGuyKgA5Q2yIFt6p2EJjL90RjbbIk7I4YuyG2Mo3j0Q=
- provider: npm
skip_cleanup: true
email: nativescript@telerik.com
on:
branch: release
api_key:
secure: KzzsvF3eA3j4gRQa8tO//+XWNSR3XiX8Sa18o3PyKyG9/cBZ6PQ3Te74cNS1C3ZiLUOgs5dWA6/TmRVPci4XjvFaWo/B6e2fuVSl5H94Od99bkeBHJsbLSEkLN4ClV/YbGuyKgA5Q2yIFt6p2EJjL90RjbbIk7I4YuyG2Mo3j0Q=
- provider: s3
access_key_id: AKIAJL6X6724CSX64X3Q
secret_access_key:
secure: a0T/2S+/rkRJqEotWPAr1VELA3k5TGyRw6VmXgBQnkirc6H0Pfu0P2DY8iriO7pnTPDCPAskdBCuk6t+RYw/OCrGDzFPApnAQ7t3tksKPr2bGYqh2HVqbFKZyEbNjzwsgxn7cmLPo936ZTHP2muQItEI3o9Zh9EZ5XHtv0Maw0k=
bucket: nativescript-ci
skip_cleanup: true
local-dir: s3-publish
upload-dir: build_result
on:
branch: master
- provider: npm
skip_cleanup: true
email: nativescript@telerik.com
on:
branch: master
api_key:
secure: "g7Bpo7zX9kHaX8BcrnT/6S9/uuscAb2t+5Zr6okHCTaJXuLGOvzeV9KLFRyKKn93/o6sPlRIVA9welsYhUhdIlOUKz3jlPzejoaURhEY3xFrDWX29beho1Q88/AM5idGtosyElxvpw435WYeu/JlAu3DoYtCQavNXeEz5dY8cY0="
- provider: npm
skip_cleanup: true
email: nativescript@telerik.com
on:
branch: release
api_key:
secure: "g7Bpo7zX9kHaX8BcrnT/6S9/uuscAb2t+5Zr6okHCTaJXuLGOvzeV9KLFRyKKn93/o6sPlRIVA9welsYhUhdIlOUKz3jlPzejoaURhEY3xFrDWX29beho1Q88/AM5idGtosyElxvpw435WYeu/JlAu3DoYtCQavNXeEz5dY8cY0="
18 changes: 7 additions & 11 deletions .travis/add-publishConfig.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
#!/usr/bin/env node

var fsModule = require("fs");
const fsModule = require("fs");
const path = "./package.json";
const fileOptions = {encoding: "utf-8"};
const content = fsModule.readFileSync(path, fileOptions);

// Adds a publishConfig section to the package.json file
// and sets a tag to it

var path = "./package.json";
var fileOptions = {encoding: "utf-8"};
var content = fsModule.readFileSync(path, fileOptions);

var packageDef = JSON.parse(content);
const packageDef = JSON.parse(content);
if (!packageDef.publishConfig) {
packageDef.publishConfig = {};
}

var branch = process.argv[2];
const branch = process.argv[2];
if (!branch) {
console.log("Please pass the branch name as an argument!");
process.exit(1);
}
packageDef.publishConfig.tag = branch === "release" ? "rc" : "next";

var newContent = JSON.stringify(packageDef, null, " ");
const newContent = JSON.stringify(packageDef, null, " ");
fsModule.writeFileSync(path, newContent, fileOptions);
15 changes: 13 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -67,8 +67,19 @@
{
"type": "node",
"request": "attach",
"name": "Attach to Process",
"port": 5858,
"name": "Attach to Broker Process",
// In case you want to debug Analytics Broker process, add `--debug-brk=9897` (or --inspect-brk=9897) when spawning analytics-broker-process.
"port": 9897,
"sourceMaps": true
},

{
"type": "node",
"request": "attach",
"name": "Attach to Eqatec Process",
// In case you want to debug Eqatec Analytics process, add `--debug-brk=9855` (or --inspect-brk=9855) when spawning eqatec-analytics-process.
// NOTE: Ensure you set it only for one of the analytics processes.
"port": 9855,
"sourceMaps": true
}

135 changes: 118 additions & 17 deletions CHANGELOG.md

Large diffs are not rendered by default.

102 changes: 0 additions & 102 deletions CocoaPods.md

This file was deleted.

35 changes: 14 additions & 21 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
var now = new Date().toISOString();
const childProcess = require("child_process");
const now = new Date().toISOString();

function shallowCopy(obj) {
var result = {};
Object.keys(obj).forEach(function(key) {
Object.keys(obj).forEach(function (key) {
result[key] = obj[key];
});
return result;
@@ -11,10 +12,10 @@ function shallowCopy(obj) {
var travis = process.env["TRAVIS"];
var buildNumber = process.env["PACKAGE_VERSION"] || process.env["BUILD_NUMBER"] || "non-ci";

module.exports = function(grunt) {
module.exports = function (grunt) {
var path = require("path");
var commonLibNodeModules = path.join("lib", "common", "node_modules");
if(require("fs").existsSync(commonLibNodeModules)) {
if (require("fs").existsSync(commonLibNodeModules)) {
grunt.file.delete(commonLibNodeModules);
}
grunt.file.write(path.join("lib", "common", ".d.ts"), "");
@@ -50,17 +51,6 @@ module.exports = function(grunt) {
},
},

tslint: {
build: {
files: {
src: ["lib/**/*.ts", "test/**/*.ts", "!lib/common/node_modules/**/*.ts", "!lib/common/messages/**/*.ts", "lib/common/test/unit-tests/**/*.ts", "definitions/**/*.ts", "!lib/**/*.d.ts" , "!test/**/*.d.ts"]
},
options: {
configuration: grunt.file.readJSON("./tslint.json")
}
}
},

watch: {
devall: {
files: ["lib/**/*.ts", 'test/**/*.ts', "!lib/common/node_modules/**/*.ts", "!lib/common/messages/**/*.ts"],
@@ -96,7 +86,7 @@ module.exports = function(grunt) {
command: "npm pack",
options: {
execOptions: {
env: (function() {
env: (function () {
var env = shallowCopy(process.env);
env["NATIVESCRIPT_SKIP_POSTINSTALL_TASKS"] = "1";
return env;
@@ -143,9 +133,8 @@ module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-contrib-watch");
grunt.loadNpmTasks("grunt-shell");
grunt.loadNpmTasks("grunt-ts");
grunt.loadNpmTasks("grunt-tslint");

grunt.registerTask("set_package_version", function(version) {
grunt.registerTask("set_package_version", function (version) {
var buildVersion = version !== undefined ? version : buildNumber;
if (process.env["BUILD_CAUSE_GHPRBCAUSE"]) {
buildVersion = "PR" + buildVersion;
@@ -154,16 +143,20 @@ module.exports = function(grunt) {
var packageJson = grunt.file.readJSON("package.json");
var versionParts = packageJson.version.split("-");
if (process.env["RELEASE_BUILD"]) {
// HACK - excluded until 1.0.0 release or we refactor our project infrastructure (whichever comes first)
// packageJson.version = versionParts[0];
// HACK - excluded until 1.0.0 release or we refactor our project infrastructure (whichever comes first)
// packageJson.version = versionParts[0];
} else {
versionParts[1] = buildVersion;
packageJson.version = versionParts.join("-");
}
grunt.file.write("package.json", JSON.stringify(packageJson, null, " "));
});

grunt.registerTask("enableScripts", function(enable) {
grunt.registerTask("tslint:build", function (version) {
childProcess.execSync("npm run tslint", { stdio: "inherit" });
});

grunt.registerTask("enableScripts", function (enable) {
var enableTester = /false/i;
var newScriptsAttr = !enableTester.test(enable) ? "scripts" : "skippedScripts";
var packageJson = grunt.file.readJSON("package.json");
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -186,7 +186,7 @@ Apache License
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright (c) 2015-2016 Telerik AD
Copyright (c) 2015-2017 Telerik AD

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -198,4 +198,4 @@ Apache License
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
Loading