Add 20 Pear/Bare platform modules replacing deprecated pear run.
Introduces hyper-bare-entry-runner, pear-runtime embed/link/config stack, and scaffold helpers for argv, storage, OTA, Electron, and headless UI. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
require('bare-process/global')
|
||||
const test = require('brittle')
|
||||
const { HyperPearStorageLayout } = require('../index.js')
|
||||
|
||||
test('paths', async (t) => {
|
||||
const s = new HyperPearStorageLayout({ root: '/r' })
|
||||
const p = s.registerApp('app1')
|
||||
t.ok(p.storage.includes('app1'))
|
||||
await s.close()
|
||||
})
|
||||
Reference in New Issue
Block a user