arckode-ui 0.2.5 → 0.2.6

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/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ Cambios entre versiones publicadas. Sigue [keepachangelog](https://keepachangelo
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.2.6] — 2026-05-23
8
+
9
+ ### Fixed
10
+ - **🔴 BUG**: `ark analyze` procesaba archivos `.store.ts` y `.service.ts` como si fueran
11
+ componentes `.ark`, reportando `MISSING_TEMPLATE` y `MISSING_SCRIPT` en archivos TypeScript
12
+ puros. El scanner en `analyze-cmd.ts` tenía filtros erróneos: `entry.name.endsWith('.store.ts')`
13
+ y `entry.name.endsWith('.service.ts')`. Fix: el scanner solo escanea `.ark`.
14
+
7
15
  ## [0.2.5] — 2026-05-23
8
16
 
9
17
  ### Added
@@ -141,7 +149,8 @@ Cambios entre versiones publicadas. Sigue [keepachangelog](https://keepachangelo
141
149
  - TypeScript declarations no se generaban (`vite-plugin-dts` faltaba) —
142
150
  arreglado en `0.2.2`.
143
151
 
144
- [Unreleased]: https://gitlab.com/underworf/arckode-ui/-/compare/v0.2.5...HEAD
152
+ [Unreleased]: https://gitlab.com/underworf/arckode-ui/-/compare/v0.2.6...HEAD
153
+ [0.2.6]: https://gitlab.com/underworf/arckode-ui/-/compare/v0.2.5...v0.2.6
145
154
  [0.2.5]: https://gitlab.com/underworf/arckode-ui/-/compare/v0.2.4...v0.2.5
146
155
  [0.2.4]: https://gitlab.com/underworf/arckode-ui/-/compare/v0.2.3...v0.2.4
147
156
  [0.2.3]: https://gitlab.com/underworf/arckode-ui/-/compare/v0.2.2...v0.2.3
package/dist/cli.js CHANGED
@@ -342,10 +342,10 @@ function U(e) {
342
342
  function V(e, t) {
343
343
  return n.join(e, "src", "components", "features", `${t}.ark`);
344
344
  }
345
- function W(e, t) {
345
+ function M(e, t) {
346
346
  return n.join(e, "src", "pages", `${t}.ark`);
347
347
  }
348
- function M(e, t) {
348
+ function W(e, t) {
349
349
  return n.join(e, "src", "stores", `${t}.store.ts`);
350
350
  }
351
351
  function K(e, t) {
@@ -379,10 +379,10 @@ function Z(e, t, s = {}) {
379
379
  r = V(o, t), c = O(t);
380
380
  break;
381
381
  case "page":
382
- r = W(o, t), c = R(t);
382
+ r = M(o, t), c = R(t);
383
383
  break;
384
384
  case "store":
385
- r = M(o, t), c = G(t);
385
+ r = W(o, t), c = G(t);
386
386
  break;
387
387
  case "service": {
388
388
  r = K(o, t), c = z(t);
@@ -412,7 +412,7 @@ function y(e) {
412
412
  const t = [], s = a.readdirSync(e, { withFileTypes: !0 });
413
413
  for (const o of s) {
414
414
  const i = n.join(e, o.name);
415
- o.isDirectory() ? t.push(...y(i)) : o.isFile() && (o.name.endsWith(".ark") || o.name.endsWith(".store.ts") || o.name.endsWith(".service.ts")) && t.push(i);
415
+ o.isDirectory() ? t.push(...y(i)) : o.isFile() && o.name.endsWith(".ark") && t.push(i);
416
416
  }
417
417
  return t;
418
418
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arckode-ui",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "type": "module",
5
5
  "description": "Frontend framework con .ark SFCs, signals, file-system router y analyzer estático con sugerencias concretas de fix. Diseñado para máxima predictibilidad de output de IA.",
6
6
  "keywords": [