@deneb-ui/cli 2.0.19 → 2.0.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deneb-ui/cli",
3
- "version": "2.0.19",
3
+ "version": "2.0.21",
4
4
  "description": "Official developer CLI for DENEB UI — Validating, scaffolding, testing, and packaging storefront templates. Created by Chamika Gayashan & Induranga Kawishwara.",
5
5
  "bin": {
6
6
  "deneb": "bin/index.js",
@@ -422,11 +422,10 @@ const controllerToken = crypto.randomBytes(24).toString('base64url');
422
422
  const apiUrl = `http://${LOOPBACK_HOST}:${options.apiPort}`;
423
423
  const sourcePreviewUrl = `http://${LOOPBACK_HOST}:${options.previewPort}`;
424
424
  const previewUrl = `${apiUrl}${LOCAL_PREVIEW_ROUTE}`;
425
- const validatorPath = fs.existsSync(
426
- path.join(__dirname, 'deneb-template-validator.cjs'),
427
- )
428
- ? path.join(__dirname, 'deneb-template-validator.cjs')
429
- : path.join(__dirname, 'fivora-template-validator.cjs');
425
+ const validatorPath = path.join(
426
+ __dirname,
427
+ 'deneb-template-validator.cjs',
428
+ );
430
429
 
431
430
  let shuttingDown = false;
432
431
  let devProcess = null;
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
- // Backward-compatibility wrapper for DENEB template validator
3
- module.exports = require("./deneb-template-validator.cjs");