@better-t-stack/template-generator 3.21.4 → 3.21.6
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/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +34 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -74,7 +74,7 @@ declare function writeBtsConfigToVfs(vfs: VirtualFileSystem, projectConfig: Proj
|
|
|
74
74
|
//#endregion
|
|
75
75
|
//#region src/templates.generated.d.ts
|
|
76
76
|
declare const EMBEDDED_TEMPLATES: Map<string, string>;
|
|
77
|
-
declare const TEMPLATE_COUNT =
|
|
77
|
+
declare const TEMPLATE_COUNT = 436;
|
|
78
78
|
//#endregion
|
|
79
79
|
//#region src/utils/add-deps.d.ts
|
|
80
80
|
declare const dependencyVersionMap: {
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/core/virtual-fs.ts","../src/core/template-processor.ts","../src/template-handlers/utils.ts","../src/template-handlers/addons.ts","../src/generator.ts","../src/processors/addons-deps.ts","../src/bts-config.ts","../src/templates.generated.ts","../src/utils/add-deps.ts","../src/utils/reproducible-command.ts"],"sourcesContent":[],"mappings":";;;;;;;cAOa,iBAAA;;;;;;EAAA,QAAA,CAAA,QAAA,EAAA,MAAiB,CAAA,EAAA,MAAA,GAAA,SAAA;EA6Ea,MAAA,CAAA,IAAA,EAAA,MAAA,CAAA,EAAA,OAAA;EAkCX,UAAA,CAAA,QAAA,EAAA,MAAA,CAAA,EAAA,OAAA;EAAgB,eAcrC,CAAA,OAAA,EAAA,MAAA,CAAA,EAAA,OAAA;EAAA,KAGJ,CAAA,OAAA,EAAA,MAAA,CAAA,EAAA,IAAA;EAAA,UAAA,CAAA,QAAA,EAAA,MAAA,CAAA,EAAA,OAAA;;2CAnDoC;;ECzE3B,WAAA,CAAA,CAAA,EAAA,MAAA,EAAA;EAIA,iBAAY,CAAA,CAAA,EAAA,MAAA,EAAA;EAIZ,YAAA,CAAA,CAAA,EAAA,MAAiB;EAUjB,iBAAA,CAAA,CAAA,EAAkB,MAAA;6BDyFF;;eAAgB,MAAA,CAcrC;EE9HC,KAAA,CAAA,CAAA,EF8HD,MAAA,CAGJ,GEjIoB;;;;ECAL,QAAA,aAAA;;;;iBFKN,qBAAA,2BAAgD;iBAIhD,YAAA;iBAIA,iBAAA;iBAUA,kBAAA,6CAGL;;;KC1BC,YAAA,GAAe;;;iBCAL,qBAAA,MACf,8BACM,sBACH,gBACP;;;;;AHHH;;;;;;;;;ACIA;AAIA;AAIgB,iBG8BM,QAAA,CH9BW,OAAA,EG+BtB,gBH/BsB,CAAA,EGgC9B,OHhC8B,CGgCtB,MHhCsB,CGgCf,eHhCe,EGgCE,cHhCF,CAAA,CAAA;;;iBIJjB,iBAAA,MAAuB,2BAA2B;;;;;;;iBCLlD,mBAAA,MACT,kCACU;;;cCTJ,oBAAoB;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/core/virtual-fs.ts","../src/core/template-processor.ts","../src/template-handlers/utils.ts","../src/template-handlers/addons.ts","../src/generator.ts","../src/processors/addons-deps.ts","../src/bts-config.ts","../src/templates.generated.ts","../src/utils/add-deps.ts","../src/utils/reproducible-command.ts"],"sourcesContent":[],"mappings":";;;;;;;cAOa,iBAAA;;;;;;EAAA,QAAA,CAAA,QAAA,EAAA,MAAiB,CAAA,EAAA,MAAA,GAAA,SAAA;EA6Ea,MAAA,CAAA,IAAA,EAAA,MAAA,CAAA,EAAA,OAAA;EAkCX,UAAA,CAAA,QAAA,EAAA,MAAA,CAAA,EAAA,OAAA;EAAgB,eAcrC,CAAA,OAAA,EAAA,MAAA,CAAA,EAAA,OAAA;EAAA,KAGJ,CAAA,OAAA,EAAA,MAAA,CAAA,EAAA,IAAA;EAAA,UAAA,CAAA,QAAA,EAAA,MAAA,CAAA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,QAAA;EAAO,SAAA,QAAA,EAAA,SAAA;;;;ECuCY,SAAA,gBAAQ,EAAA,QAAA;EACnB,SAAA,MAAA,EAAA,SAAA;EACO,SAAA,KAAA,EAAA,SAAA;EAAiB,SAAA,KAAA,EAAA,QAAA;EAAxB,SAAA,QAAA,EAAA,SAAA;EAAR,SAAA,aAAA,EAAA,SAAA;EAAO,SAAA,GAAA,EAAA,SAAA;;;;ECpCM,SAAA,gBAAiB,EAAA,QAAM;;;;ECLvB,SAAA,mBAAmB,EAAA,QAC5B;;;;ECRM,SAAA,gBAkm0BX,EAAA,QAlm0B+B;EAom0BpB,SAAA,aAAc,EAAA,SAAA;;;;EC1l0Bd,SAAA,EAAA,EAAA,QAAA;EAiJD,SAAA,gBAAqB,EAAA,QAAA;;;;EC/IjB,SAAA,kBAAA,EAAA,QAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KD+I/B,qBAAA,gBAAqC;;;iBC/IjC,2BAAA,SAAoC"}
|
package/dist/index.mjs
CHANGED
|
@@ -24525,6 +24525,39 @@ const styles = StyleSheet.create((theme) => ({
|
|
|
24525
24525
|
color: theme.colors.mutedForeground,
|
|
24526
24526
|
},
|
|
24527
24527
|
}));`],
|
|
24528
|
+
["frontend/native/unistyles/app/+html.tsx.hbs", `import { ScrollViewStyleReset } from "expo-router/html";
|
|
24529
|
+
import { type PropsWithChildren } from "react";
|
|
24530
|
+
|
|
24531
|
+
import "../unistyles";
|
|
24532
|
+
|
|
24533
|
+
// This file is web-only and used to configure the root HTML for every
|
|
24534
|
+
// web page during static rendering.
|
|
24535
|
+
// The contents of this function only run in Node.js environments and
|
|
24536
|
+
// do not have access to the DOM or browser APIs.
|
|
24537
|
+
export default function Root({ children }: PropsWithChildren) {
|
|
24538
|
+
return (
|
|
24539
|
+
<html lang="en">
|
|
24540
|
+
<head>
|
|
24541
|
+
<meta charSet="utf-8" />
|
|
24542
|
+
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
|
|
24543
|
+
<meta
|
|
24544
|
+
name="viewport"
|
|
24545
|
+
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
|
24546
|
+
/>
|
|
24547
|
+
|
|
24548
|
+
{/*
|
|
24549
|
+
Disable body scrolling on web. This makes ScrollView components work closer to how they do on native.
|
|
24550
|
+
However, body scrolling is often nice to have for mobile web. If you want to enable it, remove this line.
|
|
24551
|
+
*/}
|
|
24552
|
+
<ScrollViewStyleReset />
|
|
24553
|
+
|
|
24554
|
+
{/* Add any additional <head> elements that you want globally available on web... */}
|
|
24555
|
+
</head>
|
|
24556
|
+
<body>{children}</body>
|
|
24557
|
+
</html>
|
|
24558
|
+
);
|
|
24559
|
+
}
|
|
24560
|
+
`],
|
|
24528
24561
|
["frontend/native/unistyles/app/+not-found.tsx.hbs", `import { Link, Stack } from "expo-router";
|
|
24529
24562
|
import { Text, View } from "react-native";
|
|
24530
24563
|
import { StyleSheet } from "react-native-unistyles";
|
|
@@ -30052,7 +30085,7 @@ function SuccessPage() {
|
|
|
30052
30085
|
</div>
|
|
30053
30086
|
`]
|
|
30054
30087
|
]);
|
|
30055
|
-
const TEMPLATE_COUNT =
|
|
30088
|
+
const TEMPLATE_COUNT = 436;
|
|
30056
30089
|
|
|
30057
30090
|
//#endregion
|
|
30058
30091
|
export { EMBEDDED_TEMPLATES, GeneratorError, Handlebars, TEMPLATE_COUNT, VirtualFileSystem, dependencyVersionMap, generate, generateReproducibleCommand, isBinaryFile, processAddonTemplates, processAddonsDeps, processFileContent, processTemplateString, transformFilename, writeBtsConfigToVfs };
|