fix
This commit is contained in:
parent
e91096471d
commit
df15447ebc
|
|
@ -223,7 +223,10 @@ const installDeps = async (
|
||||||
const pkgjson = Bun.file(code.path(id_site, "site", "src", "package.json"));
|
const pkgjson = Bun.file(code.path(id_site, "site", "src", "package.json"));
|
||||||
if (!(await pkgjson.exists())) {
|
if (!(await pkgjson.exists())) {
|
||||||
await Bun.write(pkgjson, JSON.stringify({
|
await Bun.write(pkgjson, JSON.stringify({
|
||||||
name: id_site
|
name: id_site,
|
||||||
|
scripts: {
|
||||||
|
"startup": "ulimit -c 0; tailwindcss --watch -i ./app/css/global.css -o ./app/css/build.css --minify"
|
||||||
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,5 @@ module.exports = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [require("tailwindcss-animate")],
|
plugins: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -252,7 +252,7 @@ declare global {
|
||||||
|
|
||||||
const _item: undefined | PrasiItem;
|
const _item: undefined | PrasiItem;
|
||||||
|
|
||||||
const PassProp: FC<Record<string, any> & { children: RElement }>;
|
const PassProp: (arg:Record<string, any> & { children: RNode }>) => RElement;
|
||||||
const mobile: {
|
const mobile: {
|
||||||
notif: {
|
notif: {
|
||||||
register: (user_id: string) => void;
|
register: (user_id: string) => void;
|
||||||
|
|
@ -317,4 +317,4 @@ ${e}`,c.pop(),`[${t}]`}let I=Object.keys(B),h=I.length;if(0===h)return"{}";if(g<
|
||||||
${d}`,p="",f="",u=Math.min(h,l);a(B)&&(p+=s(B,E,l),I=I.slice(B.length),u-=B.length,f=E),r&&(I=n(I)),c.push(B);for(let e=0;e<u;e++){let t=I[e],i=A(t,B[t],c,C,d);void 0!==i&&(p+=`${f}${o(t)}: ${i}`,f=E)}return h>l&&(p+=`${f}"...": "${Q(h-l)} not stringified"`,f=E),""!==f&&(p=`
|
${d}`,p="",f="",u=Math.min(h,l);a(B)&&(p+=s(B,E,l),I=I.slice(B.length),u-=B.length,f=E),r&&(I=n(I)),c.push(B);for(let e=0;e<u;e++){let t=I[e],i=A(t,B[t],c,C,d);void 0!==i&&(p+=`${f}${o(t)}: ${i}`,f=E)}return h>l&&(p+=`${f}"...": "${Q(h-l)} not stringified"`,f=E),""!==f&&(p=`
|
||||||
${d}${p}
|
${d}${p}
|
||||||
${e}`),c.pop(),`{${p}}`}case"number":return isFinite(B)?String(B):e?e(B):"null";case"boolean":return!0===B?"true":"false";case"undefined":return;case"bigint":if(I)return String(B);default:return e?e(B):void 0}}("",A,[],c,"")}return function A(i,B,c){switch(typeof B){case"string":return o(B);case"object":{if(null===B)return"null";if("function"==typeof B.toJSON){if("object"!=typeof(B=B.toJSON(i)))return A(i,B,c);if(null===B)return"null"}if(-1!==c.indexOf(B))return t;let e="";if(Array.isArray(B)){if(0===B.length)return"[]";if(g<c.length+1)return'"[Array]"';c.push(B);let t=Math.min(B.length,l),i=0;for(;i<t-1;i++){let t=A(String(i),B[i],c);e+=(void 0!==t?t:"null")+","}let I=A(String(i),B[i],c);if(e+=void 0!==I?I:"null",B.length-1>l){let A=B.length-l-1;e+=`,"... ${Q(A)} not stringified"`}return c.pop(),`[${e}]`}let I=Object.keys(B),C=I.length;if(0===C)return"{}";if(g<c.length+1)return'"[Object]"';let d="",h=Math.min(C,l);a(B)&&(e+=s(B,",",l),I=I.slice(B.length),h-=B.length,d=","),r&&(I=n(I)),c.push(B);for(let t=0;t<h;t++){let i=I[t],r=A(i,B[i],c);void 0!==r&&(e+=`${d}${o(i)}:${r}`,d=",")}return C>l&&(e+=`${d}"...":"${Q(C-l)} not stringified"`),c.pop(),`{${e}}`}case"number":return isFinite(B)?String(B):e?e(B):"null";case"boolean":return!0===B?"true":"false";case"undefined":return;case"bigint":if(I)return String(B);default:return e?e(B):void 0}}("",A,[])}}},{}],"6Ve6I":[function(A,e,t){var i=A("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(t),i.export(t,"SyncActionDefinition",()=>I),i.export(t,"SyncActionPaths",()=>r);let I={site:{list:"0",group:"1",load:"2",update:"3"},comp:{new:"4",list:"5",group:"6",load:"7"},page:{list:"8",load:"9",cache:"10"},yjs:{um:"11",sv_local:"12",diff_local:"13",sv_remote:"14"},client:{info:"15"},code:{load:"16",edit:"17",action:"18"}},r={0:"site.list",1:"site.group",2:"site.load",3:"site.update",4:"comp.new",5:"comp.list",6:"comp.group",7:"comp.load",8:"page.list",9:"page.load",10:"page.cache",11:"yjs.um",12:"yjs.sv_local",13:"yjs.diff_local",14:"yjs.sv_remote",15:"client.info",16:"code.load",17:"code.edit",18:"code.action"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"41Cak"}],k5feh:[function(A,e,t){var i,I,r=A("@parcel/transformer-js/src/esmodule-helpers.js");r.defineInteropFlag(t),r.export(t,"SyncType",()=>I),(i=I||(I={}))[i.ClientID=0]="ClientID",i[i.UserID=1]="UserID",i[i.Event=2]="Event",i[i.Action=3]="Action",i[i.ActionResult=4]="ActionResult"},{"@parcel/transformer-js/src/esmodule-helpers.js":"41Cak"}],bZFhN:[function(A,e,t){var i=A("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(t),i.export(t,"initIDB",()=>r);var I=A("idb-keyval");let r=A=>(0,I.createStore)(`prasi-user-${A}`,"default")},{"idb-keyval":"hfWoV","@parcel/transformer-js/src/esmodule-helpers.js":"41Cak"}]},[],0,"parcelRequire2d1f");
|
${e}`),c.pop(),`{${p}}`}case"number":return isFinite(B)?String(B):e?e(B):"null";case"boolean":return!0===B?"true":"false";case"undefined":return;case"bigint":if(I)return String(B);default:return e?e(B):void 0}}("",A,[],c,"")}return function A(i,B,c){switch(typeof B){case"string":return o(B);case"object":{if(null===B)return"null";if("function"==typeof B.toJSON){if("object"!=typeof(B=B.toJSON(i)))return A(i,B,c);if(null===B)return"null"}if(-1!==c.indexOf(B))return t;let e="";if(Array.isArray(B)){if(0===B.length)return"[]";if(g<c.length+1)return'"[Array]"';c.push(B);let t=Math.min(B.length,l),i=0;for(;i<t-1;i++){let t=A(String(i),B[i],c);e+=(void 0!==t?t:"null")+","}let I=A(String(i),B[i],c);if(e+=void 0!==I?I:"null",B.length-1>l){let A=B.length-l-1;e+=`,"... ${Q(A)} not stringified"`}return c.pop(),`[${e}]`}let I=Object.keys(B),C=I.length;if(0===C)return"{}";if(g<c.length+1)return'"[Object]"';let d="",h=Math.min(C,l);a(B)&&(e+=s(B,",",l),I=I.slice(B.length),h-=B.length,d=","),r&&(I=n(I)),c.push(B);for(let t=0;t<h;t++){let i=I[t],r=A(i,B[i],c);void 0!==r&&(e+=`${d}${o(i)}:${r}`,d=",")}return C>l&&(e+=`${d}"...":"${Q(C-l)} not stringified"`),c.pop(),`{${e}}`}case"number":return isFinite(B)?String(B):e?e(B):"null";case"boolean":return!0===B?"true":"false";case"undefined":return;case"bigint":if(I)return String(B);default:return e?e(B):void 0}}("",A,[])}}},{}],"6Ve6I":[function(A,e,t){var i=A("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(t),i.export(t,"SyncActionDefinition",()=>I),i.export(t,"SyncActionPaths",()=>r);let I={site:{list:"0",group:"1",load:"2",update:"3"},comp:{new:"4",list:"5",group:"6",load:"7"},page:{list:"8",load:"9",cache:"10"},yjs:{um:"11",sv_local:"12",diff_local:"13",sv_remote:"14"},client:{info:"15"},code:{load:"16",edit:"17",action:"18"}},r={0:"site.list",1:"site.group",2:"site.load",3:"site.update",4:"comp.new",5:"comp.list",6:"comp.group",7:"comp.load",8:"page.list",9:"page.load",10:"page.cache",11:"yjs.um",12:"yjs.sv_local",13:"yjs.diff_local",14:"yjs.sv_remote",15:"client.info",16:"code.load",17:"code.edit",18:"code.action"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"41Cak"}],k5feh:[function(A,e,t){var i,I,r=A("@parcel/transformer-js/src/esmodule-helpers.js");r.defineInteropFlag(t),r.export(t,"SyncType",()=>I),(i=I||(I={}))[i.ClientID=0]="ClientID",i[i.UserID=1]="UserID",i[i.Event=2]="Event",i[i.Action=3]="Action",i[i.ActionResult=4]="ActionResult"},{"@parcel/transformer-js/src/esmodule-helpers.js":"41Cak"}],bZFhN:[function(A,e,t){var i=A("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(t),i.export(t,"initIDB",()=>r);var I=A("idb-keyval");let r=A=>(0,I.createStore)(`prasi-user-${A}`,"default")},{"idb-keyval":"hfWoV","@parcel/transformer-js/src/esmodule-helpers.js":"41Cak"}]},[],0,"parcelRequire2d1f");
|
||||||
//# sourceMappingURL=ed.673c3253.js.map
|
//# sourceMappingURL=ed.461fa1c1.js.map
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -84,7 +84,7 @@ const CodeBody = () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const vscode_url = isLocalhost()
|
const vscode_url = isLocalhost()
|
||||||
? "http://localhost:3000?"
|
? "http://localhost:8443?"
|
||||||
: "https://prasi-vsc.avolut.com/?tkn=prasi&";
|
: "https://prasi-vsc.avolut.com/?tkn=prasi&";
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ export const baseTypings = `
|
||||||
|
|
||||||
const _item: undefined | PrasiItem;
|
const _item: undefined | PrasiItem;
|
||||||
|
|
||||||
const PassProp: FC<Record<string, any> & { children: RElement }>;
|
const PassProp: (arg:Record<string, any> & { children: RNode }>) => RElement;
|
||||||
const mobile: {
|
const mobile: {
|
||||||
notif: {
|
notif: {
|
||||||
register: (user_id: string) => void;
|
register: (user_id: string) => void;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue