Commit Graph

97 Commits

Author SHA1 Message Date
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
Erjan Gavalji
7c691a9365 Call the commands to run the tests 2015-10-06 13:14:05 +03:00
Dimitar Topuzov
563ab6657e Update gruntfile.js 2015-10-09 17:38:26 +03:00
Dimitar Topuzov
bc3ad393ea Add grunt task 2015-10-09 17:29:07 +03:00
Hristo Deshev
77838ae9c6 Change from "classic" TS 1.6 imports to the default resolution scheme.
- Use relative imports in place of most of our absolute ones.
- Add "private" ambient modules for modules that we need to import using
an absolute path (e.g. when app/.../test-something.ts needs to import
ui/styling/style-scope)
2015-09-29 16:25:49 +03:00
Hristo Deshev
b7c87bba9c Upgrade to typescript 1.6 and grunt-ts 5.0.0-beta.5 2015-09-17 18:48:02 +03:00
Hristo Deshev
38f243de5c Move css and css-value modules to the toplevel.
This is the default location when installing from npm, and Angular uses
that when parsing CSS.

Updated module paths, requires, csproj, tsconfig and grunt tasks.
2015-08-03 12:01:09 +03:00
Erjan Gavalji
e427fd5422 Fix module package.json file copying
The package.json files in the module dirs were not copied
properly due to the grunt-contrib-copy update. Fix that
by adding an expand clause to the copy tasks.
2015-07-29 11:44:34 +03:00
Erjan Gavalji
873e2615ad Stop __extends function output 2015-07-29 11:21:44 +03:00
Erjan Gavalji
8b1508f65d Fix the definitions package 2015-07-28 18:33:18 +03:00
Erjan Gavalji
bb5cb9ae51 Update the TypeScript compiler version used by the build scripts 2015-07-28 13:35:18 +03:00
Vladimir Enchev
273a1ad31f replace current fetch with github fetch 2015-07-16 16:52:03 +03:00
Hristo Deshev
30566cbc2a Run node-tests with correct NODE_PATH. 2015-06-17 15:53:12 +03:00
Hristo Deshev
c05efb1614 Start nodejs test suite to avoid testing non-UI stuff with a real device.
1. Place tests in ./node-tests
2. Add chai, mocha, grunt-simple-mocha dev dependencies
3. Run it all with the grunt node-tests task.
2015-06-17 15:53:11 +03:00
Hristo Deshev
968c8ecadc Don't use the "fast" grunt-ts compiler.
Less console spam and compile time is the same.
2015-06-17 15:53:11 +03:00
Erjan Gavalji
935e60a997 Improve template description 2015-04-29 10:45:10 +03:00
Erjan Gavalji
7e66323431 Update grunt-ts version to get the noEmitOnError setting. Apply the setting 2015-04-28 09:31:25 +03:00
Erjan Gavalji
cd34bea39d Add more keywords 2015-04-22 11:25:59 +03:00
Erjan Gavalji
91c1d5e3ad Improve keywords 2015-04-02 14:05:55 +03:00
Erjan Gavalji
3cd333e2ed Fix template name extraction. Add keyword addition 2015-04-02 11:51:15 +03:00
Erjan Gavalji
556cf43fd4 Separate samples from templates 2015-03-31 16:30:32 +03:00
Erjan Gavalji
16f7047482 Fix the build failure - a variable movement was not carried out properly 2015-03-31 14:06:07 +03:00
Erjan Gavalji
4987dc2ef0 Use grunt-shell to retrieve git commit if not existent as environment variable 2015-03-31 12:09:52 +03:00
Erjan Gavalji
a6837a82fe Use GIT_COMMIT if found in the environment 2015-03-31 11:06:50 +03:00
Erjan Gavalji
c962d7005a Populate the repository field to the applications. Add the commit hashtag if exists 2015-03-31 10:03:54 +03:00
Erjan Gavalji
65d7d9cce5 Collect the modules-license for the definitions package 2015-03-30 15:01:46 +03:00
Erjan Gavalji
a5a95de3fa Multi-dest the LICENCE file 2015-03-30 14:52:28 +03:00
Erjan Gavalji
4d5d890461 Add licenses 2015-03-05 15:30:12 +02:00
Erjan Gavalji
cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00