web/website/scripts/build-contact.mjs
unimatrixgit 9dcd9b084a Integrate shared planetary inventories and account sales with the current site
Merge the supplied inventory/exchange package into the latest DuneRealms source.
Keep community-reward receipts, verified UUID linking, native menus and current
website artwork, Dutch naming and account controls. Wire the inventory/sales
adapters into the real CP session and verified-link schema, with isolated reads
and honest unconfigured states. Preserve lobby/ender separation and Core-owned
atomic exchange checkpoints.

Validation: website build and 56 tests; 12 inventory/market adapter tests;
Core/Essentials and NPC/Terrain/Lobby builds and tests; local browser inspection
of the themed inventory, mannequin and History of sales with fictional fixtures.
Paper 1.21.8 source only: live 1.21.4 binaries and databases are unchanged.
2026-10-27 19:44:22 +01:00

4 lines
497 B
JavaScript

import {copyFileSync,readFileSync,writeFileSync} from 'node:fs';
const root=new URL('../',import.meta.url);
for(const [source,target] of [['dist/external/altcha.min.js','web/assets/altcha.js'],['dist/workers/pbkdf2.js','web/assets/altcha-pbkdf2.js'],['dist/external/altcha.css','web/assets/altcha.css']])copyFileSync(new URL('node_modules/altcha/'+source,root),new URL(target,root));
writeFileSync(new URL('ALTCHA-LICENSE.txt',root),readFileSync(new URL('node_modules/altcha/LICENSE.txt',root)));