@effected/bundler 0.6.1 → 0.7.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.
Files changed (48) hide show
  1. package/Bundler.js +3 -3
  2. package/BundlerError.js +1 -1
  3. package/action/ActionBuilder.js +101 -23
  4. package/action/ActionBundle.js +15 -11
  5. package/action/ActionCheck.js +71 -0
  6. package/action/ActionErrors.js +68 -2
  7. package/action/ActionValidation.js +7 -4
  8. package/action/PersistLocal.js +111 -83
  9. package/action/PersistTarget.js +119 -0
  10. package/action/tree.js +25 -0
  11. package/catalog/resolve-catalogs.js +1 -1
  12. package/changesets/next-versions.js +2 -2
  13. package/config/ActionConfig.js +16 -9
  14. package/config/BuildConfig.js +1 -1
  15. package/config/EffectedConfigFile.js +3 -3
  16. package/config/plugins.js +2 -2
  17. package/config-validation/ConfigValidator.js +1 -1
  18. package/dts/bundled-siblings.js +2 -2
  19. package/dts/reexport-stub.js +1 -1
  20. package/dts/relative-imports.js +1 -1
  21. package/dts/resolved-tsconfig.js +4 -4
  22. package/exe/build.js +3 -3
  23. package/index.d.ts +229 -22
  24. package/index.js +6 -4
  25. package/internal/native-realpath.js +1 -1
  26. package/journal/BuildJournal.js +2 -2
  27. package/jsx/config.js +1 -1
  28. package/manifest/emit-manifest.js +2 -2
  29. package/manifest/manifest-set.js +1 -1
  30. package/manifest/transform.js +1 -1
  31. package/meta/api-extractor.js +5 -5
  32. package/meta/bundle-source.js +2 -2
  33. package/meta/generate.js +2 -2
  34. package/meta/og-image.js +2 -2
  35. package/meta/og-satori.js +3 -3
  36. package/meta/run-pass.js +1 -1
  37. package/meta/scrub-declaration-maps.js +1 -1
  38. package/meta/tsconfig-resolver.js +2 -2
  39. package/meta/tsdoc-config.js +1 -1
  40. package/package.json +9 -9
  41. package/passes/build-target-groups.js +1 -1
  42. package/passes/bundled-deps.js +1 -1
  43. package/passes/loose-files.js +1 -1
  44. package/passes/strip-maps.js +1 -1
  45. package/passes/sync-public.js +3 -3
  46. package/passes/target-groups.js +2 -2
  47. package/report/collector.js +1 -1
  48. package/report/issues-artifact.js +1 -1
package/index.d.ts CHANGED
@@ -6,9 +6,9 @@
6
6
  * flattened output location, so the ambient-copy step rejects it.
7
7
  * @public
8
8
  */
9
- import { BUNDLE_MANIFEST_FILENAME, BundleManifest, BundleManifest as BundleManifest$1, BundleManifestError, KNOWN_REGISTRY_TYPES, KnownRegistryType, MANIFEST_SPEC, ManifestSource, ManifestSource as ManifestSource$1, OpenGraphConfig, OpenGraphImage, OpenGraphImage as OpenGraphImage$1, ProjectIdentity, RegistryRef, RegistryRef as RegistryRef$1, SbomRef, decodeBundleManifest, decodeManifestSource, encodeBundleManifest, isKnownRegistryType } from "@effected/manifest";
10
- import { Cause, Context, Effect, FileSystem, Layer, Path, PlatformError, Schema } from "effect";
9
+ import { Cause, Context, Effect, FileSystem, Layer, Option, Path, PlatformError, Schema } from "effect";
11
10
  import { Plugin } from "rolldown";
11
+ import { BUNDLE_MANIFEST_FILENAME, BundleManifest, BundleManifest as BundleManifest$1, BundleManifestError, KNOWN_REGISTRY_TYPES, KnownRegistryType, MANIFEST_SPEC, ManifestSource, ManifestSource as ManifestSource$1, OpenGraphConfig, OpenGraphImage, OpenGraphImage as OpenGraphImage$1, ProjectIdentity, RegistryRef, RegistryRef as RegistryRef$1, SbomRef, decodeBundleManifest, decodeManifestSource, encodeBundleManifest, isKnownRegistryType } from "@effected/manifest";
12
12
  import { DescendError } from "@effected/walker";
13
13
  import { CatalogAssemblyError, DependencyResolutionError, ManifestDecodeError, UnresolvedDependencyError } from "@effected/npm";
14
14
  import { WorkspaceDiscovery } from "@effected/workspaces";
@@ -110,10 +110,17 @@ export declare class ActionValidationOptions extends ActionValidationOptions_bas
110
110
  declare const ActionPersistLocalOptions_base: Schema.Class<ActionPersistLocalOptions, Schema.Struct<{
111
111
  /** Whether to copy the build output locally. */
112
112
  readonly enabled: Schema.withDecodingDefaultKey<Schema.Boolean, never>;
113
- /** The local action directory, relative to the package. */
114
- readonly path: Schema.withDecodingDefaultKey<Schema.String, never>;
113
+ /**
114
+ * Where the persisted action lives: relative to the package under `base = "package"`, to the workspace root under
115
+ * `base = "workspace"`.
116
+ */
117
+ readonly base: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["package", "workspace"]>, never>;
118
+ /** The persisted action directory. Absent, `.github/actions/local` under the package or `.github/actions/<name>` under the workspace. */
119
+ readonly path: Schema.optionalKey<Schema.String>;
120
+ /** Whether the build also stays in the package's own `dist/`. */
121
+ readonly dist: Schema.withDecodingDefaultKey<Schema.Boolean, never>;
115
122
  /** Whether to generate the act boilerplate, `.actrc` and `act-test.yml`, when those files do not exist. */
116
- readonly actTemplate: Schema.withDecodingDefaultKey<Schema.Boolean, never>;
123
+ readonly actTemplate: Schema.optionalKey<Schema.Boolean>;
117
124
  }>, {}>;
118
125
  /**
119
126
  * The local copy of an action's build for testing with nektos/act, the `[action.persistLocal]` table.
@@ -213,6 +220,61 @@ declare const ActionYmlPathError_base: Schema.Class<ActionYmlPathError, Schema.T
213
220
  export declare class ActionYmlPathError extends ActionYmlPathError_base {
214
221
  get message(): string;
215
222
  }
223
+ declare const PersistPathError_base: Schema.Class<PersistPathError, Schema.TaggedStruct<"PersistPathError", {
224
+ /** The path as configured, or the resolved output path. */
225
+ readonly path: Schema.String;
226
+ /** Why it was refused. */
227
+ readonly reason: Schema.Literals<readonly ["outside-workspace", "inside-package", "contains-package", "inside-other-package", "dist-without-persist"]>;
228
+ /** The other package's directory, for `inside-other-package`. */
229
+ readonly packageDir: Schema.optionalKey<Schema.String>;
230
+ }>, import("effect/Cause").YieldableError>;
231
+ /**
232
+ * The persisted action path cannot be used.
233
+ *
234
+ * @remarks
235
+ * `outside-workspace` means it resolves beyond the workspace root, `inside-package` means a workspace-based path
236
+ * lands inside the package being built, or a package-based path lands in its `dist` or staging directory,
237
+ * `contains-package` means it is the package or an ancestor of it, the workspace root included,
238
+ * `inside-other-package` means it is, or lies inside, another directory holding a `package.json` (named in
239
+ * `packageDir`), and `dist-without-persist` means `dist = false` with nothing persisted.
240
+ *
241
+ * @public
242
+ */
243
+ export declare class PersistPathError extends PersistPathError_base {
244
+ get message(): string;
245
+ }
246
+ declare const CheckUnavailable_base: Schema.Class<CheckUnavailable, Schema.TaggedStruct<"CheckUnavailable", {
247
+ /** Why there is nothing to check. */
248
+ readonly reason: Schema.Literals<readonly ["persist-disabled"]>;
249
+ }>, import("effect/Cause").YieldableError>;
250
+ /**
251
+ * Check mode needs somewhere persisted to compare against, and there is none.
252
+ *
253
+ * @remarks
254
+ * `persist-disabled` means the run persists nothing, either because `persistLocal.enabled` is false or because the
255
+ * caller turned persisting off.
256
+ *
257
+ * @public
258
+ */
259
+ export declare class CheckUnavailable extends CheckUnavailable_base {
260
+ get message(): string;
261
+ }
262
+ declare const NoOutput_base: Schema.Class<NoOutput, Schema.TaggedStruct<"NoOutput", {
263
+ /** Why there is no output. */
264
+ readonly reason: Schema.Literals<readonly ["persist-off"]>;
265
+ }>, import("effect/Cause").YieldableError>;
266
+ /**
267
+ * The run would keep no output at all: the package's `dist` is not kept (`persistLocal.dist = false`) and this run
268
+ * persists nothing.
269
+ *
270
+ * @remarks
271
+ * Raised before validating or bundling, so nothing is written. Persist the run, or keep `dist`.
272
+ *
273
+ * @public
274
+ */
275
+ export declare class NoOutput extends NoOutput_base {
276
+ get message(): string;
277
+ }
216
278
  declare const BundleStats_base: Schema.Class<BundleStats, Schema.Struct<{
217
279
  /** The entry: `main`, `pre`, `post` or a worker's name. */
218
280
  readonly entry: Schema.String;
@@ -269,8 +331,8 @@ export declare class BuildResult extends BuildResult_base {}
269
331
  export declare class ActionBundle {
270
332
  private constructor();
271
333
  /**
272
- * Bundles every entry of the action at `options.cwd` into its own `dist/<entry>.js`, and writes `dist/package.json`
273
- * so Node reads them as ESM.
334
+ * Bundles every entry of the action at `options.cwd` into `<entry>.js` in the output directory (`options.outDir`,
335
+ * by default `dist` in `cwd`), and writes a `package.json` there so Node reads them as ESM.
274
336
  *
275
337
  * @remarks
276
338
  * Each bundle is self-contained apart from `node:` builtins and `build.externals`, and the output does not depend
@@ -284,19 +346,75 @@ export declare class ActionBundle {
284
346
  * installed passes with a warning on the entry, and the check learns nothing about the bundle past that import.
285
347
  *
286
348
  * An entry that fails to bundle or load is reported in the result with the others still built, and leaves no bundle
287
- * in `dist`. A missing `main`, a `pre`, `post` or worker the config names with no file, and a bad worker name fail
288
- * {@link BundleFailed} before `dist` is touched. Interrupting the build kills a running load check.
349
+ * in the output directory. A missing `main`, a `pre`, `post` or worker the config names with no file, and a bad
350
+ * worker name fail {@link BundleFailed} before the output directory is touched. Interrupting the build kills a
351
+ * running load check.
289
352
  *
290
- * Cleaning `dist`, writing `dist/package.json` and reading each bundle's size go through the provided `FileSystem`
353
+ * Cleaning the output directory, writing its `package.json` and reading each bundle's size go through the provided `FileSystem`
291
354
  * and `Path`, while rolldown and the load check work on the host disk, so provide the host's.
292
355
  *
293
- * @param options - `cwd` is the action's directory; `clean` removes `dist` first.
356
+ * @param options - `cwd` is the action's directory; `clean` removes the output directory first; `outDir` is the
357
+ * absolute directory to bundle into and defaults to `dist` in `cwd`, while the reported output path stays
358
+ * `dist/<entry>.js`.
294
359
  */
295
360
  static readonly build: (config: ActionConfig, options: {
296
361
  readonly cwd: string;
297
362
  readonly clean: boolean;
363
+ readonly outDir?: string;
298
364
  }) => Effect.Effect<BuildResult, BundleFailed | CleanError | WriteError, FileSystem.FileSystem | Path.Path>;
299
365
  }
366
+ declare const DriftEntry_base: Schema.Class<DriftEntry, Schema.Struct<{
367
+ /** Which copy differs: the package's own `dist` or the persisted action directory. */
368
+ readonly target: Schema.Literals<readonly ["dist", "persisted"]>;
369
+ /** The file, relative to the target directory. */
370
+ readonly path: Schema.String;
371
+ /** How it differs. */
372
+ readonly kind: Schema.Literals<readonly ["changed", "missing", "extra"]>;
373
+ }>, {}>;
374
+ /**
375
+ * One way a committed build differs from a fresh one.
376
+ *
377
+ * @remarks
378
+ * `path` is relative to the target directory and `/`-separated. `missing` is in the build and not in the target,
379
+ * `extra` is in the target and not in the build.
380
+ *
381
+ * @public
382
+ */
383
+ export declare class DriftEntry extends DriftEntry_base {}
384
+ /**
385
+ * What {@link ActionCheck.compare} takes.
386
+ *
387
+ * @public
388
+ */
389
+ interface ActionCheckCompareOptions {
390
+ /** The action's own `action.yml`, when it has one. */
391
+ readonly stagedActionYml: Option.Option<string>;
392
+ /** The freshly built bundles. */
393
+ readonly stagedDist: string;
394
+ /** The directory to compare against: the package `dist` for `"dist"`, the persisted action directory for `"persisted"`. */
395
+ readonly targetDir: string;
396
+ /** Which copy `targetDir` is. */
397
+ readonly target: "dist" | "persisted";
398
+ /** Whether `action.yml` is part of the comparison. */
399
+ readonly includeActionYml: boolean;
400
+ }
401
+ /**
402
+ * Compares a fresh build against a committed copy of it.
403
+ *
404
+ * @public
405
+ */
406
+ export declare class ActionCheck {
407
+ private constructor();
408
+ /**
409
+ * Lists every file where the target differs from the build, sorted by path.
410
+ *
411
+ * @remarks
412
+ * A `"persisted"` target holds the bundles under `dist/` beside `action.yml`, as {@link PersistLocal} lays them out,
413
+ * so its entries read `dist/main.js`; a `"dist"` target holds them at its root. Nothing else in a persisted directory
414
+ * is compared. A target directory that does not exist reports every file as `missing`.
415
+ */
416
+ static readonly compare: (options: ActionCheckCompareOptions) => Effect.Effect<ReadonlyArray<DriftEntry>, PlatformError.PlatformError, FileSystem.FileSystem | Path.Path>;
417
+ }
300
418
  declare const ValidationIssue_base: Schema.Class<ValidationIssue, Schema.Struct<{
301
419
  /** What kind of problem it is, such as `MAIN_ENTRY_MISSING`. */
302
420
  readonly code: Schema.String;
@@ -335,6 +453,8 @@ export declare class ValidationResult extends ValidationResult_base {}
335
453
  interface ActionValidationRunOptions {
336
454
  /** Whether this run is under CI, which is what an unset `validation.strict` follows. */
337
455
  readonly ci: boolean;
456
+ /** What the persist path is relative to: under `"workspace"` the committed action carries no `node_modules`. */
457
+ readonly base: "package" | "workspace";
338
458
  }
339
459
  /**
340
460
  * Checks an action's config, entry points and `action.yml`, and the size of what it built.
@@ -351,7 +471,9 @@ export declare class ActionValidation {
351
471
  /**
352
472
  * Whether warnings stop this build: `validation.strict` when it is set, otherwise whether this is a CI run.
353
473
  */
354
- static isStrict(config: ActionConfig, options: ActionValidationRunOptions): boolean;
474
+ static isStrict(config: ActionConfig, options: {
475
+ readonly ci: boolean;
476
+ }): boolean;
355
477
  /**
356
478
  * Validates the action at `cwd` before a build.
357
479
  *
@@ -410,12 +532,28 @@ declare const BuildFailed_base: Schema.Class<BuildFailed, Schema.TaggedStruct<"B
410
532
  * @public
411
533
  */
412
534
  export declare class BuildFailed extends BuildFailed_base {}
535
+ declare const CheckFailed_base: Schema.Class<CheckFailed, Schema.TaggedStruct<"CheckFailed", {
536
+ /** A summary. */
537
+ readonly message: Schema.String;
538
+ /** Every file that differs. */
539
+ readonly drift: Schema.$Array<typeof DriftEntry>;
540
+ /** How bundling went. */
541
+ readonly build: typeof BuildResult;
542
+ /** What validation found. */
543
+ readonly validation: typeof ValidationResult;
544
+ }>, import("effect/Cause").YieldableError>;
545
+ /**
546
+ * Check mode found the committed build differs from a fresh one.
547
+ *
548
+ * @public
549
+ */
550
+ export declare class CheckFailed extends CheckFailed_base {}
413
551
  /**
414
552
  * What {@link ActionBuilder.build} can fail with.
415
553
  *
416
554
  * @public
417
555
  */
418
- type ActionBuilderError = ValidationFailed | BuildFailed | BundleFailed | CleanError | WriteError | PersistLocalError | ActionYmlPathError | PlatformError.PlatformError;
556
+ type ActionBuilderError = ValidationFailed | BuildFailed | CheckFailed | CheckUnavailable | NoOutput | BundleFailed | CleanError | WriteError | PersistLocalError | PersistPathError | ActionYmlPathError | PlatformError.PlatformError;
419
557
  /**
420
558
  * What {@link ActionBuilder.build} takes.
421
559
  *
@@ -424,6 +562,8 @@ type ActionBuilderError = ValidationFailed | BuildFailed | BundleFailed | CleanE
424
562
  interface ActionBuilderOptions {
425
563
  /** The action's directory. */
426
564
  readonly cwd: string;
565
+ /** The workspace root, which a `"workspace"` persist path is relative to. */
566
+ readonly root: string;
427
567
  /** The decoded `[action]` table. */
428
568
  readonly config: ActionConfig;
429
569
  /** Whether to validate before bundling and check bundle sizes after it. */
@@ -432,6 +572,8 @@ interface ActionBuilderOptions {
432
572
  readonly persist: boolean;
433
573
  /** Whether this run is under CI, which is what an unset `validation.strict` follows. */
434
574
  readonly ci: boolean;
575
+ /** Whether to compare a fresh build against the committed one and write nothing. Needs persisting to be available. */
576
+ readonly check: boolean;
435
577
  }
436
578
  declare const ActionBuildResult_base: Schema.Class<ActionBuildResult, Schema.Struct<{
437
579
  /** What validation found, including any bundle over its size limit. Empty and valid when validation was skipped. */
@@ -440,6 +582,8 @@ declare const ActionBuildResult_base: Schema.Class<ActionBuildResult, Schema.Str
440
582
  readonly build: typeof BuildResult;
441
583
  /** Whether the build was copied to the local action directory. */
442
584
  readonly persisted: Schema.Boolean;
585
+ /** What differs from the committed build. Present only under check, and empty when nothing does. */
586
+ readonly drift: Schema.optionalKey<Schema.$Array<typeof DriftEntry>>;
443
587
  }>, {}>;
444
588
  /**
445
589
  * What a whole action build did.
@@ -581,13 +725,65 @@ declare const ActionYml_base: Schema.Class<ActionYml, Schema.Struct<{
581
725
  * @public
582
726
  */
583
727
  export declare class ActionYml extends ActionYml_base {}
728
+ declare const ResolvedPersist_base: Schema.Class<ResolvedPersist, Schema.Struct<{
729
+ /** Whether the build is persisted at all. */
730
+ readonly enabled: Schema.Boolean;
731
+ /** What the persist path was relative to. */
732
+ readonly base: Schema.Literals<readonly ["package", "workspace"]>;
733
+ /** The persisted action directory. */
734
+ readonly outputPath: Schema.String;
735
+ /** Whether the package's own `dist/` is kept. */
736
+ readonly keepDist: Schema.Boolean;
737
+ /** The scratch directory a build stages into. */
738
+ readonly stagingDir: Schema.String;
739
+ /** Whether the act boilerplate is generated. */
740
+ readonly actTemplate: Schema.Boolean;
741
+ /** The directory the act boilerplate is rooted at: the package under `"package"`, the workspace under `"workspace"`. */
742
+ readonly actRoot: Schema.String;
743
+ /** The real workspace root, which every file a persist writes must stay inside. */
744
+ readonly root: Schema.String;
745
+ }>, {}>;
746
+ /**
747
+ * Where an action's build is persisted, with every path absolute.
748
+ *
749
+ * @public
750
+ */
751
+ export declare class ResolvedPersist extends ResolvedPersist_base {}
752
+ /**
753
+ * Resolves `[action.persistLocal]` against a package and its workspace root.
754
+ *
755
+ * @public
756
+ */
757
+ export declare class PersistTarget {
758
+ /** The staging directory's name, under the package. */
759
+ static readonly STAGING = ".action-staging";
760
+ /**
761
+ * Resolves the persist target, realpathing `cwd` and `root` as `ActionBundle.build` does, and the output path's
762
+ * deepest existing ancestor, so the returned `outputPath` is the real directory a persist writes to.
763
+ *
764
+ * @remarks
765
+ * Fails with `PersistPathError` when the path leaves the workspace, when a workspace-based path lands inside the
766
+ * package, when a package-based path lands in its `dist` or its staging directory, when it is, or contains, the
767
+ * package (which includes the workspace root), when it is or lies inside another package (any directory below the
768
+ * root holding a `package.json`), or when `dist = false` leaves nothing persisted.
769
+ *
770
+ * @param config - The action's config.
771
+ * @param options - The package directory and the workspace root.
772
+ */
773
+ static readonly resolve: (config: ActionConfig, options: {
774
+ readonly cwd: string;
775
+ readonly root: string;
776
+ }) => Effect.Effect<ResolvedPersist, PersistPathError, FileSystem.FileSystem | Path.Path>;
777
+ }
584
778
  declare const PersistLocalResult_base: Schema.Class<PersistLocalResult, Schema.Struct<{
585
- /** Files copied because they were new or changed. */
779
+ /** Files written that were new or changed. */
586
780
  readonly filesCopied: Schema.Number;
587
- /** Files left alone because they matched. */
781
+ /** Files that already matched the persisted copy. */
588
782
  readonly filesSkipped: Schema.Number;
589
783
  /** Whether an act template file was generated. */
590
784
  readonly actTemplateGenerated: Schema.Boolean;
785
+ /** Act template files not written because their real path cannot be resolved or is outside the workspace. */
786
+ readonly actTemplateSkipped: Schema.$Array<Schema.String>;
591
787
  /** The local action directory. */
592
788
  readonly outputPath: Schema.String;
593
789
  }>, {}>;
@@ -605,17 +801,28 @@ export declare class PersistLocalResult extends PersistLocalResult_base {}
605
801
  export declare class PersistLocal {
606
802
  private constructor();
607
803
  /**
608
- * Makes `persistLocal.path` hold the action's `action.yml` and `dist/`, and generates the act template.
804
+ * Makes the resolved output directory hold the action's `action.yml` and `dist/`, and generates the act template.
609
805
  *
610
806
  * @remarks
611
- * It writes nothing when `persistLocal.enabled` is false. Files that match are left alone, and files the source no
612
- * longer has are removed. A `.actrc` and `.github/workflows/act-test.yml` that already exist are kept. A `runs` path
613
- * in `action.yml` that names no persisted file fails {@link ActionYmlPathError}.
807
+ * It writes nothing when the target is not enabled. `dist/` is persisted first, so a failed dist write never leaves
808
+ * a new `action.yml` beside the old `dist/`. It is replaced whole with `AtomicDirectory.write`, from `distDir`: the
809
+ * package's own `dist/`, or the staging directory when the package keeps none. A reader sees the old tree, the new
810
+ * one, or briefly none, never a partial one; a failure between its two renames leaves `dist` absent until the next
811
+ * persist restores it. A failed removal of the old tree after the new one is live only logs a warning. `action.yml`
812
+ * is then written with `AtomicFile.write`. A symlink at either path is replaced, never followed. Everything else in the persisted
813
+ * directory, a committed README for one, is left alone. `filesCopied` and `filesSkipped` count the files that were
814
+ * new or changed and those that already matched. The act template is rooted at `target.actRoot`, and its step uses
815
+ * the persisted directory relative to it. A `.actrc` or `.github/workflows/act-test.yml` is written only when nothing
816
+ * is at its path, a dangling link included, and only when its real path (its deepest existing ancestor realpathed)
817
+ * stays inside the workspace; one that would leave it is skipped with a warning and listed in `actTemplateSkipped`.
818
+ * A `runs` path in `action.yml` that names no persisted file fails {@link ActionYmlPathError}.
614
819
  *
615
- * @param options - `cwd` is the action's directory.
820
+ * @param target - Where to persist, from {@link PersistTarget.resolve}.
821
+ * @param options - `cwd` is the action's directory and `distDir` is where its bundles are.
616
822
  */
617
- static readonly persist: (config: ActionConfig, options: {
823
+ static readonly persist: (target: ResolvedPersist, options: {
618
824
  readonly cwd: string;
825
+ readonly distDir: string;
619
826
  }) => Effect.Effect<PersistLocalResult, PersistLocalError | ActionYmlPathError, FileSystem.FileSystem | Path.Path>;
620
827
  }
621
828
  declare const ReportTimings_base: Schema.Class<ReportTimings, Schema.Struct<{
@@ -3712,5 +3919,5 @@ export declare function resolveTargets(options: {
3712
3919
  * @public
3713
3920
  */
3714
3921
  export declare function releaseWarnings(resolution: TargetResolution): ReadonlyArray<string>;
3715
- export { type ActionBuilderError, type ActionBuilderOptions, type ActionValidationRunOptions, type AmbientDtsEntry, BUNDLE_MANIFEST_FILENAME, type BuildEmittedManifestOptions, type BuildFormat$1 as BuildFormatOption, type BuildGroupSpec, type BuildIssues, type BuildPlatform$1 as BuildPlatformOption, type BuildTargetGroupsOptions, BundleManifest, BundleManifestError, type BundleManifestSources, type BundleMetaOptions, type BundlerBuildOptions, type BundlerPackageJson, type BundlerSeams, type ComposeManifestInput, type CopyAmbientDtsOptions, type CopyPublicDirError, type CssOptions, type DeriveOptions, type DerivedDeclarationsPassOptions, type DerivedDtsPassOptions, type DerivedTsdownOptions, type DiagnosticInput, type DtsEmitTsconfigOptions, type DtsExportClass, type DtsPassDtsOptions, type DualExports, type EmitManifestOptions, type EntryOverride$1 as EntryOverrideOptions, type ExeBuild, type ExeConfig$1 as ExeOptions, type ExeRewrite, type ExeSeaConfig$1 as ExeSeaOptions, type ExeTarget, type ExeTargetInput, type ExtractAmbientOptions, type ExtractOptions, type ExtractResult, type GenerateMetaOptions, type Json, KNOWN_REGISTRY_TYPES, type KnownRegistryType, type LooseFileSpec as LooseFileOptions, LooseFileSpec$1 as LooseFileSpec, type LooseFiles, MANIFEST_SPEC, type ManifestLike, type ManifestRepository, ManifestSource, type ManifestTarget, type MetaOptions, type MetaResult, type TsdocTagDefinition as MetaTsdocTagDefinition, type WarningSuppressionRule as MetaWarningSuppressionRule, type ModuleExportNames, type NextVersions, type NormalizedExe, type NormalizedLooseFile, type NormalizedMeta, type OgImageCacheOptions, type OgImageGenerator, type OgImageInfo, OpenGraphConfig, OpenGraphImage, type PackageJsonEntriesOptions, type PackageJsonLike, type PassKind, type PkgOsCpu, type PlainDiagnostic, type PortableTsconfig, ProjectIdentity, type PublishTargetObject, type PublishTargetValue, type PublishTargets, type ReexportBarrelAnalysis, RegistryRef, type ReleaseChannel, type ResolveManifestError, type ResolvedCompilerOptions, type ResolvedGroup, type JsxConfig$1 as ResolvedJsxConfig, type ResolvedTarget, type ResolvedTsconfig, type ResolvedTsconfigOptions, type RunExeBuildOptions, type RunMetaPassOptions, SbomRef, type TargetGroupId, type TargetGroupRef, type TargetResolution, type Timer, type TransformManifestOptions, type TsconfigJsx, type TsdocOptions, TsdocTagDefinition$1 as TsdocTagDefinition, type TsdownBuild, type TsdownLogger, type ValidationInput, WarningSuppressionRule$1 as WarningSuppressionRule, type WriteGeneratedOgImageOptions, decodeBundleManifest, decodeManifestSource, encodeBundleManifest, isKnownRegistryType };
3922
+ export { type ActionBuilderError, type ActionBuilderOptions, type ActionCheckCompareOptions, type ActionValidationRunOptions, type AmbientDtsEntry, BUNDLE_MANIFEST_FILENAME, type BuildEmittedManifestOptions, type BuildFormat$1 as BuildFormatOption, type BuildGroupSpec, type BuildIssues, type BuildPlatform$1 as BuildPlatformOption, type BuildTargetGroupsOptions, BundleManifest, BundleManifestError, type BundleManifestSources, type BundleMetaOptions, type BundlerBuildOptions, type BundlerPackageJson, type BundlerSeams, type ComposeManifestInput, type CopyAmbientDtsOptions, type CopyPublicDirError, type CssOptions, type DeriveOptions, type DerivedDeclarationsPassOptions, type DerivedDtsPassOptions, type DerivedTsdownOptions, type DiagnosticInput, type DtsEmitTsconfigOptions, type DtsExportClass, type DtsPassDtsOptions, type DualExports, type EmitManifestOptions, type EntryOverride$1 as EntryOverrideOptions, type ExeBuild, type ExeConfig$1 as ExeOptions, type ExeRewrite, type ExeSeaConfig$1 as ExeSeaOptions, type ExeTarget, type ExeTargetInput, type ExtractAmbientOptions, type ExtractOptions, type ExtractResult, type GenerateMetaOptions, type Json, KNOWN_REGISTRY_TYPES, type KnownRegistryType, type LooseFileSpec as LooseFileOptions, LooseFileSpec$1 as LooseFileSpec, type LooseFiles, MANIFEST_SPEC, type ManifestLike, type ManifestRepository, ManifestSource, type ManifestTarget, type MetaOptions, type MetaResult, type TsdocTagDefinition as MetaTsdocTagDefinition, type WarningSuppressionRule as MetaWarningSuppressionRule, type ModuleExportNames, type NextVersions, type NormalizedExe, type NormalizedLooseFile, type NormalizedMeta, type OgImageCacheOptions, type OgImageGenerator, type OgImageInfo, OpenGraphConfig, OpenGraphImage, type PackageJsonEntriesOptions, type PackageJsonLike, type PassKind, type PkgOsCpu, type PlainDiagnostic, type PortableTsconfig, ProjectIdentity, type PublishTargetObject, type PublishTargetValue, type PublishTargets, type ReexportBarrelAnalysis, RegistryRef, type ReleaseChannel, type ResolveManifestError, type ResolvedCompilerOptions, type ResolvedGroup, type JsxConfig$1 as ResolvedJsxConfig, type ResolvedTarget, type ResolvedTsconfig, type ResolvedTsconfigOptions, type RunExeBuildOptions, type RunMetaPassOptions, SbomRef, type TargetGroupId, type TargetGroupRef, type TargetResolution, type Timer, type TransformManifestOptions, type TsconfigJsx, type TsdocOptions, TsdocTagDefinition$1 as TsdocTagDefinition, type TsdownBuild, type TsdownLogger, type ValidationInput, WarningSuppressionRule$1 as WarningSuppressionRule, type WriteGeneratedOgImageOptions, decodeBundleManifest, decodeManifestSource, encodeBundleManifest, isKnownRegistryType };
3716
3923
  //# sourceMappingURL=index.d.ts.map
package/index.js CHANGED
@@ -1,9 +1,12 @@
1
- import { ActionBuildResult, ActionBuilder, BuildFailed, ValidationFailed } from "./action/ActionBuilder.js";
1
+ import { BUNDLE_MANIFEST_FILENAME, BundleManifest, BundleManifestError, KNOWN_REGISTRY_TYPES, MANIFEST_SPEC, ManifestSource, OpenGraphConfig, OpenGraphImage, ProjectIdentity, RegistryRef, SbomRef, decodeBundleManifest, decodeManifestSource, encodeBundleManifest, isKnownRegistryType } from "@effected/manifest";
2
+ import { ActionBuildResult, ActionBuilder, BuildFailed, CheckFailed, ValidationFailed } from "./action/ActionBuilder.js";
2
3
  import { ActionBundle, BuildResult, BundleResult, BundleStats } from "./action/ActionBundle.js";
3
- import { ActionYmlPathError, BundleFailed, CleanError, PersistLocalError, WriteError } from "./action/ActionErrors.js";
4
+ import { ActionCheck, DriftEntry } from "./action/ActionCheck.js";
5
+ import { ActionYmlPathError, BundleFailed, CheckUnavailable, CleanError, NoOutput, PersistLocalError, PersistPathError, WriteError } from "./action/ActionErrors.js";
4
6
  import { ActionValidation, ValidationIssue, ValidationResult } from "./action/ActionValidation.js";
5
7
  import { ActionYml, ActionYmlBranding, ActionYmlBrandingColor, ActionYmlBrandingIcon, ActionYmlInput, ActionYmlOutput, ActionYmlRuns } from "./action/ActionYml.js";
6
8
  import { PersistLocal, PersistLocalResult } from "./action/PersistLocal.js";
9
+ import { PersistTarget, ResolvedPersist } from "./action/PersistTarget.js";
7
10
  import { Bundler, BundlerBuildResult } from "./Bundler.js";
8
11
  import { BundlerError, BundlerPhase } from "./BundlerError.js";
9
12
  import { resolveManifest } from "./catalog/resolve-catalogs.js";
@@ -53,6 +56,5 @@ import { createTsdownLogger } from "./report/tsdown-logger.js";
53
56
  import { writeTargetsBinding } from "./targets/binding.js";
54
57
  import { RELEASE_CHANNELS, isTargetObject } from "./targets/config.js";
55
58
  import { releaseWarnings, resolveTargets } from "./targets/resolve-targets.js";
56
- import { BUNDLE_MANIFEST_FILENAME, BundleManifest, BundleManifestError, KNOWN_REGISTRY_TYPES, MANIFEST_SPEC, ManifestSource, OpenGraphConfig, OpenGraphImage, ProjectIdentity, RegistryRef, SbomRef, decodeBundleManifest, decodeManifestSource, encodeBundleManifest, isKnownRegistryType } from "@effected/manifest";
57
59
 
58
- export { ActionBuildOptions, ActionBuildResult, ActionBuilder, ActionBundle, ActionConfig, ActionEntries, ActionPersistLocalOptions, ActionValidation, ActionValidationOptions, ActionWorker, ActionYml, ActionYmlBranding, ActionYmlBrandingColor, ActionYmlBrandingIcon, ActionYmlInput, ActionYmlOutput, ActionYmlPathError, ActionYmlRuns, BUNDLE_MANIFEST_FILENAME, BuildCollector, BuildCollectorTag, BuildFailed, BuildFormat, BuildIssuesSchema, BuildJournal, BuildPlatform, BuildReport, BuildResult, BundleConfig, BundleFailed, BundleManifest, BundleManifestEmitError, BundleManifestError, BundleManifestSourceError, BundleOpenGraphConfig, BundleOpenGraphImage, BundleRegistryRef, BundleResult, BundleStats, Bundler, BundlerBuildResult, BundlerError, BundlerPhase, CleanError, ConfigValidationError, ConfigValidator, CopyEntry, DEFAULT_EXE_NODE_VERSION, DiagnosticEntry, EffectedConfig, EffectedConfigError, EffectedConfigFile, EffectedConfigSchema, EmittedFile, EntryOverride, ExeConfig, ExeSeaConfig, ExeTargetConfig, IssueJournal, JsxConfig, KNOWN_REGISTRY_TYPES, LooseFileSpec, MANIFEST_SPEC, ManifestConfig, ManifestSource, MetaConfig, MetaGenerationError, OgGenerateError, OpenGraphConfig, OpenGraphImage, PackageBuildConfig, PackageConfig, PassReport, PersistLocal, PersistLocalError, PersistLocalResult, PlainDiagnosticSchema, PluginLoadError, ProjectIdentity, RELEASE_CHANNELS, RegistryRef, ReportTimings, ResolvedConfig, ResolvedEffectedConfig, SbomRef, TargetGroupReport, TsdocConfig, TsdocTagDefinition, ValidationFailed, ValidationIssue, ValidationResult, WarningSuppressionRule, WriteError, ambientOutName, analyzeReexportBarrel, assertNoEntryCollisions, buildEmittedManifest, buildMetricsPlugin, buildResolvedTsconfig, buildTargetGroups, cjsDefaultInterop, classifyDtsExport, collectExportNames, composeBundleManifest, computeExeFileName, copyAmbientDts, copyPublicDir, createEntryName, createTimer, createTsdownLogger, declarationExt, declarationsDirFor, decodeBundleManifest, decodeManifestSource, defaultManifestTransform, deriveDeclarationsPassOptions, deriveDtsPassOptions, deriveExportPaths, deriveTargetGroupOptions, dtsPassDtsOptions, emitManifest, encodeBundleManifest, extractAmbientDts, extractEntries, findRelativeSpecifiers, flattenIssues, formatTime, githubOwnerRepo, isKnownRegistryType, isTargetObject, loadBundleManifestSources, loadPlugins, manifestNeedsCatalogResolution, merge, mixedDtsExportError, nodeBuiltinDefaultInterop, normalizeBinPaths, normalizeExeOptions, normalizeLooseFiles, normalizeMetaOptions, ogImageInfoOf, outDirFor, packageJsonEntries, readTsconfigJsx, registriesFromTargets, releaseWarnings, removeDeclarationMaps, renderCiAnnotations, renderReexportStub, resolveJsxConfig, resolveManifest, resolveNextVersions, resolveOgCacheSalt, resolveOgGenerator, resolvePortableTsconfig, resolveTargets, rewriteMetaVersions, runExeBuild, serializeIssues, transformBin, transformExports, transformManifest, writeDtsEmitTsconfig, writeGeneratedOgImage, writeIssuesArtifact, writeResolvedTsconfig, writeTargetsBinding };
60
+ export { ActionBuildOptions, ActionBuildResult, ActionBuilder, ActionBundle, ActionCheck, ActionConfig, ActionEntries, ActionPersistLocalOptions, ActionValidation, ActionValidationOptions, ActionWorker, ActionYml, ActionYmlBranding, ActionYmlBrandingColor, ActionYmlBrandingIcon, ActionYmlInput, ActionYmlOutput, ActionYmlPathError, ActionYmlRuns, BUNDLE_MANIFEST_FILENAME, BuildCollector, BuildCollectorTag, BuildFailed, BuildFormat, BuildIssuesSchema, BuildJournal, BuildPlatform, BuildReport, BuildResult, BundleConfig, BundleFailed, BundleManifest, BundleManifestEmitError, BundleManifestError, BundleManifestSourceError, BundleOpenGraphConfig, BundleOpenGraphImage, BundleRegistryRef, BundleResult, BundleStats, Bundler, BundlerBuildResult, BundlerError, BundlerPhase, CheckFailed, CheckUnavailable, CleanError, ConfigValidationError, ConfigValidator, CopyEntry, DEFAULT_EXE_NODE_VERSION, DiagnosticEntry, DriftEntry, EffectedConfig, EffectedConfigError, EffectedConfigFile, EffectedConfigSchema, EmittedFile, EntryOverride, ExeConfig, ExeSeaConfig, ExeTargetConfig, IssueJournal, JsxConfig, KNOWN_REGISTRY_TYPES, LooseFileSpec, MANIFEST_SPEC, ManifestConfig, ManifestSource, MetaConfig, MetaGenerationError, NoOutput, OgGenerateError, OpenGraphConfig, OpenGraphImage, PackageBuildConfig, PackageConfig, PassReport, PersistLocal, PersistLocalError, PersistLocalResult, PersistPathError, PersistTarget, PlainDiagnosticSchema, PluginLoadError, ProjectIdentity, RELEASE_CHANNELS, RegistryRef, ReportTimings, ResolvedConfig, ResolvedEffectedConfig, ResolvedPersist, SbomRef, TargetGroupReport, TsdocConfig, TsdocTagDefinition, ValidationFailed, ValidationIssue, ValidationResult, WarningSuppressionRule, WriteError, ambientOutName, analyzeReexportBarrel, assertNoEntryCollisions, buildEmittedManifest, buildMetricsPlugin, buildResolvedTsconfig, buildTargetGroups, cjsDefaultInterop, classifyDtsExport, collectExportNames, composeBundleManifest, computeExeFileName, copyAmbientDts, copyPublicDir, createEntryName, createTimer, createTsdownLogger, declarationExt, declarationsDirFor, decodeBundleManifest, decodeManifestSource, defaultManifestTransform, deriveDeclarationsPassOptions, deriveDtsPassOptions, deriveExportPaths, deriveTargetGroupOptions, dtsPassDtsOptions, emitManifest, encodeBundleManifest, extractAmbientDts, extractEntries, findRelativeSpecifiers, flattenIssues, formatTime, githubOwnerRepo, isKnownRegistryType, isTargetObject, loadBundleManifestSources, loadPlugins, manifestNeedsCatalogResolution, merge, mixedDtsExportError, nodeBuiltinDefaultInterop, normalizeBinPaths, normalizeExeOptions, normalizeLooseFiles, normalizeMetaOptions, ogImageInfoOf, outDirFor, packageJsonEntries, readTsconfigJsx, registriesFromTargets, releaseWarnings, removeDeclarationMaps, renderCiAnnotations, renderReexportStub, resolveJsxConfig, resolveManifest, resolveNextVersions, resolveOgCacheSalt, resolveOgGenerator, resolvePortableTsconfig, resolveTargets, rewriteMetaVersions, runExeBuild, serializeIssues, transformBin, transformExports, transformManifest, writeDtsEmitTsconfig, writeGeneratedOgImage, writeIssuesArtifact, writeResolvedTsconfig, writeTargetsBinding };
@@ -1,5 +1,5 @@
1
- import { Effect } from "effect";
2
1
  import { realpathSync } from "node:fs";
2
+ import { Effect } from "effect";
3
3
 
4
4
  // src/internal/native-realpath.ts
5
5
  /**
@@ -1,6 +1,6 @@
1
- import { BuildIssuesSchema, PlainDiagnosticSchema } from "../report/issues-artifact.js";
2
- import { Effect, FileSystem, Layer, Path, Schema } from "effect";
3
1
  import { Journal, JsonlEvent } from "@effected/jsonl";
2
+ import { Effect, FileSystem, Layer, Path, Schema } from "effect";
3
+ import { BuildIssuesSchema, PlainDiagnosticSchema } from "../report/issues-artifact.js";
4
4
 
5
5
  // src/journal/BuildJournal.ts
6
6
  /** Each journal's place under the workspace root. */
package/jsx/config.js CHANGED
@@ -1,5 +1,5 @@
1
- import { Effect, FileSystem, Option, Path } from "effect";
2
1
  import { JsxConfig, TsconfigLoader } from "@effected/tsconfig-json";
2
+ import { Effect, FileSystem, Option, Path } from "effect";
3
3
 
4
4
  // src/jsx/config.ts
5
5
  /**
@@ -1,10 +1,10 @@
1
+ import { DependencySpecifier } from "@effected/npm";
2
+ import { Effect, FileSystem, Path } from "effect";
1
3
  import { resolveManifest } from "../catalog/resolve-catalogs.js";
2
4
  import { pruneBundled } from "../passes/bundled-deps.js";
3
5
  import { stripBuiltCondition } from "./built-condition.js";
4
6
  import { applyManifestSet, validateManifestSet } from "./manifest-set.js";
5
7
  import { defaultManifestTransform, transformManifest } from "./transform.js";
6
- import { Effect, FileSystem, Path } from "effect";
7
- import { DependencySpecifier } from "@effected/npm";
8
8
 
9
9
  // src/manifest/emit-manifest.ts
10
10
  const DEPENDENCY_FIELDS = [
@@ -1,5 +1,5 @@
1
- import { ConfigValidationError } from "../errors.js";
2
1
  import { PackageName } from "@effected/package-json";
2
+ import { ConfigValidationError } from "../errors.js";
3
3
 
4
4
  // src/manifest/manifest-set.ts
5
5
  /**
@@ -1,7 +1,7 @@
1
+ import { PackageJsonFormat } from "@effected/package-json";
1
2
  import { ambientOutName, classifyDtsExport, mixedDtsExportError } from "../entries/ambient-dts.js";
2
3
  import { createEntryName, resolveToTypeScript } from "../entries/extract.js";
3
4
  import { ConfigValidationError } from "../errors.js";
4
- import { PackageJsonFormat } from "@effected/package-json";
5
5
 
6
6
  // src/manifest/transform.ts
7
7
  const isDualKey = (dual, exportKey) => typeof dual === "boolean" ? dual : dual.has(exportKey);
@@ -1,14 +1,14 @@
1
- import { MetaGenerationError } from "../errors.js";
2
- import { existsLikeNode } from "../internal/exists.js";
3
- import { createMessageSuppressor } from "./message-suppressor.js";
4
- import { Effect, FileSystem, Path } from "effect";
1
+ import { createHash } from "node:crypto";
5
2
  import { realpathSync } from "node:fs";
6
3
  import { tmpdir } from "node:os";
7
4
  import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
8
- import { createHash } from "node:crypto";
9
5
  import { TsconfigLoader } from "@effected/tsconfig-json";
10
6
  import { Extractor, ExtractorConfig, ExtractorLogLevel } from "@microsoft/api-extractor";
11
7
  import { TSDocConfigFile } from "@microsoft/tsdoc-config";
8
+ import { Effect, FileSystem, Path } from "effect";
9
+ import { MetaGenerationError } from "../errors.js";
10
+ import { existsLikeNode } from "../internal/exists.js";
11
+ import { createMessageSuppressor } from "./message-suppressor.js";
12
12
 
13
13
  // src/meta/api-extractor.ts
14
14
  /** messageIds that become a hard build error in CI (they corrupt the .api.json). */
@@ -1,7 +1,7 @@
1
- import { existsLikeNode } from "../internal/exists.js";
2
1
  import { BUNDLE_MANIFEST_FILENAME, decodeManifestSource } from "@effected/manifest";
3
- import { Cause, Data, Effect, FileSystem, Path } from "effect";
4
2
  import { WorkspaceDiscovery, WorkspaceRootNotFoundError, Workspaces } from "@effected/workspaces";
3
+ import { Cause, Data, Effect, FileSystem, Path } from "effect";
4
+ import { existsLikeNode } from "../internal/exists.js";
5
5
 
6
6
  // src/meta/bundle-source.ts
7
7
  /**
package/meta/generate.js CHANGED
@@ -1,3 +1,5 @@
1
+ import { BUNDLE_MANIFEST_FILENAME, encodeBundleManifest } from "@effected/manifest";
2
+ import { Cause, Effect, Exit, FileSystem, Path } from "effect";
1
3
  import { BundleManifestEmitError } from "../errors.js";
2
4
  import { runApiExtractor } from "./api-extractor.js";
3
5
  import { composeBundleManifest, ogImageInfoOf } from "./bundle-manifest.js";
@@ -7,8 +9,6 @@ import { resolveOgCacheSalt, writeGeneratedOgImage } from "./og-image.js";
7
9
  import { scrubDeclarationMapsUnder } from "./scrub-declaration-maps.js";
8
10
  import { resolvePortableTsconfig } from "./tsconfig-resolver.js";
9
11
  import { writeTsdocConfig } from "./tsdoc-config.js";
10
- import { BUNDLE_MANIFEST_FILENAME, encodeBundleManifest } from "@effected/manifest";
11
- import { Cause, Effect, Exit, FileSystem, Path } from "effect";
12
12
 
13
13
  // src/meta/generate.ts
14
14
  function unscopedName(name) {
package/meta/og-image.js CHANGED
@@ -1,7 +1,7 @@
1
- import { causeMessage } from "../internal/causeMessage.js";
2
- import { Data, Effect, FileSystem, Layer, Option, Path, Predicate, Schema } from "effect";
3
1
  import * as NodeCrypto from "@effect/platform-node/NodeCrypto";
4
2
  import { ImageBackend, ImageCache, ImageCacheKey } from "@effected/images/cache";
3
+ import { Data, Effect, FileSystem, Layer, Option, Path, Predicate, Schema } from "effect";
4
+ import { causeMessage } from "../internal/causeMessage.js";
5
5
 
6
6
  // src/meta/og-image.ts
7
7
  /**
package/meta/og-satori.js CHANGED
@@ -1,7 +1,7 @@
1
- import { createRequire } from "node:module";
2
1
  import { existsSync, readFileSync } from "node:fs";
3
- import { fileURLToPath } from "node:url";
4
2
  import { readFile } from "node:fs/promises";
3
+ import { createRequire } from "node:module";
4
+ import { fileURLToPath } from "node:url";
5
5
 
6
6
  // src/meta/og-satori.ts
7
7
  /**
@@ -117,7 +117,7 @@ const ogImage = { satori(options = {}) {
117
117
  };
118
118
  const cacheSalt = JSON.stringify({
119
119
  renderer: "@effected/bundler/og#satori",
120
- version: "0.6.1",
120
+ version: "0.7.0",
121
121
  satori: peerVersion("satori"),
122
122
  resvg: peerVersion("@resvg/resvg-js"),
123
123
  colors
package/meta/run-pass.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { Cause, Effect, Path } from "effect";
1
2
  import { resolveNextVersions } from "../changesets/next-versions.js";
2
3
  import { deriveExportPaths } from "../entries/export-paths.js";
3
4
  import { createEntryName } from "../entries/extract.js";
@@ -8,7 +9,6 @@ import { normalizeMetaOptions } from "./config.js";
8
9
  import { generateMeta } from "./generate.js";
9
10
  import { OgGenerateError } from "./og-image.js";
10
11
  import { rewriteMetaVersions } from "./optimistic.js";
11
- import { Cause, Effect, Path } from "effect";
12
12
 
13
13
  // src/meta/run-pass.ts
14
14
  /**
@@ -1,7 +1,7 @@
1
- import { Effect, FileSystem, Path, Result } from "effect";
2
1
  import { GlobPattern, GlobPatternOptions } from "@effected/glob";
3
2
  import { descend } from "@effected/walker";
4
3
  import { decode, encode } from "@jridgewell/sourcemap-codec";
4
+ import { Effect, FileSystem, Path, Result } from "effect";
5
5
 
6
6
  // src/meta/scrub-declaration-maps.ts
7
7
  /** Every declaration map, at any depth, dot-directories included. */
@@ -1,6 +1,6 @@
1
- import { existsLikeNode } from "../internal/exists.js";
2
- import { Effect, Path } from "effect";
3
1
  import { PortableTsconfig, TsconfigLoader } from "@effected/tsconfig-json";
2
+ import { Effect, Path } from "effect";
3
+ import { existsLikeNode } from "../internal/exists.js";
4
4
 
5
5
  // src/meta/tsconfig-resolver.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { Effect, FileSystem, Path } from "effect";
2
1
  import { isDeepStrictEqual } from "node:util";
3
2
  import { StandardTags } from "@microsoft/tsdoc";
3
+ import { Effect, FileSystem, Path } from "effect";
4
4
 
5
5
  // src/meta/tsdoc-config.ts
6
6
  const TSDOC_SCHEMA = "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/bundler",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "private": false,
5
5
  "description": "The kit's build pipeline: effected.toml config, tsdown JS and declaration passes, API Extractor meta, SEA, GitHub Action bundles and build journals.",
6
6
  "keywords": [
@@ -38,23 +38,23 @@
38
38
  "./package.json": "./package.json"
39
39
  },
40
40
  "dependencies": {
41
- "@effect/platform-node": "4.1.4",
42
- "@effected/changesets": "0.6.0",
43
- "@effected/config-file": "0.28.0",
41
+ "@effect/platform-node": "4.1.5",
42
+ "@effected/changesets": "0.6.1",
43
+ "@effected/config-file": "0.29.0",
44
44
  "@effected/env": "0.12.0",
45
45
  "@effected/files": "0.3.0",
46
- "@effected/glob": "0.22.0",
46
+ "@effected/glob": "0.23.0",
47
47
  "@effected/images": "0.10.0",
48
48
  "@effected/jsonc": "0.25.0",
49
49
  "@effected/jsonl": "0.19.0",
50
50
  "@effected/manifest": "0.2.0",
51
- "@effected/npm": "0.35.0",
51
+ "@effected/npm": "0.35.1",
52
52
  "@effected/package-json": "0.32.2",
53
53
  "@effected/semver": "0.24.0",
54
54
  "@effected/toml": "0.20.0",
55
- "@effected/tsconfig-json": "0.22.0",
56
- "@effected/walker": "0.29.0",
57
- "@effected/workspaces": "0.48.0",
55
+ "@effected/tsconfig-json": "0.23.0",
56
+ "@effected/walker": "0.30.0",
57
+ "@effected/workspaces": "0.48.2",
58
58
  "@effected/yaml": "0.30.0",
59
59
  "@jridgewell/sourcemap-codec": "^1.6.0",
60
60
  "@microsoft/api-extractor": "^7.60.1",