CallMeTango
040d2efd5e
gruntjs: Fixed type of IExpandedFilesConfig.cwd
...
Changed type of IExpandedFilesConfig.cwd from boolean to string. Added
simple test for interface IExpandedFilesConfig as well.
fixes #4207
2015-04-30 18:00:45 +02:00
Sergio Morchón Poveda
2c48e5c514
Update gruntjs.d.ts
...
From http://gruntjs.com/api/grunt.task#grunt.task.renametask
2015-02-23 12:55:09 +01:00
Sergio Morchón Poveda
e3882dcab8
Update gruntjs.d.ts
...
From http://gruntjs.com/api/grunt.task#grunt.task.exists
2015-02-23 12:47:24 +01:00
Andrew Bradley
ddc41566fd
Fixes bug in grunt definitions
...
Removes `pkg` property from `IProjectConfig` interface (the config object passed to `grunt.initConfig`) because it is not necessary; it is merely a commonly-used convention.
2014-12-10 15:25:58 -05:00
martinmcwhorter
9132181298
added missing type hints
2014-08-04 15:38:01 +01:00
martinmcwhorter
f2d7f68db3
revert bad changes
2014-08-04 01:29:07 +01:00
martinmcwhorter
78289250ff
Revert old changes
2014-08-04 01:28:26 +01:00
martinmcwhorter
24df639f25
Add grunt.log.warn method
2014-08-04 01:21:54 +01:00
Paul Loyd
1d451a05e1
node: NodeBuffer -> Buffer. Mark NodeBuffer as deprecated
2014-04-28 18:32:36 +02:00
Basarat Ali Syed
87e0cf3553
Update gruntjs.d.ts
2014-04-26 09:07:07 +10:00
Basarat Ali Syed
4fa6f7c29b
gruntjs: added node.js support
2014-04-26 08:59:37 +10:00
Basarat Ali Syed
1693c24110
Added missing write signature
...
This is also consistent with the doc comments already there.
2014-03-16 00:03:28 +11:00
Basarat Ali Syed
ee5fdbf00e
Corrected location of current
...
Reference : http://gruntjs.com/api/inside-tasks
2014-03-15 22:41:09 +11:00
Bart van der Schoor
4ce66d41dc
Fixed gruntjs done() callback signature
2014-02-22 21:19:54 +01:00
John Vilk
c400fcb443
Fixing a bug on the 'opts' attribute on the first argument to grunt.util.spawn.
...
The 'opts' property on ISpawnOptions specifies "Additional options for the Node.js child_process spawn method." according to http://gruntjs.com/api/grunt.util#grunt.util.spawn
However, the previous typing incorrectly recursively typed this as ISpawnOptions. child_process.spawn takes different arguments from grunt.util.spawn.
I have copied in the appropriate typing from node/node.d.ts, as it is not an exported interface type. A quick inspection of the grunt source verifies that this object is passed uninspected to child_process.spawn, so all are potentially relevant.
2014-01-23 16:57:43 -05:00
San Chen
7581e03ad7
fix grunt.file.expandMapping related issue
2014-01-15 17:54:56 +08:00
Basarat Syed
e89fb61614
fix gruntjs defs
2013-12-06 13:44:47 +11:00
Basarat Ali Syed
8b092b230b
Updated gruntjs declaration and tests.
2013-11-24 14:20:25 -05:00
Jeff May
05b6a0a1ca
Fixed implicitAny bugs.
2013-10-29 09:51:11 -04:00
Jeff May
56f5ab0ad8
Added Template and Util modules.
2013-10-28 15:07:55 -04:00
Jeff May
112ff52ba1
Switched to generic MultiTask for structured configuration.
2013-10-28 15:07:49 -04:00
Jeff May
85ec704f8d
Updated for contribution guidelines.
...
Conflicts:
README.md
2013-10-28 15:07:40 -04:00
Jeff May
ba9abec893
Updated grunt declarations to match 0.4.x documentation.
...
Had to weaken some return types for TypeScript (left comments).
Conflicts:
gruntjs/gruntjs.d.ts
2013-10-28 15:06:46 -04:00
Alex Varju
abb169542f
define interface for 'this' object when executing a task
2013-09-24 15:04:39 -07:00
Alex Varju
45fdce7894
add missing methods
2013-09-24 15:04:39 -07:00
Alex Varju
44d09f276f
make signatures --noImplicitAny friendly
2013-09-24 15:04:39 -07:00
Boris Yankov
dd35f69637
Big replacement: bool with boolean
2013-08-07 16:59:39 +03:00
Boris Yankov
31c902847b
Merge basarat branch
2013-05-25 14:29:17 +03:00
basarat
690ef70756
Update gruntjs.d.ts
...
Everything in IGruntConfig is optional.
2013-05-14 21:48:50 +10:00
basarat
5871b282bc
added gruntjs
2013-05-13 22:50:34 +10:00