@visulima/task-runner 1.0.0-alpha.6 → 1.0.0-alpha.8
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.md +34 -0
- package/dist/index.d.ts +2507 -49
- package/dist/index.js +9 -7
- package/dist/packem_shared/{TaskOrchestrator-rf45vW5c.js → TaskOrchestrator-UCMHCx8c.js} +68 -2
- package/dist/packem_shared/{buildForwardDependencyMap-DLPgKEto.js → buildForwardDependencyMap-0BJFMMPv.js} +1 -2
- package/dist/packem_shared/{computeTaskHash-DYqfrDGq.js → computeTaskHash-B5APHW7e.js} +1 -1
- package/dist/packem_shared/{createTaskGraph-B7nH0kY_.js → createTaskGraph-B5YrfAMx.js} +6 -2
- package/dist/packem_shared/{defaultTaskRunner-Cp7jCmIl.js → defaultTaskRunner-DzR0ld8F.js} +36 -4
- package/dist/packem_shared/expandTokensInString-C03AGAjh.js +46 -0
- package/dist/packem_shared/{extractPackageName-BllKetnz.js → extractPackageName-CbVNW-dr.js} +1 -2
- package/dist/packem_shared/getCurrentBranch-DsKPDoVj.js +153 -0
- package/dist/packem_shared/{parseCommands-D-IgF8Zh.js → parseCommands-CJ16ohOB.js} +7 -2
- package/index.js +556 -723
- package/package.json +14 -14
- package/dist/affected.d.ts +0 -82
- package/dist/archive.d.ts +0 -38
- package/dist/cache.d.ts +0 -138
- package/dist/chrome-trace.d.ts +0 -53
- package/dist/command-parser/expand-arguments.d.ts +0 -11
- package/dist/command-parser/expand-shortcut.d.ts +0 -15
- package/dist/command-parser/expand-wildcard.d.ts +0 -13
- package/dist/command-parser/index.d.ts +0 -18
- package/dist/command-parser/strip-quotes.d.ts +0 -6
- package/dist/concurrent-fallback.d.ts +0 -16
- package/dist/concurrent.d.ts +0 -23
- package/dist/default-task-runner.d.ts +0 -44
- package/dist/detect-shell.d.ts +0 -19
- package/dist/file-access-tracker.d.ts +0 -59
- package/dist/fingerprint.d.ts +0 -54
- package/dist/flow-controllers/index.d.ts +0 -7
- package/dist/flow-controllers/input-handler.d.ts +0 -44
- package/dist/flow-controllers/log-timings.d.ts +0 -18
- package/dist/flow-controllers/restart-process.d.ts +0 -21
- package/dist/flow-controllers/teardown.d.ts +0 -22
- package/dist/framework-inference.d.ts +0 -35
- package/dist/graph-visualizer.d.ts +0 -74
- package/dist/incremental-hasher.d.ts +0 -76
- package/dist/life-cycle.d.ts +0 -38
- package/dist/lockfile-hasher.d.ts +0 -73
- package/dist/log-reporter.d.ts +0 -34
- package/dist/native-binding.d.ts +0 -106
- package/dist/output-resolver.d.ts +0 -20
- package/dist/project-constraints.d.ts +0 -9
- package/dist/remote-cache.d.ts +0 -100
- package/dist/run-summary.d.ts +0 -111
- package/dist/task-graph-utils.d.ts +0 -39
- package/dist/task-graph.d.ts +0 -22
- package/dist/task-hasher.d.ts +0 -104
- package/dist/task-orchestrator.d.ts +0 -38
- package/dist/task-scheduler.d.ts +0 -41
- package/dist/terminal-buffer.d.ts +0 -29
- package/dist/tracked-executor.d.ts +0 -46
- package/dist/types.d.ts +0 -757
- package/dist/utils.d.ts +0 -39
package/dist/utils.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { Task, TaskResult } from "./types.d.ts";
|
|
2
|
-
/**
|
|
3
|
-
* Hashes a file's content using xxh3-128.
|
|
4
|
-
* Returns undefined if the file cannot be read.
|
|
5
|
-
*/
|
|
6
|
-
declare const hashFile: (filePath: string) => Promise<string | undefined>;
|
|
7
|
-
/**
|
|
8
|
-
* Hashes one or more string values using xxh3-128.
|
|
9
|
-
*/
|
|
10
|
-
declare const hashStrings: (...values: string[]) => string;
|
|
11
|
-
/**
|
|
12
|
-
* Sorts an object's keys for deterministic serialization.
|
|
13
|
-
*/
|
|
14
|
-
declare const sortObjectKeys: (object: Record<string, unknown>) => Record<string, unknown>;
|
|
15
|
-
/**
|
|
16
|
-
* Recursively collects all file paths in a directory,
|
|
17
|
-
* skipping directories in the ignored set.
|
|
18
|
-
*
|
|
19
|
-
* Tracks visited real paths to prevent infinite loops from symlink cycles.
|
|
20
|
-
*/
|
|
21
|
-
declare const collectFiles: (directory: string, ignoredDirectories: Set<string>, visitedRealPaths?: Set<string>) => Promise<string[]>;
|
|
22
|
-
/**
|
|
23
|
-
* Resolves the working directory for a task.
|
|
24
|
-
*/
|
|
25
|
-
declare const resolveTaskCwd: (workspaceRoot: string, task: Task) => string;
|
|
26
|
-
/**
|
|
27
|
-
* Creates a failure TaskResult from an error.
|
|
28
|
-
*/
|
|
29
|
-
declare const createFailureResult: (task: Task, error: unknown, startTime: number) => TaskResult;
|
|
30
|
-
declare const readPackageDeps: (packageJsonPath: string, options?: {
|
|
31
|
-
optional?: boolean;
|
|
32
|
-
peer?: boolean;
|
|
33
|
-
}) => Promise<Set<string> | undefined>;
|
|
34
|
-
/**
|
|
35
|
-
* Generates a unique ID for temporary files/directories.
|
|
36
|
-
* Not cryptographically secure — for cache entry naming only.
|
|
37
|
-
*/
|
|
38
|
-
declare const uniqueId: () => string;
|
|
39
|
-
export { collectFiles, createFailureResult, hashFile, hashStrings, readPackageDeps, resolveTaskCwd, sortObjectKeys, uniqueId };
|