openvibers/openvibe.contracts Commits
v0.34.3: openvibe-contracts-check skips *.test.* and *.spec.* files (tests mint tokens for other owners on purpose; Games keeps tests next to the code)
Changes
@@@ -4,6 +4,11 @@ All notable changes to `openvibe-contracts`. Releases are git tags (`vX.Y.Z`) thfrom `https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/<tag>`. Before v0.30.0,the notes were in the tag and commit messages (`git tag -n1`).++## 0.34.3 — 2026-09-24++++- `openvibe-contracts-check` skips `*.test.*` and `*.spec.*` files: tests mint tokens carrying other owners'++ capabilities on purpose, and repositories that keep tests next to the code (Games) could not run the check.++## 0.34.2 — 2026-09-24- Fixture fix: the valid mod-manifest 1.1 example (`market-stall-1.1.json`) asked for the first-party@@@ -53,7 +53,7 @@ for (const d of srcDirs) (function walk(dir) {for (const e of ents) {if (e.name === 'node_modules' || e.name.startsWith('.')) continue;const p = path.join(dir, e.name);-- if (e.isDirectory()) walk(p); else if (/\.[cm]?[jt]s$/.test(e.name)) files.push(p);++ if (e.isDirectory()) walk(p); else if (/\.[cm]?[jt]s$/.test(e.name) && !/\.(test|spec)\.[cm]?[jt]s$/.test(e.name)) files.push(p); // tests mint tokens for other owners on purpose}})(d);@@@ -1,12 +1,12 @@{"name": "openvibe-contracts",-- "version": "0.34.2",++ "version": "0.34.3","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "openvibe-contracts",-- "version": "0.34.2",++ "version": "0.34.3","license": "AGPL-3.0-only","dependencies": {"ajv": "^8.17.1",@@@ -1,6 +1,6 @@{"name": "openvibe-contracts",-- "version": "0.34.2",++ "version": "0.34.3","description": "Machine-readable contracts for the OpenVibe network: schemas, manifests, ids, error envelope, capability checks.","main": "index.js","types": "generated/typescript/index.d.ts",
@@ -4,6 +4,11 @@ All notable changes to `openvibe-contracts`. Releases are git tags (`vX.Y.Z`) th
@@ -4,6 +4,11 @@ All notable changes to `openvibe-contracts`. Releases are git tags (`vX.Y.Z`) th
from `https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/<tag>`. Before v0.30.0,
from `https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/<tag>`. Before v0.30.0,
the notes were in the tag and commit messages (`git tag -n1`).
the notes were in the tag and commit messages (`git tag -n1`).
+## 0.34.3 — 2026-09-24
+
+- `openvibe-contracts-check` skips `*.test.*` and `*.spec.*` files: tests mint tokens carrying other owners'
+ capabilities on purpose, and repositories that keep tests next to the code (Games) could not run the check.
+
## 0.34.2 — 2026-09-24
## 0.34.2 — 2026-09-24
- Fixture fix: the valid mod-manifest 1.1 example (`market-stall-1.1.json`) asked for the first-party
- Fixture fix: the valid mod-manifest 1.1 example (`market-stall-1.1.json`) asked for the first-party
@@ -53,7 +53,7 @@ for (const d of srcDirs) (function walk(dir) {
@@ -53,7 +53,7 @@ for (const d of srcDirs) (function walk(dir) {
for (const e of ents) {
for (const e of ents) {
if (e.name === 'node_modules' || e.name.startsWith('.')) continue;
if (e.name === 'node_modules' || e.name.startsWith('.')) continue;
const p = path.join(dir, e.name);
const p = path.join(dir, e.name);
- if (e.isDirectory()) walk(p); else if (/\.[cm]?[jt]s$/.test(e.name)) files.push(p);
+ if (e.isDirectory()) walk(p); else if (/\.[cm]?[jt]s$/.test(e.name) && !/\.(test|spec)\.[cm]?[jt]s$/.test(e.name)) files.push(p); // tests mint tokens for other owners on purpose
}
}
})(d);
})(d);
@@ -1,12 +1,12 @@
@@ -1,12 +1,12 @@
{
{
"name": "openvibe-contracts",
"name": "openvibe-contracts",
- "version": "0.34.2",
+ "version": "0.34.3",
"lockfileVersion": 3,
"lockfileVersion": 3,
"requires": true,
"requires": true,
"packages": {
"packages": {
"": {
"": {
"name": "openvibe-contracts",
"name": "openvibe-contracts",
- "version": "0.34.2",
+ "version": "0.34.3",
"license": "AGPL-3.0-only",
"license": "AGPL-3.0-only",
"dependencies": {
"dependencies": {
"ajv": "^8.17.1",
"ajv": "^8.17.1",
@@ -1,6 +1,6 @@
@@ -1,6 +1,6 @@
{
{
"name": "openvibe-contracts",
"name": "openvibe-contracts",
- "version": "0.34.2",
+ "version": "0.34.3",
"description": "Machine-readable contracts for the OpenVibe network: schemas, manifests, ids, error envelope, capability checks.",
"description": "Machine-readable contracts for the OpenVibe network: schemas, manifests, ids, error envelope, capability checks.",
"main": "index.js",
"main": "index.js",
"types": "generated/typescript/index.d.ts",
"types": "generated/typescript/index.d.ts",