@stacksjs/stx 0.0.0 → 0.0.7
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/bin/cli.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
docsCommand
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import"../chunk-
|
|
4
|
+
} from "../chunk-9ynf73q9.js";
|
|
5
|
+
import"../chunk-8ehp5m3y.js";
|
|
6
6
|
import"../chunk-ywm063e4.js";
|
|
7
7
|
|
|
8
8
|
// ../../node_modules/cac/dist/index.mjs
|
|
@@ -605,7 +605,7 @@ class CAC extends EventEmitter {
|
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
607
|
// package.json
|
|
608
|
-
var version = "0.0.
|
|
608
|
+
var version = "0.0.7";
|
|
609
609
|
|
|
610
610
|
// bin/cli.ts
|
|
611
611
|
var cli = new CAC("stx");
|
|
@@ -967,7 +967,7 @@ async function processIncludes(template, context, filePath, options, dependencie
|
|
|
967
967
|
if (partialContent.includes("@include") || partialContent.includes("@partial")) {
|
|
968
968
|
partialContent = await processIncludes(partialContent, includeContext, includeFilePath, options, dependencies);
|
|
969
969
|
}
|
|
970
|
-
const { processLoops } = await import("./chunk-
|
|
970
|
+
const { processLoops } = await import("./chunk-8ehp5m3y.js");
|
|
971
971
|
let processedContent = processLoops(partialContent, includeContext, includeFilePath);
|
|
972
972
|
processedContent = processConditionals(processedContent, includeContext, includeFilePath);
|
|
973
973
|
processedContent = processExpressions(processedContent, includeContext, includeFilePath);
|
|
@@ -1154,7 +1154,7 @@ var blockNormal = {
|
|
|
1154
1154
|
table: noopTest,
|
|
1155
1155
|
text: blockText
|
|
1156
1156
|
};
|
|
1157
|
-
var gfmTable = edit("^ *([^\\n ].*)\\n" + " {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)" + "(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", hr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3}
|
|
1157
|
+
var gfmTable = edit("^ *([^\\n ].*)\\n" + " {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)" + "(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", hr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", _tag).getRegex();
|
|
1158
1158
|
var blockGfm = {
|
|
1159
1159
|
...blockNormal,
|
|
1160
1160
|
lheading: lheadingGfm,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
fileExists,
|
|
3
3
|
markdownDirectiveHandler,
|
|
4
4
|
resolveTemplatePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-8ehp5m3y.js";
|
|
6
6
|
import {
|
|
7
7
|
__require,
|
|
8
8
|
__toESM
|
|
@@ -1806,7 +1806,7 @@ var defaultConfigDir2 = resolve3(process6.cwd(), "config");
|
|
|
1806
1806
|
var defaultGeneratedDir2 = resolve3(process6.cwd(), "src/generated");
|
|
1807
1807
|
|
|
1808
1808
|
// src/config.ts
|
|
1809
|
-
var __dirname = "/
|
|
1809
|
+
var __dirname = "/home/runner/work/stx/stx/packages/stx/src";
|
|
1810
1810
|
var defaultConfig2 = {
|
|
1811
1811
|
enabled: true,
|
|
1812
1812
|
partialsDir: "partials",
|
package/dist/src/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
generateDocs,
|
|
17
17
|
generateTemplatesDocs,
|
|
18
18
|
webComponentDirectiveHandler
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-9ynf73q9.js";
|
|
20
20
|
import {
|
|
21
21
|
applyFilters,
|
|
22
22
|
createDetailedErrorMessage,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
runPreProcessingMiddleware,
|
|
56
56
|
setGlobalContext,
|
|
57
57
|
unescapeHtml
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-8ehp5m3y.js";
|
|
59
59
|
import"../chunk-ywm063e4.js";
|
|
60
60
|
|
|
61
61
|
// ../bun-plugin/src/index.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/stx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.7",
|
|
5
5
|
"description": "A Bun plugin that allows for using Laravel Blade-like syntax.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -71,4 +71,4 @@
|
|
|
71
71
|
"marked": "^15.0.11",
|
|
72
72
|
"yaml": "^2.7.1"
|
|
73
73
|
}
|
|
74
|
-
}
|
|
74
|
+
}
|