Register terminal and phoenix builtins

This commit is contained in:
KernelDeimos 2024-04-12 20:56:16 -04:00
parent cb81579c53
commit d919b1f312

View File

@ -21,6 +21,18 @@ class SelfhostedModule extends AdvancedBase {
command: 'npm',
args: ['run', 'start-webpack'],
},
{
name: 'terminal:rollup-watch',
directory: 'packages/terminal',
command: 'npx',
args: ['rollup', '-c', 'rollup.config.js', '--watch'],
},
{
name: 'phoenix:rollup-watch',
directory: 'packages/terminal',
command: 'npx',
args: ['rollup', '-c', 'rollup.config.js', '--watch'],
},
],
});
@ -31,6 +43,14 @@ class SelfhostedModule extends AdvancedBase {
prefix: '/sdk',
path: path_.resolve(__dirname, '../../../packages/puter-js/dist'),
},
{
prefix: '/builtin/terminal',
path: path_.resolve(__dirname, '../../../packages/terminal/dist'),
},
{
prefix: '/builtin/phoenix',
path: path_.resolve(__dirname, '../../../packages/phoenix/dist'),
},
],
});
}