@maizzle/framework 6.1.4 → 6.1.5
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/dist/build.d.ts +3 -4
- package/dist/build.d.ts.map +1 -1
- package/dist/build.js +1 -5
- package/dist/build.js.map +1 -1
- package/dist/components/utils.d.ts +10 -11
- package/dist/components/utils.d.ts.map +1 -1
- package/dist/composables/defineConfig.d.ts +1 -2
- package/dist/composables/defineConfig.d.ts.map +1 -1
- package/dist/composables/renderContext.d.ts +4 -5
- package/dist/composables/renderContext.d.ts.map +1 -1
- package/dist/composables/useBaseUrl.d.ts +1 -2
- package/dist/composables/useBaseUrl.d.ts.map +1 -1
- package/dist/composables/useConfig.d.ts +2 -3
- package/dist/composables/useConfig.d.ts.map +1 -1
- package/dist/composables/useCurrentTemplate.d.ts +2 -3
- package/dist/composables/useCurrentTemplate.d.ts.map +1 -1
- package/dist/composables/useDoctype.d.ts +1 -2
- package/dist/composables/useDoctype.d.ts.map +1 -1
- package/dist/composables/useEvent.d.ts +1 -2
- package/dist/composables/useEvent.d.ts.map +1 -1
- package/dist/composables/useFont.d.ts +3 -4
- package/dist/composables/useFont.d.ts.map +1 -1
- package/dist/composables/useOutlookFallback.d.ts +1 -2
- package/dist/composables/useOutlookFallback.d.ts.map +1 -1
- package/dist/composables/useOutputPath.d.ts +1 -2
- package/dist/composables/useOutputPath.d.ts.map +1 -1
- package/dist/composables/usePlaintext.d.ts +2 -3
- package/dist/composables/usePlaintext.d.ts.map +1 -1
- package/dist/composables/usePreheader.d.ts +2 -3
- package/dist/composables/usePreheader.d.ts.map +1 -1
- package/dist/composables/useTransformers.d.ts +1 -2
- package/dist/composables/useTransformers.d.ts.map +1 -1
- package/dist/composables/useUrlQuery.d.ts +1 -2
- package/dist/composables/useUrlQuery.d.ts.map +1 -1
- package/dist/config/defaults.d.ts +1 -2
- package/dist/config/defaults.d.ts.map +1 -1
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.d.ts.map +1 -1
- package/dist/events/index.d.ts +4 -5
- package/dist/events/index.d.ts.map +1 -1
- package/dist/plaintext.d.ts +1 -2
- package/dist/plaintext.d.ts.map +1 -1
- package/dist/plugin.d.ts +1 -2
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugins/postcss/flattenGradients.d.ts +3 -3
- package/dist/plugins/postcss/flattenGradients.d.ts.map +1 -1
- package/dist/plugins/postcss/mergeMediaQueries.d.ts +1 -2
- package/dist/plugins/postcss/mergeMediaQueries.d.ts.map +1 -1
- package/dist/plugins/postcss/pruneVars.d.ts +2 -2
- package/dist/plugins/postcss/pruneVars.d.ts.map +1 -1
- package/dist/plugins/postcss/quoteFontFamilies.d.ts +2 -3
- package/dist/plugins/postcss/quoteFontFamilies.d.ts.map +1 -1
- package/dist/plugins/postcss/removeDeclarations.d.ts +4 -4
- package/dist/plugins/postcss/removeDeclarations.d.ts.map +1 -1
- package/dist/plugins/postcss/resolveMaizzleImports.d.ts +1 -2
- package/dist/plugins/postcss/resolveMaizzleImports.d.ts.map +1 -1
- package/dist/plugins/postcss/resolveProps.d.ts +2 -2
- package/dist/plugins/postcss/resolveProps.d.ts.map +1 -1
- package/dist/plugins/postcss/tailwindCleanup.d.ts +1 -2
- package/dist/plugins/postcss/tailwindCleanup.d.ts.map +1 -1
- package/dist/prepare.d.ts +2 -3
- package/dist/prepare.d.ts.map +1 -1
- package/dist/render/active.d.ts +2 -3
- package/dist/render/active.d.ts.map +1 -1
- package/dist/render/buildTemplate.d.ts +5 -6
- package/dist/render/buildTemplate.d.ts.map +1 -1
- package/dist/render/createRenderer.d.ts +4 -5
- package/dist/render/createRenderer.d.ts.map +1 -1
- package/dist/render/index.d.ts +3 -3
- package/dist/render/index.d.ts.map +1 -1
- package/dist/render/injectFonts.d.ts +1 -2
- package/dist/render/injectFonts.d.ts.map +1 -1
- package/dist/render/parallel/buildWorker.d.ts +3 -4
- package/dist/render/parallel/buildWorker.d.ts.map +1 -1
- package/dist/render/plugins/codeBlockExtract.d.ts +1 -2
- package/dist/render/plugins/codeBlockExtract.d.ts.map +1 -1
- package/dist/render/plugins/markdownExtract.d.ts +1 -2
- package/dist/render/plugins/markdownExtract.d.ts.map +1 -1
- package/dist/render/plugins/rawExtract.d.ts +1 -2
- package/dist/render/plugins/rawExtract.d.ts.map +1 -1
- package/dist/render/plugins/rowSourceLocation.d.ts +1 -2
- package/dist/render/plugins/rowSourceLocation.d.ts.map +1 -1
- package/dist/serve.d.ts +3 -4
- package/dist/serve.d.ts.map +1 -1
- package/dist/serve.js +46 -3
- package/dist/serve.js.map +1 -1
- package/dist/server/compatibility.d.ts +2 -3
- package/dist/server/compatibility.d.ts.map +1 -1
- package/dist/server/email.d.ts +2 -3
- package/dist/server/email.d.ts.map +1 -1
- package/dist/server/linter.d.ts +3 -4
- package/dist/server/linter.d.ts.map +1 -1
- package/dist/server/sfc-utils.d.ts +6 -7
- package/dist/server/sfc-utils.d.ts.map +1 -1
- package/dist/server/static.d.ts +10 -0
- package/dist/server/static.d.ts.map +1 -0
- package/dist/server/static.js +71 -0
- package/dist/server/static.js.map +1 -0
- package/dist/server/ui/.vite/deps/@lucide_vue.js +1 -1
- package/dist/server/ui/.vite/deps/@vueuse_core.js +1 -1
- package/dist/server/ui/.vite/deps/@vueuse_shared.js +1 -1
- package/dist/server/ui/.vite/deps/_metadata.json +15 -15
- package/dist/server/ui/.vite/deps/reka-ui.js +1 -2
- package/dist/server/ui/.vite/deps/reka-ui.js.map +1 -1
- package/dist/server/ui/.vite/deps/vue-router.js +1 -1
- package/dist/server/ui/.vite/deps/vue.js +1 -1
- package/dist/server/ui/.vite/deps/{vue.runtime.esm-bundler-S54atuNJ.js → vue.runtime.esm-bundler-Dq07uCLt.js} +174 -53
- package/dist/server/ui/.vite/deps/vue.runtime.esm-bundler-Dq07uCLt.js.map +1 -0
- package/dist/tests/render/_helpers.d.ts +2 -3
- package/dist/tests/render/_helpers.d.ts.map +1 -1
- package/dist/transformers/addAttributes.d.ts +2 -3
- package/dist/transformers/addAttributes.d.ts.map +1 -1
- package/dist/transformers/attributeToStyle.d.ts +2 -3
- package/dist/transformers/attributeToStyle.d.ts.map +1 -1
- package/dist/transformers/base.d.ts +3 -4
- package/dist/transformers/base.d.ts.map +1 -1
- package/dist/transformers/columnWidth.d.ts +1 -2
- package/dist/transformers/columnWidth.d.ts.map +1 -1
- package/dist/transformers/entities.d.ts +3 -4
- package/dist/transformers/entities.d.ts.map +1 -1
- package/dist/transformers/filters/defaults.d.ts +2 -3
- package/dist/transformers/filters/defaults.d.ts.map +1 -1
- package/dist/transformers/filters/index.d.ts +4 -4
- package/dist/transformers/filters/index.d.ts.map +1 -1
- package/dist/transformers/format.d.ts +2 -2
- package/dist/transformers/format.d.ts.map +1 -1
- package/dist/transformers/imgWidth.d.ts +1 -2
- package/dist/transformers/imgWidth.d.ts.map +1 -1
- package/dist/transformers/index.d.ts +1 -2
- package/dist/transformers/index.d.ts.map +1 -1
- package/dist/transformers/inlineCss.d.ts +3 -4
- package/dist/transformers/inlineCss.d.ts.map +1 -1
- package/dist/transformers/inlineLink.d.ts +2 -3
- package/dist/transformers/inlineLink.d.ts.map +1 -1
- package/dist/transformers/minify.d.ts +2 -2
- package/dist/transformers/minify.d.ts.map +1 -1
- package/dist/transformers/minifyCodeInline.d.ts +1 -2
- package/dist/transformers/minifyCodeInline.d.ts.map +1 -1
- package/dist/transformers/msoConditionals.d.ts +1 -2
- package/dist/transformers/msoConditionals.d.ts.map +1 -1
- package/dist/transformers/msoPlaceholders.d.ts +1 -2
- package/dist/transformers/msoPlaceholders.d.ts.map +1 -1
- package/dist/transformers/purgeCss.d.ts +3 -4
- package/dist/transformers/purgeCss.d.ts.map +1 -1
- package/dist/transformers/removeAttributes.d.ts +4 -5
- package/dist/transformers/removeAttributes.d.ts.map +1 -1
- package/dist/transformers/replaceStrings.d.ts +1 -2
- package/dist/transformers/replaceStrings.d.ts.map +1 -1
- package/dist/transformers/safeSelectors.d.ts +2 -3
- package/dist/transformers/safeSelectors.d.ts.map +1 -1
- package/dist/transformers/shorthandCss.d.ts +3 -4
- package/dist/transformers/shorthandCss.d.ts.map +1 -1
- package/dist/transformers/sixHex.d.ts +2 -3
- package/dist/transformers/sixHex.d.ts.map +1 -1
- package/dist/transformers/tailwindComponent.d.ts +1 -2
- package/dist/transformers/tailwindComponent.d.ts.map +1 -1
- package/dist/transformers/tailwindcss.d.ts +2 -3
- package/dist/transformers/tailwindcss.d.ts.map +1 -1
- package/dist/transformers/urlQuery.d.ts +2 -3
- package/dist/transformers/urlQuery.d.ts.map +1 -1
- package/dist/types/config.d.ts +18 -19
- package/dist/types/config.d.ts.map +1 -1
- package/dist/utils/ast/parser.d.ts +1 -2
- package/dist/utils/ast/parser.d.ts.map +1 -1
- package/dist/utils/ast/serializer.d.ts +1 -2
- package/dist/utils/ast/serializer.d.ts.map +1 -1
- package/dist/utils/ast/walker.d.ts +1 -2
- package/dist/utils/ast/walker.d.ts.map +1 -1
- package/dist/utils/cloneConfig.d.ts +1 -2
- package/dist/utils/cloneConfig.d.ts.map +1 -1
- package/dist/utils/compileTailwindCss.d.ts +4 -5
- package/dist/utils/compileTailwindCss.d.ts.map +1 -1
- package/dist/utils/componentSources.d.ts +4 -5
- package/dist/utils/componentSources.d.ts.map +1 -1
- package/dist/utils/cssBox.d.ts +6 -7
- package/dist/utils/cssBox.d.ts.map +1 -1
- package/dist/utils/decodeStyleEntities.d.ts +1 -2
- package/dist/utils/decodeStyleEntities.d.ts.map +1 -1
- package/dist/utils/detect.d.ts +1 -2
- package/dist/utils/detect.d.ts.map +1 -1
- package/dist/utils/output-markers.d.ts +4 -5
- package/dist/utils/output-markers.d.ts.map +1 -1
- package/dist/utils/staticPaths.d.ts +5 -0
- package/dist/utils/staticPaths.d.ts.map +1 -0
- package/dist/utils/staticPaths.js +11 -0
- package/dist/utils/staticPaths.js.map +1 -0
- package/dist/utils/url.d.ts +4 -5
- package/dist/utils/url.d.ts.map +1 -1
- package/dist/utils/watchPaths.d.ts +2 -3
- package/dist/utils/watchPaths.d.ts.map +1 -1
- package/node_modules/tinyexec/dist/main.d.mts +5 -3
- package/node_modules/tinyexec/dist/main.mjs +256 -232
- package/node_modules/tinyexec/package.json +9 -9
- package/package.json +5 -5
- package/dist/server/ui/.vite/deps/vue.runtime.esm-bundler-S54atuNJ.js.map +0 -1
package/dist/types/config.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import juice from "juice";
|
|
|
6
6
|
import { Options } from "unplugin-vue-markdown/types";
|
|
7
7
|
//#region src/types/config.d.ts
|
|
8
8
|
type JuiceOptions = NonNullable<Parameters<typeof juice>[1]>;
|
|
9
|
-
interface UrlQueryOptions {
|
|
9
|
+
export interface UrlQueryOptions {
|
|
10
10
|
/**
|
|
11
11
|
* CSS selectors for elements to process.
|
|
12
12
|
*
|
|
@@ -32,10 +32,10 @@ interface UrlQueryOptions {
|
|
|
32
32
|
*/
|
|
33
33
|
qs?: Record<string, unknown>;
|
|
34
34
|
}
|
|
35
|
-
type UrlQuery = Record<string, unknown> & {
|
|
35
|
+
export type UrlQuery = Record<string, unknown> & {
|
|
36
36
|
_options?: UrlQueryOptions;
|
|
37
37
|
};
|
|
38
|
-
interface UrlConfig {
|
|
38
|
+
export interface UrlConfig {
|
|
39
39
|
/**
|
|
40
40
|
* Append query parameters to URLs in your HTML.
|
|
41
41
|
*
|
|
@@ -71,7 +71,7 @@ interface UrlConfig {
|
|
|
71
71
|
inlineCss?: boolean;
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
interface CssConfig {
|
|
74
|
+
export interface CssConfig {
|
|
75
75
|
/**
|
|
76
76
|
* Base directory for Tailwind CSS `@source` resolution.
|
|
77
77
|
*
|
|
@@ -257,7 +257,7 @@ interface CssConfig {
|
|
|
257
257
|
*/
|
|
258
258
|
exclude?: string[];
|
|
259
259
|
}
|
|
260
|
-
interface AttributesConfig {
|
|
260
|
+
export interface AttributesConfig {
|
|
261
261
|
/**
|
|
262
262
|
* Add attributes to HTML elements.
|
|
263
263
|
*
|
|
@@ -302,14 +302,14 @@ interface AttributesConfig {
|
|
|
302
302
|
value?: string | RegExp;
|
|
303
303
|
}>;
|
|
304
304
|
}
|
|
305
|
-
type EntitiesConfig = boolean | Record<string, string>;
|
|
305
|
+
export type EntitiesConfig = boolean | Record<string, string>;
|
|
306
306
|
/**
|
|
307
307
|
* caniemail.com client family slugs. Maintained manually from
|
|
308
308
|
* https://www.caniemail.com/api/data.json — update this list when caniemail
|
|
309
309
|
* adds new clients.
|
|
310
310
|
*/
|
|
311
|
-
type CaniemailClient = 'gmail' | 'outlook' | 'yahoo' | 'apple-mail' | 'aol' | 'thunderbird' | 'microsoft' | 'samsung-email' | 'sfr' | 'orange' | 'protonmail' | 'hey' | 'mail-ru' | 'fastmail' | 'laposte' | 't-online-de' | 'free-fr' | 'gmx' | 'web-de' | 'ionos-1and1' | 'rainloop' | 'wp-pl';
|
|
312
|
-
interface ChecksConfig {
|
|
311
|
+
export type CaniemailClient = 'gmail' | 'outlook' | 'yahoo' | 'apple-mail' | 'aol' | 'thunderbird' | 'microsoft' | 'samsung-email' | 'sfr' | 'orange' | 'protonmail' | 'hey' | 'mail-ru' | 'fastmail' | 'laposte' | 't-online-de' | 'free-fr' | 'gmx' | 'web-de' | 'ionos-1and1' | 'rainloop' | 'wp-pl';
|
|
312
|
+
export interface ChecksConfig {
|
|
313
313
|
/**
|
|
314
314
|
* Client families to check against. Defaults to the four majors:
|
|
315
315
|
* Gmail, Apple Mail, Outlook, Yahoo. Pass `'all'` to check every client
|
|
@@ -325,7 +325,7 @@ interface ChecksConfig {
|
|
|
325
325
|
*/
|
|
326
326
|
level?: 'error' | 'warning' | 'lint';
|
|
327
327
|
}
|
|
328
|
-
interface PostcssConfig {
|
|
328
|
+
export interface PostcssConfig {
|
|
329
329
|
/**
|
|
330
330
|
* Selector prefixes to strip from compiled CSS.
|
|
331
331
|
*
|
|
@@ -349,7 +349,7 @@ interface PostcssConfig {
|
|
|
349
349
|
*/
|
|
350
350
|
removeAtRules?: string[];
|
|
351
351
|
}
|
|
352
|
-
interface HtmlConfig {
|
|
352
|
+
export interface HtmlConfig {
|
|
353
353
|
/** Configure HTML attribute transformations. */
|
|
354
354
|
attributes?: AttributesConfig;
|
|
355
355
|
/**
|
|
@@ -376,9 +376,9 @@ interface HtmlConfig {
|
|
|
376
376
|
*/
|
|
377
377
|
minify?: boolean | Partial<import('html-crush').Opts>;
|
|
378
378
|
}
|
|
379
|
-
type FilterFunction = (str: string, value: string) => string;
|
|
380
|
-
type FiltersConfig = false | Record<string, FilterFunction>;
|
|
381
|
-
interface MarkdownConfig extends Options {
|
|
379
|
+
export type FilterFunction = (str: string, value: string) => string;
|
|
380
|
+
export type FiltersConfig = false | Record<string, FilterFunction>;
|
|
381
|
+
export interface MarkdownConfig extends Options {
|
|
382
382
|
/**
|
|
383
383
|
* The shiki theme to use for syntax highlighting in Markdown fenced code blocks.
|
|
384
384
|
*
|
|
@@ -386,7 +386,7 @@ interface MarkdownConfig extends Options {
|
|
|
386
386
|
*/
|
|
387
387
|
shikiTheme?: import('shiki').BundledTheme;
|
|
388
388
|
}
|
|
389
|
-
interface VueConfig {
|
|
389
|
+
export interface VueConfig {
|
|
390
390
|
/**
|
|
391
391
|
* Vue plugins to register on the app instance before rendering.
|
|
392
392
|
*
|
|
@@ -434,7 +434,7 @@ interface VueConfig {
|
|
|
434
434
|
* column width math, link inlining) always run; they're driven by markup
|
|
435
435
|
* or framework state, not user opt-in.
|
|
436
436
|
*/
|
|
437
|
-
interface TransformerToggles {
|
|
437
|
+
export interface TransformerToggles {
|
|
438
438
|
safeSelectors?: boolean;
|
|
439
439
|
attributeToStyle?: boolean;
|
|
440
440
|
inlineCss?: boolean;
|
|
@@ -457,7 +457,7 @@ interface TransformerToggles {
|
|
|
457
457
|
* Control where plaintext files are written, what extension they use,
|
|
458
458
|
* and the options forwarded to `string-strip-html`.
|
|
459
459
|
*/
|
|
460
|
-
interface PlaintextConfig {
|
|
460
|
+
export interface PlaintextConfig {
|
|
461
461
|
/**
|
|
462
462
|
* Output directory for plaintext files. When omitted, files are written
|
|
463
463
|
* next to their HTML counterpart in `build.output.path`.
|
|
@@ -486,7 +486,7 @@ interface PlaintextConfig {
|
|
|
486
486
|
* `pathPrefix: false`, intermediate subfolders are dropped from the
|
|
487
487
|
* resolved name (useful for icon sets organized by category).
|
|
488
488
|
*/
|
|
489
|
-
type ComponentSource = string | {
|
|
489
|
+
export type ComponentSource = string | {
|
|
490
490
|
/** Directory to scan, resolved relative to `cwd`. */
|
|
491
491
|
path: string;
|
|
492
492
|
/**
|
|
@@ -504,7 +504,7 @@ type ComponentSource = string | {
|
|
|
504
504
|
*/
|
|
505
505
|
pathPrefix?: boolean;
|
|
506
506
|
};
|
|
507
|
-
interface MaizzleConfig {
|
|
507
|
+
export interface MaizzleConfig {
|
|
508
508
|
/**
|
|
509
509
|
* Root directory for the Maizzle email project.
|
|
510
510
|
*
|
|
@@ -822,5 +822,4 @@ interface MaizzleConfig {
|
|
|
822
822
|
[key: string]: any;
|
|
823
823
|
}
|
|
824
824
|
//#endregion
|
|
825
|
-
export { AttributesConfig, CaniemailClient, ChecksConfig, ComponentSource, CssConfig, EntitiesConfig, FilterFunction, FiltersConfig, HtmlConfig, MaizzleConfig, MarkdownConfig, PlaintextConfig, PostcssConfig, TransformerToggles, UrlConfig, UrlQuery, UrlQueryOptions, VueConfig };
|
|
826
825
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","names":[],"sources":["../../src/types/config.ts"],"mappings":";;;;;;;KAKK,eAAe,YAAY,kBAAkB;
|
|
1
|
+
{"version":3,"file":"config.d.ts","names":[],"sources":["../../src/types/config.ts"],"mappings":";;;;;;;KAKK,eAAe,YAAY,kBAAkB;iBAGjC;;;;;;EAMf;;;;;;EAMA;;;;;;EAMA;;;;;;EAMA,KAAK;;YAGK,WAAW;EACrB,WAAW;;iBAGI;;;;;;;;;;;;EAYf,QAAQ;;;;;;;;;;;EAWR;;IAEE;;IAEA,kBAAkB,eAAe;;IAEjC,aAAa;;IAEb;;IAEA;;;iBAIa;;;;;;EAMf;;;;;;;;;;;EAWA;;;;;;;;EAQA,kBAAkB;;;;;;;;;;;;;;EAclB,mBAAmB;;;;;;;IAOjB;;;;;;IAMA;;;;;;;IAOA;;;;;;;;;;;;IAYA,mBAAmB;;;;;;;IAOnB;;;;;;;IAOA;;;;;;;IAOA;;;;;;;IAOA,aAAa;MAAiB;MAAe;;;;;;IAK7C;;;;;;;;;;;;;;EAcF;;;;;;IAME,4CAA4C,WAAW;;;;;;;;;EASzD;;;;;;EAMA,iBAAiB;;;;;;;;EAQjB;IAAwB;;;;;;;;;EAQxB;;;;;;;;;;;EAWA,qBAAqB,eA3BJ;;;;;;;;;;;;;EAwCjB;;iBAGe;;;;;;;;;;;;;;;;;;EAkBf,cAAc,uBAAuB;;;;;;;;;;;;;;;;;;;;;;EAsBrC,SAAS;IAAiB;IAAc,iBAAiB;;;YAG/C,2BAA2B;;;;;;YAO3B;iBAOK;;;;;;EAMf,UAAU;;;;;;;;EAQV;;iBAGe;;;;;;;;;;;EAWf;;;;;;;;;;;EAWA;;iBAGe;;EAEf,aAAa;;;;;;;;EAQb,iBAAiB;;;;;;EAMjB,mCAAmC;;;;;;;;;EASnC,mBAAmB,6BAA6B;;YAGtC,kBAAkB,aAAa;YAC/B,wBAAwB,eAAe;iBAElC,uBAAuB;;;;;;EAMtC,6BAA6B;;iBAGd;;;;;;;;;EASf,UAAU,kBAAkB;;EAE5B,aAAa,eAAe;;EAE5B,mBAAmB;;;;;;;;;;;;;;;EAenB,0BAA0B,mBAAmB,cAAc;;;;;;;;;;;;;;;;;;;;iBAqB5C;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;;;;;iBASe;;;;;EAKf;;;;;;EAMA;;;;;;EAMA,UAAU,oCAAoC;;;;;;;;;;;;YAapC;;EAIR;;;;;EAKA;;;;;;;;;EASA;;iBAGa;;;;;;;;;;;;;;;EAef;;EAEA,WAAW;;;;;;;;EAQX;;EAEA;;;;;;IAME;;;;;;;;;;;IAWA;;;;;;;;;;;;;;;;;;;EAmBF;IAAuB;IAAkB;;;EAEzC;;;;;;IAME;;;;;;IAMA;;;EAGF;;;;;;;;;;;;;;;;;;;;IAoBE,SAAS,kBAAkB;;;EAG7B;;;;;;IAME;;;;;;;;;;;;;;;IAeA;;;;;;;;;;;IAWA;;;;;;;;;;;;;;;;;;;;IAoBA;;MAEE;;MAEA;;MAEA;;MAEA,YAAY;;;;;;;;;;;;;;;IAed,iBAAiB;;;EAGnB,MAAM;;;;;;;;;;;;;;;EAeN,sBAAsB;;EAEtB,UAAU;;;;;;;;;;;;EAYV,4BAA4B;;;;;;;;;EAS5B,iBAAiB;;;;;;;;;;;;EAYjB,UAAU;;EAEV,MAAM;;EAEN,OAAO;;;;;;;;;;;;;;;;;;;;;;EAsBP,OAAO;;;;;;;;;;;;;;;;EAgBP,MAAM;;;;;;;;;;;;EAYN,QAAQ;;EAKR,gBAAgB;IAAU,QAAQ;eAA2B;;EAE7D,gBAAgB;IAAU,QAAQ;IAAe,UAAU;wBAAmC;;EAE9F,eAAe;IAAU,QAAQ;IAAe,UAAU;IAAc;wBAAmC;;EAE3G,kBAAkB;IAAU,QAAQ;IAAe,UAAU;IAAc;wBAAmC;;EAE9G,cAAc;IAAU;IAAiB,QAAQ;eAA2B;GAG3E"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ChildNode, DomHandlerOptions } from "domhandler";
|
|
2
2
|
//#region src/utils/ast/parser.d.ts
|
|
3
|
-
declare function parse(html: string, options?: DomHandlerOptions): ChildNode[];
|
|
3
|
+
export declare function parse(html: string, options?: DomHandlerOptions): ChildNode[];
|
|
4
4
|
//#endregion
|
|
5
|
-
export { parse };
|
|
6
5
|
//# sourceMappingURL=parser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","names":[],"sources":["../../../src/utils/ast/parser.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"parser.d.ts","names":[],"sources":["../../../src/utils/ast/parser.ts"],"mappings":";;wBAIgB,MAAM,cAAc,UAAS,oBAAyB"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ChildNode } from "domhandler";
|
|
2
2
|
import { DomSerializerOptions } from "dom-serializer";
|
|
3
3
|
//#region src/utils/ast/serializer.d.ts
|
|
4
|
-
declare function serialize(dom: ChildNode[], options?: DomSerializerOptions): string;
|
|
4
|
+
export declare function serialize(dom: ChildNode[], options?: DomSerializerOptions): string;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { serialize };
|
|
7
6
|
//# sourceMappingURL=serializer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serializer.d.ts","names":[],"sources":["../../../src/utils/ast/serializer.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"serializer.d.ts","names":[],"sources":["../../../src/utils/ast/serializer.ts"],"mappings":";;;wBA0CgB,UAAU,KAAK,aAAa,UAAU"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ChildNode } from "domhandler";
|
|
2
2
|
//#region src/utils/ast/walker.d.ts
|
|
3
|
-
declare function walk(ast: ChildNode[], callback: (node: ChildNode) => void): void;
|
|
3
|
+
export declare function walk(ast: ChildNode[], callback: (node: ChildNode) => void): void;
|
|
4
4
|
//#endregion
|
|
5
|
-
export { walk };
|
|
6
5
|
//# sourceMappingURL=walker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"walker.d.ts","names":[],"sources":["../../../src/utils/ast/walker.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"walker.d.ts","names":[],"sources":["../../../src/utils/ast/walker.ts"],"mappings":";;wBAEgB,KAAK,KAAK,aAAa,WAAW,MAAM"}
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
* what `beforeRender` mutations (`config.url.base`, `config.css.inline`, …)
|
|
8
8
|
* touch. Sharing arrays by reference matches the parallel worker's merge.
|
|
9
9
|
*/
|
|
10
|
-
declare function cloneConfig<T>(value: T): T;
|
|
10
|
+
export declare function cloneConfig<T>(value: T): T;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { cloneConfig };
|
|
13
12
|
//# sourceMappingURL=cloneConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloneConfig.d.ts","names":[],"sources":["../../src/utils/cloneConfig.ts"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"cloneConfig.d.ts","names":[],"sources":["../../src/utils/cloneConfig.ts"],"mappings":";;;;;;;;;wBAQgB,YAAY,GAAG,OAAO,IAAI"}
|
|
@@ -2,15 +2,14 @@ import { MaizzleConfig } from "../types/config.js";
|
|
|
2
2
|
import { GradientCombo } from "../plugins/postcss/flattenGradients.js";
|
|
3
3
|
import postcss from "postcss";
|
|
4
4
|
//#region src/utils/compileTailwindCss.d.ts
|
|
5
|
-
declare function createTailwindProcessor(config: MaizzleConfig, gradientCombos?: GradientCombo[]): postcss.Processor;
|
|
6
|
-
declare function lowerCssSyntax(css: string): string;
|
|
7
|
-
declare function optimizeTailwindCss(css: string, config: MaizzleConfig): Promise<string>;
|
|
5
|
+
export declare function createTailwindProcessor(config: MaizzleConfig, gradientCombos?: GradientCombo[]): postcss.Processor;
|
|
6
|
+
export declare function lowerCssSyntax(css: string): string;
|
|
7
|
+
export declare function optimizeTailwindCss(css: string, config: MaizzleConfig): Promise<string>;
|
|
8
8
|
/**
|
|
9
9
|
* Compile a Tailwind CSS source string into final email-safe CSS:
|
|
10
10
|
* runs @tailwindcss/postcss, lowers modern syntax via lightningcss,
|
|
11
11
|
* then applies cleanup + media-query merging.
|
|
12
12
|
*/
|
|
13
|
-
declare function compileTailwindCss(cssInput: string, config: MaizzleConfig, from: string, gradientCombos?: GradientCombo[]): Promise<string>;
|
|
13
|
+
export declare function compileTailwindCss(cssInput: string, config: MaizzleConfig, from: string, gradientCombos?: GradientCombo[]): Promise<string>;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { compileTailwindCss, createTailwindProcessor, lowerCssSyntax, optimizeTailwindCss };
|
|
16
15
|
//# sourceMappingURL=compileTailwindCss.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compileTailwindCss.d.ts","names":[],"sources":["../../src/utils/compileTailwindCss.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"compileTailwindCss.d.ts","names":[],"sources":["../../src/utils/compileTailwindCss.ts"],"mappings":";;;;wBAcgB,wBAAwB,QAAQ,eAAe,iBAAgB,kBAAoB,QAAA;wBAkBnF,eAAe;wBAWT,oBAAoB,aAAa,QAAQ,gBAAgB;;;;;;wBAgBzD,mBACpB,kBACA,QAAQ,eACR,cACA,iBAAgB,kBACf"}
|
|
@@ -5,7 +5,7 @@ import { ComponentSource } from "../types/config.js";
|
|
|
5
5
|
* resolved and `path` is made absolute. Always carries the same shape
|
|
6
6
|
* regardless of which user-facing form produced it.
|
|
7
7
|
*/
|
|
8
|
-
interface NormalizedComponentSource {
|
|
8
|
+
export interface NormalizedComponentSource {
|
|
9
9
|
/** Absolute directory path. */
|
|
10
10
|
path: string;
|
|
11
11
|
/**
|
|
@@ -23,8 +23,8 @@ interface NormalizedComponentSource {
|
|
|
23
23
|
* Normalize a user-supplied `components.source` value into an array
|
|
24
24
|
* of absolute, fully-defaulted entries.
|
|
25
25
|
*/
|
|
26
|
-
declare function normalizeComponentSources(sources: ComponentSource | ComponentSource[] | undefined, cwd: string): NormalizedComponentSource[];
|
|
27
|
-
interface ComponentNameOptions {
|
|
26
|
+
export declare function normalizeComponentSources(sources: ComponentSource | ComponentSource[] | undefined, cwd: string): NormalizedComponentSource[];
|
|
27
|
+
export interface ComponentNameOptions {
|
|
28
28
|
/** Absolute path to the component file. */
|
|
29
29
|
filePath: string;
|
|
30
30
|
/** Absolute path to the dir root the component was discovered under. */
|
|
@@ -43,7 +43,6 @@ interface ComponentNameOptions {
|
|
|
43
43
|
* Used both at render time (to register a custom resolver) and at lint
|
|
44
44
|
* time (so the linter can follow component graph correctly).
|
|
45
45
|
*/
|
|
46
|
-
declare function componentNameFromPath(opts: ComponentNameOptions): string;
|
|
46
|
+
export declare function componentNameFromPath(opts: ComponentNameOptions): string;
|
|
47
47
|
//#endregion
|
|
48
|
-
export { ComponentNameOptions, NormalizedComponentSource, componentNameFromPath, normalizeComponentSources };
|
|
49
48
|
//# sourceMappingURL=componentSources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentSources.d.ts","names":[],"sources":["../../src/utils/componentSources.ts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"componentSources.d.ts","names":[],"sources":["../../src/utils/componentSources.ts"],"mappings":";;;;;;;iBAQiB;;EAEf;;;;;;;;EAQA;;EAEA;;;;;;wBAOc,0BACd,SAAS,kBAAkB,+BAC3B,cACC;iBAqBc;;EAEf;;EAEA;;EAEA;;EAEA;;;;;;;;;;;wBAYc,sBAAsB,MAAM"}
|
package/dist/utils/cssBox.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Root } from "postcss";
|
|
2
2
|
//#region src/utils/cssBox.d.ts
|
|
3
|
-
declare const NO_BORDER_STYLES: Set<string>;
|
|
3
|
+
export declare const NO_BORDER_STYLES: Set<string>;
|
|
4
4
|
/**
|
|
5
5
|
* Parse a length token into px. Handles `Npx`, `Nrem`, `Nem`, `Npt`, and
|
|
6
6
|
* unitless N (treated as px). Returns null for percentages, calc(),
|
|
7
7
|
* keywords, or anything that doesn't reduce to a concrete length.
|
|
8
8
|
*/
|
|
9
|
-
declare function lengthToPx(value: string): number | null;
|
|
9
|
+
export declare function lengthToPx(value: string): number | null;
|
|
10
10
|
/**
|
|
11
11
|
* Expand a 1-4 token CSS shorthand (T R B L) into a left/right pair:
|
|
12
12
|
* 1: all sides
|
|
@@ -14,7 +14,7 @@ declare function lengthToPx(value: string): number | null;
|
|
|
14
14
|
* 3: T RL B
|
|
15
15
|
* 4: T R B L
|
|
16
16
|
*/
|
|
17
|
-
declare function shorthandSides(value: string): {
|
|
17
|
+
export declare function shorthandSides(value: string): {
|
|
18
18
|
left?: string;
|
|
19
19
|
right?: string;
|
|
20
20
|
};
|
|
@@ -22,20 +22,19 @@ declare function shorthandSides(value: string): {
|
|
|
22
22
|
* Read horizontal padding (left + right) px from a parsed style root.
|
|
23
23
|
* Percentages are skipped since they'd need a known container width.
|
|
24
24
|
*/
|
|
25
|
-
declare function horizontalPaddingPx(root: Root): number;
|
|
25
|
+
export declare function horizontalPaddingPx(root: Root): number;
|
|
26
26
|
/**
|
|
27
27
|
* Extract a px length from a CSS border shorthand (e.g. `1px solid red` → 1).
|
|
28
28
|
* Returns null when the value indicates no border (`none` or `hidden`).
|
|
29
29
|
* Defaults to 3px (CSS `medium`) when a visible style is set but no
|
|
30
30
|
* explicit width token is present in the shorthand value.
|
|
31
31
|
*/
|
|
32
|
-
declare function shorthandBorderWidthPx(value: string): number | null;
|
|
32
|
+
export declare function shorthandBorderWidthPx(value: string): number | null;
|
|
33
33
|
/**
|
|
34
34
|
* Read horizontal border widths (left + right) px from a parsed style root.
|
|
35
35
|
* Per-side `border-style: none|hidden` overrides count as zero
|
|
36
36
|
* contribution. Returns total px or 0 when nothing resolves.
|
|
37
37
|
*/
|
|
38
|
-
declare function horizontalBorderPx(root: Root): number;
|
|
38
|
+
export declare function horizontalBorderPx(root: Root): number;
|
|
39
39
|
//#endregion
|
|
40
|
-
export { NO_BORDER_STYLES, horizontalBorderPx, horizontalPaddingPx, lengthToPx, shorthandBorderWidthPx, shorthandSides };
|
|
41
40
|
//# sourceMappingURL=cssBox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cssBox.d.ts","names":[],"sources":["../../src/utils/cssBox.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"cssBox.d.ts","names":[],"sources":["../../src/utils/cssBox.ts"],"mappings":";;qBAEa,kBAAgB;;;;;;wBAOb,WAAW;;;;;;;;wBAeX,eAAe;EAAkB;EAAe;;;;;;wBAehD,oBAAoB,MAAM;;;;;;;wBA8B1B,uBAAuB;;;;;;wBAevB,mBAAmB,MAAM"}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* `&` is decoded last so previously-decoded entities are not
|
|
10
10
|
* re-processed.
|
|
11
11
|
*/
|
|
12
|
-
declare function decodeStyleEntities(s: string): string;
|
|
12
|
+
export declare function decodeStyleEntities(s: string): string;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { decodeStyleEntities };
|
|
15
14
|
//# sourceMappingURL=decodeStyleEntities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decodeStyleEntities.d.ts","names":[],"sources":["../../src/utils/decodeStyleEntities.ts"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"decodeStyleEntities.d.ts","names":[],"sources":["../../src/utils/decodeStyleEntities.ts"],"mappings":";;;;;;;;;;;wBAUgB,oBAAoB"}
|
package/dist/utils/detect.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect.d.ts","names":[],"sources":["../../src/utils/detect.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"detect.d.ts","names":[],"sources":["../../src/utils/detect.ts"],"mappings":";wBAGgB,UAAU"}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* can route their slot content to one output and remove it
|
|
6
6
|
* entirely from the other.
|
|
7
7
|
*/
|
|
8
|
-
declare const PLAINTEXT_ONLY_ATTR = "data-maizzle-plaintext-only";
|
|
9
|
-
declare const HTML_ONLY_ATTR = "data-maizzle-html-only";
|
|
8
|
+
export declare const PLAINTEXT_ONLY_ATTR = "data-maizzle-plaintext-only";
|
|
9
|
+
export declare const HTML_ONLY_ATTR = "data-maizzle-html-only";
|
|
10
10
|
/**
|
|
11
11
|
* Strip output markers for the HTML output: drop plaintext-only
|
|
12
12
|
* subtrees entirely, unwrap html-only wrappers (keep children).
|
|
@@ -15,7 +15,7 @@ declare const HTML_ONLY_ATTR = "data-maizzle-html-only";
|
|
|
15
15
|
* the post-transformer formatting (prettify, XHTML self-closing
|
|
16
16
|
* slashes, etc.) survives intact for the typical case.
|
|
17
17
|
*/
|
|
18
|
-
declare function stripForHtml(html: string): string;
|
|
18
|
+
export declare function stripForHtml(html: string): string;
|
|
19
19
|
/**
|
|
20
20
|
* Strip output markers for the plaintext source: drop html-only
|
|
21
21
|
* subtrees entirely, unwrap plaintext-only wrappers (keep children).
|
|
@@ -23,7 +23,6 @@ declare function stripForHtml(html: string): string;
|
|
|
23
23
|
* The result is fed to `createPlaintext`, which then strips all
|
|
24
24
|
* remaining tags via `string-strip-html`.
|
|
25
25
|
*/
|
|
26
|
-
declare function stripForPlaintext(html: string): string;
|
|
26
|
+
export declare function stripForPlaintext(html: string): string;
|
|
27
27
|
//#endregion
|
|
28
|
-
export { HTML_ONLY_ATTR, PLAINTEXT_ONLY_ATTR, stripForHtml, stripForPlaintext };
|
|
29
28
|
//# sourceMappingURL=output-markers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-markers.d.ts","names":[],"sources":["../../src/utils/output-markers.ts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"output-markers.d.ts","names":[],"sources":["../../src/utils/output-markers.ts"],"mappings":";;;;;;;qBASa;qBACA;;;;;;;;;wBA+CG,aAAa;;;;;;;;wBAgBb,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"staticPaths.d.ts","names":[],"sources":["../../src/utils/staticPaths.ts"],"mappings":";;wBAGgB,WAAW"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { dirname, resolve } from "node:path";
|
|
2
|
+
//#region src/utils/staticPaths.ts
|
|
3
|
+
/** Absolute static (non-glob) prefix of a source pattern, used as the strip base. */
|
|
4
|
+
function staticBase(pattern) {
|
|
5
|
+
const staticPart = pattern.split(/[*{?[]/)[0];
|
|
6
|
+
return resolve(/[/\\]$/.test(staticPart) ? staticPart : dirname(staticPart));
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { staticBase };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=staticPaths.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"staticPaths.js","names":[],"sources":["../../src/utils/staticPaths.ts"],"sourcesContent":["import { dirname, resolve } from 'node:path'\n\n/** Absolute static (non-glob) prefix of a source pattern, used as the strip base. */\nexport function staticBase(pattern: string): string {\n const staticPart = pattern.split(/[*{?[]/)[0]\n // Treat both separators as trailing: resolved patterns use '\\' on Windows.\n return resolve(/[/\\\\]$/.test(staticPart) ? staticPart : dirname(staticPart))\n}\n"],"mappings":";;;AAGA,SAAgB,WAAW,SAAyB;CAClD,MAAM,aAAa,QAAQ,MAAM,QAAQ,CAAC,CAAC;CAE3C,OAAO,QAAQ,SAAS,KAAK,UAAU,IAAI,aAAa,QAAQ,UAAU,CAAC;AAC7E"}
|
package/dist/utils/url.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/utils/url.d.ts
|
|
2
|
-
declare const defaultTags: Record<string, string[]>;
|
|
3
|
-
declare const urlAttributes: string[];
|
|
4
|
-
declare function isAbsoluteUrl(url: string): boolean;
|
|
5
|
-
declare function processSrcset(srcset: string, baseUrl: string): string;
|
|
2
|
+
export declare const defaultTags: Record<string, string[]>;
|
|
3
|
+
export declare const urlAttributes: string[];
|
|
4
|
+
export declare function isAbsoluteUrl(url: string): boolean;
|
|
5
|
+
export declare function processSrcset(srcset: string, baseUrl: string): string;
|
|
6
6
|
//#endregion
|
|
7
|
-
export { defaultTags, isAbsoluteUrl, processSrcset, urlAttributes };
|
|
8
7
|
//# sourceMappingURL=url.d.ts.map
|
package/dist/utils/url.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url.d.ts","names":[],"sources":["../../src/utils/url.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"url.d.ts","names":[],"sources":["../../src/utils/url.ts"],"mappings":";qBAEa,aAAa;qBAcb;wBAEG,cAAc;wBAMd,cAAc,gBAAgB"}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* as-is — it treats a lone negated pattern as "everything except", which
|
|
11
11
|
* under `some()` would make the predicate true for almost every file.
|
|
12
12
|
*/
|
|
13
|
-
declare function createWatchedFileMatcher(patterns: string[], cwd: string): (file: string) => boolean;
|
|
13
|
+
export declare function createWatchedFileMatcher(patterns: string[], cwd: string): (file: string) => boolean;
|
|
14
14
|
/**
|
|
15
15
|
* Derive the directories the dev server watcher must cover explicitly now
|
|
16
16
|
* that its Vite root is the dev UI directory, not the project cwd: the
|
|
@@ -26,7 +26,7 @@ declare function createWatchedFileMatcher(patterns: string[], cwd: string): (fil
|
|
|
26
26
|
* it. Content patterns cannot hit that fallback — they arrive from
|
|
27
27
|
* `resolveConfig` already resolved against the (absolute) root.
|
|
28
28
|
*/
|
|
29
|
-
declare function deriveWatchRoots(options: {
|
|
29
|
+
export declare function deriveWatchRoots(options: {
|
|
30
30
|
content: string[];
|
|
31
31
|
componentDirs: string[];
|
|
32
32
|
root?: string;
|
|
@@ -34,5 +34,4 @@ declare function deriveWatchRoots(options: {
|
|
|
34
34
|
cwd: string;
|
|
35
35
|
}): string[];
|
|
36
36
|
//#endregion
|
|
37
|
-
export { createWatchedFileMatcher, deriveWatchRoots };
|
|
38
37
|
//# sourceMappingURL=watchPaths.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watchPaths.d.ts","names":[],"sources":["../../src/utils/watchPaths.ts"],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"watchPaths.d.ts","names":[],"sources":["../../src/utils/watchPaths.ts"],"mappings":";;;;;;;;;;;;wBAagB,yBAAyB,oBAAoB,eAInD;;;;;;;;;;;;;;;;wBAqBM,iBAAiB;EAC/B;EACA;EACA;EACA;EACA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ChildProcess, SpawnOptions, SpawnSyncOptions } from "node:child_process";
|
|
2
2
|
import { Readable } from "node:stream";
|
|
3
|
-
|
|
4
3
|
//#region src/normalize.d.ts
|
|
5
4
|
interface NormalizedSpawnCommand {
|
|
6
5
|
command: string;
|
|
@@ -19,8 +18,9 @@ declare function normalizeSpawnCommand(command: string, args?: readonly string[]
|
|
|
19
18
|
declare class NonZeroExitError extends Error {
|
|
20
19
|
readonly result: CommonOutputApi;
|
|
21
20
|
readonly output?: Output | undefined;
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
readonly exitCode: number;
|
|
22
|
+
get signalCode(): string | null;
|
|
23
|
+
constructor(result: CommonOutputApi, output?: Output | undefined, command?: string, args?: readonly string[]);
|
|
24
24
|
}
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/main.d.ts
|
|
@@ -35,6 +35,7 @@ interface CommonOutputApi {
|
|
|
35
35
|
get pid(): number | undefined;
|
|
36
36
|
get killed(): boolean;
|
|
37
37
|
get exitCode(): number | undefined;
|
|
38
|
+
get signalCode(): string | null;
|
|
38
39
|
}
|
|
39
40
|
interface OutputApi extends AsyncIterable<string>, CommonOutputApi {
|
|
40
41
|
process: ChildProcess | undefined;
|
|
@@ -74,6 +75,7 @@ declare class ExecProcess implements Result {
|
|
|
74
75
|
get process(): ChildProcess | undefined;
|
|
75
76
|
get pid(): number | undefined;
|
|
76
77
|
get exitCode(): number | undefined;
|
|
78
|
+
get signalCode(): string | null;
|
|
77
79
|
constructor(command: string, args?: readonly string[], options?: Partial<Options>);
|
|
78
80
|
kill(signal?: KillSignal): boolean;
|
|
79
81
|
get aborted(): boolean;
|