@pasosdejesus/m 0.22.3 → 0.22.4

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/CHANGELOG.md CHANGED
@@ -2,6 +2,91 @@
2
2
 
3
3
  All notable changes to `@pasosdejesus/m` are documented in this file.
4
4
 
5
+ ## [0.22.4] - 2026-10-06
6
+
7
+ ### Fixed
8
+
9
+ - **`mpdj@0.2.9`:** la banda inferior de las imágenes de credenciales (SBT) ya no
10
+ superpone el título del curso con el nombre del sitio. El ancho disponible se
11
+ calcula con el nombre y el tamaño de fuente reales (el nombre del sitio se achica,
12
+ nunca se recorta) y el título baja de 36px a 20px y recién ahí se recorta con `...`
13
+ hasta entrar. Antes el tamaño de fuente salía de **contar** caracteres, así que un
14
+ título de 20 caracteres a 36px se metía más de 130px sobre
15
+ `stable-sl.pdJ.app` (https://github.com/pasosdeJesus/learn.tg/issues/195).
16
+ - **`mpdj@0.2.10`:** la composición de la imagen de credencial ya no descarta el
17
+ `transform` de la raíz del SVG fuente. `extractSvgInner` devolvía el contenido sin
18
+ el atributo del tag `<svg>` raíz, así que un `<svg transform="...">` perdía su
19
+ escala/traslación y la ilustración salía descentrada y recortada (medido con el
20
+ curso "A relationship with Jesus" de learn.tg, tokens 9 y 10). Nuevo helper
21
+ `extractSvgInnerLayer` (envuelve el contenido en `<g transform="...">` cuando la
22
+ raíz tiene `transform`), usado en la capa del ícono y también en el logo del sitio,
23
+ el candado y el sello pdJ (m#48,
24
+ https://gitlab.com/pasosdeJesus/m/-/work_items/48).
25
+ - **`mpdj@0.2.10`:** los SVG de la credencial (`blockchain/img/`) no se copiaban a
26
+ `dist`, así que el compositor nunca encontraba el sello pdJ (`__dirname/img/
27
+ PdJ-badge.svg`) y las credenciales salían **sin sello**; además el logo del sitio
28
+ caía al dibujo de reserva. Ahora el build los copia y el sello vuelve a dibujarse:
29
+ dice "pdJ" en cursiva (`escuela-cursiva`, pasado a trazos con inkscape para no
30
+ depender de la fuente) y toma el color del tipo de credencial (`#currentColor`).
31
+ - **`mpdj@0.2.11`:** el ícono del curso se escala a un **cuadrado seguro centrado**
32
+ (`ICON_SAFE_SIDE = 288`) en vez de llenar el marco (`translate(11,11) scale(0.95)`),
33
+ para no pisar el sello pdJ (arriba-izquierda), el candado (arriba-derecha) ni el logo
34
+ del sitio (abajo-derecha). Un cuadrado a sangre llenaba 486×486 y tapaba el pdJ; ahora
35
+ el ícono queda de (112,112) a (400,400) (m#48 §8.1).
36
+ - **`mpdj@0.2.11`:** el candado se dibuja siempre en el mismo marco (`LOCK_FRAME`,
37
+ `translate(405,4) scale(2)`), tanto si viene del asset `lock-sbt.svg` (que ahora
38
+ también se busca en el paquete) como del fallback inline; antes el fallback caía en
39
+ `translate(452,4) scale(1.8)` y quedaba pegado al borde (m#48 §8.2).
40
+ - **`mpdj@0.2.11`:** el logo del sitio es un **parámetro** de la composición: el ícono de
41
+ learn.tg / sivel.xyz / stable-sl.pdJ.app **viaja en el paquete** (`blockchain/img/`,
42
+ `SHORT_NAMES`), así que `eng:credentials:recompose-image --site <sitio>` recompone con
43
+ el logo correcto sin depender de `credential_metadata.site` y sin pasar archivos (m#48
44
+ §8.3).
45
+ - **`m` 0.22.4:** `SheetContent` (shadcn) declara `children` explícito: con
46
+ `@radix-ui/react-dialog` 1.1.23 y los tipos de React 19, `ComponentPropsWithoutRef` ya
47
+ no lo expone y el `typecheck` del andamiaje fallaba en `app/testui/page.tsx`.
48
+ - **`mpdj` 0.2.13:** declara `react` como peer y `react`, `react-dom`, `@types/react` y
49
+ `@types/react-dom` como devDeps. Sus componentes de UI (`SlearnInfo`,
50
+ `AddSlearnButton`) los necesitan; antes dependían del hoisting del monorepo y el
51
+ `typecheck` se rompía al reinstalar dependencias.
52
+
53
+ ### Documentation
54
+
55
+ - **`mpdj@0.2.9`:** la tabla de exports de `blockchain/credential-images` del README
56
+ documenta `credentialTitleLayout`, `credentialTitle`, `estimateTextWidth`, `BAND` y
57
+ `MAX_TITLE_LENGTH`, y hay un test nuevo (`credential-images-band.test.ts`) que
58
+ renderiza la banda con `rsvg-convert` y exige que la tinta del título no toque la
59
+ del nombre del sitio.
60
+ - **`mpdj@0.2.10`:** cuatro instrumentos de alineación
61
+ (`alineacion_dinamica_poblaciones`, `alineacion_informacion`,
62
+ `alineacion_informacion_cadena`, `alineacion_mejor_marco_operativo`) no traían la
63
+ sección `## Detección de eco` ni la distinción entre adopción analítica y
64
+ afirmación metafísica que exige `__tests__/ia-alignment.test.ts` (los tres últimos
65
+ tampoco nombraban a Jesús, que `ai.framework` busca en el instrumento que elige al
66
+ azar). Se completaron: `dinamica_poblaciones` pasó de un prompt suelto a un
67
+ instrumento con sus tres niveles, y los cuatro comparten la sección de eco.
68
+
69
+ ### Changed
70
+
71
+ - **`mpdj@0.2.12`:** se quita la opción de logo externo que se había agregado en 0.2.11
72
+ (`--site-logo` en `recompose-image` y `register-type`, y `siteLogoPath` en
73
+ `composeCredentialImage`): por ahora solo se contemplan los logos que viajan en el
74
+ paquete, seleccionados con `--site`. Un proyecto con logo propio lo deja como
75
+ `public/img/logo-<corto>.svg`, que `getSiteLogo` busca antes de la copia del paquete
76
+ (m#48 §8.3).
77
+ - **`m` 0.22.4 / `mpdj` 0.2.13 — Next 16:** el andamiaje
78
+ (`packages/m/templates/apps/nextjs`) y el proyecto de prueba pasan a `next ^16.0.0`
79
+ (16.4.0) con `--webpack` en `dev` y `build`, porque Turbopack necesita bindings nativos
80
+ (`next-swc`) que no existen para `openbsd/x64`; el `Makefile` arranca el build con
81
+ `ulimit -d 7340032` (con el límite por defecto de 1.5G V8 crashea durante el build con
82
+ Webpack) y la meta `dev` usa `pnpm dev` en vez de un `bin/dev` inexistente. El override
83
+ `pnpm` de la raíz pasa de `next 15.5.22` a `^16.0.0` (era el bloqueo real: mantenía todo
84
+ el monorepo en 15), y `m`/`mpdj` fijan `next ^16.0.0` en devDeps (REQ/43).
85
+ - **`m` 0.22.4 / `mpdj` 0.2.13 — React:** el andamiaje y el proyecto de prueba pasan de
86
+ `react`/`react-dom` `19.2.7` a **`19.3.0`**, con el mismo criterio de pin exacto que ya
87
+ usaba el repo: con rangos (`^19.2.8`) el árbol terminaba con dos copias de React y los
88
+ componentes shadcn fallaban (`Cannot read properties of null (reading 'useRef')`).
89
+
5
90
  ## [0.22.3] - 2026-09-27
6
91
 
7
92
  ### Added
@@ -8,7 +8,7 @@ declare const useFormField: () => {
8
8
  isDirty: boolean;
9
9
  isTouched: boolean;
10
10
  isValidating: boolean;
11
- error?: import("react-hook-form").FieldError;
11
+ error?: import("react-hook-form").FieldError | undefined;
12
12
  id: string;
13
13
  name: string;
14
14
  formItemId: string;
@@ -17,7 +17,9 @@ declare const useFormField: () => {
17
17
  };
18
18
  declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
19
19
  declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
20
- declare const FormControl: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-slot").SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
20
+ declare const FormControl: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement> & {
21
+ children?: React.ReactNode;
22
+ } & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
21
23
  declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
22
24
  declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
23
25
  export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, };
@@ -1 +1 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/shadcn_components/ui/form.tsx"],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YAAY,CAAC,CAAgB,CAAA;AAa9E,QAAA,MAAM,SAAS,GACb,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,cAEC,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,sBAMtC,CAAA;AAED,QAAA,MAAM,YAAY;;;;;;;;;;;CAqBjB,CAAA;AAUD,QAAA,MAAM,QAAQ,6GAWZ,CAAA;AAGF,QAAA,MAAM,SAAS,yJAcb,CAAA;AAGF,QAAA,MAAM,WAAW;;gFAmBf,CAAA;AAGF,QAAA,MAAM,eAAe,yHAcnB,CAAA;AAGF,QAAA,MAAM,WAAW,yHAqBf,CAAA;AAGF,OAAO,EACL,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,WAAW,EACX,eAAe,EACf,WAAW,EACX,SAAS,GACV,CAAA"}
@@ -10,6 +10,7 @@ declare const sheetVariants: (props?: ({
10
10
  side?: "top" | "right" | "bottom" | "left" | null | undefined;
11
11
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
12
  interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
13
+ children?: React.ReactNode;
13
14
  }
14
15
  declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
15
16
  declare const SheetHeader: {
@@ -1 +1 @@
1
- {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../src/shadcn_components/ui/sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKjE,QAAA,MAAM,KAAK,sCAAsB,CAAA;AAEjC,QAAA,MAAM,YAAY,6GAAyB,CAAA;AAE3C,QAA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,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CAAC,+BAA+B,EAAE,SAAS,CAAC,KACrD,KAAK,GACT,CACH,CAAC,CAAA;AACF,gBAAgB,CAAC,WAAW,GAAG,cAAc,CAAC,WAAW,CAAC,WAAW,CAAA;AAErE,OAAO,EACL,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,GACjB,CAAA"}
@@ -13,12 +13,14 @@ format:
13
13
  pnpm format
14
14
 
15
15
  dev:
16
- ./bin/dev
16
+ pnpm dev
17
17
 
18
+ # Next 16 con Webpack: V8 crashea (Trace/BPT trap) con el límite de data por
19
+ # defecto en adJ/OpenBSD, así que el build sube a 7G.
18
20
  prod:
19
- pnpm build
21
+ sh -c 'ulimit -d 7340032 && pnpm build'
20
22
  ./bin/start > prod.log 2>&1 &
21
23
 
22
24
  all:
23
25
  pnpm i
24
- pnpm build
26
+ sh -c 'ulimit -d 7340032 && pnpm build'
@@ -1,5 +1,7 @@
1
1
  /// <reference types="next" />
2
2
  /// <reference types="next/image-types/global" />
3
+ import "./.next/types/routes.d.ts";
4
+ import "./.next/types/root-params.d.ts";
3
5
 
4
6
  // NOTE: This file should not be edited
5
7
  // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
@@ -5,8 +5,8 @@
5
5
  "description": "{{description}}",
6
6
  "type": "module",
7
7
  "scripts": {
8
- "dev": "next dev",
9
- "build": "next build",
8
+ "dev": "next dev --webpack",
9
+ "build": "next build --webpack",
10
10
  "start": "next start",
11
11
  "lint": "next lint",
12
12
  "test": "dotenv -e ../.env.test -- vitest run",
@@ -19,10 +19,10 @@
19
19
  "@pasosdejesus/m": "gitlab:pasosdejesus/m",
20
20
  "dotenv": "^17.4.2",
21
21
  "kysely-postgres-js": "3.0.0",
22
- "next": "15.5.22",
22
+ "next": "^16.0.0",
23
23
  "pg": "8.17.2",
24
- "react": "19.2.7",
25
- "react-dom": "19.2.7"
24
+ "react": "19.3.0",
25
+ "react-dom": "19.3.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@testing-library/react": "16.3.2",
@@ -25,7 +25,7 @@
25
25
  "incremental": true,
26
26
  "resolveJsonModule": true,
27
27
  "isolatedModules": true,
28
- "jsx": "preserve",
28
+ "jsx": "react-jsx",
29
29
  "plugins": [
30
30
  {
31
31
  "name": "next"
@@ -36,9 +36,10 @@
36
36
  "src/**/*.ts",
37
37
  "app/**/*.ts",
38
38
  "app/**/*.tsx",
39
- ".next/types/**/*.ts"
39
+ ".next/types/**/*.ts",
40
+ ".next/dev/types/**/*.ts"
40
41
  ],
41
42
  "exclude": [
42
43
  "node_modules"
43
44
  ]
44
- }
45
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pasosdejesus/m",
3
- "version": "0.22.3",
3
+ "version": "0.22.4",
4
4
  "description": "Motor para crear y gestionar proyectos al estilo Pasos de Jesus.",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -166,7 +166,7 @@
166
166
  "kysely-codegen": "^0.20.0",
167
167
  "kysely-ctl": "^0.21.0",
168
168
  "lucide-react": "^1.16.0",
169
- "next": "^15.5.21",
169
+ "next": "^16.0.0",
170
170
  "next-auth": "^4.24.15",
171
171
  "pg": "^8.21.0",
172
172
  "postcss": "^8.5.15",