fix index
This commit is contained in:
parent
7345bdf548
commit
119161200f
File diff suppressed because one or more lines are too long
|
|
@ -1,16 +0,0 @@
|
|||
import __Select from "react-select";
|
||||
import { Virtuoso as __Virtuoso,TableVirtuoso as __TableVirtuoso } from "react-virtuoso";
|
||||
import { Button as __Button,webLightTheme as __webLightTheme,useTableSort as __useTableSort,FluentProvider as __FluentProvider,useTableFeatures as __useTableFeatures,Popover as __Popover,PopoverSurface as __PopoverSurface,PopoverTrigger as __PopoverTrigger } from "@fluentui/react-components";
|
||||
import __moment from "moment";
|
||||
window.exports.Select = __Select;
|
||||
window.exports.Virtuoso = __Virtuoso;
|
||||
window.exports.TableVirtuoso = __TableVirtuoso;
|
||||
window.exports.Button = __Button;
|
||||
window.exports.webLightTheme = __webLightTheme;
|
||||
window.exports.useTableSort = __useTableSort;
|
||||
window.exports.FluentProvider = __FluentProvider;
|
||||
window.exports.useTableFeatures = __useTableFeatures;
|
||||
window.exports.Popover = __Popover;
|
||||
window.exports.PopoverSurface = __PopoverSurface;
|
||||
window.exports.PopoverTrigger = __PopoverTrigger;
|
||||
window.exports.moment = __moment;
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"react-select": "5.7.7",
|
||||
"react-virtuoso": "4.6.1",
|
||||
"@fluentui/react-components": "9.32.1",
|
||||
"moment": "2.29.4",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,2 +0,0 @@
|
|||
packages:
|
||||
- ./*
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -168,8 +168,10 @@ export const initLive = async (p: PG, domain: string) => {
|
|||
/** execute site module */
|
||||
const exec = (fn: string, scopes: any) => {
|
||||
if (p) {
|
||||
if (p.site.api_url) {
|
||||
scopes["api"] = createAPI(p.site.api_url);
|
||||
scopes["db"] = createDB(p.site.api_url);
|
||||
}
|
||||
scopes.params = w.params;
|
||||
scopes.module = {};
|
||||
const f = new Function(...Object.keys(scopes), fn);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ g.status = "init";
|
|||
await createLogger();
|
||||
g.api = {};
|
||||
g.mode = process.argv.includes("dev") ? "dev" : "prod";
|
||||
g.datadir = g.mode == "prod" ? "../data" : ".data";
|
||||
g.datadir = g.mode == "prod" ? "../data" : "data";
|
||||
g.port = parseInt(process.env.PORT || "4550");
|
||||
g.log.info(g.mode === "dev" ? "DEVELOPMENT" : "PRODUCTION");
|
||||
if (g.mode === "dev") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue