@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.
- package/Bundler.js +3 -3
- package/BundlerError.js +1 -1
- package/action/ActionBuilder.js +101 -23
- package/action/ActionBundle.js +15 -11
- package/action/ActionCheck.js +71 -0
- package/action/ActionErrors.js +68 -2
- package/action/ActionValidation.js +7 -4
- package/action/PersistLocal.js +111 -83
- package/action/PersistTarget.js +119 -0
- package/action/tree.js +25 -0
- package/catalog/resolve-catalogs.js +1 -1
- package/changesets/next-versions.js +2 -2
- package/config/ActionConfig.js +16 -9
- package/config/BuildConfig.js +1 -1
- package/config/EffectedConfigFile.js +3 -3
- package/config/plugins.js +2 -2
- package/config-validation/ConfigValidator.js +1 -1
- package/dts/bundled-siblings.js +2 -2
- package/dts/reexport-stub.js +1 -1
- package/dts/relative-imports.js +1 -1
- package/dts/resolved-tsconfig.js +4 -4
- package/exe/build.js +3 -3
- package/index.d.ts +229 -22
- package/index.js +6 -4
- package/internal/native-realpath.js +1 -1
- package/journal/BuildJournal.js +2 -2
- package/jsx/config.js +1 -1
- package/manifest/emit-manifest.js +2 -2
- package/manifest/manifest-set.js +1 -1
- package/manifest/transform.js +1 -1
- package/meta/api-extractor.js +5 -5
- package/meta/bundle-source.js +2 -2
- package/meta/generate.js +2 -2
- package/meta/og-image.js +2 -2
- package/meta/og-satori.js +3 -3
- package/meta/run-pass.js +1 -1
- package/meta/scrub-declaration-maps.js +1 -1
- package/meta/tsconfig-resolver.js +2 -2
- package/meta/tsdoc-config.js +1 -1
- package/package.json +9 -9
- package/passes/build-target-groups.js +1 -1
- package/passes/bundled-deps.js +1 -1
- package/passes/loose-files.js +1 -1
- package/passes/strip-maps.js +1 -1
- package/passes/sync-public.js +3 -3
- package/passes/target-groups.js +2 -2
- package/report/collector.js +1 -1
- package/report/issues-artifact.js +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Effect, FileSystem, Path } from "effect";
|
|
1
2
|
import { packageNameOf, resolveBundledSiblings, siblingPaths } from "../dts/bundled-siblings.js";
|
|
2
3
|
import { analyzeReexportBarrel, collectExportNames, renderReexportStub } from "../dts/reexport-stub.js";
|
|
3
4
|
import { writeDtsEmitTsconfig } from "../dts/resolved-tsconfig.js";
|
|
@@ -13,7 +14,6 @@ import { stampVersions } from "./stamp-versions.js";
|
|
|
13
14
|
import { copyAmbientDts, copyPublicDir } from "./sync-public.js";
|
|
14
15
|
import { deriveDeclarationsPassOptions, deriveDtsPassOptions, deriveTargetGroupOptions, outDirFor } from "./target-groups.js";
|
|
15
16
|
import { THIRD_PARTY_LICENSES, renderThirdPartyLicenses, thirdPartyLicenses } from "./third-party-licenses.js";
|
|
16
|
-
import { Effect, FileSystem, Path } from "effect";
|
|
17
17
|
|
|
18
18
|
// src/passes/build-target-groups.ts
|
|
19
19
|
/**
|
package/passes/bundled-deps.js
CHANGED
package/passes/loose-files.js
CHANGED
package/passes/strip-maps.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Effect, FileSystem, Path, Result } from "effect";
|
|
2
1
|
import { GlobPattern, GlobPatternOptions } from "@effected/glob";
|
|
3
2
|
import { descend } from "@effected/walker";
|
|
3
|
+
import { Effect, FileSystem, Path, Result } from "effect";
|
|
4
4
|
|
|
5
5
|
// src/passes/strip-maps.ts
|
|
6
6
|
/** `.d.ts.map` / `.d.cts.map` at any depth, dot-directories included. */
|
package/passes/sync-public.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { GlobPattern, GlobPatternOptions } from "@effected/glob";
|
|
2
|
+
import { descend } from "@effected/walker";
|
|
3
|
+
import { Effect, FileSystem, Path, Result } from "effect";
|
|
1
4
|
import { findRelativeSpecifiers } from "../dts/relative-imports.js";
|
|
2
5
|
import { ConfigValidationError } from "../errors.js";
|
|
3
6
|
import { existsLikeNode } from "../internal/exists.js";
|
|
4
|
-
import { Effect, FileSystem, Path, Result } from "effect";
|
|
5
|
-
import { GlobPattern, GlobPatternOptions } from "@effected/glob";
|
|
6
|
-
import { descend } from "@effected/walker";
|
|
7
7
|
|
|
8
8
|
// src/passes/sync-public.ts
|
|
9
9
|
/** Every file at any depth, dotfiles included. */
|
package/passes/target-groups.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createRequire } from "node:module";
|
|
2
|
-
import { Result } from "effect";
|
|
3
1
|
import { readFileSync } from "node:fs";
|
|
2
|
+
import { createRequire } from "node:module";
|
|
4
3
|
import { join } from "node:path";
|
|
5
4
|
import { fileURLToPath } from "node:url";
|
|
6
5
|
import { SemVer } from "@effected/semver";
|
|
6
|
+
import { Result } from "effect";
|
|
7
7
|
|
|
8
8
|
// src/passes/target-groups.ts
|
|
9
9
|
/** The `file://` URL of the TypeScript module this package resolves (its own pinned dependency). */
|
package/report/collector.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BuildReport, DiagnosticEntry, EmittedFile, PassReport, ReportTimings, TargetGroupReport } from "./schema.js";
|
|
2
1
|
import { Context } from "effect";
|
|
2
|
+
import { BuildReport, DiagnosticEntry, EmittedFile, PassReport, ReportTimings, TargetGroupReport } from "./schema.js";
|
|
3
3
|
|
|
4
4
|
// src/report/collector.ts
|
|
5
5
|
/**
|