@savvy-web/tsdown-plugins 1.1.7 → 1.1.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/index.d.ts +17 -13
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* A non-empty result means the file is NOT self-contained and would break when copied verbatim to a
|
|
6
6
|
* flattened output location, so the ambient-copy step rejects it.
|
|
7
7
|
* @public
|
|
8
|
-
*/
|
|
8
|
+
*/
|
|
9
|
+
import { CatalogAssemblyError, CatalogResolutionError, ManifestLike, ManifestLike as ManifestLike$1 } from "workspaces-effect";
|
|
9
10
|
import { Plugin } from "rolldown";
|
|
10
11
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
11
12
|
import { JsxEmit, ModuleDetectionKind, ModuleKind, ModuleResolutionKind, NewLineKind, ParsedCommandLine, ScriptTarget } from "typescript";
|
|
12
|
-
|
|
13
13
|
//#region src/manifest/transform.d.ts
|
|
14
14
|
/** @public */
|
|
15
15
|
type Json = Record<string, unknown>;
|
|
@@ -39,9 +39,7 @@ type DualExports = boolean | ReadonlySet<string>;
|
|
|
39
39
|
* input intact.
|
|
40
40
|
* @public
|
|
41
41
|
*/
|
|
42
|
-
declare function defaultManifestTransform({
|
|
43
|
-
pkg
|
|
44
|
-
}: {
|
|
42
|
+
declare function defaultManifestTransform({ pkg }: {
|
|
45
43
|
pkg: Json;
|
|
46
44
|
}): Json;
|
|
47
45
|
/**
|
|
@@ -183,8 +181,10 @@ declare class ReportTimings extends ReportTimings_base {}
|
|
|
183
181
|
declare const DiagnosticEntry_base: Schema.Class<DiagnosticEntry, {
|
|
184
182
|
source: Schema.Literal<["tsdown", "rolldown", "api-extractor"]>;
|
|
185
183
|
level: Schema.Literal<["warn", "error"]>;
|
|
186
|
-
text: typeof Schema.String;
|
|
187
|
-
|
|
184
|
+
text: typeof Schema.String;
|
|
185
|
+
/** API Extractor messageId (e.g. "ae-forgotten-export"); used to group suppressed messages by type. */
|
|
186
|
+
code: Schema.optional<typeof Schema.String>;
|
|
187
|
+
/** True when shown as `warn` locally but a hard error in CI (drives the "[fails CI]" nudge). */
|
|
188
188
|
ciFatal: Schema.optional<typeof Schema.Boolean>;
|
|
189
189
|
file: Schema.optional<typeof Schema.String>;
|
|
190
190
|
line: Schema.optional<typeof Schema.Number>;
|
|
@@ -192,8 +192,10 @@ declare const DiagnosticEntry_base: Schema.Class<DiagnosticEntry, {
|
|
|
192
192
|
}, Schema.Struct.Encoded<{
|
|
193
193
|
source: Schema.Literal<["tsdown", "rolldown", "api-extractor"]>;
|
|
194
194
|
level: Schema.Literal<["warn", "error"]>;
|
|
195
|
-
text: typeof Schema.String;
|
|
196
|
-
|
|
195
|
+
text: typeof Schema.String;
|
|
196
|
+
/** API Extractor messageId (e.g. "ae-forgotten-export"); used to group suppressed messages by type. */
|
|
197
|
+
code: Schema.optional<typeof Schema.String>;
|
|
198
|
+
/** True when shown as `warn` locally but a hard error in CI (drives the "[fails CI]" nudge). */
|
|
197
199
|
ciFatal: Schema.optional<typeof Schema.Boolean>;
|
|
198
200
|
file: Schema.optional<typeof Schema.String>;
|
|
199
201
|
line: Schema.optional<typeof Schema.Number>;
|
|
@@ -268,7 +270,8 @@ declare const TargetGroupReport_base: Schema.Class<TargetGroupReport, {
|
|
|
268
270
|
entries: Schema.Array$<typeof Schema.String>;
|
|
269
271
|
passes: Schema.Array$<typeof PassReport>;
|
|
270
272
|
warnings: Schema.Array$<typeof DiagnosticEntry>;
|
|
271
|
-
errors: Schema.Array$<typeof DiagnosticEntry>;
|
|
273
|
+
errors: Schema.Array$<typeof DiagnosticEntry>;
|
|
274
|
+
/** Messages matched by `suppressWarnings`, kept for accounting and `--verbose` expansion. */
|
|
272
275
|
suppressed: Schema.Array$<typeof DiagnosticEntry>;
|
|
273
276
|
timings: typeof ReportTimings;
|
|
274
277
|
}, Schema.Struct.Encoded<{
|
|
@@ -276,7 +279,8 @@ declare const TargetGroupReport_base: Schema.Class<TargetGroupReport, {
|
|
|
276
279
|
entries: Schema.Array$<typeof Schema.String>;
|
|
277
280
|
passes: Schema.Array$<typeof PassReport>;
|
|
278
281
|
warnings: Schema.Array$<typeof DiagnosticEntry>;
|
|
279
|
-
errors: Schema.Array$<typeof DiagnosticEntry>;
|
|
282
|
+
errors: Schema.Array$<typeof DiagnosticEntry>;
|
|
283
|
+
/** Messages matched by `suppressWarnings`, kept for accounting and `--verbose` expansion. */
|
|
280
284
|
suppressed: Schema.Array$<typeof DiagnosticEntry>;
|
|
281
285
|
timings: typeof ReportTimings;
|
|
282
286
|
}>, never, {
|
|
@@ -823,7 +827,7 @@ declare function nodeBuiltinDefaultInterop(): Plugin;
|
|
|
823
827
|
declare function removeDeclarationMaps(pkgDir: string): string[];
|
|
824
828
|
//#endregion
|
|
825
829
|
//#region src/errors.d.ts
|
|
826
|
-
declare const MetaGenerationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }>) => import("effect/Cause").YieldableError & {
|
|
830
|
+
declare const MetaGenerationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
827
831
|
readonly _tag: "MetaGenerationError";
|
|
828
832
|
} & Readonly<A>;
|
|
829
833
|
/**
|
|
@@ -837,7 +841,7 @@ declare class MetaGenerationError extends MetaGenerationError_base<{
|
|
|
837
841
|
}> {
|
|
838
842
|
get message(): string;
|
|
839
843
|
}
|
|
840
|
-
declare const ConfigValidationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }>) => import("effect/Cause").YieldableError & {
|
|
844
|
+
declare const ConfigValidationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
841
845
|
readonly _tag: "ConfigValidationError";
|
|
842
846
|
} & Readonly<A>;
|
|
843
847
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/tsdown-plugins",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Interface-only tsdown/rolldown plugin pack powering @savvy-web/bundler",
|
|
6
6
|
"homepage": "https://github.com/savvy-web/systems/tree/main/packages/tsdown-plugins",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"sort-package-json": "^4.0.0",
|
|
47
47
|
"std-env": "^4.1.0",
|
|
48
48
|
"typescript": "^6.0.3",
|
|
49
|
-
"workspaces-effect": "^2.0.
|
|
49
|
+
"workspaces-effect": "^2.0.3"
|
|
50
50
|
}
|
|
51
51
|
}
|