slicejs-cli 2.2.7 → 2.3.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/client.js CHANGED
@@ -40,7 +40,7 @@ async function runWithVersionCheck(commandFunction, ...args) {
40
40
 
41
41
  // Then check for updates (non-blocking)
42
42
  setTimeout(() => {
43
- versionChecker.checkForUpdates(true);
43
+ versionChecker.checkForUpdates(false);
44
44
  }, 100);
45
45
 
46
46
  return result;
@@ -43,8 +43,8 @@ const getComponents = () => {
43
43
  const config = loadConfig();
44
44
  if (!config) return {};
45
45
 
46
- const isProduction = config.production.enabled===true;
47
- const folderSuffix = isProduction ? 'dist' : 'src';
46
+ //const isProduction = config.production.enabled===true;
47
+ const folderSuffix = 'src'; // Siempre usar 'src' para desarrollo
48
48
 
49
49
  const componentPaths = config.paths?.components || {}; // Obtiene dinámicamente las rutas de los componentes
50
50
  let allComponents = new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slicejs-cli",
3
- "version": "2.2.7",
3
+ "version": "2.3.0",
4
4
  "description": "Command client for developing web applications with Slice.js framework",
5
5
  "main": "client.js",
6
6
  "scripts": {