@better-t-stack/template-generator 3.31.1 → 3.33.0
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 +30 -12
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1196 -206
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -65,6 +65,21 @@ declare function generate(options: GeneratorOptions): Promise<Result<VirtualFile
|
|
|
65
65
|
//#region src/processors/addons-deps.d.ts
|
|
66
66
|
declare function processAddonsDeps(vfs: VirtualFileSystem, config: ProjectConfig): void;
|
|
67
67
|
//#endregion
|
|
68
|
+
//#region src/processors/nx-generator.d.ts
|
|
69
|
+
declare function processNxConfig(vfs: VirtualFileSystem, config: ProjectConfig): void;
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/processors/turbo-generator.d.ts
|
|
72
|
+
declare function processTurboConfig(vfs: VirtualFileSystem, config: ProjectConfig): void;
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region src/processors/vite-plus-generator.d.ts
|
|
75
|
+
declare function processVitePlusConfig(vfs: VirtualFileSystem, config: ProjectConfig): void;
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region src/post-process/package-configs.d.ts
|
|
78
|
+
/**
|
|
79
|
+
* Update all package.json files with proper names, scripts, and workspaces
|
|
80
|
+
*/
|
|
81
|
+
declare function processPackageConfigs(vfs: VirtualFileSystem, config: ProjectConfig): void;
|
|
82
|
+
//#endregion
|
|
68
83
|
//#region src/bts-config.d.ts
|
|
69
84
|
/**
|
|
70
85
|
* Writes the BTS configuration file to the VFS (for new project creation).
|
|
@@ -74,7 +89,7 @@ declare function writeBtsConfigToVfs(vfs: VirtualFileSystem, projectConfig: Proj
|
|
|
74
89
|
//#endregion
|
|
75
90
|
//#region src/templates.generated.d.ts
|
|
76
91
|
declare const EMBEDDED_TEMPLATES: Map<string, string>;
|
|
77
|
-
declare const TEMPLATE_COUNT =
|
|
92
|
+
declare const TEMPLATE_COUNT = 497;
|
|
78
93
|
//#endregion
|
|
79
94
|
//#region src/utils/add-deps.d.ts
|
|
80
95
|
declare const dependencyVersionMap: {
|
|
@@ -111,15 +126,15 @@ declare const dependencyVersionMap: {
|
|
|
111
126
|
readonly "@prisma/adapter-planetscale": "^7.8.0";
|
|
112
127
|
readonly mongoose: "^9.6.2";
|
|
113
128
|
readonly mongodb: "^7.2.0";
|
|
114
|
-
readonly "vite-plugin-pwa": "^1.
|
|
129
|
+
readonly "vite-plugin-pwa": "^1.3.0";
|
|
115
130
|
readonly "@vite-pwa/assets-generator": "^1.0.2";
|
|
116
|
-
readonly "@tauri-apps/cli": "^2.
|
|
117
|
-
readonly "@biomejs/biome": "^2.
|
|
118
|
-
readonly oxlint: "^1.
|
|
119
|
-
readonly oxfmt: "^0.
|
|
131
|
+
readonly "@tauri-apps/cli": "^2.11.2";
|
|
132
|
+
readonly "@biomejs/biome": "^2.4.16";
|
|
133
|
+
readonly oxlint: "^1.68.0";
|
|
134
|
+
readonly oxfmt: "^0.53.0";
|
|
120
135
|
readonly husky: "^9.1.7";
|
|
121
|
-
readonly lefthook: "^2.
|
|
122
|
-
readonly "lint-staged": "^
|
|
136
|
+
readonly lefthook: "^2.1.9";
|
|
137
|
+
readonly "lint-staged": "^17.0.7";
|
|
123
138
|
readonly tsx: "^4.19.2";
|
|
124
139
|
readonly "@types/node": "^22.13.14";
|
|
125
140
|
readonly "@types/bun": "^1.3.4";
|
|
@@ -137,8 +152,10 @@ declare const dependencyVersionMap: {
|
|
|
137
152
|
readonly "@types/cors": "^2.8.17";
|
|
138
153
|
readonly fastify: "^5.3.3";
|
|
139
154
|
readonly "@fastify/cors": "^11.0.1";
|
|
140
|
-
readonly turbo: "^2.
|
|
141
|
-
readonly nx: "^
|
|
155
|
+
readonly turbo: "^2.9.16";
|
|
156
|
+
readonly nx: "^22.7.5";
|
|
157
|
+
readonly "vite-plus": "0.1.24";
|
|
158
|
+
readonly rolldown: "1.1.0";
|
|
142
159
|
readonly ai: "^6.0.3";
|
|
143
160
|
readonly "@ai-sdk/google": "^3.0.1";
|
|
144
161
|
readonly "@ai-sdk/vue": "^3.0.3";
|
|
@@ -183,6 +200,7 @@ declare const dependencyVersionMap: {
|
|
|
183
200
|
readonly "@opennextjs/cloudflare": "^1.17.3";
|
|
184
201
|
readonly "nitro-cloudflare-dev": "^0.2.2";
|
|
185
202
|
readonly "@sveltejs/adapter-cloudflare": "^7.2.8";
|
|
203
|
+
readonly "@sveltejs/adapter-node": "^5.5.4";
|
|
186
204
|
readonly "@cloudflare/workers-types": "^4.20251213.0";
|
|
187
205
|
readonly "@astrojs/cloudflare": "^13.0.1";
|
|
188
206
|
readonly "@astrojs/node": "^10.0.0-beta.9";
|
|
@@ -198,12 +216,12 @@ declare const dependencyVersionMap: {
|
|
|
198
216
|
readonly "@polar-sh/sdk": "^0.47.1";
|
|
199
217
|
readonly "@stripe/react-stripe-js": "^4.0.2";
|
|
200
218
|
readonly "@stripe/stripe-js": "^7.9.0";
|
|
201
|
-
readonly evlog: "^2.
|
|
219
|
+
readonly evlog: "^2.18.1";
|
|
202
220
|
};
|
|
203
221
|
type AvailableDependencies = keyof typeof dependencyVersionMap;
|
|
204
222
|
//#endregion
|
|
205
223
|
//#region src/utils/reproducible-command.d.ts
|
|
206
224
|
declare function generateReproducibleCommand(config: ProjectConfig): string;
|
|
207
225
|
//#endregion
|
|
208
|
-
export { type AvailableDependencies, EMBEDDED_TEMPLATES, GeneratorError, GeneratorOptions, Handlebars, TEMPLATE_COUNT, type TemplateData, VirtualDirectory, VirtualFile, VirtualFileSystem, VirtualFileTree, VirtualNode, dependencyVersionMap, generate, generateReproducibleCommand, isBinaryFile, processAddonTemplates, processAddonsDeps, processFileContent, processTemplateString, transformFilename, writeBtsConfigToVfs };
|
|
226
|
+
export { type AvailableDependencies, EMBEDDED_TEMPLATES, GeneratorError, GeneratorOptions, Handlebars, TEMPLATE_COUNT, type TemplateData, VirtualDirectory, VirtualFile, VirtualFileSystem, VirtualFileTree, VirtualNode, dependencyVersionMap, generate, generateReproducibleCommand, isBinaryFile, processAddonTemplates, processAddonsDeps, processFileContent, processNxConfig, processPackageConfigs, processTemplateString, processTurboConfig, processVitePlusConfig, transformFilename, writeBtsConfigToVfs };
|
|
209
227
|
//# sourceMappingURL=index.d.mts.map
|
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"],"mappings":";;;;;;;cAOa,iBAAA;EAAA,QACH,GAAA;EAAA,QACA,IAAA;EAAA,QACA,cAAA;;EAQR,SAAA,CAAU,QAAA,UAAkB,OAAA,UAAiB,UAAA;EAY7C,QAAA,CAAS,QAAA;EAQT,MAAA,CAAO,IAAA;EASP,UAAA,CAAW,QAAA;EAQX,eAAA,CAAgB,OAAA;EAQhB,KAAA,CAAM,OAAA;EAIN,UAAA,CAAW,QAAA;EASX,OAAA,CAAQ,OAAA;EAQR,QAAA,aAAA,CAAsB,QAAA,WAAmB,CAAA;EAUzC,SAAA,CAAU,QAAA,UAAkB,IAAA,WAAe,MAAA;EAI3C,WAAA,CAAA;EAMA,iBAAA,CAAA;EAMA,YAAA,CAAA;EAIA,iBAAA,CAAA;EAIA,MAAA,CAAO,QAAA,YAAuB,gBAAA;EAO9B,KAAA,CAAA;EAOA,SAAA,CAAA,GAd8C,OAAA,CAcrC,MAAA;EAGT,KAAA,CAAA,GAHS,OAAA,CAGJ,GAAA;EAAA,QAIG,OAAA;EAAA,QAeA,SAAA;EAAA,QAiCA,YAAA;EAAA,QAWA,aAAA;AAAA;;;
|
|
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/processors/nx-generator.ts","../src/processors/turbo-generator.ts","../src/processors/vite-plus-generator.ts","../src/post-process/package-configs.ts","../src/bts-config.ts","../src/templates.generated.ts","../src/utils/add-deps.ts","../src/utils/reproducible-command.ts"],"mappings":";;;;;;;cAOa,iBAAA;EAAA,QACH,GAAA;EAAA,QACA,IAAA;EAAA,QACA,cAAA;;EAQR,SAAA,CAAU,QAAA,UAAkB,OAAA,UAAiB,UAAA;EAY7C,QAAA,CAAS,QAAA;EAQT,MAAA,CAAO,IAAA;EASP,UAAA,CAAW,QAAA;EAQX,eAAA,CAAgB,OAAA;EAQhB,KAAA,CAAM,OAAA;EAIN,UAAA,CAAW,QAAA;EASX,OAAA,CAAQ,OAAA;EAQR,QAAA,aAAA,CAAsB,QAAA,WAAmB,CAAA;EAUzC,SAAA,CAAU,QAAA,UAAkB,IAAA,WAAe,MAAA;EAI3C,WAAA,CAAA;EAMA,iBAAA,CAAA;EAMA,YAAA,CAAA;EAIA,iBAAA,CAAA;EAIA,MAAA,CAAO,QAAA,YAAuB,gBAAA;EAO9B,KAAA,CAAA;EAOA,SAAA,CAAA,GAd8C,OAAA,CAcrC,MAAA;EAGT,KAAA,CAAA,GAHS,OAAA,CAGJ,GAAA;EAAA,QAIG,OAAA;EAAA,QAeA,SAAA;EAAA,QAiCA,YAAA;EAAA,QAWA,aAAA;AAAA;;;iBC3LM,qBAAA,CAAsB,OAAA,UAAiB,OAAA,EAAS,aAAa;AAAA,iBAI7D,YAAA,CAAa,QAAgB;AAAA,iBAI7B,iBAAA,CAAkB,QAAgB;AAAA,iBAWlC,kBAAA,CACd,QAAA,UACA,OAAA,UACA,OAAA,EAAS,aAAa;;;KC5BZ,YAAA,GAAe,GAAG;;;iBCAR,qBAAA,CACpB,GAAA,EAAK,iBAAA,EACL,SAAA,EAAW,YAAA,EACX,MAAA,EAAQ,aAAA,G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