Deepen all 16 pear-platform scaffolds to production APIs.

Expands spawn, argv, preflight, trust, OTA, pipes, and headless UI modules;
bumps to 0.3.1 with fuller tests and registry tier updates.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 01:35:15 -04:00
co-authored by Cursor
parent 64a2a824b5
commit 83a0ee684c
51 changed files with 982 additions and 178 deletions
@@ -4,7 +4,16 @@ const { HyperBareImportMap } = require('../index.js')
test('imports map', async (t) => {
const m = new HyperBareImportMap()
m.loadFromPackage({ imports: { fs: { bare: 'bare-fs' } } })
t.is(m.resolve('fs'), 'bare-fs')
m.loadFromPackage({ imports: { '#app': './app.js' } })
t.is(m.resolve('#app'), './app.js')
await m.close()
})
test('resolveChain', async (t) => {
const m = new HyperBareImportMap()
m.set('#a', '#b')
m.set('#b', './final.js')
const c = m.resolveChain('#a')
t.is(c.target, './final.js')
await m.close()
})