openvibers/openvibe.computer Commits

Point Computer docs to OpenVibe Link (#13)

OP OpenVibers committed 4 days ago · a5c42c8909 · 2 files, +11 −1

Changes

ddiff --git a/README.md b/README.md
iindex 39ffccf..5e3fcfc 100644
---- a/README.md
++++ b/README.md
@@@ -4,7 +4,7 @@ The front door and API facade for OpenVibe computers. Run owns sessions, placeme
## Run locally
--Node 22 or newer is required.
++Link 22 or newer is required.
```sh
npm ci
ddiff --git a/test/link-brand.test.js b/test/link-brand.test.js
nnew file mode 100644
iindex 0000000..eaa904f
---- /dev/null
++++ b/test/link-brand.test.js
@@@ -0,0 +1,10 @@
++'use strict';
++const assert = require('node:assert/strict');
++const { spawnSync } = require('node:child_process');
++const path = require('node:path');
++const root = path.resolve(__dirname, '..');
++const oldName = ['OpenVibe[ .-]No' + 'de', 'openvibe-' + 'node', 'no' + 'd_', 'node[.]openvibe[.]network', 'node:lnk_', 'openvibe[.](bot|my|network)/mach' + 'ines'].join('|');
++const result = spawnSync('git', ['grep', '-n', '-I', '-i', '-E', oldName, '--', '.', ':!migrations/**', ':!test/link-brand.test.js'], { cwd: root, encoding: 'utf8' });
++assert.ok(result.status === 0 || result.status === 1, result.stderr || 'git grep failed');
++assert.equal(result.status, 1, `Old Link brand or principal returned:\n${(result.stdout || '').split('\n').slice(0, 10).join('\n')}`);
++console.log(' ok old Link brand and principal IDs are absent');