elit 3.3.2 → 3.3.3

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/cli.js CHANGED
@@ -1435,7 +1435,7 @@ var require_package = __commonJS({
1435
1435
  "package.json"(exports2, module2) {
1436
1436
  module2.exports = {
1437
1437
  name: "elit",
1438
- version: "3.3.2",
1438
+ version: "3.3.3",
1439
1439
  description: "Optimized lightweight library for creating DOM elements with reactive state",
1440
1440
  main: "dist/index.js",
1441
1441
  module: "dist/index.mjs",
@@ -4452,6 +4452,7 @@ async function runBuild(args) {
4452
4452
  ensureEnv(options, env);
4453
4453
  validateEntry(options.entry);
4454
4454
  await executeBuild(options);
4455
+ process.exit(0);
4455
4456
  } else {
4456
4457
  console.log(`Building ${builds.length} ${builds.length === 1 ? "entry" : "entries"}...
4457
4458
  `);
@@ -4472,12 +4473,15 @@ async function runBuild(args) {
4472
4473
  }
4473
4474
  console.log(`
4474
4475
  \u2713 All ${builds.length} builds completed successfully`);
4476
+ process.exit(0);
4475
4477
  }
4476
4478
  } else {
4477
4479
  const options = cliOptions;
4478
4480
  ensureEnv(options, env);
4479
4481
  validateEntry(options.entry);
4480
4482
  await executeBuild(options);
4483
+ console.log("\n\u2713 Build completed successfully");
4484
+ process.exit(0);
4481
4485
  }
4482
4486
  }
4483
4487
  async function runPreview(args) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elit",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "description": "Optimized lightweight library for creating DOM elements with reactive state",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/cli.ts CHANGED
@@ -156,6 +156,7 @@ async function runBuild(args: string[]) {
156
156
  validateEntry(options.entry);
157
157
 
158
158
  await executeBuild(options);
159
+ process.exit(0);
159
160
  } else {
160
161
  // Run all builds from config
161
162
  console.log(`Building ${builds.length} ${builds.length === 1 ? 'entry' : 'entries'}...\n`);
@@ -181,6 +182,7 @@ async function runBuild(args: string[]) {
181
182
  }
182
183
 
183
184
  console.log(`\n✓ All ${builds.length} builds completed successfully`);
185
+ process.exit(0);
184
186
  }
185
187
  } else {
186
188
  // No config, use CLI options only
@@ -190,6 +192,8 @@ async function runBuild(args: string[]) {
190
192
  validateEntry(options.entry);
191
193
 
192
194
  await executeBuild(options);
195
+ console.log('\n✓ Build completed successfully');
196
+ process.exit(0);
193
197
  }
194
198
  }
195
199