rtgl 0.0.10 → 0.0.11-rc2

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.
Files changed (2) hide show
  1. package/cli.js +12 -6
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -153,9 +153,15 @@ Examples:
153
153
  throw new Error(`Directories do not exist: ${missingDirs.join(", ")}`);
154
154
  }
155
155
 
156
- // Pass dirs and setup from config
156
+ // Pass dirs, setup, and outfile from config
157
157
  options.dirs = config.fe.dirs;
158
158
  options.setup = config.fe.setup || "setup.js";
159
+
160
+ // Use config outfile if not specified via CLI option
161
+ if (!options.outfile && config.fe.outfile) {
162
+ options.outfile = config.fe.outfile;
163
+ }
164
+
159
165
  watch(options);
160
166
  });
161
167
 
@@ -186,7 +192,7 @@ vtCommand
186
192
  }
187
193
 
188
194
  // Use vt.path from config, default to 'vt'
189
- options.vizPath = config.vt?.path || "vt";
195
+ options.vtPath = config.vt?.path || "vt";
190
196
 
191
197
  generate(options);
192
198
  });
@@ -201,8 +207,8 @@ vtCommand
201
207
  throw new Error("rettangoli.config.yaml not found");
202
208
  }
203
209
 
204
- const vizPath = config.vt?.path || "vt";
205
- report({ vizPath });
210
+ const vtPath = config.vt?.path || "vt";
211
+ report({ vtPath });
206
212
  });
207
213
 
208
214
  vtCommand
@@ -215,8 +221,8 @@ vtCommand
215
221
  throw new Error("rettangoli.config.yaml not found");
216
222
  }
217
223
 
218
- const vizPath = config.vt?.path || "vt";
219
- accept({ vizPath });
224
+ const vtPath = config.vt?.path || "vt";
225
+ accept({ vtPath });
220
226
  });
221
227
 
222
228
  const sitesCommand = program.command("sites").description("Rettangoli Sites");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rtgl",
3
- "version": "0.0.10",
3
+ "version": "0.0.11-rc2",
4
4
  "description": "CLI tool for Rettangoli - A frontend framework and development toolkit",
5
5
  "type": "module",
6
6
  "bin": {
@@ -47,7 +47,7 @@
47
47
  "dependencies": {
48
48
  "commander": "^14.0.0",
49
49
  "js-yaml": "^4.1.0",
50
- "@rettangoli/fe": "0.0.6",
50
+ "@rettangoli/fe": "0.0.7-rc2",
51
51
  "@rettangoli/sites": "0.1.0",
52
52
  "@rettangoli/vt": "0.0.2-rc1"
53
53
  }