just-task 1.7.2 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.json CHANGED
@@ -2,7 +2,44 @@
2
2
  "name": "just-task",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 10 Mar 2023 08:01:47 GMT",
5
+ "date": "Tue, 12 Sep 2023 08:01:58 GMT",
6
+ "version": "1.8.0",
7
+ "tag": "just-task_v1.8.0",
8
+ "comments": {
9
+ "minor": [
10
+ {
11
+ "author": "elcraig@microsoft.com",
12
+ "package": "just-task",
13
+ "commit": "5b4e7073ffd1f06a7383deccee6883aa7e63342c",
14
+ "comment": "Add `@types` referenced by exports as dependencies"
15
+ }
16
+ ],
17
+ "patch": [
18
+ {
19
+ "author": "email not defined",
20
+ "package": "just-task",
21
+ "commit": "2bc7eaec9203ef96bf1e48823f2f38a3527d24d5",
22
+ "comment": "Update dependency @rushstack/package-deps-hash to v4"
23
+ },
24
+ {
25
+ "author": "renovate@whitesourcesoftware.com",
26
+ "package": "just-task",
27
+ "commit": "e849046a3d1e5c1b4c1a81e12c400391a108323e",
28
+ "comment": "Update dependency fs-extra to v11"
29
+ }
30
+ ],
31
+ "none": [
32
+ {
33
+ "author": "elcraig@microsoft.com",
34
+ "package": "just-task",
35
+ "commit": "06eaab127501104e008ace0c34bd8dfb6d0d2a51",
36
+ "comment": "Unpin dev deps"
37
+ }
38
+ ]
39
+ }
40
+ },
41
+ {
42
+ "date": "Fri, 10 Mar 2023 08:01:53 GMT",
6
43
  "tag": "just-task_v1.7.2",
7
44
  "version": "1.7.2",
8
45
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,25 @@
1
1
  # Change Log - just-task
2
2
 
3
- This log was last generated on Fri, 10 Mar 2023 08:01:47 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 12 Sep 2023 08:01:58 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.8.0
8
+
9
+ Tue, 12 Sep 2023 08:01:58 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Add `@types` referenced by exports as dependencies (elcraig@microsoft.com)
14
+
15
+ ### Patches
16
+
17
+ - Update dependency @rushstack/package-deps-hash to v4 (email not defined)
18
+ - Update dependency fs-extra to v11 (renovate@whitesourcesoftware.com)
19
+
7
20
  ## 1.7.2
8
21
 
9
- Fri, 10 Mar 2023 08:01:47 GMT
22
+ Fri, 10 Mar 2023 08:01:53 GMT
10
23
 
11
24
  ### Patches
12
25
 
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "just-task-scripts/api-extractor.base.json"
4
+ }
@@ -0,0 +1,126 @@
1
+ ## API Report File for "just-task"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ /// <reference types="node" />
8
+
9
+ import { Arguments } from 'yargs-parser';
10
+ import { Duplex } from 'stream';
11
+ import type { FSWatcher } from 'chokidar';
12
+ import { Logger } from 'just-task-logger';
13
+ import type { Stats } from 'fs';
14
+ import { TaskFunction as TaskFunction_2 } from 'undertaker';
15
+ import { TaskFunctionParams } from 'undertaker';
16
+ import Undertaker = require('undertaker');
17
+ import type { WatchOptions } from 'chokidar';
18
+
19
+ // @public
20
+ export function addResolvePath(pathName: string): void;
21
+
22
+ // @public (undocumented)
23
+ export function argv(): Arguments;
24
+
25
+ // @public (undocumented)
26
+ export function chain(subjectTaskName: string): {
27
+ before: (taskName: string) => void;
28
+ after: (taskName: string) => void;
29
+ };
30
+
31
+ // @public (undocumented)
32
+ export function clearCache(): void;
33
+
34
+ // @public (undocumented)
35
+ export function condition(taskName: string, conditional: () => boolean): TaskFunction_2;
36
+
37
+ // Warning: (ae-forgotten-export) The symbol "OptionConfig" needs to be exported by the entry point index.d.ts
38
+ //
39
+ // @public (undocumented)
40
+ export function option(key: string, options?: OptionConfig): void;
41
+
42
+ // @public (undocumented)
43
+ interface OptionConfig {
44
+ alias?: string | string[];
45
+ array?: boolean;
46
+ boolean?: boolean;
47
+ coerce?: (arg: any) => any;
48
+ count?: boolean;
49
+ default?: any;
50
+ describe?: string;
51
+ narg?: number;
52
+ normalize?: boolean;
53
+ number?: boolean;
54
+ string?: boolean;
55
+ }
56
+
57
+ // @public (undocumented)
58
+ export function parallel(...tasks: Task[]): Undertaker.TaskFunction;
59
+
60
+ // @public
61
+ export function resetResolvePaths(): void;
62
+
63
+ // Warning: (ae-forgotten-export) The symbol "ResolveOptions" needs to be exported by the entry point index.d.ts
64
+ //
65
+ // @public
66
+ export function resolve(moduleName: string, options?: ResolveOptions): string | null;
67
+
68
+ // @public @deprecated
69
+ export function resolve(moduleName: string, cwd?: string): string | null;
70
+
71
+ // @public
72
+ export function resolveCwd(moduleName: string, options?: ResolveOptions): string | null;
73
+
74
+ // @public @deprecated
75
+ export function resolveCwd(moduleName: string, cwd?: string): string | null;
76
+
77
+ // @public (undocumented)
78
+ interface ResolveOptions {
79
+ cwd?: string;
80
+ extensions?: string[];
81
+ }
82
+
83
+ // @public (undocumented)
84
+ export function series(...tasks: Task[]): Undertaker.TaskFunction;
85
+
86
+ // @public (undocumented)
87
+ export type Task = string | TaskFunction;
88
+
89
+ // @public (undocumented)
90
+ export function task(firstParam: string | TaskFunction, secondParam?: string | TaskFunction, thirdParam?: TaskFunction): TaskFunction;
91
+
92
+ // @public (undocumented)
93
+ export interface TaskContext {
94
+ // (undocumented)
95
+ argv: Arguments;
96
+ // (undocumented)
97
+ logger: Logger;
98
+ }
99
+
100
+ // @public (undocumented)
101
+ export interface TaskFunction extends TaskFunctionParams {
102
+ // (undocumented)
103
+ (this: TaskContext, done: (error?: any) => void): void | Duplex | NodeJS.Process | Promise<never> | any;
104
+ // (undocumented)
105
+ cached?: () => void;
106
+ // (undocumented)
107
+ description?: string;
108
+ }
109
+
110
+ // @public (undocumented)
111
+ export const undertaker: Undertaker;
112
+
113
+ // Warning: (ae-forgotten-export) The symbol "WatchListener" needs to be exported by the entry point index.d.ts
114
+ //
115
+ // @public (undocumented)
116
+ export function watch(globs: string | string[], optionsOrListener?: WatchListener | WatchOptions | undefined, listener?: WatchListener | undefined): FSWatcher;
117
+
118
+ // @public (undocumented)
119
+ type WatchListener = (path: string, stats?: Stats) => void;
120
+
121
+
122
+ export * from "just-task-logger";
123
+
124
+ // (No @packageDocumentation comment for this package)
125
+
126
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "just-task",
3
- "version": "1.7.2",
3
+ "version": "1.8.0",
4
4
  "description": "Build task definition library",
