зеркало из https://github.com/microsoft/just.git
Merge branch 'master' into feature/webpack-cli-task
This commit is contained in:
Коммит
65789eec35
|
@ -20,7 +20,7 @@
|
|||
"fs-extra": "^7.0.1",
|
||||
"glob": "^7.1.3",
|
||||
"just-scripts-utils": ">=0.8.4 <1.0.0",
|
||||
"just-task": ">=0.13.2 <1.0.0",
|
||||
"just-task": ">=0.13.3 <1.0.0",
|
||||
"npm-registry-fetch": "^3.9.0",
|
||||
"prompts": "^2.0.1",
|
||||
"run-parallel-limit": "^1.0.5",
|
||||
|
|
|
@ -1,6 +1,20 @@
|
|||
{
|
||||
"name": "just-task",
|
||||
"entries": [
|
||||
{
|
||||
"date": "Mon, 16 Sep 2019 19:57:52 GMT",
|
||||
"tag": "just-task_v0.13.3",
|
||||
"version": "0.13.3",
|
||||
"comments": {
|
||||
"patch": [
|
||||
{
|
||||
"comment": "Remove void from task() return type",
|
||||
"author": "elcraig@microsoft.com",
|
||||
"commit": "1cf24fd5e464d5045688b4d542cc2027e0e176cc"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"date": "Mon, 26 Aug 2019 22:53:18 GMT",
|
||||
"tag": "just-task_v0.13.2",
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
# Change Log - just-task
|
||||
|
||||
This log was last generated on Mon, 26 Aug 2019 22:53:18 GMT and should not be manually modified.
|
||||
This log was last generated on Mon, 16 Sep 2019 19:57:52 GMT and should not be manually modified.
|
||||
|
||||
## 0.13.3
|
||||
Mon, 16 Sep 2019 19:57:52 GMT
|
||||
|
||||
### Patches
|
||||
|
||||
- Remove void from task() return type (elcraig@microsoft.com)
|
||||
## 0.13.2
|
||||
Mon, 26 Aug 2019 22:53:18 GMT
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "just-task",
|
||||
"version": "0.13.2",
|
||||
"version": "0.13.3",
|
||||
"description": "Build task definition library",
|
||||
"keywords": [],
|
||||
"repository": {
|
||||
|
|
|
@ -5,11 +5,7 @@ import { TaskFunction } from './interfaces';
|
|||
import { logger } from 'just-task-logger';
|
||||
import { registerCachedTask, isCached, saveCache } from './cache';
|
||||
|
||||
export function task(
|
||||
firstParam: string | TaskFunction,
|
||||
secondParam?: string | TaskFunction,
|
||||
thirdParam?: TaskFunction
|
||||
): TaskFunction | void {
|
||||
export function task(firstParam: string | TaskFunction, secondParam?: string | TaskFunction, thirdParam?: TaskFunction): TaskFunction {
|
||||
const argCount = arguments.length;
|
||||
|
||||
if (argCount === 1 && typeof firstParam === 'string') {
|
||||
|
|
Загрузка…
Ссылка в новой задаче