@visulima/task-runner 1.0.0-alpha.14 → 1.0.0-alpha.16
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 +32 -0
- package/dist/index.d.ts +191 -3
- package/dist/index.js +1 -1
- package/dist/packem_chunks/index.js +30 -10
- package/dist/packem_shared/{FileAccessTracker-DSNf03JW.js → FileAccessTracker-IG-Z0Ijw.js} +4 -4
- package/dist/packem_shared/HttpRemoteCache-D3Z6b_FO.js +1 -0
- package/dist/packem_shared/TaskOrchestrator-F_NrcUYn.js +2 -0
- package/dist/packem_shared/TrackedTaskExecutor-BiK0Coso.js +2 -0
- package/dist/packem_shared/collectNodeModulesBinDirs-JaeFLP9l.js +1 -0
- package/dist/packem_shared/createTaskGraph-D6nPDd4s.js +1 -0
- package/dist/packem_shared/defaultTaskRunner-CjaCnt_W.js +2 -0
- package/dist/packem_shared/{expandArguments-4mab7-Ds.js → expandArguments-D7qvc6Rp.js} +1 -1
- package/dist/packem_shared/{expandTokensInString-Cyx0qSFA.js → expandTokensInString-DVSFEdWu.js} +1 -1
- package/dist/packem_shared/{parseCommands-b1K2vIxj.js → parseCommands-BHsXoUCd.js} +1 -1
- package/dist/packem_shared/{resolveCacheMode-DXe7i-tj.js → resolveCacheMode-DEDFC-kM.js} +1 -1
- package/dist/packem_shared/runConcurrentFallback-SvS4ElEX.js +3 -0
- package/dist/packem_shared/runConcurrently-ebFf3uYs.js +1 -0
- package/dist/packem_shared/runTeardown-CiJJeWVf.js +1 -0
- package/dist/packem_shared/shell-quote-BhmqDUL1.js +1 -0
- package/index.js +556 -729
- package/package.json +12 -14
- package/dist/packem_shared/HttpRemoteCache-Ch-_9ejF.js +0 -1
- package/dist/packem_shared/TaskOrchestrator-CXeojk7n.js +0 -2
- package/dist/packem_shared/TrackedTaskExecutor-D3-LNT_d.js +0 -2
- package/dist/packem_shared/createTaskGraph-CEYYI-DL.js +0 -1
- package/dist/packem_shared/defaultTaskRunner-Byi0zsgh.js +0 -2
- package/dist/packem_shared/runConcurrentFallback-Dpqxuyv-.js +0 -3
- package/dist/packem_shared/runConcurrently-DYbMGyGv.js +0 -1
- package/dist/packem_shared/runTeardown-DBBpBAyb.js +0 -1
- package/dist/packem_shared/shell-quote-CksLqyXK.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
|
1
|
+
## @visulima/task-runner [1.0.0-alpha.16](https://github.com/visulima/visulima/compare/@visulima/task-runner@1.0.0-alpha.15...@visulima/task-runner@1.0.0-alpha.16) (2026-05-27)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **storage-client:** percent-encode user fields in defaultFingerprint ([7c78a0f](https://github.com/visulima/visulima/commit/7c78a0f9512e2a673b941d80839e9f1e86b7b5d0))
|
|
6
|
+
* **task-runner:** resolve workspace .bin binaries in spawned tasks ([69bd30c](https://github.com/visulima/visulima/commit/69bd30c95fb1e70aba1f7c5b4d3d17b8f0465c11))
|
|
7
|
+
* **vis:** enhance PATH inside ephemeral service bootstrap config ([30c6364](https://github.com/visulima/visulima/commit/30c6364cceff0d3c48fe5e7e4a996b77a1ed224c))
|
|
8
|
+
|
|
9
|
+
### Miscellaneous Chores
|
|
10
|
+
|
|
11
|
+
* **ci-stability:** green CI across vis, native, lint, tests, attw ([#651](https://github.com/visulima/visulima/issues/651)) ([d4eb684](https://github.com/visulima/visulima/commit/d4eb684b5f75c818c9251048c605a0ed54a268e3))
|
|
12
|
+
* **repo:** apply eslint --fix and prettier --fix across packages ([#650](https://github.com/visulima/visulima/issues/650)) ([2e26a84](https://github.com/visulima/visulima/commit/2e26a84774f218f21345e9a8ecd68236b6542743)), closes [#620](https://github.com/visulima/visulima/issues/620)
|
|
13
|
+
* **repo:** sort package.json keys across all packages ([e1fd9ab](https://github.com/visulima/visulima/commit/e1fd9ab467ef96a98c777da1572ff6a50fcf7e71))
|
|
14
|
+
* sorted package.json ([b47c545](https://github.com/visulima/visulima/commit/b47c545591600fdab17d5cd3a3fbc68b61e199da))
|
|
15
|
+
|
|
16
|
+
### Continuous Integration
|
|
17
|
+
|
|
18
|
+
* pin macos to 15, fix task-runner indent + backbuffer flake ([61cbf4f](https://github.com/visulima/visulima/commit/61cbf4fb09be40c567a4e0d2d4349ad24ea91afb))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Dependencies
|
|
22
|
+
|
|
23
|
+
* **@visulima/path:** upgraded to 3.0.0-alpha.11
|
|
24
|
+
|
|
25
|
+
## @visulima/task-runner [1.0.0-alpha.15](https://github.com/visulima/visulima/compare/@visulima/task-runner@1.0.0-alpha.14...@visulima/task-runner@1.0.0-alpha.15) (2026-05-19)
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* **task-runner:** auto-capture outputs for compound build scripts ([e084434](https://github.com/visulima/visulima/commit/e0844344cf184177999a82b708299f08fbfd31ec))
|
|
30
|
+
* **task-runner:** per-target hashMode "trace" opt-in ([#643](https://github.com/visulima/visulima/issues/643)) ([32353ff](https://github.com/visulima/visulima/commit/32353ff7a760ae9486e23cc4042fab46a2f2cc11))
|
|
31
|
+
* **vis:** attested keyless-signed remote cache (Sigstore) ([4732610](https://github.com/visulima/visulima/commit/47326103a668ab99fcfc4e21f2c9efeaa5892944))
|
|
32
|
+
|
|
1
33
|
## @visulima/task-runner [1.0.0-alpha.14](https://github.com/visulima/visulima/compare/@visulima/task-runner@1.0.0-alpha.13...@visulima/task-runner@1.0.0-alpha.14) (2026-05-14)
|
|
2
34
|
|
|
3
35
|
### Bug Fixes
|
package/dist/index.d.ts
CHANGED
|
@@ -215,6 +215,107 @@ interface RemoteCacheSigning {
|
|
|
215
215
|
verifyOnDownload?: boolean;
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
218
|
+
* Keyless artifact attestation hooks for the HTTP backend.
|
|
219
|
+
*
|
|
220
|
+
* Layered *above* {@link RemoteCacheSigning}: HMAC proves the bytes
|
|
221
|
+
* weren't tampered with by anyone lacking the shared secret (integrity);
|
|
222
|
+
* an attestation proves *who* produced them (authenticity — a Sigstore
|
|
223
|
+
* keyless bundle in practice). Both can be active at once.
|
|
224
|
+
*
|
|
225
|
+
* task-runner stays dependency-free: it never imports Sigstore. The
|
|
226
|
+
* caller (vis) supplies these callbacks; task-runner only moves the
|
|
227
|
+
* opaque bundle string through the `X-Artifact-Attestation` header and
|
|
228
|
+
* decides accept/reject from the boolean the verifier returns. REAPI
|
|
229
|
+
* does not consume these — REAPI integrity rides on CAS content-
|
|
230
|
+
* addressing, and authenticity is a server/transport concern there.
|
|
231
|
+
*/
|
|
232
|
+
interface RemoteCacheAttestation {
|
|
233
|
+
/**
|
|
234
|
+
* Expected keyless signer identity. Serializable so it can live in
|
|
235
|
+
* `vis.config.ts`. task-runner does not consume this — it is config
|
|
236
|
+
* passthrough for the vis-side `verifyArtifact` hook, which must
|
|
237
|
+
* enforce it. Without an expected identity a valid bundle from *any*
|
|
238
|
+
* Fulcio identity over the same digest verifies (integrity, not
|
|
239
|
+
* authenticity), so the vis hook treats "verify requested without an
|
|
240
|
+
* expected identity" as a misconfiguration.
|
|
241
|
+
*
|
|
242
|
+
* Three forms (pick one):
|
|
243
|
+
* - `{ github }` — GitHub Actions preset. Expands to the Fulcio
|
|
244
|
+
* issuer + an escaped, anchored SAN. The ergonomic default.
|
|
245
|
+
* - `{ oidcIssuer, san }` — a *literal* signer identity. vis escapes
|
|
246
|
+
* and anchors it for you; pass the plain URI, not a regex.
|
|
247
|
+
* - `{ oidcIssuer, sanRegex }` — advanced: a raw, unescaped regex.
|
|
248
|
+
* You own anchoring (sigstore-js matches via `String.match`).
|
|
249
|
+
*/
|
|
250
|
+
expectedIdentity?: {
|
|
251
|
+
/**
|
|
252
|
+
* GitHub Actions preset. Expands to issuer
|
|
253
|
+
* `https://token.actions.githubusercontent.com` and the
|
|
254
|
+
* anchored SAN `https://github.com/{repo}/{workflow}@{ref}`.
|
|
255
|
+
*/
|
|
256
|
+
github: {
|
|
257
|
+
/** Git ref the workflow ran on, e.g. `refs/heads/main` or `refs/tags/v1.2.3`. */
|
|
258
|
+
ref: string;
|
|
259
|
+
/** `owner/name`, e.g. `visulima/visulima`. */
|
|
260
|
+
repo: string;
|
|
261
|
+
/** Workflow path, e.g. `.github/workflows/release.yml`. */
|
|
262
|
+
workflow: string;
|
|
263
|
+
};
|
|
264
|
+
} | {
|
|
265
|
+
/** Fulcio cert issuer extension, matched exactly. */
|
|
266
|
+
oidcIssuer: string;
|
|
267
|
+
/**
|
|
268
|
+
* Literal signer identity (certificate SAN). vis
|
|
269
|
+
* regex-escapes and anchors this — pass the plain URI,
|
|
270
|
+
* e.g. `https://github.com/org/repo/.github/workflows/ci.yml@refs/heads/main`.
|
|
271
|
+
*/
|
|
272
|
+
san: string;
|
|
273
|
+
} | {
|
|
274
|
+
/** Fulcio cert issuer extension, matched exactly. */
|
|
275
|
+
oidcIssuer: string;
|
|
276
|
+
/**
|
|
277
|
+
* Advanced: raw, unescaped SAN regex. You own anchoring
|
|
278
|
+
* (`^…$`); an unanchored value is substring-matched.
|
|
279
|
+
*/
|
|
280
|
+
sanRegex: string;
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* Called when a download is rejected (or downgraded to a cache miss)
|
|
284
|
+
* because its attestation is missing or failed verification. Without
|
|
285
|
+
* this hook the rejection is silent. Mirrors `onUploadError`.
|
|
286
|
+
*/
|
|
287
|
+
onReject?: (hash: string, reason: "invalid" | "missing") => void;
|
|
288
|
+
/**
|
|
289
|
+
* Reject downloads whose attestation is missing or fails
|
|
290
|
+
* verification. With `verifyArtifact` set but this `false`, a bad
|
|
291
|
+
* attestation is treated as a cache miss (re-execute) rather than a
|
|
292
|
+
* hard failure.
|
|
293
|
+
* @default false
|
|
294
|
+
*/
|
|
295
|
+
requireOnDownload?: boolean;
|
|
296
|
+
/**
|
|
297
|
+
* Produce an opaque attestation bundle for the staged artifact,
|
|
298
|
+
* called after the body is staged and before the PUT. Return `null`
|
|
299
|
+
* to upload without an attestation (e.g. no ambient OIDC outside
|
|
300
|
+
* CI). Any returned string is sent verbatim in the
|
|
301
|
+
* `X-Artifact-Attestation` header.
|
|
302
|
+
*/
|
|
303
|
+
signArtifact?: (input: {
|
|
304
|
+
archivePath: string;
|
|
305
|
+
hash: string;
|
|
306
|
+
}) => Promise<string | null>;
|
|
307
|
+
/**
|
|
308
|
+
* Verify a received attestation bundle against the staged artifact.
|
|
309
|
+
* Resolve `false` to reject the cached entry. Only called when the
|
|
310
|
+
* download carried an `X-Artifact-Attestation` header.
|
|
311
|
+
*/
|
|
312
|
+
verifyArtifact?: (input: {
|
|
313
|
+
archivePath: string;
|
|
314
|
+
attestation: string;
|
|
315
|
+
hash: string;
|
|
316
|
+
}) => Promise<boolean>;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
218
319
|
* Canonical remote-cache configuration consumed by
|
|
219
320
|
* `createRemoteCacheBackend`. Both `HttpRemoteCache` and
|
|
220
321
|
* `ReapiRemoteCache` accept this shape directly — backend-specific
|
|
@@ -238,6 +339,11 @@ interface RemoteCacheOptions {
|
|
|
238
339
|
*/
|
|
239
340
|
allowInsecureBearer?: boolean;
|
|
240
341
|
/**
|
|
342
|
+
* HTTP-only: keyless artifact attestation hooks (Sigstore in
|
|
343
|
+
* practice). Layered above `signing` — integrity vs authenticity.
|
|
344
|
+
*/
|
|
345
|
+
attestation?: RemoteCacheAttestation;
|
|
346
|
+
/**
|
|
241
347
|
* Wire-protocol selector. `"http"` is the Turborepo-compatible
|
|
242
348
|
* single-tarball cache; `"reapi"` switches to the Bazel Remote
|
|
243
349
|
* Execution API gRPC client, unlocking `bazel-remote`,
|
|
@@ -529,6 +635,16 @@ interface Task {
|
|
|
529
635
|
hash?: string;
|
|
530
636
|
/** Detailed hash information */
|
|
531
637
|
hashDetails?: TaskHashDetails;
|
|
638
|
+
/**
|
|
639
|
+
* How this task's cache key is derived. Carried over from
|
|
640
|
+
* {@link TargetConfiguration.hashMode} at task graph creation.
|
|
641
|
+
* `"trace"` routes the task through the file-access tracker so the
|
|
642
|
+
* key comes from the files it actually read — the per-target
|
|
643
|
+
* equivalent of the global {@link TaskRunnerOptions.autoFingerprint}.
|
|
644
|
+
* Absent / `"declared"` keeps the Nx-style upfront hash from
|
|
645
|
+
* explicit {@link Task.outputs} and declared inputs.
|
|
646
|
+
*/
|
|
647
|
+
hashMode?: "declared" | "trace";
|
|
532
648
|
/** Unique identifier for the task, typically "project:target:configuration" */
|
|
533
649
|
id: string;
|
|
534
650
|
/**
|
|
@@ -756,6 +872,33 @@ interface TargetConfiguration {
|
|
|
756
872
|
dependsOn?: (string | TargetDependencyConfig)[];
|
|
757
873
|
/** The executor/command to run */
|
|
758
874
|
executor?: string;
|
|
875
|
+
/**
|
|
876
|
+
* How this target's cache key is derived.
|
|
877
|
+
*
|
|
878
|
+
* - `"declared"` (default): the Nx-style path — the hash is built
|
|
879
|
+
* up-front from explicitly declared `inputs` (plus named/global
|
|
880
|
+
* inputs and the lockfile). Deterministic and portable across
|
|
881
|
+
* machines: two runners with the same workspace state produce the
|
|
882
|
+
* same key regardless of OS or syscall surface.
|
|
883
|
+
* - `"trace"`: the task is run under the file-access tracker
|
|
884
|
+
* (strace on Linux, an fs preload shim elsewhere) and the cache
|
|
885
|
+
* key is derived from the files it actually *read* during
|
|
886
|
+
* execution — no `inputs` declaration required. Mirrors the
|
|
887
|
+
* shipped `{ auto: true }` output capture, but for the input
|
|
888
|
+
* side. Use for compound or opaque commands whose real input set
|
|
889
|
+
* is impractical to enumerate.
|
|
890
|
+
*
|
|
891
|
+
* Opt-in per target precisely because trace mode trades
|
|
892
|
+
* reproducibility for convenience: the observed read set can differ
|
|
893
|
+
* across runners with different syscall surfaces (a static binary on
|
|
894
|
+
* a host without strace records nothing), so a trace key is **not**
|
|
895
|
+
* guaranteed portable between machines. Leave targets on
|
|
896
|
+
* `"declared"` whenever the input set can reasonably be listed.
|
|
897
|
+
*
|
|
898
|
+
* Equivalent to flipping {@link TaskRunnerOptions.autoFingerprint}
|
|
899
|
+
* on for this one target while every other target stays declared.
|
|
900
|
+
*/
|
|
901
|
+
hashMode?: "declared" | "trace";
|
|
759
902
|
/** Input patterns for cache invalidation */
|
|
760
903
|
inputs?: (string | InputDefinition)[];
|
|
761
904
|
/**
|
|
@@ -777,8 +920,18 @@ interface TargetConfiguration {
|
|
|
777
920
|
maxConcurrent?: number;
|
|
778
921
|
/** Options passed to the executor */
|
|
779
922
|
options?: Record<string, unknown>;
|
|
780
|
-
/**
|
|
781
|
-
|
|
923
|
+
/**
|
|
924
|
+
* Output patterns produced by this target. Each entry is a literal
|
|
925
|
+
* path, a glob (`"dist/**"`), a negative glob (`"!dist/cache/**"`),
|
|
926
|
+
* or `{ auto: true }` to cache whatever files the task actually
|
|
927
|
+
* wrote during execution (resolved from the file-access tracker).
|
|
928
|
+
* `{ auto: true }` lets a build script cache zero-config without
|
|
929
|
+
* the author enumerating its output layout; it contributes nothing
|
|
930
|
+
* — and the runner declines to seed the cache — when write
|
|
931
|
+
* tracking isn't available for the task, so a hit can never restore
|
|
932
|
+
* a missing artifact.
|
|
933
|
+
*/
|
|
934
|
+
outputs?: OutputSpec[];
|
|
782
935
|
/** Whether this target supports parallel execution */
|
|
783
936
|
parallelism?: boolean;
|
|
784
937
|
/**
|
|
@@ -1026,6 +1179,11 @@ interface TaskRunnerOptions {
|
|
|
1026
1179
|
*
|
|
1027
1180
|
* Falls back to explicit inputs (Nx-style) when file tracking
|
|
1028
1181
|
* is not supported on the current platform.
|
|
1182
|
+
*
|
|
1183
|
+
* This is the workspace-wide switch. To opt a single target into
|
|
1184
|
+
* traced hashing without flipping it for the whole graph, set
|
|
1185
|
+
* {@link TargetConfiguration.hashMode} to `"trace"` on that target
|
|
1186
|
+
* instead.
|
|
1029
1187
|
* @default false
|
|
1030
1188
|
*/
|
|
1031
1189
|
autoFingerprint?: boolean;
|
|
@@ -2885,6 +3043,36 @@ declare const parseInputUri: (input: string) => InputDefinition | undefined;
|
|
|
2885
3043
|
*/
|
|
2886
3044
|
declare const looksLikeInputUri: (input: string) => boolean;
|
|
2887
3045
|
/**
|
|
3046
|
+
* Walks from `cwd` (resolved against `process.cwd()` when relative)
|
|
3047
|
+
* up to the filesystem root, returning every `<dir>/node_modules/.bin`
|
|
3048
|
+
* path encountered. Ordered nearest-first so the cwd-local `.bin`
|
|
3049
|
+
* shadows ancestor `.bin` directories, matching npm/pnpm semantics.
|
|
3050
|
+
*
|
|
3051
|
+
* The returned paths are not stat-checked — missing directories cost
|
|
3052
|
+
* nothing on the PATH and avoiding the syscalls keeps task startup
|
|
3053
|
+
* cheap (this runs once per spawned task).
|
|
3054
|
+
*/
|
|
3055
|
+
declare const collectNodeModulesBinDirs: (cwd: string) => string[];
|
|
3056
|
+
/**
|
|
3057
|
+
* Returns the enhanced PATH string for a child process spawned in
|
|
3058
|
+
* `cwd`. The caller's PATH (from `callerEnv` or, when unset, the
|
|
3059
|
+
* current `process.env`) is preserved as the suffix so system binaries
|
|
3060
|
+
* still resolve; the workspace's `node_modules/.bin` chain is prepended.
|
|
3061
|
+
*
|
|
3062
|
+
* Use this when building the `env` you hand to `child_process.spawn`
|
|
3063
|
+
* / `exec` / `tinyexec` for commands that come from `package.json`
|
|
3064
|
+
* scripts or any other user-authored shell string.
|
|
3065
|
+
*/
|
|
3066
|
+
declare const buildEnhancedPath: (cwd: string, callerEnv?: NodeJS.ProcessEnv | Record<string, string | undefined>) => string;
|
|
3067
|
+
/**
|
|
3068
|
+
* Convenience helper that returns a shallow-cloned `env` with the
|
|
3069
|
+
* enhanced PATH applied. Leaves the original object untouched so it
|
|
3070
|
+
* remains safe to share across concurrent spawns. The Windows `Path`
|
|
3071
|
+
* alias is also rewritten when present to avoid mixed-case clashes
|
|
3072
|
+
* where two PATH-shaped keys would otherwise disagree.
|
|
3073
|
+
*/
|
|
3074
|
+
declare const withEnhancedPath: <T extends NodeJS.ProcessEnv | Record<string, string | undefined>>(env: T, cwd: string) => T;
|
|
3075
|
+
/**
|
|
2888
3076
|
* Enforces project dependency constraints on a project graph.
|
|
2889
3077
|
* @param projectGraph The workspace project graph to validate.
|
|
2890
3078
|
* @param constraints The constraint rules to enforce.
|
|
@@ -3301,4 +3489,4 @@ declare const isLinkedWorktree: (workspaceRoot: string) => boolean;
|
|
|
3301
3489
|
* recreating a fixture at the same path would otherwise leak stale results.
|
|
3302
3490
|
*/
|
|
3303
3491
|
declare const resetWorktreeCache: () => void;
|
|
3304
|
-
export { type ActionResult, type AffectedOptions, type AffectedResult, type AffectedScope, type BlobSource, Cache, type CacheMissReason, type CacheMode, type CacheOptions, type CacheRestoreOptions, type CachedResult, type CasDigest, type ChromeTraceEvent, CompositeLifeCycle, type ConcurrencyGroups, type ConcurrentCloseEvent, type ConcurrentCommandConfig, type ConcurrentCommandInput, type ConcurrentRunResult, type ConcurrentRunnerOptions, ConsoleLifeCycle, type ConstraintViolation, type ConstraintsConfig, DEFAULT_CACHE_DIRECTORY_NAME, type DependencyKindRules, type DependencyType, type DetectedFramework, EmptyLifeCycle, type EnvMatcher, type EnvironmentInput, type ExternalDependencyInput, type FileAccess, FileAccessTracker, type FileSetBase, type FileSetInput, type FileSetPattern, type FileSnapshot, type FingerprintContributor, type FingerprintHook, FingerprintManager, type GraphFormat, type GraphJson, type GraphVisualizerOptions, HttpRemoteCache, INPUT_URI_SCHEMES, InProcessTaskHasher, IncrementalFileHasher, type IncrementalHasherOptions, type InputDefinition, type InputHandlerOptions, type InputUriScheme, InvalidInputUriError, type LifeCycleInterface, LockfileHasher, type LogMode, LogReporter, type NamedInputs, type NodePlatform, type OutputSpec, type PackageLockfileHash, type ParseCommandsOptions, type PartitionOptions, type ProcessEvent, type ProjectConfiguration, type ProjectGraph, type ProjectGraphDependency, type ProjectGraphProjectNode, ReapiRemoteCache, type ReapiRemoteCacheOptions, type RemoteCacheBackend, type RemoteCacheCompression, type RemoteCacheOptions, type RemoteCacheSigning, type ResolvedDependency, type RestartOptions, type RunSummary, type RunSummaryPathOptions, type RuntimeInput, type TagRelationships, type TargetConfiguration, type TargetDependencyConfig, type Task, type TaskExecutionOptions, type TaskExecutor, type TaskFingerprint, type TaskGraph, type TaskHashDetails, type TaskHasher, type TaskHasherOptions, TaskOrchestrator, type TaskOrchestratorOptions, type TaskPriority, type TaskResult, type TaskResults, type TaskRunnerContext, type TaskRunnerOptions, TaskScheduler, type TaskStatus, type TaskSummary, type TaskTarget, type TasksRunner, type TeardownOptions, TerminalBuffer, type TokenContext, type TrackedExecutionResult, TrackedTaskExecutor, type TrackingResult, type TypeBoundaries, V2_AC, V2_CAS, V2_INDEX, V2_ROOT, V2_TMP, type WhenCondition, type WhenContext, type WorkspaceConfiguration, acEntryPath, actionDigestForTaskHash, buildForwardDependencyMap, buildReverseDependencyMap, casBlobPath, collectFiles, computeTaskHash, containsBlob, containsByTaskHash, createFailureResult, createInputHandler, createLogReporter, createRemoteCacheBackend, createTaskGraph, defaultTaskRunner, detectFrameworks, detectScriptShell, digestBuffer, digestFile, enforceProjectConstraints, evaluateWhen, expandAffected, expandArguments, expandShortcut, expandTokens, expandTokensInString, expandWildcard, explainWhen, extractPackageName, fetchBlobToFile, filterAffectedTasks, findCycle, findCycles, formatCacheSize, formatTimingTable, generatePreloadScript, generateRunSummary, getAffectedProjects, getChangedFiles, getCurrentBranch, getDependentTasks, getFrameworkEnvVariables, getLastRunSummaryPath, getLeafTasks, getMainWorktreeRoot, getTaskId, getTransitiveDependencies, hashFile, hashStrings, inferFrameworkEnvPatterns, isLinkedWorktree, isNativeAvailable, loadNativeBindings, logTimings, looksLikeInputUri, makeAcyclic, parseCacheSize, parseCommands, parseInputUri, parseNpmLockfile, parsePartition, parsePnpmLockfile, parseTaskId, parseYarnLockfile, projectGraphToDot, putBlobFromBytes, putBlobFromFile, readLastRunSummary, readPackageDeps, resetBranchCache, resetWorktreeCache, resolveCacheMode, resolveOutputs, resolveTaskCwd, resolveTurboEnvCompat, retrieveByTaskHash, reverseTaskGraph, runConcurrentFallback, runConcurrently, runTeardown, sortObjectKeys, storeByTaskHash, stripQuotes, taskHashIndexPath, toChromeTrace, toGraphAscii, toGraphHtml, toGraphJson, toGraphvizDot, touchBlob, uniqueId, verifyBlob, walkTaskGraph, withRestart, writeChromeTrace, writeLastRunSummary, writeRunSummary };
|
|
3492
|
+
export { type ActionResult, type AffectedOptions, type AffectedResult, type AffectedScope, type BlobSource, Cache, type CacheMissReason, type CacheMode, type CacheOptions, type CacheRestoreOptions, type CachedResult, type CasDigest, type ChromeTraceEvent, CompositeLifeCycle, type ConcurrencyGroups, type ConcurrentCloseEvent, type ConcurrentCommandConfig, type ConcurrentCommandInput, type ConcurrentRunResult, type ConcurrentRunnerOptions, ConsoleLifeCycle, type ConstraintViolation, type ConstraintsConfig, DEFAULT_CACHE_DIRECTORY_NAME, type DependencyKindRules, type DependencyType, type DetectedFramework, EmptyLifeCycle, type EnvMatcher, type EnvironmentInput, type ExternalDependencyInput, type FileAccess, FileAccessTracker, type FileSetBase, type FileSetInput, type FileSetPattern, type FileSnapshot, type FingerprintContributor, type FingerprintHook, FingerprintManager, type GraphFormat, type GraphJson, type GraphVisualizerOptions, HttpRemoteCache, INPUT_URI_SCHEMES, InProcessTaskHasher, IncrementalFileHasher, type IncrementalHasherOptions, type InputDefinition, type InputHandlerOptions, type InputUriScheme, InvalidInputUriError, type LifeCycleInterface, LockfileHasher, type LogMode, LogReporter, type NamedInputs, type NodePlatform, type OutputSpec, type PackageLockfileHash, type ParseCommandsOptions, type PartitionOptions, type ProcessEvent, type ProjectConfiguration, type ProjectGraph, type ProjectGraphDependency, type ProjectGraphProjectNode, ReapiRemoteCache, type ReapiRemoteCacheOptions, type RemoteCacheAttestation, type RemoteCacheBackend, type RemoteCacheCompression, type RemoteCacheOptions, type RemoteCacheSigning, type ResolvedDependency, type RestartOptions, type RunSummary, type RunSummaryPathOptions, type RuntimeInput, type TagRelationships, type TargetConfiguration, type TargetDependencyConfig, type Task, type TaskExecutionOptions, type TaskExecutor, type TaskFingerprint, type TaskGraph, type TaskHashDetails, type TaskHasher, type TaskHasherOptions, TaskOrchestrator, type TaskOrchestratorOptions, type TaskPriority, type TaskResult, type TaskResults, type TaskRunnerContext, type TaskRunnerOptions, TaskScheduler, type TaskStatus, type TaskSummary, type TaskTarget, type TasksRunner, type TeardownOptions, TerminalBuffer, type TokenContext, type TrackedExecutionResult, TrackedTaskExecutor, type TrackingResult, type TypeBoundaries, V2_AC, V2_CAS, V2_INDEX, V2_ROOT, V2_TMP, type WhenCondition, type WhenContext, type WorkspaceConfiguration, acEntryPath, actionDigestForTaskHash, buildEnhancedPath, buildForwardDependencyMap, buildReverseDependencyMap, casBlobPath, collectFiles, collectNodeModulesBinDirs, computeTaskHash, containsBlob, containsByTaskHash, createFailureResult, createInputHandler, createLogReporter, createRemoteCacheBackend, createTaskGraph, defaultTaskRunner, detectFrameworks, detectScriptShell, digestBuffer, digestFile, enforceProjectConstraints, evaluateWhen, expandAffected, expandArguments, expandShortcut, expandTokens, expandTokensInString, expandWildcard, explainWhen, extractPackageName, fetchBlobToFile, filterAffectedTasks, findCycle, findCycles, formatCacheSize, formatTimingTable, generatePreloadScript, generateRunSummary, getAffectedProjects, getChangedFiles, getCurrentBranch, getDependentTasks, getFrameworkEnvVariables, getLastRunSummaryPath, getLeafTasks, getMainWorktreeRoot, getTaskId, getTransitiveDependencies, hashFile, hashStrings, inferFrameworkEnvPatterns, isLinkedWorktree, isNativeAvailable, loadNativeBindings, logTimings, looksLikeInputUri, makeAcyclic, parseCacheSize, parseCommands, parseInputUri, parseNpmLockfile, parsePartition, parsePnpmLockfile, parseTaskId, parseYarnLockfile, projectGraphToDot, putBlobFromBytes, putBlobFromFile, readLastRunSummary, readPackageDeps, resetBranchCache, resetWorktreeCache, resolveCacheMode, resolveOutputs, resolveTaskCwd, resolveTurboEnvCompat, retrieveByTaskHash, reverseTaskGraph, runConcurrentFallback, runConcurrently, runTeardown, sortObjectKeys, storeByTaskHash, stripQuotes, taskHashIndexPath, toChromeTrace, toGraphAscii, toGraphHtml, toGraphJson, toGraphvizDot, touchBlob, uniqueId, verifyBlob, walkTaskGraph, withEnhancedPath, withRestart, writeChromeTrace, writeLastRunSummary, writeRunSummary };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{buildForwardDependencyMap as o,buildReverseDependencyMap as t,expandAffected as a,filterAffectedTasks as s,getAffectedProjects as p,getChangedFiles as n}from"./packem_shared/buildForwardDependencyMap-w1FVPFdv.js";import{createRemoteCacheBackend as i,resolveCacheMode as
|
|
1
|
+
import{buildForwardDependencyMap as o,buildReverseDependencyMap as t,expandAffected as a,filterAffectedTasks as s,getAffectedProjects as p,getChangedFiles as n}from"./packem_shared/buildForwardDependencyMap-w1FVPFdv.js";import{createRemoteCacheBackend as i,resolveCacheMode as c,resolveTurboEnvCompat as f}from"./packem_shared/resolveCacheMode-DEDFC-kM.js";import{actionDigestForTaskHash as x,containsByTaskHash as h,retrieveByTaskHash as d,storeByTaskHash as u}from"./packem_shared/actionDigestForTaskHash-BOL4fZ9v.js";import{HttpRemoteCache as T}from"./packem_shared/HttpRemoteCache-D3Z6b_FO.js";import{ReapiRemoteCache as g}from"./packem_shared/ReapiRemoteCache-B3uQuVqP.js";import{Cache as R,DEFAULT_CACHE_DIRECTORY_NAME as v,formatCacheSize as F,parseCacheSize as B}from"./packem_shared/Cache-C540ZPYk.js";import{digestBuffer as E,digestFile as P}from"./packem_shared/digestBuffer-g11aCaDx.js";import{V2_AC as I,V2_CAS as L,V2_INDEX as H,V2_ROOT as A,V2_TMP as w,acEntryPath as D,casBlobPath as _,taskHashIndexPath as M}from"./packem_shared/V2_ROOT-injxWBrl.js";import{containsBlob as N,fetchBlobToFile as O,putBlobFromBytes as U,putBlobFromFile as V,touchBlob as W,verifyBlob as j}from"./packem_shared/containsBlob-DBWgvkM_.js";import{toChromeTrace as Y,writeChromeTrace as q}from"./packem_shared/toChromeTrace-DxN5NQIU.js";import{parseCommands as K}from"./packem_shared/parseCommands-BHsXoUCd.js";import{runConcurrently as X}from"./packem_shared/runConcurrently-ebFf3uYs.js";import{runConcurrentFallback as $}from"./packem_shared/runConcurrentFallback-SvS4ElEX.js";import{defaultTaskRunner as re}from"./packem_shared/defaultTaskRunner-CjaCnt_W.js";import{detectScriptShell as te}from"./packem_shared/detectScriptShell-CaTDk5cW.js";import{FileAccessTracker as se,generatePreloadScript as pe}from"./packem_shared/FileAccessTracker-IG-Z0Ijw.js";import{FingerprintManager as me}from"./packem_shared/FingerprintManager-CYW2EwLc.js";import{detectFrameworks as ce,getFrameworkEnvVariables as fe,inferFrameworkEnvPatterns as le}from"./packem_shared/detectFrameworks-WVZJOPgN.js";import{projectGraphToDot as he,toGraphAscii as de,toGraphHtml as ue,toGraphJson as ke,toGraphvizDot as Te}from"./packem_shared/projectGraphToDot-FN6oHDGH.js";import{IncrementalFileHasher as ge}from"./packem_shared/IncrementalFileHasher-CdLXVB5F.js";import{CompositeLifeCycle as Re,ConsoleLifeCycle as ve,EmptyLifeCycle as Fe}from"./packem_shared/CompositeLifeCycle-D0zWvAXJ.js";import{LockfileHasher as be,extractPackageName as Ee,parseNpmLockfile as Pe,parsePnpmLockfile as Se,parseYarnLockfile as Ie}from"./packem_shared/extractPackageName-BeL6Gc3a.js";import{LogReporter as He,createLogReporter as Ae}from"./packem_shared/LogReporter-BUPWiXAq.js";import{isNativeAvailable as De,loadNativeBindings as _e}from"./packem_shared/isNativeAvailable-BOavFPX1.js";import{resolveOutputs as Ge}from"./packem_shared/resolveOutputs-BBjdaraf.js";import{INPUT_URI_SCHEMES as Oe,InvalidInputUriError as Ue,looksLikeInputUri as Ve,parseInputUri as We}from"./packem_shared/INPUT_URI_SCHEMES-Csrd0tlg.js";import{buildEnhancedPath as ze,collectNodeModulesBinDirs as Ye,withEnhancedPath as qe}from"./packem_shared/collectNodeModulesBinDirs-JaeFLP9l.js";import{enforceProjectConstraints as Ke}from"./packem_shared/enforceProjectConstraints-dNc1SwRi.js";import{generateRunSummary as Xe,getLastRunSummaryPath as Ze,readLastRunSummary as $e,writeLastRunSummary as er,writeRunSummary as rr}from"./packem_shared/generateRunSummary-beN13GH4.js";import{createTaskGraph as tr,getTaskId as ar,parseTaskId as sr}from"./packem_shared/createTaskGraph-D6nPDd4s.js";import{findCycle as nr,findCycles as mr,getDependentTasks as ir,getLeafTasks as cr,getTransitiveDependencies as fr,makeAcyclic as lr,reverseTaskGraph as xr,walkTaskGraph as hr}from"./packem_shared/findCycle-BY8-jmzB.js";import{InProcessTaskHasher as ur,computeTaskHash as kr}from"./packem_shared/computeTaskHash-Xxd8v-X3.js";import{TaskOrchestrator as Cr}from"./packem_shared/TaskOrchestrator-F_NrcUYn.js";import{TaskScheduler as yr,parsePartition as Rr}from"./packem_shared/parsePartition-uzPNgtPp.js";import{TerminalBuffer as Fr}from"./packem_shared/TerminalBuffer-BtZy7TpT.js";import{TrackedTaskExecutor as br}from"./packem_shared/TrackedTaskExecutor-BiK0Coso.js";import{d as Pr,j as Sr,T as Ir,b as Lr,E as Hr,v as Ar,h as wr,O as Dr}from"./packem_shared/utils-BH2W5Wml.js";import{evaluateWhen as Mr,explainWhen as Gr,getCurrentBranch as Nr,resetBranchCache as Or}from"./packem_shared/getCurrentBranch-D-qoZByx.js";import{getMainWorktreeRoot as Vr,isLinkedWorktree as Wr,resetWorktreeCache as jr}from"./packem_shared/getMainWorktreeRoot-DRN_i8jA.js";import{createInputHandler as Yr}from"./packem_shared/createInputHandler-CkDCpPYy.js";import{expandArguments as Jr}from"./packem_shared/expandArguments-D7qvc6Rp.js";import{expandShortcut as Qr}from"./packem_shared/expandShortcut-BErNHNXZ.js";import{expandTokens as Zr,expandTokensInString as $r}from"./packem_shared/expandTokensInString-DVSFEdWu.js";import{expandWildcard as ro}from"./packem_shared/expandWildcard-DE0dOOZF.js";import{formatTimingTable as to,logTimings as ao}from"./packem_shared/formatTimingTable-CP3rsDwf.js";import{runTeardown as po}from"./packem_shared/runTeardown-CiJJeWVf.js";import{stripQuotes as mo}from"./packem_shared/stripQuotes-jkZb0CL9.js";import{withRestart as co}from"./packem_shared/withRestart-DKtEGsQA.js";export{R as Cache,Re as CompositeLifeCycle,ve as ConsoleLifeCycle,v as DEFAULT_CACHE_DIRECTORY_NAME,Fe as EmptyLifeCycle,se as FileAccessTracker,me as FingerprintManager,T as HttpRemoteCache,Oe as INPUT_URI_SCHEMES,ur as InProcessTaskHasher,ge as IncrementalFileHasher,Ue as InvalidInputUriError,be as LockfileHasher,He as LogReporter,g as ReapiRemoteCache,Cr as TaskOrchestrator,yr as TaskScheduler,Fr as TerminalBuffer,br as TrackedTaskExecutor,I as V2_AC,L as V2_CAS,H as V2_INDEX,A as V2_ROOT,w as V2_TMP,D as acEntryPath,x as actionDigestForTaskHash,ze as buildEnhancedPath,o as buildForwardDependencyMap,t as buildReverseDependencyMap,_ as casBlobPath,Pr as collectFiles,Ye as collectNodeModulesBinDirs,kr as computeTaskHash,N as containsBlob,h as containsByTaskHash,Sr as createFailureResult,Yr as createInputHandler,Ae as createLogReporter,i as createRemoteCacheBackend,tr as createTaskGraph,re as defaultTaskRunner,ce as detectFrameworks,te as detectScriptShell,E as digestBuffer,P as digestFile,Ke as enforceProjectConstraints,Mr as evaluateWhen,a as expandAffected,Jr as expandArguments,Qr as expandShortcut,Zr as expandTokens,$r as expandTokensInString,ro as expandWildcard,Gr as explainWhen,Ee as extractPackageName,O as fetchBlobToFile,s as filterAffectedTasks,nr as findCycle,mr as findCycles,F as formatCacheSize,to as formatTimingTable,pe as generatePreloadScript,Xe as generateRunSummary,p as getAffectedProjects,n as getChangedFiles,Nr as getCurrentBranch,ir as getDependentTasks,fe as getFrameworkEnvVariables,Ze as getLastRunSummaryPath,cr as getLeafTasks,Vr as getMainWorktreeRoot,ar as getTaskId,fr as getTransitiveDependencies,Ir as hashFile,Lr as hashStrings,le as inferFrameworkEnvPatterns,Wr as isLinkedWorktree,De as isNativeAvailable,_e as loadNativeBindings,ao as logTimings,Ve as looksLikeInputUri,lr as makeAcyclic,B as parseCacheSize,K as parseCommands,We as parseInputUri,Pe as parseNpmLockfile,Rr as parsePartition,Se as parsePnpmLockfile,sr as parseTaskId,Ie as parseYarnLockfile,he as projectGraphToDot,U as putBlobFromBytes,V as putBlobFromFile,$e as readLastRunSummary,Hr as readPackageDeps,Or as resetBranchCache,jr as resetWorktreeCache,c as resolveCacheMode,Ge as resolveOutputs,Ar as resolveTaskCwd,f as resolveTurboEnvCompat,d as retrieveByTaskHash,xr as reverseTaskGraph,$ as runConcurrentFallback,X as runConcurrently,po as runTeardown,wr as sortObjectKeys,u as storeByTaskHash,mo as stripQuotes,M as taskHashIndexPath,Y as toChromeTrace,de as toGraphAscii,ue as toGraphHtml,ke as toGraphJson,Te as toGraphvizDot,W as touchBlob,Dr as uniqueId,j as verifyBlob,hr as walkTaskGraph,qe as withEnhancedPath,co as withRestart,q as writeChromeTrace,er as writeLastRunSummary,rr as writeRunSummary};
|