@powerlines/plugin-alloy 0.15.0 → 0.15.2
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/builtin-file-BDc5-4_L.mjs +43 -0
- package/dist/{builtin-file-C6O1_A2o.d.cts → builtin-file-CUUY0eVB.d.cts} +3 -3
- package/dist/{builtin-file-DLVCgiye.cjs → builtin-file-Cey2cJy9.cjs} +20 -14
- package/dist/{builtin-file-BAJFTpM1.d.mts → builtin-file-EfQHLZ8F.d.mts} +4 -4
- package/dist/{capnp-CbBwObRD.d.mts → capnp-DkidugOV.d.mts} +1 -1
- package/dist/{components-IB9A7YaB.d.mts → components-ixU_ICbr.d.mts} +5 -5
- package/dist/{context-D-UHaRnr.d.mts → context-BApo1nhP.d.mts} +1 -1
- package/dist/{context-0Spyyas6.d.mts → context-DXy7MPku.d.mts} +0 -2
- package/dist/core/components/index.cjs +3 -3
- package/dist/core/components/index.d.cts +3 -3
- package/dist/core/components/index.d.mts +5 -5
- package/dist/core/components/index.mjs +3 -3
- package/dist/core/components/output.cjs +1 -1
- package/dist/core/components/output.d.cts +1 -1
- package/dist/core/components/output.d.mts +2 -2
- package/dist/core/components/output.mjs +1 -1
- package/dist/core/components/single-line-comment.cjs +1 -1
- package/dist/core/components/single-line-comment.d.cts +1 -1
- package/dist/core/components/single-line-comment.d.mts +3 -3
- package/dist/core/components/single-line-comment.mjs +1 -1
- package/dist/core/components/source-file.cjs +1 -1
- package/dist/core/components/source-file.d.cts +1 -1
- package/dist/core/components/source-file.d.mts +3 -3
- package/dist/core/components/source-file.mjs +1 -1
- package/dist/core/contexts/context.d.mts +2 -2
- package/dist/core/contexts/index.d.mts +4 -4
- package/dist/core/contexts/reflection.d.mts +3 -3
- package/dist/core/index.cjs +3 -3
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.mts +7 -7
- package/dist/core/index.mjs +3 -3
- package/dist/{dynamic-import-statement-C13MnQgp.d.mts → dynamic-import-statement-BhY2a13r.d.cts} +2 -2
- package/dist/{dynamic-import-statement-DoTHSt57.mjs → dynamic-import-statement-CWK5I_yt.mjs} +2 -6
- package/dist/{dynamic-import-statement-Dk3bSR8x.d.cts → dynamic-import-statement-D6f1SnIf.d.mts} +2 -2
- package/dist/{dynamic-import-statement-JVLyMPXr.cjs → dynamic-import-statement-DVGp5Cvq.cjs} +2 -6
- package/dist/{entry-file-BgfBy5f5.d.mts → entry-file-B46yUHra.d.mts} +4 -4
- package/dist/{entry-file-ohVtSEuT.d.cts → entry-file-DSW6oClr.d.cts} +3 -3
- package/dist/{entry-file-BA75rAwb.cjs → entry-file-DijEelFv.cjs} +10 -7
- package/dist/{entry-file-Bw1mgMP3.mjs → entry-file-DtjJPVZY.mjs} +10 -7
- package/dist/helpers/capnp.d.mts +2 -2
- package/dist/helpers/index.d.mts +2 -2
- package/dist/index.cjs +61 -230
- package/dist/index.d.cts +12 -12
- package/dist/index.d.mts +19 -19
- package/dist/index.mjs +60 -224
- package/dist/markdown/components/index.cjs +4 -4
- package/dist/markdown/components/index.d.cts +3 -3
- package/dist/markdown/components/index.d.mts +5 -5
- package/dist/markdown/components/index.mjs +4 -4
- package/dist/markdown/components/markdown-file.cjs +3 -3
- package/dist/markdown/components/markdown-file.d.cts +2 -2
- package/dist/markdown/components/markdown-file.d.mts +4 -4
- package/dist/markdown/components/markdown-file.mjs +3 -3
- package/dist/markdown/components/markdown-table.cjs +1 -1
- package/dist/markdown/components/markdown-table.d.cts +1 -1
- package/dist/markdown/components/markdown-table.d.mts +3 -3
- package/dist/markdown/components/markdown-table.mjs +1 -1
- package/dist/markdown/index.cjs +4 -4
- package/dist/markdown/index.d.cts +3 -3
- package/dist/markdown/index.d.mts +5 -5
- package/dist/markdown/index.mjs +4 -4
- package/dist/markdown-file-BVSRcpXO.cjs +128 -0
- package/dist/{markdown-file-KpLxNKr5.d.cts → markdown-file-C72aDdPi.d.cts} +4 -4
- package/dist/markdown-file-Clh5iU1_.mjs +116 -0
- package/dist/{markdown-file-DJvf2bqR.d.mts → markdown-file-DIkSXG43.d.mts} +5 -5
- package/dist/{markdown-table-C2op3MrF.d.mts → markdown-table-3trTm6Ef.d.mts} +5 -5
- package/dist/{markdown-table-DFaNSBRn.cjs → markdown-table-B40X-Kp1.cjs} +49 -28
- package/dist/{markdown-table-BUxH6aRh.mjs → markdown-table-D-YnljE7.mjs} +49 -28
- package/dist/{markdown-table-Es5LOw2a.d.cts → markdown-table-ZiuZZY5T.d.cts} +4 -4
- package/dist/{output-Cos2Dz1j.d.mts → output-BKZklKl1.d.mts} +1 -1
- package/dist/{output-CnofBsl0.cjs → output-BlHZS50Y.cjs} +19 -12
- package/dist/{output-H0VYYc8s.d.cts → output-BmJnrELo.d.cts} +2 -2
- package/dist/{output-DEdXZ94G.mjs → output-CNnPjQlW.mjs} +19 -12
- package/dist/{plugin-DmLCIqx0.d.mts → plugin-LknisCLa.d.mts} +3 -3
- package/dist/{reflection-BiWgd3An.d.mts → reflection-DLJST1Z7.d.mts} +1 -1
- package/dist/{single-line-comment-C5CtHQhi.mjs → single-line-comment-Biwa95Py.mjs} +6 -4
- package/dist/{single-line-comment-BkcbxQk-.d.cts → single-line-comment-CYYKKXc2.d.cts} +2 -2
- package/dist/{single-line-comment-DFZNU5hP.d.mts → single-line-comment-DGby6ABI.d.mts} +3 -3
- package/dist/{single-line-comment-BMPq6OR0.cjs → single-line-comment-DvU69OGj.cjs} +6 -4
- package/dist/{source-file-DddsxT-0.d.mts → source-file-B2MkzzGR.d.mts} +4 -4
- package/dist/{source-file-F6Y5b57g.d.cts → source-file-BrxGhMOh.d.cts} +2 -2
- package/dist/{source-file-DTd1KgD5.cjs → source-file-DK_nFwAK.cjs} +10 -6
- package/dist/{source-file-CCYwl5pI.mjs → source-file-Dna2E0ro.mjs} +10 -6
- package/dist/tsdoc-B0TNs3dK.cjs +576 -0
- package/dist/{tsdoc-DzCqaUAX.d.mts → tsdoc-QH5nHvck.d.mts} +1 -1
- package/dist/tsdoc-XXdq_9iS.mjs +456 -0
- package/dist/{tsdoc-reflection-DllAx-qb.d.cts → tsdoc-reflection-BOvlOXzR.d.cts} +4 -4
- package/dist/{tsdoc-reflection-iM_fIiQz.d.mts → tsdoc-reflection-Bhk9KvVe.d.mts} +5 -5
- package/dist/tsdoc-reflection-BizVi_gn.cjs +188 -0
- package/dist/tsdoc-reflection-IWtPMJjw.mjs +170 -0
- package/dist/types/components.d.mts +2 -2
- package/dist/types/index.d.mts +3 -3
- package/dist/types/plugin.d.mts +2 -2
- package/dist/typescript/components/builtin-file.cjs +5 -5
- package/dist/typescript/components/builtin-file.d.cts +3 -3
- package/dist/typescript/components/builtin-file.d.mts +6 -6
- package/dist/typescript/components/builtin-file.mjs +5 -5
- package/dist/typescript/components/dynamic-import-statement.cjs +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
- package/dist/typescript/components/dynamic-import-statement.d.mts +1 -1
- package/dist/typescript/components/dynamic-import-statement.mjs +1 -1
- package/dist/typescript/components/entry-file.cjs +4 -4
- package/dist/typescript/components/entry-file.d.cts +3 -3
- package/dist/typescript/components/entry-file.d.mts +5 -5
- package/dist/typescript/components/entry-file.mjs +4 -4
- package/dist/typescript/components/index.cjs +10 -10
- package/dist/typescript/components/index.d.cts +8 -8
- package/dist/typescript/components/index.d.mts +11 -11
- package/dist/typescript/components/index.mjs +10 -10
- package/dist/typescript/components/tsdoc-reflection.cjs +2 -2
- package/dist/typescript/components/tsdoc-reflection.d.cts +1 -1
- package/dist/typescript/components/tsdoc-reflection.d.mts +4 -4
- package/dist/typescript/components/tsdoc-reflection.mjs +2 -2
- package/dist/typescript/components/tsdoc.cjs +1 -1
- package/dist/typescript/components/tsdoc.d.mts +3 -3
- package/dist/typescript/components/tsdoc.mjs +1 -1
- package/dist/typescript/components/typescript-file.cjs +3 -3
- package/dist/typescript/components/typescript-file.d.cts +2 -2
- package/dist/typescript/components/typescript-file.d.mts +4 -4
- package/dist/typescript/components/typescript-file.mjs +3 -3
- package/dist/typescript/components/typescript-interface.cjs +3 -3
- package/dist/typescript/components/typescript-interface.d.cts +1 -1
- package/dist/typescript/components/typescript-interface.d.mts +3 -3
- package/dist/typescript/components/typescript-interface.mjs +3 -3
- package/dist/typescript/components/typescript-object.cjs +3 -3
- package/dist/typescript/components/typescript-object.d.cts +1 -1
- package/dist/typescript/components/typescript-object.d.mts +3 -3
- package/dist/typescript/components/typescript-object.mjs +3 -3
- package/dist/typescript/index.cjs +10 -10
- package/dist/typescript/index.d.cts +8 -8
- package/dist/typescript/index.d.mts +11 -11
- package/dist/typescript/index.mjs +10 -10
- package/dist/{typescript-file-ocXl9a61.d.cts → typescript-file-BK8Ohw9s.d.cts} +1 -1
- package/dist/{typescript-file-D4rnAsBm.d.mts → typescript-file-CFNjXsdz.d.mts} +2 -2
- package/dist/typescript-file-CLL-ELi0.mjs +190 -0
- package/dist/typescript-file-HsAUWnQY.cjs +208 -0
- package/dist/{typescript-interface-DzvRyYXT.d.mts → typescript-interface-CVB4juPk.d.cts} +2 -2
- package/dist/{typescript-interface-Codd49Sl.cjs → typescript-interface-DwHJ9in_.cjs} +38 -23
- package/dist/{typescript-interface-AydoCmGY.mjs → typescript-interface-FVDsEsu0.mjs} +38 -23
- package/dist/{typescript-interface-4JyWA4LS.d.cts → typescript-interface-XIwwFVdf.d.mts} +5 -5
- package/dist/{typescript-object-IfL-BYqv.d.cts → typescript-object-BPZlvCrZ.d.cts} +3 -3
- package/dist/{typescript-object-DDunmVmx.d.mts → typescript-object-BTawaBJa.d.mts} +4 -4
- package/dist/{typescript-object-DOrJkpcM.cjs → typescript-object-D8MHeFId.cjs} +75 -45
- package/dist/{typescript-object-C-BmpHfk.mjs → typescript-object-Ju07nQg9.mjs} +75 -45
- package/package.json +11 -11
- package/dist/builtin-file-CkwxD4el.mjs +0 -37
- package/dist/markdown-file-BFbbzD59.mjs +0 -90
- package/dist/markdown-file-CzGNj_Ex.cjs +0 -102
- package/dist/tsdoc-BFPYF-Fh.cjs +0 -487
- package/dist/tsdoc-BmyOQBxT.mjs +0 -367
- package/dist/tsdoc-reflection-3hSdGY1e.mjs +0 -97
- package/dist/tsdoc-reflection-BQN8iUG1.cjs +0 -115
- package/dist/typescript-file-6Y81yLyB.cjs +0 -157
- package/dist/typescript-file-y6oF016h.mjs +0 -139
package/dist/index.mjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import "./utilities-CnaPrauh.mjs";
|
|
2
2
|
import { n as usePowerlines, r as usePowerlinesContext, t as PowerlinesContext } from "./context-Cx38_mgI.mjs";
|
|
3
|
-
import { _ as TSDocReturns, a as TSDocDomain, b as TSDocTitle, c as TSDocIgnore, d as TSDocModule, f as TSDocParam, g as TSDocRemarks, h as TSDocReadonly, i as TSDocDefaultValue, l as TSDocInternal, m as TSDocPermission, n as TSDocAlias, o as TSDocExample, p as TSDocParams, r as TSDocAttributesTags, s as TSDocHidden, t as TSDoc, u as TSDocLink, v as TSDocTag, y as TSDocThrows } from "./tsdoc-
|
|
4
|
-
import { t as SingleLineComment } from "./single-line-comment-
|
|
5
|
-
import { t as SourceFile } from "./source-file-
|
|
6
|
-
import { n as TypescriptFileHeader, r as TypescriptFileHeaderImports, t as TypescriptFile } from "./typescript-file-
|
|
7
|
-
import { t as BuiltinFile } from "./builtin-file-
|
|
8
|
-
import { t as DynamicImportStatement } from "./dynamic-import-statement-
|
|
9
|
-
import { t as EntryFile } from "./entry-file-
|
|
3
|
+
import { _ as TSDocReturns, a as TSDocDomain, b as TSDocTitle, c as TSDocIgnore, d as TSDocModule, f as TSDocParam, g as TSDocRemarks, h as TSDocReadonly, i as TSDocDefaultValue, l as TSDocInternal, m as TSDocPermission, n as TSDocAlias, o as TSDocExample, p as TSDocParams, r as TSDocAttributesTags, s as TSDocHidden, t as TSDoc, u as TSDocLink, v as TSDocTag, y as TSDocThrows } from "./tsdoc-XXdq_9iS.mjs";
|
|
4
|
+
import { t as SingleLineComment } from "./single-line-comment-Biwa95Py.mjs";
|
|
5
|
+
import { t as SourceFile } from "./source-file-Dna2E0ro.mjs";
|
|
6
|
+
import { n as TypescriptFileHeader, r as TypescriptFileHeaderImports, t as TypescriptFile } from "./typescript-file-CLL-ELi0.mjs";
|
|
7
|
+
import { t as BuiltinFile } from "./builtin-file-BDc5-4_L.mjs";
|
|
8
|
+
import { t as DynamicImportStatement } from "./dynamic-import-statement-CWK5I_yt.mjs";
|
|
9
|
+
import { t as EntryFile } from "./entry-file-DtjJPVZY.mjs";
|
|
10
10
|
import { t as RecordExpression } from "./record-expression-DxS_DiPc.mjs";
|
|
11
11
|
import { a as useReflectionClass, c as useReflectionProperty, i as ReflectionPropertyContext, n as ReflectionMethodContext, o as useReflectionMethod, r as ReflectionParameterContext, s as useReflectionParameter, t as ReflectionClassContext } from "./reflection-CBMQ1FQo.mjs";
|
|
12
|
-
import { n as TSDocReflectionMethod, r as TSDocReflectionProperty, t as TSDocReflectionClass } from "./tsdoc-reflection-
|
|
13
|
-
import { n as TypescriptInterfaceProperty, t as TypeScriptInterface } from "./typescript-interface-
|
|
14
|
-
import { n as TypescriptObjectProperty, t as TypescriptObject } from "./typescript-object-
|
|
12
|
+
import { n as TSDocReflectionMethod, r as TSDocReflectionProperty, t as TSDocReflectionClass } from "./tsdoc-reflection-IWtPMJjw.mjs";
|
|
13
|
+
import { n as TypescriptInterfaceProperty, t as TypeScriptInterface } from "./typescript-interface-FVDsEsu0.mjs";
|
|
14
|
+
import { n as TypescriptObjectProperty, t as TypescriptObject } from "./typescript-object-Ju07nQg9.mjs";
|
|
15
15
|
import "./components-ajocJcib.mjs";
|
|
16
16
|
import "./typescript-45caIUPa.mjs";
|
|
17
17
|
import "./plugin-DU0K2-Om.mjs";
|
|
18
18
|
import "./components-C3qpgLKV.mjs";
|
|
19
19
|
import "./types-BWlfXHs2.mjs";
|
|
20
|
-
import { n as MarkdownFileHeader, t as MarkdownFile } from "./markdown-file-
|
|
20
|
+
import { n as MarkdownFileHeader, t as MarkdownFile } from "./markdown-file-Clh5iU1_.mjs";
|
|
21
21
|
import { i as useMarkdownTableColumn, n as MarkdownTableContext, r as useMarkdownTable, t as MarkdownTableColumnContext } from "./markdown-table-2qP_4eLk.mjs";
|
|
22
|
-
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "./markdown-table-
|
|
22
|
+
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "./markdown-table-D-YnljE7.mjs";
|
|
23
23
|
import "./components-CBtEhH9k.mjs";
|
|
24
24
|
import "./contexts-X44bRyOp.mjs";
|
|
25
25
|
import "./markdown-DMddlO1y.mjs";
|
|
@@ -28,177 +28,20 @@ import { t as refkey } from "./refkey-CV0mIj0Y.mjs";
|
|
|
28
28
|
import { a as generateCapnpId, c as generateCapnpPrimitive, d as getCapnpEnumTypes, f as getCapnpUnionTypes, g as stringifyCapnpValue, h as stringifyCapnpDefaultValue, i as generateCapnpEnumSchema, l as generateCapnpSchema, m as isVoidType, n as compile, o as generateCapnpInterface, p as isCapnpStringUnion, r as generateCapnp, s as generateCapnpMethodSchema, t as LARGE_BUFFER, u as generateCapnpStruct } from "./capnp-CNythuSw.mjs";
|
|
29
29
|
import { t as createBuiltin } from "./create-builtin-CP9mN5P-.mjs";
|
|
30
30
|
import "./helpers-BrA1Dy07.mjs";
|
|
31
|
-
import { t as Output } from "./output-
|
|
31
|
+
import { t as Output } from "./output-CNnPjQlW.mjs";
|
|
32
32
|
import "./components-HMVhsFQl.mjs";
|
|
33
33
|
import "./contexts-XuEdvZdE.mjs";
|
|
34
34
|
import "./core-B57eQAue.mjs";
|
|
35
|
+
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
35
36
|
import { flushJobsAsync, getContextForRenderNode, isPrintHook, renderTree } from "@alloy-js/core";
|
|
36
37
|
import { StormJSON } from "@stryke/json/storm-json";
|
|
37
|
-
import { isString } from "@stryke/type-checks/is-string";
|
|
38
38
|
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
39
|
-
import { jsx } from "@alloy-js/core/jsx-runtime";
|
|
40
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
41
|
-
import defu from "defu";
|
|
42
39
|
import { replacePath } from "@stryke/path/replace";
|
|
43
|
-
import
|
|
44
|
-
import jsxDomExpressionsPlugin from "@alloy-js/babel-plugin-jsx-dom-expressions";
|
|
45
|
-
import transformTypescriptPlugin from "@babel/plugin-transform-typescript";
|
|
46
|
-
import { transformAsync } from "@babel/core";
|
|
40
|
+
import alloy from "@alloy-js/rollup-plugin";
|
|
47
41
|
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
48
|
-
import { findFileExtension, findFileExtensionSafe } from "@stryke/path/file-path-fns";
|
|
49
42
|
import { isParentPath } from "@stryke/path/is-parent-path";
|
|
50
|
-
import { isSetObject } from "@stryke/type-checks/is-set-object";
|
|
51
|
-
import { isFunction } from "@stryke/type-checks/is-function";
|
|
52
|
-
import "@stryke/type-checks/is-object";
|
|
53
|
-
import chalk from "chalk";
|
|
54
|
-
import _generate from "@babel/generator";
|
|
55
|
-
import "@babel/parser";
|
|
56
|
-
import "@babel/helper-plugin-utils";
|
|
57
|
-
import "@storm-software/config-tools/logger";
|
|
58
|
-
import "@storm-software/config-tools/utilities/colors";
|
|
59
|
-
import "@stryke/helpers/noop";
|
|
60
|
-
import "@stryke/string-format/kebab-case";
|
|
61
|
-
import "@babel/types";
|
|
62
43
|
import { printer } from "prettier/doc.js";
|
|
63
44
|
|
|
64
|
-
//#region ../plugin-babel/src/helpers/filters.ts
|
|
65
|
-
function getPluginName(plugin$2) {
|
|
66
|
-
return isSetString(plugin$2) ? plugin$2 : Array.isArray(plugin$2) && plugin$2.length > 0 ? getPluginName(plugin$2[0]) : plugin$2.$$name || plugin$2.name ? plugin$2.$$name || plugin$2.name : void 0;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Check if a Babel plugin is a duplicate of another plugin in the list.
|
|
70
|
-
*
|
|
71
|
-
* @param plugins - The list of existing Babel plugins.
|
|
72
|
-
* @param plugin - The Babel plugin to check for duplicates.
|
|
73
|
-
* @returns True if the plugin is a duplicate, false otherwise.
|
|
74
|
-
*/
|
|
75
|
-
function isDuplicatePlugin(plugins, plugin$2) {
|
|
76
|
-
return !!(getPluginName(plugin$2) && plugins.some((existing) => Array.isArray(existing) && getPluginName(existing[0]) === getPluginName(plugin$2)));
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
//#endregion
|
|
80
|
-
//#region ../plugin-babel/src/helpers/options.ts
|
|
81
|
-
function resolvePluginFunction(context, plugin$2) {
|
|
82
|
-
try {
|
|
83
|
-
return Array.isArray(plugin$2) && plugin$2.length > 0 && plugin$2[0] ? isFunction(plugin$2[0]) ? plugin$2[0](context) : plugin$2[0] : isFunction(plugin$2) ? plugin$2(context) : plugin$2;
|
|
84
|
-
} catch {
|
|
85
|
-
return plugin$2[0];
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Resolve the [Babel](https://babeljs.io/) plugin.
|
|
90
|
-
*
|
|
91
|
-
* @param context - The context for the transformation.
|
|
92
|
-
* @param code - The code to be transformed.
|
|
93
|
-
* @param id - The ID of the source file.
|
|
94
|
-
* @param plugin - The Babel plugin to resolve.
|
|
95
|
-
* @returns The resolved Babel plugin options, or undefined if the plugin is filtered out.
|
|
96
|
-
*/
|
|
97
|
-
function resolveBabelPlugin(context, code$1, id, plugin$2) {
|
|
98
|
-
if (Array.isArray(plugin$2) && plugin$2.length > 0 && plugin$2[0]) {
|
|
99
|
-
if (plugin$2.length > 2 && plugin$2[2] && isFunction(plugin$2[2]) && !plugin$2[2](code$1, id)) {
|
|
100
|
-
context.log(LogLevelLabel.TRACE, `Skipping filtered Babel plugin ${chalk.bold.cyanBright(getPluginName(plugin$2) || "unnamed")} for ${id}`);
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
return plugin$2.length > 2 ? [
|
|
104
|
-
resolvePluginFunction(context, plugin$2),
|
|
105
|
-
plugin$2[1],
|
|
106
|
-
plugin$2[2]
|
|
107
|
-
] : [
|
|
108
|
-
resolvePluginFunction(context, plugin$2),
|
|
109
|
-
plugin$2[1],
|
|
110
|
-
null
|
|
111
|
-
];
|
|
112
|
-
}
|
|
113
|
-
return [
|
|
114
|
-
resolvePluginFunction(context, plugin$2),
|
|
115
|
-
{},
|
|
116
|
-
null
|
|
117
|
-
];
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
//#endregion
|
|
121
|
-
//#region ../plugin-babel/src/helpers/ast-utils.ts
|
|
122
|
-
let generate = _generate;
|
|
123
|
-
if ("default" in generate) generate = generate.default;
|
|
124
|
-
|
|
125
|
-
//#endregion
|
|
126
|
-
//#region ../plugin-babel/src/index.ts
|
|
127
|
-
/**
|
|
128
|
-
* Babel plugin for Powerlines.
|
|
129
|
-
*
|
|
130
|
-
* @param options - The Babel plugin user configuration options.
|
|
131
|
-
* @returns A Powerlines plugin that integrates Babel transformations.
|
|
132
|
-
*/
|
|
133
|
-
const plugin$1 = (options = {}) => {
|
|
134
|
-
return {
|
|
135
|
-
name: "babel",
|
|
136
|
-
config() {
|
|
137
|
-
if (!isSetObject(options)) return;
|
|
138
|
-
return { transform: { babel: options } };
|
|
139
|
-
},
|
|
140
|
-
configResolved: {
|
|
141
|
-
order: "pre",
|
|
142
|
-
handler() {
|
|
143
|
-
this.devDependencies["@babel/core"] = "^7.28.4";
|
|
144
|
-
this.config.transform.babel = defu(this.config.transform.babel ?? {}, {
|
|
145
|
-
plugins: [],
|
|
146
|
-
presets: []
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
async transform(code$1, id) {
|
|
151
|
-
if (isParentPath(id, this.powerlinesPath) || code$1.includes("/* @storm-ignore */") || code$1.includes("/* @storm-disable */")) {
|
|
152
|
-
this.log(LogLevelLabel.TRACE, `Skipping Babel transformation for: ${id}`);
|
|
153
|
-
return {
|
|
154
|
-
code: code$1,
|
|
155
|
-
id
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
this.log(LogLevelLabel.TRACE, `Babel transforming file: ${id}`);
|
|
159
|
-
const plugins = this.config.transform.babel.plugins.map((plugin$2) => resolveBabelPlugin(this, code$1, id, plugin$2)).filter((plugin$2, _, arr) => plugin$2 && !isDuplicatePlugin(arr, plugin$2));
|
|
160
|
-
const presets = this.config.transform.babel.presets.map((preset) => resolveBabelPlugin(this, code$1, id, preset)).filter((preset, _, arr) => preset && !isDuplicatePlugin(arr, preset));
|
|
161
|
-
if (Array.isArray(plugins) && plugins.length === 0 && Array.isArray(presets) && presets.length === 0) return {
|
|
162
|
-
code: code$1,
|
|
163
|
-
id
|
|
164
|
-
};
|
|
165
|
-
if ([
|
|
166
|
-
"ts",
|
|
167
|
-
"cts",
|
|
168
|
-
"mts",
|
|
169
|
-
"tsx"
|
|
170
|
-
].includes(findFileExtensionSafe(id)) && !isDuplicatePlugin(plugins, "@babel/plugin-syntax-typescript") && !isDuplicatePlugin(presets, "@babel/preset-typescript")) plugins.unshift(["@babel/plugin-syntax-typescript", { isTSX: findFileExtension(id) === ".tsx" }]);
|
|
171
|
-
const result = await transformAsync(code$1, {
|
|
172
|
-
highlightCode: true,
|
|
173
|
-
code: true,
|
|
174
|
-
ast: false,
|
|
175
|
-
cloneInputAst: false,
|
|
176
|
-
comments: true,
|
|
177
|
-
sourceType: "module",
|
|
178
|
-
configFile: false,
|
|
179
|
-
babelrc: false,
|
|
180
|
-
envName: this.config.mode,
|
|
181
|
-
caller: { name: this.config.framework },
|
|
182
|
-
...this.config.transform.babel ?? {},
|
|
183
|
-
filename: id,
|
|
184
|
-
plugins: plugins.map((plugin$2) => {
|
|
185
|
-
return Array.isArray(plugin$2) && plugin$2.length >= 2 ? [plugin$2[0], defu(plugin$2.length > 1 && plugin$2[1] ? plugin$2[1] : {}, { options })] : plugin$2;
|
|
186
|
-
}).filter(Boolean),
|
|
187
|
-
presets: presets.map((preset) => {
|
|
188
|
-
return Array.isArray(preset) && preset.length >= 2 ? [preset[0], defu(preset.length > 1 && preset[1] ? preset[1] : {}, { options })] : preset;
|
|
189
|
-
}).filter(Boolean)
|
|
190
|
-
});
|
|
191
|
-
if (!result?.code) throw new Error(`Powerlines - Babel plugin failed to compile ${id}`);
|
|
192
|
-
return {
|
|
193
|
-
code: result.code,
|
|
194
|
-
id
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
var src_default$1 = plugin$1;
|
|
200
|
-
|
|
201
|
-
//#endregion
|
|
202
45
|
//#region src/index.tsx
|
|
203
46
|
/**
|
|
204
47
|
* Alloy-js plugin for Powerlines.
|
|
@@ -207,62 +50,55 @@ var src_default$1 = plugin$1;
|
|
|
207
50
|
* @returns A Powerlines plugin that integrates Alloy-js transformations.
|
|
208
51
|
*/
|
|
209
52
|
const plugin = (options = {}) => {
|
|
210
|
-
return [
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
{
|
|
226
|
-
name: "alloy:config",
|
|
227
|
-
config() {
|
|
228
|
-
return {
|
|
229
|
-
alloy: {
|
|
230
|
-
typescript: true,
|
|
231
|
-
...options
|
|
232
|
-
},
|
|
233
|
-
build: { inputOptions: { transform: { jsx: "react-jsx" } } }
|
|
234
|
-
};
|
|
235
|
-
},
|
|
236
|
-
async configResolved() {
|
|
237
|
-
if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "react-jsx" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@alloy-js/core") {
|
|
238
|
-
this.tsconfig.tsconfigJson.compilerOptions ??= {};
|
|
239
|
-
if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "react-jsx") this.tsconfig.tsconfigJson.compilerOptions.jsx = "react-jsx";
|
|
240
|
-
if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@alloy-js/core") this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource = "@alloy-js/core";
|
|
241
|
-
await this.fs.write(this.tsconfig.tsconfigFilePath, StormJSON.stringify(this.tsconfig.tsconfigJson));
|
|
53
|
+
return [{
|
|
54
|
+
name: "alloy:config",
|
|
55
|
+
config() {
|
|
56
|
+
return {
|
|
57
|
+
alloy: {
|
|
58
|
+
typescript: true,
|
|
59
|
+
...options
|
|
60
|
+
},
|
|
61
|
+
build: {
|
|
62
|
+
inputOptions: { transform: { jsx: {
|
|
63
|
+
runtime: "classic",
|
|
64
|
+
pragma: "Alloy.createElement",
|
|
65
|
+
importSource: "@alloy-js/core"
|
|
66
|
+
} } },
|
|
67
|
+
plugins: [alloy()]
|
|
242
68
|
}
|
|
243
|
-
|
|
244
|
-
if (this.config.alloy?.typescript !== false) this.devDependencies["@alloy-js/typescript"] = "^0.21.0";
|
|
245
|
-
if (this.config.alloy?.json === true) this.devDependencies["@alloy-js/json"] = "^0.21.0";
|
|
246
|
-
if (this.config.alloy?.markdown === true) this.devDependencies["@alloy-js/markdown"] = "^0.21.0";
|
|
247
|
-
}
|
|
69
|
+
};
|
|
248
70
|
},
|
|
249
|
-
{
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
71
|
+
async configResolved() {
|
|
72
|
+
if (this.tsconfig.tsconfigJson.compilerOptions?.jsx !== "preserve" || this.tsconfig.tsconfigJson.compilerOptions?.jsxImportSource !== "@alloy-js/core") {
|
|
73
|
+
this.tsconfig.tsconfigJson.compilerOptions ??= {};
|
|
74
|
+
if (this.tsconfig.tsconfigJson.compilerOptions.jsx !== "preserve") this.tsconfig.tsconfigJson.compilerOptions.jsx = "preserve";
|
|
75
|
+
if (this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource !== "@alloy-js/core") this.tsconfig.tsconfigJson.compilerOptions.jsxImportSource = "@alloy-js/core";
|
|
76
|
+
await this.fs.write(this.tsconfig.tsconfigFilePath, StormJSON.stringify(this.tsconfig.tsconfigJson));
|
|
77
|
+
}
|
|
78
|
+
this.devDependencies["@alloy-js/core"] = "^0.22.0";
|
|
79
|
+
if (this.config.alloy?.typescript !== false) this.devDependencies["@alloy-js/typescript"] = "^0.22.0";
|
|
80
|
+
if (this.config.alloy?.json === true) this.devDependencies["@alloy-js/json"] = "^0.22.0";
|
|
81
|
+
if (this.config.alloy?.markdown === true) this.devDependencies["@alloy-js/markdown"] = "^0.22.0";
|
|
82
|
+
}
|
|
83
|
+
}, {
|
|
84
|
+
name: "alloy:update-context",
|
|
85
|
+
configResolved: {
|
|
86
|
+
order: "pre",
|
|
87
|
+
async handler() {
|
|
88
|
+
this.render = async (children) => {
|
|
89
|
+
const _self$ = this;
|
|
90
|
+
const tree = renderTree(createComponent(Output, {
|
|
91
|
+
context: _self$,
|
|
92
|
+
get basePath() {
|
|
93
|
+
return _self$.workspaceConfig.workspaceRoot;
|
|
94
|
+
},
|
|
95
|
+
children
|
|
96
|
+
}));
|
|
97
|
+
await writeTree(this, tree, this.config.alloy);
|
|
98
|
+
};
|
|
263
99
|
}
|
|
264
100
|
}
|
|
265
|
-
];
|
|
101
|
+
}];
|
|
266
102
|
};
|
|
267
103
|
var src_default = plugin;
|
|
268
104
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
require('../../context-BIduC1bB.cjs');
|
|
2
|
-
require('../../single-line-comment-
|
|
3
|
-
require('../../source-file-
|
|
4
|
-
const require_markdown_file = require('../../markdown-file-
|
|
2
|
+
require('../../single-line-comment-DvU69OGj.cjs');
|
|
3
|
+
require('../../source-file-DK_nFwAK.cjs');
|
|
4
|
+
const require_markdown_file = require('../../markdown-file-BVSRcpXO.cjs');
|
|
5
5
|
require('../../markdown-table-BOWM26Kb.cjs');
|
|
6
|
-
const require_markdown_table$1 = require('../../markdown-table-
|
|
6
|
+
const require_markdown_table$1 = require('../../markdown-table-B40X-Kp1.cjs');
|
|
7
7
|
require('../../components-I0ydtjfW.cjs');
|
|
8
8
|
|
|
9
9
|
exports.MarkdownFile = require_markdown_file.MarkdownFile;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../context-BsDdxy5g.cjs";
|
|
2
2
|
import "../../components-C8Qs2PB0.cjs";
|
|
3
|
-
import "../../source-file-
|
|
4
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-
|
|
3
|
+
import "../../source-file-BrxGhMOh.cjs";
|
|
4
|
+
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-C72aDdPi.cjs";
|
|
5
5
|
import "../../markdown-table-CZMEY6IR.cjs";
|
|
6
|
-
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../../markdown-table-
|
|
6
|
+
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../../markdown-table-ZiuZZY5T.cjs";
|
|
7
7
|
import "../../index-DpEKQcoR.cjs";
|
|
8
8
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownFileProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import "../../components-
|
|
3
|
-
import "../../source-file-
|
|
4
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-
|
|
1
|
+
import "../../context-DXy7MPku.mjs";
|
|
2
|
+
import "../../components-ixU_ICbr.mjs";
|
|
3
|
+
import "../../source-file-B2MkzzGR.mjs";
|
|
4
|
+
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-DIkSXG43.mjs";
|
|
5
5
|
import "../../markdown-table-kFQoqKQt.mjs";
|
|
6
|
-
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../../markdown-table-
|
|
6
|
+
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../../markdown-table-3trTm6Ef.mjs";
|
|
7
7
|
import "../../index-Deol7ZWO.mjs";
|
|
8
8
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownFileProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../context-Cx38_mgI.mjs";
|
|
2
|
-
import "../../single-line-comment-
|
|
3
|
-
import "../../source-file-
|
|
4
|
-
import { n as MarkdownFileHeader, t as MarkdownFile } from "../../markdown-file-
|
|
2
|
+
import "../../single-line-comment-Biwa95Py.mjs";
|
|
3
|
+
import "../../source-file-Dna2E0ro.mjs";
|
|
4
|
+
import { n as MarkdownFileHeader, t as MarkdownFile } from "../../markdown-file-Clh5iU1_.mjs";
|
|
5
5
|
import "../../markdown-table-2qP_4eLk.mjs";
|
|
6
|
-
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../../markdown-table-
|
|
6
|
+
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../../markdown-table-D-YnljE7.mjs";
|
|
7
7
|
import "../../components-CBtEhH9k.mjs";
|
|
8
8
|
|
|
9
9
|
export { MarkdownFile, MarkdownFileHeader, MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require('../../context-BIduC1bB.cjs');
|
|
2
|
-
require('../../single-line-comment-
|
|
3
|
-
require('../../source-file-
|
|
4
|
-
const require_markdown_file = require('../../markdown-file-
|
|
2
|
+
require('../../single-line-comment-DvU69OGj.cjs');
|
|
3
|
+
require('../../source-file-DK_nFwAK.cjs');
|
|
4
|
+
const require_markdown_file = require('../../markdown-file-BVSRcpXO.cjs');
|
|
5
5
|
|
|
6
6
|
exports.MarkdownFile = require_markdown_file.MarkdownFile;
|
|
7
7
|
exports.MarkdownFileHeader = require_markdown_file.MarkdownFileHeader;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../context-BsDdxy5g.cjs";
|
|
2
2
|
import "../../components-C8Qs2PB0.cjs";
|
|
3
|
-
import "../../source-file-
|
|
4
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-
|
|
3
|
+
import "../../source-file-BrxGhMOh.cjs";
|
|
4
|
+
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-C72aDdPi.cjs";
|
|
5
5
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, __ΩMarkdownFileProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import "../../components-
|
|
3
|
-
import "../../source-file-
|
|
4
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-
|
|
1
|
+
import "../../context-DXy7MPku.mjs";
|
|
2
|
+
import "../../components-ixU_ICbr.mjs";
|
|
3
|
+
import "../../source-file-B2MkzzGR.mjs";
|
|
4
|
+
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../../markdown-file-DIkSXG43.mjs";
|
|
5
5
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, __ΩMarkdownFileProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../context-Cx38_mgI.mjs";
|
|
2
|
-
import "../../single-line-comment-
|
|
3
|
-
import "../../source-file-
|
|
4
|
-
import { n as MarkdownFileHeader, t as MarkdownFile } from "../../markdown-file-
|
|
2
|
+
import "../../single-line-comment-Biwa95Py.mjs";
|
|
3
|
+
import "../../source-file-Dna2E0ro.mjs";
|
|
4
|
+
import { n as MarkdownFileHeader, t as MarkdownFile } from "../../markdown-file-Clh5iU1_.mjs";
|
|
5
5
|
|
|
6
6
|
export { MarkdownFile, MarkdownFileHeader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require('../../markdown-table-BOWM26Kb.cjs');
|
|
2
|
-
const require_markdown_table$1 = require('../../markdown-table-
|
|
2
|
+
const require_markdown_table$1 = require('../../markdown-table-B40X-Kp1.cjs');
|
|
3
3
|
|
|
4
4
|
exports.MarkdownTable = require_markdown_table$1.MarkdownTable;
|
|
5
5
|
exports.MarkdownTableColumn = require_markdown_table$1.MarkdownTableColumn;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../context-BsDdxy5g.cjs";
|
|
2
2
|
import "../../components-C8Qs2PB0.cjs";
|
|
3
3
|
import "../../markdown-table-CZMEY6IR.cjs";
|
|
4
|
-
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../../markdown-table-
|
|
4
|
+
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../../markdown-table-ZiuZZY5T.cjs";
|
|
5
5
|
export { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../context-
|
|
2
|
-
import "../../components-
|
|
1
|
+
import "../../context-DXy7MPku.mjs";
|
|
2
|
+
import "../../components-ixU_ICbr.mjs";
|
|
3
3
|
import "../../markdown-table-kFQoqKQt.mjs";
|
|
4
|
-
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../../markdown-table-
|
|
4
|
+
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../../markdown-table-3trTm6Ef.mjs";
|
|
5
5
|
export { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader, MarkdownTableColumnProps, MarkdownTableProps, __ΩMarkdownTableColumnProps, __ΩMarkdownTableProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../markdown-table-2qP_4eLk.mjs";
|
|
2
|
-
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../../markdown-table-
|
|
2
|
+
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../../markdown-table-D-YnljE7.mjs";
|
|
3
3
|
|
|
4
4
|
export { MarkdownTable, MarkdownTableColumn, MarkdownTableColumnHeader };
|
package/dist/markdown/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
require('../context-BIduC1bB.cjs');
|
|
2
|
-
require('../single-line-comment-
|
|
3
|
-
require('../source-file-
|
|
4
|
-
const require_markdown_file = require('../markdown-file-
|
|
2
|
+
require('../single-line-comment-DvU69OGj.cjs');
|
|
3
|
+
require('../source-file-DK_nFwAK.cjs');
|
|
4
|
+
const require_markdown_file = require('../markdown-file-BVSRcpXO.cjs');
|
|
5
5
|
const require_markdown_table = require('../markdown-table-BOWM26Kb.cjs');
|
|
6
|
-
const require_markdown_table$1 = require('../markdown-table-
|
|
6
|
+
const require_markdown_table$1 = require('../markdown-table-B40X-Kp1.cjs');
|
|
7
7
|
require('../components-I0ydtjfW.cjs');
|
|
8
8
|
require('../contexts-BSRk0whx.cjs');
|
|
9
9
|
require('../markdown-BTQE0AI9.cjs');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../context-BsDdxy5g.cjs";
|
|
2
2
|
import "../components-C8Qs2PB0.cjs";
|
|
3
|
-
import "../source-file-
|
|
4
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../markdown-file-
|
|
3
|
+
import "../source-file-BrxGhMOh.cjs";
|
|
4
|
+
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../markdown-file-C72aDdPi.cjs";
|
|
5
5
|
import { a as __ΩMarkdownTableColumnContextInterface, c as useMarkdownTableColumn, i as MarkdownTableContextInterface, n as MarkdownTableColumnContextInterface, o as __ΩMarkdownTableContextInterface, r as MarkdownTableContext, s as useMarkdownTable, t as MarkdownTableColumnContext } from "../markdown-table-CZMEY6IR.cjs";
|
|
6
|
-
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../markdown-table-
|
|
6
|
+
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../markdown-table-ZiuZZY5T.cjs";
|
|
7
7
|
import "../index-DpEKQcoR.cjs";
|
|
8
8
|
import "../index-BXpMZvwA.cjs";
|
|
9
9
|
import "../index-D1aKd2tO.cjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../context-
|
|
2
|
-
import "../components-
|
|
3
|
-
import "../source-file-
|
|
4
|
-
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../markdown-file-
|
|
1
|
+
import "../context-DXy7MPku.mjs";
|
|
2
|
+
import "../components-ixU_ICbr.mjs";
|
|
3
|
+
import "../source-file-B2MkzzGR.mjs";
|
|
4
|
+
import { i as __ΩMarkdownFileProps, n as MarkdownFileHeader, r as MarkdownFileProps, t as MarkdownFile } from "../markdown-file-DIkSXG43.mjs";
|
|
5
5
|
import { a as __ΩMarkdownTableColumnContextInterface, c as useMarkdownTableColumn, i as MarkdownTableContextInterface, n as MarkdownTableColumnContextInterface, o as __ΩMarkdownTableContextInterface, r as MarkdownTableContext, s as useMarkdownTable, t as MarkdownTableColumnContext } from "../markdown-table-kFQoqKQt.mjs";
|
|
6
|
-
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../markdown-table-
|
|
6
|
+
import { a as MarkdownTableProps, i as MarkdownTableColumnProps, n as MarkdownTableColumn, o as __ΩMarkdownTableColumnProps, r as MarkdownTableColumnHeader, s as __ΩMarkdownTableProps, t as MarkdownTable } from "../markdown-table-3trTm6Ef.mjs";
|
|
7
7
|
import "../index-Deol7ZWO.mjs";
|
|
8
8
|
import "../index-BrGZHEgX.mjs";
|
|
9
9
|
import "../index-CoUVmp_Q.mjs";
|
package/dist/markdown/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../context-Cx38_mgI.mjs";
|
|
2
|
-
import "../single-line-comment-
|
|
3
|
-
import "../source-file-
|
|
4
|
-
import { n as MarkdownFileHeader, t as MarkdownFile } from "../markdown-file-
|
|
2
|
+
import "../single-line-comment-Biwa95Py.mjs";
|
|
3
|
+
import "../source-file-Dna2E0ro.mjs";
|
|
4
|
+
import { n as MarkdownFileHeader, t as MarkdownFile } from "../markdown-file-Clh5iU1_.mjs";
|
|
5
5
|
import { i as useMarkdownTableColumn, n as MarkdownTableContext, r as useMarkdownTable, t as MarkdownTableColumnContext } from "../markdown-table-2qP_4eLk.mjs";
|
|
6
|
-
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../markdown-table-
|
|
6
|
+
import { n as MarkdownTableColumn, r as MarkdownTableColumnHeader, t as MarkdownTable } from "../markdown-table-D-YnljE7.mjs";
|
|
7
7
|
import "../components-CBtEhH9k.mjs";
|
|
8
8
|
import "../contexts-X44bRyOp.mjs";
|
|
9
9
|
import "../markdown-DMddlO1y.mjs";
|