mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
Register terminal and phoenix builtins
This commit is contained in:
parent
cb81579c53
commit
d919b1f312
@ -21,6 +21,18 @@ class SelfhostedModule extends AdvancedBase {
|
|||||||
command: 'npm',
|
command: 'npm',
|
||||||
args: ['run', 'start-webpack'],
|
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',
|
prefix: '/sdk',
|
||||||
path: path_.resolve(__dirname, '../../../packages/puter-js/dist'),
|
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'),
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user