58 Commits

Author SHA1 Message Date
defb4f8880 test: execute api-extractor on CI properly (#8123) 2019-11-21 08:25:06 +02:00
eb960b7162 chore: add no android.R tslint rule (#8033) 2019-11-07 13:19:20 +02:00
ae6c02258e chore: add re-exports for ts files (#7993) 2019-10-22 16:57:31 +03:00
cc97a16800 feat: Scoped Packages (#7911)
* chore: move tns-core-modules to nativescript-core

* chore: preparing compat generate script

* chore: add missing definitions

* chore: no need for http-request to be private

* chore: packages chore

* test: generate tests for tns-core-modules

* chore: add anroid module for consistency

* chore: add .npmignore

* chore: added privateModulesWhitelist

* chore(webpack): added bundle-entry-points

* chore: scripts

* chore: tests changed to use @ns/core

* test: add scoped-packages test project

* test: fix types

* test: update test project

* chore: build scripts

* chore: update build script

* chore: npm scripts cleanup

* chore: make the compat pgk work with old wp config

* test: generate diff friendly tests

* chore: create barrel exports

* chore: move files after rebase

* chore: typedoc config

* chore: compat mode

* chore: review of barrels

* chore: remove tns-core-modules import after rebase

* chore: dev workflow setup

* chore: update developer-workflow

* docs: experiment with API extractor

* chore: api-extractor and barrel exports

* chore: api-extractor configs

* chore: generate d.ts rollup with api-extractor

* refactor: move methods inside Frame

* chore: fic tests to use Frame static methods

* refactor: create Builder class

* refactor: use Builder class in tests

* refactor: include Style in ui barrel

* chore: separate compat build script

* chore: fix tslint errors

* chore: update NATIVESCRIPT_CORE_ARGS

* chore: fix compat pack

* chore: fix ui-test-app build with linked modules

* chore: Application, ApplicationSettings, Connectivity and Http

* chore: export Trace, Profiling and Utils

* refactor: Static create methods for ImageSource

* chore: fix deprecated usages of ImageSource

* chore: move Span and FormattedString to ui

* chore: add events-args and ImageSource to index files

* chore: check for CLI >= 6.2 when building for IOS

* chore: update travis build

* chore: copy Pod file to compat package

* chore: update error msg ui-tests-app

* refactor: Apply suggestions from code review

Co-Authored-By: Martin Yankov <m.i.yankov@gmail.com>

* chore: typings and refs

* chore: add missing d.ts files for public API

* chore: adress code review FB

* chore: update api-report

* chore: dev-workflow for other apps

* chore: api update

* chore: update api-report
2019-10-17 00:45:33 +03:00
25046c7f94 chore: remove grunt and update build scripts (#7838)
* chore: prepare and pack scripts

* chore: update @types/node dep

* chore: remove prepare-dist command from pack-dist
2019-09-18 01:05:39 +03:00
4f39fb728b chore: update tslint rules (#7391) 2019-06-26 15:13:48 +03:00
b20e771552 chore: remove deprecated apis for ns 6.0 (#7382) 2019-06-25 16:52:01 +03:00
5f9eabdf17 feat: update android typings to include @deprecated attributes (#7364)
* feat: added tslint rule for deprecation turned off
* feat: updated android dts files to include @deprecated
2019-06-17 18:56:34 +03:00
451026f44d docs: update changelog (#7004) 2019-03-12 15:09:32 +02:00
03cfc0cee3 chore(tslint): update tslint rules and fix errors (#5747)
* chore(tslint): fix tslint config & errors
* chore(tslint): enable double quotes, whitespace, and arrow-return-shorthand rules and fix errors
2018-04-26 18:36:32 +03:00
979f59f822 chore(travis): add execute permissions to a travis script (#4394)
* chore(travis): add execute permissions to a travis script
* chore(travis): update emulator options
2017-06-16 09:38:04 +03:00
1a12978034 chore(travis): Increase android emulator timeout 2017-06-15 16:03:53 +03:00
85008174cb Update npm tag 2017-05-04 15:44:32 +03:00
0467375856 Update widgets to internal-preview 2017-04-24 14:21:11 +03:00
31039d3d7e Fix travis build -- use correct widgets package. 2017-02-23 14:56:47 +02:00
aae8f1cbb1 Upgrade grunt, fix missing grunt-contrib-copy dependency. 2017-02-07 10:37:34 +02:00
da4983c6bc Try add some output to track the build failure. Too much > dev/nulls 2017-01-25 09:36:32 +02:00
05cd636fc8 npm scripts for typechecking public .d.ts-es and running tslint (#2934)
* npm scripts for typechecking public .d.ts-es and running tslint

* Update test.ts
2016-10-27 15:18:54 +03:00
299203901e Move platform .d.ts-es to separate plugin folder
Add dev-setup to figure out links

Update development workflow

Update package.json and dts-ios

Update the iOS declarations

grunt is now fine
2016-09-26 11:53:39 +03:00
3e411dfba2 Transpile should be allowed to emit on errors 2016-06-13 18:02:18 +03:00
940174b208 Remove the files entry from the tsconfig.json 2016-06-13 14:04:42 +03:00
58b4a6eec6 Add 'npm test' for mac 2016-05-30 16:10:57 +03:00
b10a3482ed Force noImplicitUseStrict transpiler option for tsc-dev 2016-05-30 14:41:53 +03:00
717b5131b1 Add isIOS, isAndroid in platform, and fast ts watcher and transpiler
Image should not requestLayout when sized with 'exactly' spec

Update image tests

Tests will run in ios only
2016-05-27 16:57:59 +03:00
212e5373f3 Move expect.exp for travis 2016-05-26 18:02:51 +03:00
a9f0adfa10 Add compiler that won't typecheck .d.ts-es 2016-05-16 14:39:29 +03:00
1e2a991b37 Reduced adb log level to root out the problem 2016-05-11 00:46:34 +05:30
130780482e Fix the tests, failing on an Arm device
Increase the timeouts of the failing webview tests
Account for fractions in time taken (run result checker)
Specify a skin to improve grid calculations
Modify the duration report to have a strict test pass detection string
2016-04-13 17:01:39 +03:00
e4ae43053b Publish XML Test results and publish @next
Modify the AndroidManifest file in the app dir to fix the HTTP tests
Pull the test results in XML format and publish them as artifacts
Have the test-results checks as a single command
Parametrize AVD version; Use the package version, retrieved from package.json for builds and runs
Make the package name a variable
Fix test crash detection according to the time taken
Move all travis-related scripts under the build dir
2016-04-11 17:02:33 +03:00
1485abaa8b Run tests in travis-CI
Add android definitions to check if they will get downloaded
Set the language to android
Attempt starting the app
Add a new redirection to the testapp-runner - a runOnly verb
Disable the install prompt
Enable the buildOnly- and runOnly- commands
Fix the version of the packages
Comment cleanup code. Workflow to be reworked
Install android 23 to make the app build
Build the test app with the @next android runtime
Add @next ability. Build with it
Specify oracle java version 8
Use switcher to switch to oraclejdk8
Switch to a single step so that build breaks on first failure
Reorder attempting to use higher nodejs
Attempt using node 5.10.1
Detect test failure
Add detection for test failures
Decrease verbosity
Extract the test checkers to a separate script
Unignore the build folder recursively. Add the fixed script
Remove the redundant node-version messages
Run the tests with Api level 21
2016-03-04 16:53:30 +02:00
fa14d4d4b0 Make declaration package have the version of the main repo package.json
Read the version field of the extracted tns-core-modules package
and set it to the declarations package.json
Remove the redundant run.sh file
2016-03-30 10:29:49 +03:00
1adaf8ffe3 Create a package for the non-included TypeScript declarations
Find out the missed TypeScript declarations in the package
Clean the package.json from devDeps
Pack and copy the platform declarations
Set version to 1.7.1
2015-11-30 18:32:24 +02:00
c3331c0efd Reenable tslint checks for unused variables and expressions. 2016-02-24 11:06:14 +02:00
41cdde4f90 Upgrade tslint 2016-02-24 11:06:14 +02:00
b2dc358edd Fix the test run on iOS
The test failed due to a huge output by the `tns platform add ios`
command. Change the grunt `exec` task to `shell` and specify max
length.
2015-12-10 15:50:18 +02:00
4997b9c3f5 Introduce a separate group task to make the runApp work as expected 2015-11-02 23:17:12 +02:00
5add617349 Remove the unnecessary emulator start for the buildTestsApp command 2015-11-02 18:42:53 +02:00
9e6ce564a0 Add runOnly command 2015-11-02 13:18:15 +02:00
11937129f3 Restore the cleanup on end 2015-10-29 15:12:25 +02:00
d5eb8046de Collecting the iOS log 2015-10-29 10:26:16 +02:00
c1b30428d0 Uninstall, install and start the app 2015-10-28 15:53:40 +02:00
94a7499aad Add a breaking command 2015-10-27 17:14:08 +02:00
8355634274 Reconfigure android-specific tasks and arguments to be cross-platform. Update documentation 2015-10-26 18:01:28 +02:00
cfb6c41542 Fix the casing of the modulesPath argument; update the readme 2015-10-26 15:02:47 +02:00
0445173757 Now update the modules 2015-10-26 11:45:57 +02:00
6ad3474803 Add empty tasks to update the modules. Broken. 2015-10-23 15:18:10 +03:00
24d2bb40c9 Validate and assign the rest of the parameters. Check for android ones only. Add just small notes to the article 2015-10-22 11:41:11 +03:00
58d05747cd Add more parameters. Add a basic readme for running the tests 2015-10-21 15:15:50 +03:00
4b37a7ec95 Introduce the platform argument. Update all the run statements to --platform=Android only 2015-10-21 13:50:41 +03:00
8eff24e56b Change grunt to do a full run 2015-10-21 11:22:56 +03:00