Hristo Deshev
0ffac1ab9f
Fix d.ts build check to not include android17/ios.dts
2016-06-16 13:08:10 +03:00
Hristo Hristov
1a2e5a9870
Fix ts-lint error ( #2314 )
...
Fix grunt error
2016-06-14 18:04:44 +03:00
Panayot Cankov
940174b208
Remove the files entry from the tsconfig.json
2016-06-13 14:04:42 +03:00
Hristo Hristov
192171232e
Fix android orientation exception. ( #2278 )
...
Fix android activity destroy/resume.
Fix tslint - skipped all from node_modules & platforms
2016-06-09 14:02:15 +03:00
Erjan Gavalji
4c9704dc2e
Avoid the compilation errors by passing the experimentalDecorators flag
2016-05-31 16:37:19 +03:00
Panayot Cankov
58b4a6eec6
Add 'npm test' for mac
2016-05-30 16:10:57 +03:00
Hristo Deshev
2ebe9d681a
Fix node-tests on OSX by explicitly requiring modules with relative paths.
2016-05-30 12:41:18 +03:00
Panayot Cankov
2115227b0b
Patch the modules package.json version
2016-05-26 14:30:25 +03:00
Panayot Cankov
e135c20b14
Rename the files
2016-05-26 14:30:25 +03:00
Vladimir Enchev
135e713eff
Merge pull request #2015 from NativeScript/ErjanGavalji/cleanup-of-buildfile
...
Remove redundant comments from the gruntfile
2016-05-09 09:49:46 +03:00
Erjan Gavalji
457d2bb963
Move single articles out parent dir
2016-05-02 11:30:59 +03:00
Erjan Gavalji
ed5dfc30b9
Remove redundant comments from the gruntfile
2016-04-22 15:24:17 +03:00
Hristo Deshev
964aa77b92
Run node-tests as a part of the build.
2016-04-21 13:02:30 +03:00
Hristo Deshev
7fe33054eb
Fix broken node tests compilation.
2016-04-21 12:55:07 +03:00
Nikolay Tsonev
945aec0a72
First commit
2016-04-15 16:27:52 +03:00
Nikolay Iliev
5ceeb7fddd
Add the new snippet injector in grunt task
2016-04-13 14:32:56 +03:00
Erjan Gavalji
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
Aleksey Gureiev
d816592739
allowing custom typedoc output directory
2016-03-28 10:53:00 +03:00
Aleksey Gureiev
d3849f2a9b
added an option to specify custom typedoc theme
2016-03-28 10:44:52 +03:00
Panayot Cankov
9b2f72267c
The 'grunt inplace' build will generate source maps now
2016-03-24 17:12:31 +02:00
Erjan Gavalji
3126c6b363
Fix the leave comments option of the build
...
The grunt file respected the --leavecomments option, used when
generating the How-To articles of the API Reference. This was broken with
the passthrough option to grunt-ts.
2016-03-16 17:55:30 +02:00
Hristo Deshev
872e90c53b
Exclude generated d.ts files from initial file list generation.
2016-03-09 10:58:04 +02:00
Panayot Cankov
acd4f0b358
Ignore .base.d.ts for referenc.d.ts-es, pass through no strict
2016-03-08 09:19:54 +02:00
Panayot Cankov
6fdb999a94
Let TS compile in-place
...
Add 'grunt inplace' to tsc and build d.ts-es
2016-02-26 17:47:54 +02:00
Hristo Deshev
e23e234f59
Don't emit "use strict" in compiled source. It breaks on iOS.
2016-02-24 11:06:14 +02:00
Hristo Deshev
baefd3eb5f
Generate segmented d.ts files
...
- tns-core-modules-base.d.ts containing modules definitions with as little
platform stuff as possible. Angular apps will reference this one.
- tns-core-modules.es6.d.ts adding some platform stuff to base. Intended to
be used in environments supporting ES6 (obviously)
- tns-core-modules.d.ts adding to the previous one definitions for our ES6
polyfills: promises, collections, weakmaps, etc. The usual reference point
for most apps.
2016-02-11 15:08:49 +02:00
Panayot Cankov
a1e14dbae2
Merge pull request #1470 from NativeScript/cankov/time-grunt
...
Enable build times profiling
2016-02-04 12:35:19 +02:00
Panayot Cankov
d02834a955
Enable build times profilin using 'grunt .... --profile'
2016-02-02 13:46:17 +02:00
Hristo Deshev
c3b4d40d0b
Run tslint only once :-)
...
Two grunt tasks had it as a dependency, and that triggered two runs.
2016-02-02 13:10:41 +02:00
Panayot Cankov
e879bf50dd
TS fail on type errors
2016-01-12 09:56:23 +02:00
Hristo Deshev
ca588c7191
Get rid of grunt-bom-removal
2015-12-01 15:37:14 +02:00
Hristo Deshev
198ac10943
Check package.json files and fail if they start with a UTF-8 BOM
2015-12-01 15:37:14 +02:00
Hristo Deshev
7c03abd0a6
Prepare and build just the test app.
...
Useful for test runs when you don't need everything below the apps folder.
2015-11-17 09:34:46 +02:00
Hristo Deshev
40bb7f7e4a
Don't copy node_modules to out dir
2015-11-16 12:02:40 +02:00
Panayot Cankov
4d456b9c7c
Merge pull request #1070 from NativeScript/cankov/typedoc-api-ref
...
Cankov/typedoc api ref
2015-11-10 11:42:29 +02:00
Hristo Deshev
df38cfb221
Fix dts file exclusion problems when packing tns-core-modules package.
...
Exclude unneeded stuff like apps, node_modules, .baseDir.ts
2015-11-09 15:52:17 +02:00
Panayot Cankov
4db079f2b0
Add typedoc api-ref grunt task
2015-11-09 15:17:23 +02:00
Hristo Deshev
a147ff490a
Grunt: add an update-external-app task
...
Builds the modules in bin/dist/modules and updates an app's
node_modules/tns-core-modules dir.
grunt update-external-app --path=/some/path/myapp1
2015-11-06 16:53:49 +02:00
Hristo Deshev
39861f9d7e
Compile TypeScript via a tsconfig.json file
...
And support most editors/IDE's: Atom, VS Code, Sublime, etc
2015-11-05 14:14:09 +02:00
Erjan Gavalji
44ef6a6514
Add a bom-removal task
2015-11-04 15:27:47 +02:00
Erjan Gavalji
5add617349
Remove the unnecessary emulator start for the buildTestsApp command
2015-11-02 18:42:53 +02:00
Erjan Gavalji
aec54a80e1
Fix the runner. Adjust the temporary run script for a relative folder structure
2015-11-02 17:54:48 +02:00
Erjan Gavalji
9e6ce564a0
Add runOnly command
2015-11-02 13:18:15 +02:00
Hristo Deshev
65d81aeb90
Include d.ts files in tns-core-modules package.
...
- Generate a combined tns-core-modules.d.ts file for user projects. (Will
be included in tsconfig.json files by the `tns` tool automagically.)
- Test the integrity of the generated combined file by compiling it.
- Remove all traces of the obsoleted tns-definitions package.
2015-11-03 11:40:11 +02:00
Hristo Deshev
10e802d107
Add a compile-dts step to verify that we don't expose platform types.
...
Alas Grunt or grunt-ts doesn't fail the build if that fails.
2015-10-30 17:17:29 +02:00
Erjan Gavalji
af16da3b4b
Syntax cleanup
2015-10-19 14:10:56 +03:00
Erjan Gavalji
a875096b08
Start moving the code to grunt
2015-10-16 16:56:43 +03:00
Erjan Gavalji
2f7329ca6f
Call the testapprun from grunt
2015-10-15 17:45:49 +03:00
Erjan Gavalji
0f670c8987
Fix the grunt file. Fix uninstallation. Add a tee command
2015-10-07 17:11:17 +03:00
Erjan Gavalji
c23ce6481c
Make the test run as a bash script first
2015-10-07 16:11:07 +03:00