fix(core): update

This commit is contained in:
2022-01-06 01:20:03 +01:00
parent b83c492ee2
commit 6e1db0c713
24 changed files with 31990 additions and 93 deletions

22
ts/index.ts Normal file
View File

@@ -0,0 +1,22 @@
export * from './npm-publicserver.classes.uipublicserver';
import { UiPublicServer } from '.';
process.env.UIP_ENV = process.env.BACKEND_URL.includes('develop-backend') ? 'dev' : 'prod';
export const defaultPublicServer = new UiPublicServer({
port: 3000,
packageBaseDirectory: './public/',
npmRegistryUrl: 'https://registry.npmjs.org/',
allowedPackages: [
'@pushrocks/smartfile'
],
mode: process.env.UIP_ENV === 'dev' ? 'dev' : 'prod',
log: false,
});
export const runCli = async () => {
}
export const stop = async () => {}