5
5
  "keywords": [],
6
6
  "repository": {
@@ -15,6 +15,8 @@
15
15
  "just": "bin/just.js"
16
16
  },
17
17
  "scripts": {
18
+ "api": "api-extractor run",
19
+ "api:update": "api-extractor run --local",
18
20
  "build": "tsc",
19
21
  "start": "tsc -w --preserveWatchOutput",
20
22
  "start-test": "jest --watch",
@@ -24,22 +26,23 @@
24
26
  "node": ">=14"
25
27
  },
26
28
  "dependencies": {
27
- "@rushstack/package-deps-hash": "^3.2.5",
29
+ "@rushstack/package-deps-hash": "^4.0.0",
30
+ "@types/chokidar": "^2.1.3",
31
+ "@types/undertaker": "^1.2.8",
32
+ "@types/yargs-parser": "^20.2.2",
28
33
  "bach": "^2.0.0",
29
34
  "chalk": "^4.0.0",
30
- "fs-extra": "^10.0.0",
35
+ "chokidar": "^3.5.2",
36
+ "fs-extra": "^11.0.0",
31
37
  "just-task-logger": ">=1.2.1 <2.0.0",
32
38
  "resolve": "^1.19.0",
33
39
  "undertaker": "^1.3.0",
34
40
  "undertaker-registry": "^2.0.0",
35
- "yargs-parser": "^20.2.3",
36
- "chokidar": "^3.5.2"
41
+ "yargs-parser": "^20.2.3"
37
42
  },
38
43
  "devDependencies": {
39
- "@types/chokidar": "2.1.3",
40
- "@types/resolve": "1.20.2",
41
- "@types/undertaker": "1.2.8",
42
- "@types/undertaker-registry": "1.0.1"
44
+ "@types/resolve": "^1.20.2",
45
+ "@types/undertaker-registry": "^1.0.1"
43
46
  },
44
47
  "typing": "lib/index.d.ts"
45
48
  }