@pasosdejesus/m 0.37.7 → 0.37.8

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.
Files changed (2) hide show
  1. package/dist/CHANGELOG.md +28 -0
  2. package/package.json +2 -2
package/dist/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  All notable changes to `@pasosdejesus/m` are documented in this file.
4
4
 
5
+ ## [0.37.8] - 2026-10-28
6
+
7
+ ### Fixed — the contract pipeline follows your locale (**`contract-test@0.3.5`**)
8
+
9
+ - `contract:compile`, `contract:clean`, `contract:typechain`, `contract:deploy` and
10
+ `contract:checkdeploy` printed their messages in Spanish only (`Compilador:`, `contrato(s)`,
11
+ `artefacto(s)`, `nada que limpiar`, `Red:`), even with `LANG=en`. They now go through the same
12
+ `createTranslator` the rest of the CLI uses: English by default, Spanish when the locale is
13
+ Spanish. This also covers the compiler label (`solc (project)` / `solc (proyecto)`).
14
+
15
+ ### Added — the tutorial is executable, in two languages
16
+
17
+ - `doc/tutorial-contracts-openbsd-1/en.md` (English) and
18
+ `doc/tutorial-contracts-openbsd-1/es.md` (Spanish): the first contact on OpenBSD/adJ, six files
19
+ that compile, test and sign without Hardhat.
20
+ - `packages/m/src/tasks/tutorial-contracts-openbsd-1.test.ts` reads the project files **from the
21
+ document**, writes them in a temp directory and runs every step: `contract:compile` in both
22
+ locales, `contract:test` (whole suite and single file), `contract:clean`,
23
+ `eng:opwallet:generate/list/sign`. It also fails when the two language versions disagree or when
24
+ the versions they cite are not the repository's, so a release cannot leave the tutorial stale.
25
+ The rule is documented in `CONTRIBUTING.md` § "Documentación con pruebas ejecutables".
26
+
5
27
  ## [0.37.7] - 2026-10-28
6
28
 
7
29
  ### Fixed — the generated contracts app can run its own pipeline (**`contract-test@0.3.3`**)
@@ -26,6 +48,12 @@ All notable changes to `@pasosdejesus/m` are documented in this file.
26
48
  (easy to leave behind in `/tmp`). The workspace is now detected with
27
49
  `statSync().isDirectory()`, so every command keeps working from a temporary directory.
28
50
 
51
+ ### Fixed — `contract:test <file|glob>` (**`contract-test@0.3.4`**)
52
+
53
+ - `contract:test` now forwards its positional argument, so `m contract:test test/Saludo.test.ts`
54
+ runs that file instead of the whole suite, like `hardhat test <file>`. The plugin was dropping
55
+ the argument, so any pattern was silently ignored.
56
+
29
57
  ### Added — end-to-end test of the Hardhat-free template
30
58
 
31
59
  - `packages/m/src/tasks/contracts-template.test.ts` generates a project with `m:create`, links the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pasosdejesus/m",
3
- "version": "0.37.7",
3
+ "version": "0.37.8",
4
4
  "description": "Motor para crear y gestionar proyectos al estilo Pasos de Jesus.",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -173,7 +173,7 @@
173
173
  "picocolors": "^1.1.1"
174
174
  },
175
175
  "optionalDependencies": {
176
- "@pasosdejesus/contract-test": "^0.3.3",
176
+ "@pasosdejesus/contract-test": "^0.3.5",
177
177
  "@pasosdejesus/edr": "^0.2.1"
178
178
  },
179
179
  "devDependencies": {