@pasosdejesus/m 0.36.0 → 0.36.1
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 +19 -1
- package/dist/compose/vendor.d.ts +38 -14
- package/dist/compose/vendor.d.ts.map +1 -1
- package/dist/compose/vendor.js +123 -25
- package/dist/compose/vendor.js.map +1 -1
- package/dist/tasks/self-update.js +1 -1
- package/man/man1/m.1 +1 -1
- package/package.json +1 -1
package/dist/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ All notable changes to `@pasosdejesus/m` are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
### Fixed — `eng:sync --vendor` output is consumer-ready and content-hashed (**`m@0.36.1`**)
|
|
8
|
+
|
|
9
|
+
- The vendored copy now emits `workspace:*` for sibling engines, rewrites their
|
|
10
|
+
`m-engine.json` package names to `generated-<alias>`, and uses `catalog:` for dependencies the
|
|
11
|
+
consumer already catalogs (`@pasosdejesus/m`, `viem`, …). Consumers no longer need to edit
|
|
12
|
+
`packages/generated/<motor>` after re-vendoring.
|
|
13
|
+
- `PROVENANCE.json` now hashes the whole vendored payload (`sha256`, covering `src/`, `db/`,
|
|
14
|
+
`m-engine.json` and `m-engine.generated.ts`) and keeps the schema hash in `schemaSha256`;
|
|
15
|
+
`eng:check` reports source drift when only a component changes.
|
|
16
|
+
|
|
7
17
|
### Added — `m:self-update` (**`m@0.36.0`**)
|
|
8
18
|
|
|
9
19
|
- Explicit command to install or refresh a user copy of the CLI in `M_DIR` (`~/.m-cli`): it installs
|
|
@@ -11,7 +21,8 @@ All notable changes to `@pasosdejesus/m` are documented in this file.
|
|
|
11
21
|
ready), always with `--ignore-scripts`; `--check` only asks npm, `--dry-run` prints the command,
|
|
12
22
|
`M_VERSION` pins the version.
|
|
13
23
|
- It never runs at startup and never replaces the packaged `m`: the adJ port installs
|
|
14
|
-
`/usr/local/bin/m` as a symlink to `dist/m.js`, with no wrapper or `m-cli`
|
|
24
|
+
`/usr/local/bin/m` as a symlink to `dist/m.js`, with no wrapper or `m-cli`
|
|
25
|
+
([adJ/REQ/18](https://gitlab.com/pasosdeJesus/adJ/-/work_items/18)).
|
|
15
26
|
|
|
16
27
|
### Added — `contract:compile` compiles without Hardhat (**`contract-test@0.2.0`**)
|
|
17
28
|
|
|
@@ -67,6 +78,13 @@ All notable changes to `@pasosdejesus/m` are documented in this file.
|
|
|
67
78
|
wrapper is never called with a literal (or the directory does not exist), it reports nothing rather
|
|
68
79
|
than guessing. Two tests cover both cases.
|
|
69
80
|
|
|
81
|
+
### Fixed — wallet panel tabs wrap instead of scrolling (**`wallet@0.1.1`**)
|
|
82
|
+
|
|
83
|
+
- The tab bar now grows when its labels need a second row (`h-auto min-h-10`), so
|
|
84
|
+
"Coleccionables" and the other tabs stay inside the tab bar instead of overlapping the
|
|
85
|
+
content below on narrow screens. The panel also keeps a margin from the viewport edges
|
|
86
|
+
on mobile and hides horizontal overflow.
|
|
87
|
+
|
|
70
88
|
## [0.35.0] - 2026-10-20
|
|
71
89
|
|
|
72
90
|
### Changed — generated projects use `contract:test` and `contract:checkdeploy`
|
package/dist/compose/vendor.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendorización "etapa 0" (https://gitlab.com/pasosdeJesus/m/-/work_items/39 D17): copia trazable de un motor dentro del
|
|
3
3
|
* consumidor (`packages/generated/<motor>`), con **procedencia** (motor, versión,
|
|
4
|
-
* origen
|
|
5
|
-
* cambio del motor = **regenerar**
|
|
4
|
+
* origen, `sha256` del contenido y `schemaSha256` del esquema) para poder medir
|
|
5
|
+
* **drift** contra el original. Adoptar un cambio del motor = **regenerar**
|
|
6
|
+
* (`eng:sync --vendor`), no fusionar a mano.
|
|
6
7
|
*
|
|
7
8
|
* "Porque ¿quién de vosotros, queriendo edificar una torre, no se sienta primero y calcula los gastos…?" (Lucas 14:28)
|
|
8
9
|
*/
|
|
@@ -12,7 +13,12 @@ export interface Provenance {
|
|
|
12
13
|
version: string;
|
|
13
14
|
/** Ruta local del motor (`kind: 'local'`), o `<url>#<ref>` cuando viene de git. */
|
|
14
15
|
source: string;
|
|
16
|
+
/** Hash del contenido vendorizado (`src`, `db`, intención y hechos). */
|
|
15
17
|
sha256: string;
|
|
18
|
+
/** `payload` cuando `sha256` cubre todo el contenido; ausente en copias antiguas. */
|
|
19
|
+
hash?: 'payload';
|
|
20
|
+
/** Hash del esquema de referencia (`db/structure.sql`), independiente de `src/`. */
|
|
21
|
+
schemaSha256?: string;
|
|
16
22
|
/** De dónde se tomó el motor. Por defecto `local`. */
|
|
17
23
|
kind?: 'local' | 'git';
|
|
18
24
|
/** URL del repositorio cuando `kind: 'git'`. */
|
|
@@ -30,6 +36,14 @@ export interface GitOrigin {
|
|
|
30
36
|
}
|
|
31
37
|
/** `sha256` del esquema de referencia del motor (`db/structure.sql`), o `null`. */
|
|
32
38
|
export declare function structureSha(dir: string): string | null;
|
|
39
|
+
/**
|
|
40
|
+
* `sha256` del contenido que se vendoriza (`src`, `db`, intención y hechos, sin
|
|
41
|
+
* pruebas). Incluye la ruta relativa y el contenido en orden estable, para que
|
|
42
|
+
* cualquier cambio de fuente cambie el hash.
|
|
43
|
+
*/
|
|
44
|
+
export declare function payloadSha(dir: string): string;
|
|
45
|
+
/** Catálogo del workspace pnpm más cercano a `start` (o `{}` si no hay). */
|
|
46
|
+
export declare function findWorkspaceCatalog(start: string): Record<string, string>;
|
|
33
47
|
/**
|
|
34
48
|
* `tsconfig.json` de la copia vendorizada: proyecto **autónomo** (no hereda de `m`),
|
|
35
49
|
* de modo que cada copia se compile por separado (`tsc -b`) y no pese en el
|
|
@@ -42,14 +56,17 @@ export declare function vendoredTsconfig(): string;
|
|
|
42
56
|
* La copia debe **nacer consumible** (auditoría de learn.tg, 2026-10-14):
|
|
43
57
|
* - **Preserva los `exports` reales del motor** (p. ej. `./next` → `dist/components/index.js`),
|
|
44
58
|
* no un `./*` genérico que rompe los subpaths.
|
|
45
|
-
* - **Puentea los motores de los que depende** por **nombre** (`generated-<alias>`): sus `import`
|
|
46
|
-
* reescriben en la copia (ver `rewriteEngineImports`
|
|
47
|
-
*
|
|
48
|
-
* copia al layout
|
|
49
|
-
*
|
|
50
|
-
*
|
|
59
|
+
* - **Puentea los motores de los que depende** por **nombre** (`generated-<alias>`): sus `import` y
|
|
60
|
+
* la intención (`m-engine.json`) se reescriben en la copia (ver `rewriteEngineImports` y
|
|
61
|
+
* `rewriteEngineIntention`) y se declaran como dependencia `workspace:*` (el consumidor añade
|
|
62
|
+
* `packages/generated/*` a su workspace). **Sin rutas `file:../…`**: atarían la copia al layout
|
|
63
|
+
* de una máquina.
|
|
64
|
+
* - Usa `catalog:` para las dependencias que el workspace del consumidor ya cataloga, de modo que
|
|
65
|
+
* la copia comparta la versión única del consumidor (`@pasosdejesus/m`, `viem`, …).
|
|
66
|
+
* - No emite rangos `workspace:` salvo `workspace:*` en los motores hermanos; los `peerDependencies`
|
|
67
|
+
* van como peers (opcionales) **y** como `devDependencies` para que la copia **compile**.
|
|
51
68
|
*/
|
|
52
|
-
export declare function vendoredPackageJson(motorDir: string, pkg: PackageJson | null): string;
|
|
69
|
+
export declare function vendoredPackageJson(motorDir: string, pkg: PackageJson | null, catalog?: Record<string, string>): string;
|
|
53
70
|
/**
|
|
54
71
|
* Motores de los que depende `motorDir`, según su intención: `Map<nombre-de-paquete, alias>`.
|
|
55
72
|
* `engines.<alias>.package` da el nombre real; si falta, se asume `@pasosdejesus/<alias>`.
|
|
@@ -67,6 +84,12 @@ export declare function enginePackages(motorDir: string): Map<string, string>;
|
|
|
67
84
|
* que sí es publicable).
|
|
68
85
|
*/
|
|
69
86
|
export declare function rewriteEngineImports(destDir: string, engines: Map<string, string>): void;
|
|
87
|
+
/**
|
|
88
|
+
* Reescribe la intención (`m-engine.json`) de la copia para que sus motores
|
|
89
|
+
* dependientes apunten al nombre puente (`generated-<alias>`) y no al paquete
|
|
90
|
+
* privado original. Sin esto, `eng:verify` no encuentra el motor hermano.
|
|
91
|
+
*/
|
|
92
|
+
export declare function rewriteEngineIntention(destDir: string, engines: Map<string, string>): void;
|
|
70
93
|
/**
|
|
71
94
|
* Motor original con el que medir el drift de una copia vendorizada: el `--from`
|
|
72
95
|
* (la carpeta del motor, o un checkout donde vive en `packages/<motor>`), y si no
|
|
@@ -80,8 +103,8 @@ export declare function readProvenance(outDir: string): Provenance | null;
|
|
|
80
103
|
/** Quita una copia vendorizada. Devuelve `true` si existía. */
|
|
81
104
|
export declare function unvendor(outDir: string): boolean;
|
|
82
105
|
export type DriftCode = 'ok' | 'drift' | 'absent';
|
|
83
|
-
/** Qué cambió respecto de la procedencia:
|
|
84
|
-
export type DriftReason = 'schema' | 'version';
|
|
106
|
+
/** Qué cambió respecto de la procedencia: esquema, versión o contenido (`src/`). */
|
|
107
|
+
export type DriftReason = 'schema' | 'version' | 'source';
|
|
85
108
|
export interface DriftFinding {
|
|
86
109
|
code: DriftCode;
|
|
87
110
|
message: string;
|
|
@@ -89,9 +112,10 @@ export interface DriftFinding {
|
|
|
89
112
|
}
|
|
90
113
|
/**
|
|
91
114
|
* Mide el drift de una copia vendorizada contra el motor original: primero el
|
|
92
|
-
* esquema (`
|
|
93
|
-
* ([REQ/40](https://gitlab.com/pasosdeJesus/m/-/work_items/40) D5)
|
|
94
|
-
*
|
|
115
|
+
* esquema (`schemaSha256` de `db/structure.sql`), después la **versión** del motor
|
|
116
|
+
* ([REQ/40](https://gitlab.com/pasosdeJesus/m/-/work_items/40) D5) y, en copias nuevas,
|
|
117
|
+
* el contenido (`sha256` de `src`, `db`, intención y hechos). Así también se detecta
|
|
118
|
+
* un cambio de fuente sin cambio de versión.
|
|
95
119
|
*/
|
|
96
120
|
export declare function drift(outDir: string, originalDir: string): DriftFinding;
|
|
97
121
|
//# sourceMappingURL=vendor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendor.d.ts","sourceRoot":"","sources":["../../src/compose/vendor.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"vendor.d.ts","sourceRoot":"","sources":["../../src/compose/vendor.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAOH,OAAO,EAAkC,KAAK,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhF,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,mFAAmF;IACnF,MAAM,EAAE,MAAM,CAAA;IACd,wEAAwE;IACxE,MAAM,EAAE,MAAM,CAAA;IACd,qFAAqF;IACrF,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,oFAAoF;IACpF,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,sDAAsD;IACtD,IAAI,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IACtB,gDAAgD;IAChD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,qDAAqD;IACrD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,iFAAiF;AACjF,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,mFAAmF;AACnF,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAIvD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAyB9C;AAED,4EAA4E;AAC5E,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAS1E;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAoBzC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,mBAAmB,CACj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,WAAW,CAAA;CACrB;AAED;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,YAAY,CA8BvE"}
|
package/dist/compose/vendor.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendorización "etapa 0" (https://gitlab.com/pasosdeJesus/m/-/work_items/39 D17): copia trazable de un motor dentro del
|
|
3
3
|
* consumidor (`packages/generated/<motor>`), con **procedencia** (motor, versión,
|
|
4
|
-
* origen
|
|
5
|
-
* cambio del motor = **regenerar**
|
|
4
|
+
* origen, `sha256` del contenido y `schemaSha256` del esquema) para poder medir
|
|
5
|
+
* **drift** contra el original. Adoptar un cambio del motor = **regenerar**
|
|
6
|
+
* (`eng:sync --vendor`), no fusionar a mano.
|
|
6
7
|
*
|
|
7
8
|
* "Porque ¿quién de vosotros, queriendo edificar una torre, no se sienta primero y calcula los gastos…?" (Lucas 14:28)
|
|
8
9
|
*/
|
|
9
|
-
import { cpSync, existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
|
10
|
+
import { cpSync, existsSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from 'node:fs';
|
|
10
11
|
import { createHash } from 'node:crypto';
|
|
11
|
-
import { basename, join } from 'node:path';
|
|
12
|
+
import { basename, dirname, join } from 'node:path';
|
|
13
|
+
import { readWorkspaceYaml } from '../util/pnpm-workspace.js';
|
|
12
14
|
import { readIntention, readPackageJson } from './discover.js';
|
|
13
15
|
/** Archivos/entradas que se copian del motor a la copia vendorizada. */
|
|
14
16
|
const VENDORED = ['src', 'db', 'm-engine.json', 'm-engine.generated.ts'];
|
|
@@ -19,6 +21,55 @@ export function structureSha(dir) {
|
|
|
19
21
|
return null;
|
|
20
22
|
return createHash('sha256').update(readFileSync(file)).digest('hex');
|
|
21
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* `sha256` del contenido que se vendoriza (`src`, `db`, intención y hechos, sin
|
|
26
|
+
* pruebas). Incluye la ruta relativa y el contenido en orden estable, para que
|
|
27
|
+
* cualquier cambio de fuente cambie el hash.
|
|
28
|
+
*/
|
|
29
|
+
export function payloadSha(dir) {
|
|
30
|
+
const files = [];
|
|
31
|
+
const walk = (abs, rel) => {
|
|
32
|
+
for (const entry of readdirSync(abs, { withFileTypes: true })) {
|
|
33
|
+
const childAbs = join(abs, entry.name);
|
|
34
|
+
const childRel = `${rel}/${entry.name}`;
|
|
35
|
+
if (entry.isDirectory())
|
|
36
|
+
walk(childAbs, childRel);
|
|
37
|
+
else if (entry.isFile() && !/\.test\.tsx?$/.test(entry.name))
|
|
38
|
+
files.push(childRel);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
for (const entry of VENDORED) {
|
|
42
|
+
const abs = join(dir, entry);
|
|
43
|
+
if (!existsSync(abs))
|
|
44
|
+
continue;
|
|
45
|
+
if (statSync(abs).isDirectory())
|
|
46
|
+
walk(abs, entry);
|
|
47
|
+
else if (!/\.test\.tsx?$/.test(entry))
|
|
48
|
+
files.push(entry);
|
|
49
|
+
}
|
|
50
|
+
files.sort();
|
|
51
|
+
const hash = createHash('sha256');
|
|
52
|
+
for (const rel of files) {
|
|
53
|
+
hash.update(rel);
|
|
54
|
+
hash.update('\0');
|
|
55
|
+
hash.update(readFileSync(join(dir, rel)));
|
|
56
|
+
hash.update('\0');
|
|
57
|
+
}
|
|
58
|
+
return hash.digest('hex');
|
|
59
|
+
}
|
|
60
|
+
/** Catálogo del workspace pnpm más cercano a `start` (o `{}` si no hay). */
|
|
61
|
+
export function findWorkspaceCatalog(start) {
|
|
62
|
+
let dir = start;
|
|
63
|
+
while (true) {
|
|
64
|
+
const config = readWorkspaceYaml(join(dir, 'pnpm-workspace.yaml'));
|
|
65
|
+
if (config)
|
|
66
|
+
return config.catalog;
|
|
67
|
+
const parent = dirname(dir);
|
|
68
|
+
if (parent === dir)
|
|
69
|
+
return {};
|
|
70
|
+
dir = parent;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
22
73
|
/**
|
|
23
74
|
* `tsconfig.json` de la copia vendorizada: proyecto **autónomo** (no hereda de `m`),
|
|
24
75
|
* de modo que cada copia se compile por separado (`tsc -b`) y no pese en el
|
|
@@ -51,14 +102,17 @@ export function vendoredTsconfig() {
|
|
|
51
102
|
* La copia debe **nacer consumible** (auditoría de learn.tg, 2026-10-14):
|
|
52
103
|
* - **Preserva los `exports` reales del motor** (p. ej. `./next` → `dist/components/index.js`),
|
|
53
104
|
* no un `./*` genérico que rompe los subpaths.
|
|
54
|
-
* - **Puentea los motores de los que depende** por **nombre** (`generated-<alias>`): sus `import`
|
|
55
|
-
* reescriben en la copia (ver `rewriteEngineImports`
|
|
56
|
-
*
|
|
57
|
-
* copia al layout
|
|
58
|
-
*
|
|
59
|
-
*
|
|
105
|
+
* - **Puentea los motores de los que depende** por **nombre** (`generated-<alias>`): sus `import` y
|
|
106
|
+
* la intención (`m-engine.json`) se reescriben en la copia (ver `rewriteEngineImports` y
|
|
107
|
+
* `rewriteEngineIntention`) y se declaran como dependencia `workspace:*` (el consumidor añade
|
|
108
|
+
* `packages/generated/*` a su workspace). **Sin rutas `file:../…`**: atarían la copia al layout
|
|
109
|
+
* de una máquina.
|
|
110
|
+
* - Usa `catalog:` para las dependencias que el workspace del consumidor ya cataloga, de modo que
|
|
111
|
+
* la copia comparta la versión única del consumidor (`@pasosdejesus/m`, `viem`, …).
|
|
112
|
+
* - No emite rangos `workspace:` salvo `workspace:*` en los motores hermanos; los `peerDependencies`
|
|
113
|
+
* van como peers (opcionales) **y** como `devDependencies` para que la copia **compile**.
|
|
60
114
|
*/
|
|
61
|
-
export function vendoredPackageJson(motorDir, pkg) {
|
|
115
|
+
export function vendoredPackageJson(motorDir, pkg, catalog = {}) {
|
|
62
116
|
const name = `generated-${basename(motorDir)}`;
|
|
63
117
|
const version = pkg?.version ?? '0.0.0';
|
|
64
118
|
const engines = enginePackages(motorDir);
|
|
@@ -66,7 +120,9 @@ export function vendoredPackageJson(motorDir, pkg) {
|
|
|
66
120
|
for (const [dep, range] of Object.entries(pkg?.dependencies ?? {})) {
|
|
67
121
|
const sibling = engines.get(dep);
|
|
68
122
|
if (sibling)
|
|
69
|
-
dependencies[`generated-${sibling}`] = '
|
|
123
|
+
dependencies[`generated-${sibling}`] = 'workspace:*';
|
|
124
|
+
else if (catalog[dep])
|
|
125
|
+
dependencies[dep] = 'catalog:';
|
|
70
126
|
else
|
|
71
127
|
dependencies[dep] = range.startsWith('workspace:') ? '*' : range;
|
|
72
128
|
}
|
|
@@ -155,6 +211,32 @@ export function rewriteEngineImports(destDir, engines) {
|
|
|
155
211
|
};
|
|
156
212
|
walk(destDir);
|
|
157
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* Reescribe la intención (`m-engine.json`) de la copia para que sus motores
|
|
216
|
+
* dependientes apunten al nombre puente (`generated-<alias>`) y no al paquete
|
|
217
|
+
* privado original. Sin esto, `eng:verify` no encuentra el motor hermano.
|
|
218
|
+
*/
|
|
219
|
+
export function rewriteEngineIntention(destDir, engines) {
|
|
220
|
+
if (engines.size === 0)
|
|
221
|
+
return;
|
|
222
|
+
const file = join(destDir, 'm-engine.json');
|
|
223
|
+
if (!existsSync(file))
|
|
224
|
+
return;
|
|
225
|
+
const intention = JSON.parse(readFileSync(file, 'utf-8'));
|
|
226
|
+
if (!intention.engines)
|
|
227
|
+
return;
|
|
228
|
+
let changed = false;
|
|
229
|
+
for (const [alias, ref] of Object.entries(intention.engines)) {
|
|
230
|
+
const original = ref.package ?? `@pasosdejesus/${alias}`;
|
|
231
|
+
const sibling = engines.get(original);
|
|
232
|
+
if (!sibling)
|
|
233
|
+
continue;
|
|
234
|
+
ref.package = `generated-${sibling}`;
|
|
235
|
+
changed = true;
|
|
236
|
+
}
|
|
237
|
+
if (changed)
|
|
238
|
+
writeFileSync(file, `${JSON.stringify(intention, null, 2)}\n`);
|
|
239
|
+
}
|
|
158
240
|
/**
|
|
159
241
|
* Motor original con el que medir el drift de una copia vendorizada: el `--from`
|
|
160
242
|
* (la carpeta del motor, o un checkout donde vive en `packages/<motor>`), y si no
|
|
@@ -186,15 +268,20 @@ export function vendor(motorDir, outDir, gitOrigin) {
|
|
|
186
268
|
cpSync(from, join(outDir, entry), { recursive: true, filter: keep });
|
|
187
269
|
}
|
|
188
270
|
// Puente por nombre: la copia importa `generated-<alias>`, no `@pasosdejesus/<alias>` (private).
|
|
189
|
-
|
|
271
|
+
const engines = enginePackages(motorDir);
|
|
272
|
+
rewriteEngineImports(join(outDir, 'src'), engines);
|
|
273
|
+
rewriteEngineIntention(outDir, engines);
|
|
190
274
|
// Paquete propio + tsconfig autónomo: cada copia se compila por separado (`tsc -b`).
|
|
191
|
-
writeFileSync(join(outDir, 'package.json'), vendoredPackageJson(motorDir, pkg));
|
|
275
|
+
writeFileSync(join(outDir, 'package.json'), vendoredPackageJson(motorDir, pkg, findWorkspaceCatalog(outDir)));
|
|
192
276
|
writeFileSync(join(outDir, 'tsconfig.json'), vendoredTsconfig());
|
|
277
|
+
const schemaSha = structureSha(motorDir);
|
|
193
278
|
const provenance = {
|
|
194
279
|
motor: pkg?.name ?? basename(motorDir),
|
|
195
280
|
version: pkg?.version ?? '0.0.0',
|
|
196
281
|
source: gitOrigin ? `${gitOrigin.url}#${gitOrigin.ref}` : motorDir,
|
|
197
|
-
sha256:
|
|
282
|
+
sha256: payloadSha(motorDir),
|
|
283
|
+
hash: 'payload',
|
|
284
|
+
...(schemaSha ? { schemaSha256: schemaSha } : {}),
|
|
198
285
|
...(gitOrigin
|
|
199
286
|
? { kind: 'git', origin: gitOrigin.url, ref: gitOrigin.ref, ...(gitOrigin.path ? { path: gitOrigin.path } : {}) }
|
|
200
287
|
: {}),
|
|
@@ -223,21 +310,25 @@ export function unvendor(outDir) {
|
|
|
223
310
|
}
|
|
224
311
|
/**
|
|
225
312
|
* Mide el drift de una copia vendorizada contra el motor original: primero el
|
|
226
|
-
* esquema (`
|
|
227
|
-
* ([REQ/40](https://gitlab.com/pasosdeJesus/m/-/work_items/40) D5)
|
|
228
|
-
*
|
|
313
|
+
* esquema (`schemaSha256` de `db/structure.sql`), después la **versión** del motor
|
|
314
|
+
* ([REQ/40](https://gitlab.com/pasosdeJesus/m/-/work_items/40) D5) y, en copias nuevas,
|
|
315
|
+
* el contenido (`sha256` de `src`, `db`, intención y hechos). Así también se detecta
|
|
316
|
+
* un cambio de fuente sin cambio de versión.
|
|
229
317
|
*/
|
|
230
318
|
export function drift(outDir, originalDir) {
|
|
231
319
|
const provenance = readProvenance(outDir);
|
|
232
320
|
if (!provenance)
|
|
233
321
|
return { code: 'absent', message: `sin procedencia en ${outDir}` };
|
|
234
|
-
const
|
|
235
|
-
if (
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
322
|
+
const currentSchema = structureSha(originalDir);
|
|
323
|
+
if (currentSchema !== null) {
|
|
324
|
+
const recordedSchema = provenance.schemaSha256 ?? provenance.sha256;
|
|
325
|
+
if (recordedSchema !== currentSchema) {
|
|
326
|
+
return {
|
|
327
|
+
code: 'drift',
|
|
328
|
+
reason: 'schema',
|
|
329
|
+
message: `${provenance.motor} v${provenance.version} desactualizado (esquema); corre \`eng:sync --vendor\``,
|
|
330
|
+
};
|
|
331
|
+
}
|
|
241
332
|
}
|
|
242
333
|
const currentVersion = readPackageJson(originalDir)?.version ?? '0.0.0';
|
|
243
334
|
if (provenance.version !== currentVersion) {
|
|
@@ -247,6 +338,13 @@ export function drift(outDir, originalDir) {
|
|
|
247
338
|
message: `${provenance.motor} v${provenance.version} → v${currentVersion} (versión); corre \`eng:sync --vendor\``,
|
|
248
339
|
};
|
|
249
340
|
}
|
|
341
|
+
if (provenance.hash === 'payload' && provenance.sha256 !== payloadSha(originalDir)) {
|
|
342
|
+
return {
|
|
343
|
+
code: 'drift',
|
|
344
|
+
reason: 'source',
|
|
345
|
+
message: `${provenance.motor} v${provenance.version} desactualizado (contenido); corre \`eng:sync --vendor\``,
|
|
346
|
+
};
|
|
347
|
+
}
|
|
250
348
|
return { code: 'ok', message: `${provenance.motor} v${provenance.version} al día` };
|
|
251
349
|
}
|
|
252
350
|
//# sourceMappingURL=vendor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendor.js","sourceRoot":"","sources":["../../src/compose/vendor.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACzG,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAE1C,OAAO,EAAE,aAAa,EAAE,eAAe,EAAoB,MAAM,eAAe,CAAA;AAEhF,wEAAwE;AACxE,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,IAAI,EAAE,eAAe,EAAE,uBAAuB,CAAC,CAAA;AAyBxE,mFAAmF;AACnF,MAAM,UAAU,YAAY,CAAC,GAAW;IACtC,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,eAAe,CAAC,CAAA;IAC7C,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAA;IAClC,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;AACtE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,gBAAgB;IAC9B,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC;QACvB,eAAe,EAAE;YACf,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,UAAU;YAClB,gBAAgB,EAAE,UAAU;YAC5B,GAAG,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,cAAc,C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CAAC,IAAI,KAAK,SAAS,IAAI,UAAU,CAAC,MAAM,KAAK,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;QACnF,OAAO;YACL,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,GAAG,UAAU,CAAC,KAAK,KAAK,UAAU,CAAC,OAAO,0DAA0D;SAC9G,CAAA;IACH,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,KAAK,KAAK,UAAU,CAAC,OAAO,SAAS,EAAE,CAAA;AACrF,CAAC"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* it installs with npm into a temporary directory and swaps it atomically,
|
|
8
8
|
* without running lifecycle scripts.
|
|
9
9
|
*
|
|
10
|
-
* https://gitlab.com/pasosdeJesus/
|
|
10
|
+
* https://gitlab.com/pasosdeJesus/adJ/-/work_items/18
|
|
11
11
|
*/
|
|
12
12
|
import * as fs from 'fs';
|
|
13
13
|
import * as os from 'os';
|
package/man/man1/m.1
CHANGED