gemi 0.4.65 → 0.4.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/AuthenticationServiceProvider.d.ts.map +1 -1
- package/dist/bin/index.js +7 -6
- package/dist/chunk-02118fc60206588d.js +2 -0
- package/dist/chunk-069fcad61c8841dc.js +1 -0
- package/dist/chunk-0de36a7e51fbd11b.js +9 -0
- package/dist/chunk-0e125593337a68aa.js +18 -0
- package/dist/chunk-11cd81b560d496a3.js +2 -0
- package/dist/chunk-136896e8038083a1.js +2 -0
- package/dist/chunk-14e60554a2e78f4a.js +2 -0
- package/dist/chunk-1b3b7c2c9ae041ca.js +2 -0
- package/dist/chunk-1bd88dc9c4475e1d.js +6 -0
- package/dist/chunk-1d6e287ca9c14fef.js +1 -1
- package/dist/chunk-210fc3731e7d2299.js +2 -0
- package/dist/chunk-21b1f7ac5f75cd26.js +2 -0
- package/dist/chunk-25dd80c6d9144f89.js +1 -1
- package/dist/chunk-285299d784985340.js +3 -0
- package/dist/chunk-2a0e8565f874d787.js +18 -0
- package/dist/chunk-2a5b4dfab2e26e21.js +1 -0
- package/dist/chunk-30f854fb2ba73268.js +2 -0
- package/dist/chunk-3330ff12936f5a2e.js +2 -0
- package/dist/chunk-361f806684fe532e.js +6 -0
- package/dist/chunk-36ab979dae2a2094.js +2 -0
- package/dist/chunk-3abb49bba3da7231.js +1 -0
- package/dist/chunk-3d7556bb2f665f61.js +2 -0
- package/dist/chunk-3f1eaa4b49aa9a15.js +3 -0
- package/dist/chunk-42aa6e3d42149620.js +1 -1
- package/dist/chunk-432bbd1d38ff3b52.js +2 -0
- package/dist/chunk-543013123141745c.js +1 -1
- package/dist/chunk-61fc22887a7be6f9.js +3 -0
- package/dist/chunk-65c413665a7cf876.js +2 -0
- package/dist/chunk-65cd4d128b79bd93.js +2 -0
- package/dist/chunk-699957e6eb705a81.js +2 -0
- package/dist/chunk-6c345dba15e1c3f2.js +2 -0
- package/dist/chunk-6f78f2a54491595d.js +2 -0
- package/dist/chunk-733688c7851fffd1.js +2 -0
- package/dist/chunk-7898dd7609f163e8.js +2 -0
- package/dist/chunk-78ab7bcbe6104c5f.js +2 -0
- package/dist/chunk-7c0fd956d14fc327.js +2 -0
- package/dist/chunk-7dfb17814922ade0.js +2 -0
- package/dist/chunk-82f72dfc6e27be04.js +1 -0
- package/dist/chunk-8884e59809021f5f.js +2 -0
- package/dist/chunk-8b40d6a498f8bf81.js +2 -0
- package/dist/chunk-8c8c8fd3646b76a1.js +2 -0
- package/dist/chunk-938fed005335132e.js +9 -0
- package/dist/chunk-a004fce37a0f5a65.js +2 -0
- package/dist/chunk-a14516ac5e6f78aa.js +1 -0
- package/dist/chunk-a1efc60864e65ef2.js +1 -0
- package/dist/chunk-a35eb04f0c7c9944.js +2 -0
- package/dist/chunk-a4b231bf6d911e01.js +2 -0
- package/dist/chunk-a885dc5561caa8e0.js +3 -0
- package/dist/chunk-b13cfa16a8a18324.js +3 -0
- package/dist/chunk-b3e27ec4b56a20ac.js +2 -0
- package/dist/chunk-b558c43783464f1b.js +2 -0
- package/dist/chunk-b7c4dc1136fcaeb7.js +2 -0
- package/dist/chunk-bdc34785363e3f34.js +2 -0
- package/dist/chunk-bffb8d677e1424a9.js +6 -0
- package/dist/chunk-c6d988f5928a4df1.js +1 -1
- package/dist/chunk-c7e2acfd5087fb30.js +2 -0
- package/dist/chunk-ccb551ce4fd177fe.js +2 -0
- package/dist/chunk-cf7dde2ab1be3a3c.js +1 -0
- package/dist/chunk-cf8b1c7a4e9fc32d.js +18 -0
- package/dist/chunk-d03b02d5f8128f13.js +2 -0
- package/dist/chunk-d27588325ae2c0f3.js +2 -0
- package/dist/chunk-d37757ffee07b05f.js +6 -0
- package/dist/chunk-d3b4a3c778c23705.js +2 -0
- package/dist/chunk-d3e039d010842a3f.js +2 -0
- package/dist/chunk-d445af84de70bf7e.js +2 -0
- package/dist/chunk-d7c78cd1ab7dc7ed.js +2 -0
- package/dist/chunk-d850d83873a89e2b.js +18 -0
- package/dist/chunk-d93a6531661d56b5.js +9 -0
- package/dist/chunk-d950bbcb684a11ef.js +2 -0
- package/dist/chunk-dac0e2ef13060d02.js +1 -0
- package/dist/chunk-dac9276e506d125d.js +2 -0
- package/dist/chunk-db2270bbca7854fe.js +2 -0
- package/dist/chunk-e06fbc8e70a88f07.js +2 -0
- package/dist/chunk-e8159722d49ad044.js +1 -1
- package/dist/chunk-ed589d4e4c575de7.js +1 -1
- package/dist/chunk-edfc3362e0d21dab.js +18 -0
- package/dist/chunk-eea1d6f60a6875d5.js +2 -0
- package/dist/chunk-eeb3b193701aec43.js +1 -0
- package/dist/chunk-f1dfc76a05462dde.js +2 -0
- package/dist/chunk-f25e3644c98f64a7.js +2 -0
- package/dist/chunk-f404a785b581d029.js +2 -0
- package/dist/chunk-f5a531a49e7591bd.js +2 -0
- package/dist/chunk-f69bcbd7998553cb.js +2 -0
- package/dist/chunk-f84049d82d29bd9e.js +2 -0
- package/dist/chunk-f8ad65b3a07ce3c4.js +6 -0
- package/dist/chunk-ff1bbce70d726bc6.js +9 -0
- package/dist/client/ClientRouterContext.d.ts +0 -1
- package/dist/client/ClientRouterContext.d.ts.map +1 -1
- package/dist/client/HttpReload.d.ts +2 -0
- package/dist/client/HttpReload.d.ts.map +1 -0
- package/dist/client/Mutation.d.ts +3 -3
- package/dist/client/Mutation.d.ts.map +1 -1
- package/dist/client/index.d.ts +2 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +179 -157
- package/dist/client/useMutation.d.ts +11 -2
- package/dist/client/useMutation.d.ts.map +1 -1
- package/dist/client/useNavigate.d.ts.map +1 -1
- package/dist/client/useParams.d.ts +2 -0
- package/dist/client/useParams.d.ts.map +1 -0
- package/dist/http/ApiRouter.d.ts.map +1 -1
- package/dist/http/HttpRequest.d.ts +1 -1
- package/dist/http/HttpRequest.d.ts.map +1 -1
- package/dist/http/I18nServiceContainer.d.ts +2 -5
- package/dist/http/I18nServiceContainer.d.ts.map +1 -1
- package/dist/http/ViewRouter.d.ts.map +1 -1
- package/dist/http/index.js +1 -1
- package/dist/kernel/index.js +2 -2
- package/dist/server/index.js +3 -3
- package/dist/storage/index.js +10 -1
- package/dist/vite/index-s0zduTTb.mjs +20030 -0
- package/dist/vite/index.mjs +4 -0
- package/dist/vite/typescript-CZ-I7GwY.mjs +14089 -0
- package/package.json +7 -10
- package/dist/vite/index.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthenticationServiceProvider.d.ts","sourceRoot":"","sources":["../../auth/AuthenticationServiceProvider.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD,OAAO,KAAK,EAAE,sBAAsB,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthenticationServiceProvider.d.ts","sourceRoot":"","sources":["../../auth/AuthenticationServiceProvider.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD,OAAO,KAAK,EAAE,sBAAsB,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAiQrE,qBAAa,aAAc,SAAQ,SAAS;IAC1C,MAAM;;mBA3PG,MAAM;sBACH,MAAM;;;kBAkBV,MAAM;mBACL,MAAM;sBACH,MAAM;;;;;;MA6OhB;CACH;AAED,qBAAa,cAAe,SAAQ,UAAU;IAC5C,MAAM;;;;;MAKJ;CACH;AAED,qBAAa,6BAA6B;IACxC,QAAQ,SAAW;IACnB,OAAO;;;MAGL;IAEF,qBAAqB,SAAM;IAC3B,6BAA6B,SAAc;IAG3C,OAAO,EAAE,sBAAsB,CAAsB;IAE/C,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIhE,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAI/C,2BAA2B,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC;IAM9D,QAAQ,CAAC,CAAC,SAAS,IAAI,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IACxD,QAAQ,CAAC,CAAC,SAAS,IAAI,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IACxD,SAAS,CAAC,CAAC,SAAS,IAAI,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IACzD,gBAAgB,CAAC,CAAC,SAAS,IAAI,EAC7B,KAAK,EAAE,CAAC,EACR,kBAAkB,EAAE,MAAM,GACzB,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IACvB,eAAe,CAAC,CAAC,SAAS,IAAI,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;CAChE"}
|
package/dist/bin/index.js
CHANGED
|
@@ -10006,7 +10006,7 @@ async function startProdServer() {
|
|
|
10006
10006
|
},
|
|
10007
10007
|
port: process.env.PORT || 5173
|
|
10008
10008
|
});
|
|
10009
|
-
console.log("Production server running on", server.url);
|
|
10009
|
+
console.log("Production server running on", server.url.href);
|
|
10010
10010
|
return server;
|
|
10011
10011
|
}
|
|
10012
10012
|
var rootDir2 = process.cwd();
|
|
@@ -10030,16 +10030,16 @@ async function createRollupInput_default() {
|
|
|
10030
10030
|
const { app } = await import(path2.resolve("./app/bootstrap.ts"));
|
|
10031
10031
|
const entries = app.getComponentTree();
|
|
10032
10032
|
function getEntries(componentTree) {
|
|
10033
|
-
const out = [];
|
|
10033
|
+
const out = ["/app/client.tsx"];
|
|
10034
10034
|
if (!componentTree) {
|
|
10035
10035
|
return out;
|
|
10036
10036
|
}
|
|
10037
10037
|
return Array.from(new Set(flattenComponentTree(componentTree)));
|
|
10038
10038
|
}
|
|
10039
|
-
|
|
10039
|
+
return Array.from(new Set([
|
|
10040
10040
|
"/app/client.tsx",
|
|
10041
10041
|
...getEntries(entries).map((item) => `/app/views/${item}.tsx`)
|
|
10042
|
-
]
|
|
10042
|
+
]));
|
|
10043
10043
|
}
|
|
10044
10044
|
|
|
10045
10045
|
// bin/gemi.ts
|
|
@@ -10068,13 +10068,14 @@ program.command("dev").action(async () => {
|
|
|
10068
10068
|
});
|
|
10069
10069
|
program.command("build").action(async () => {
|
|
10070
10070
|
process.env.NODE_ENV = "production";
|
|
10071
|
-
await createRollupInput_default();
|
|
10071
|
+
const input = await createRollupInput_default();
|
|
10072
10072
|
const rootDir3 = path3.resolve(process.cwd());
|
|
10073
10073
|
const appDir3 = path3.join(rootDir3, "app");
|
|
10074
10074
|
console.log("Building client...");
|
|
10075
|
-
await $`vite build --outDir dist/client`;
|
|
10075
|
+
await $`GEMI_INPUT=${JSON.stringify(input)} vite build --outDir dist/client`;
|
|
10076
10076
|
console.log("Building server...");
|
|
10077
10077
|
try {
|
|
10078
|
+
process.env.GEMI_INPUT = JSON.stringify(input);
|
|
10078
10079
|
await build({
|
|
10079
10080
|
build: {
|
|
10080
10081
|
ssr: true,
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import"./chunk-7ce930fe69575c87.js";import{rb as E} from"./chunk-2a5b4dfab2e26e21.js";var _="AWS_ACCESS_KEY_ID",S="AWS_SECRET_ACCESS_KEY",p="AWS_SESSION_TOKEN",A="AWS_CREDENTIAL_EXPIRATION",C="AWS_CREDENTIAL_SCOPE",N="AWS_ACCOUNT_ID",a=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");const o=process.env[_],r=process.env[S],n=process.env[p],s=process.env[A],t=process.env[C],c=process.env[N];if(o&&r)return{accessKeyId:o,secretAccessKey:r,...n&&{sessionToken:n},...s&&{expiration:new Date(s)},...t&&{credentialScope:t},...c&&{accountId:c}};throw new E("Unable to find environment variable credentials.",{logger:e?.logger})};export{a as fromEnv,p as ENV_SESSION,S as ENV_SECRET,_ as ENV_KEY,A as ENV_EXPIRATION,C as ENV_CREDENTIAL_SCOPE,N as ENV_ACCOUNT_ID};export{_ as t,S as u,a as v};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as x} from"./chunk-7ce930fe69575c87.js";import{lb as S} from"./chunk-c7e2acfd5087fb30.js";var q="AWS_PROFILE";var B=(o)=>o.profile||process.env["AWS_PROFILE"]||"default";import{join as b} from"path";import{homedir as N} from"os";import{sep as L} from"path";var d={},w=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},f=()=>{const{HOME:o,USERPROFILE:e,HOMEPATH:t,HOMEDRIVE:r=`C:${L}`}=process.env;if(o)return o;if(e)return e;if(t)return`${r}${t}`;const i=w();if(!d[i])d[i]=N();return d[i]};var v="AWS_CONFIG_FILE",g=()=>process.env[v]||b(f(),".aws","config");var D=x(S(),1);import{join as I} from"path";var h=x(S(),1);var O=(o)=>Object.entries(o).filter(([e])=>{const t=e.indexOf(c);if(t===-1)return!1;return Object.values(h.IniSectionType).includes(e.substring(0,t))}).reduce((e,[t,r])=>{const i=t.indexOf(c),s=t.substring(0,i)===h.IniSectionType.PROFILE?t.substring(i+1):t;return e[s]=r,e},{...o.default&&{default:o.default}});import{join as j} from"path";var y="AWS_SHARED_CREDENTIALS_FILE",_=()=>process.env[y]||j(f(),".aws","credentials");var C=x(S(),1);var $=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,G=["__proto__","profile __proto__"],a=(o)=>{const e={};let t,r;for(let i of o.split(/\r?\n/)){const s=i.split(/(^|\s)[;#]/)[0].trim();if(s[0]==="["&&s[s.length-1]==="]"){t=void 0,r=void 0;const n=s.substring(1,s.length-1),m=$.exec(n);if(m){const[,p,,F]=m;if(Object.values(C.IniSectionType).includes(p))t=[p,F].join(c)}else t=n;if(G.includes(n))throw new Error(`Found invalid profile name "${n}"`)}else if(t){const n=s.indexOf("=");if(![0,-1].includes(n)){const[m,p]=[s.substring(0,n).trim(),s.substring(n+1).trim()];if(p==="")r=m;else{if(r&&i.trimStart()===i)r=void 0;e[t]=e[t]||{};const F=r?[r,m].join(c):m;e[t][F]=p}}}}return e};import{promises as W} from"fs";var{readFile:K}=W,E={},l=(o,e)=>{if(!E[o]||e?.ignoreCache)E[o]=K(o,"utf8");return E[o]};var P=()=>({}),c=".",R=async(o={})=>{const{filepath:e=_(),configFilepath:t=g()}=o,r=f();let s=e;if(e.startsWith("~/"))s=I(r,e.slice(2));let u=t;if(t.startsWith("~/"))u=I(r,t.slice(2));const n=await Promise.all([l(u,{ignoreCache:o.ignoreCache}).then(a).then(O).catch(P),l(s,{ignoreCache:o.ignoreCache}).then(a).catch(P)]);return{configFile:n[0],credentialsFile:n[1]}};var T=(o)=>Object.entries(o).filter(([e])=>e.startsWith(D.IniSectionType.SSO_SESSION+c)).reduce((e,[t,r])=>({...e,[t.substring(t.indexOf(c)+1)]:r}),{});var V=()=>({}),Pe=async(o={})=>l(o.configFilepath??g()).then(a).then(T).catch(V);var A=(...o)=>{const e={};for(let t of o)for(let[r,i]of Object.entries(t))if(e[r]!==void 0)Object.assign(e[r],i);else e[r]=i;return e};var He=async(o)=>{const e=await R(o);return A(e.configFile,e.credentialsFile)};import{createHash as U} from"crypto";import{join as X} from"path";var H=(o)=>{const t=U("sha1").update(o).digest("hex");return X(f(),".aws","sso","cache",`${t}.json`)};import{promises as k} from"fs";var{readFile:M}=k,$e=async(o)=>{const e=H(o),t=await M(e,"utf8");return JSON.parse(t)};export{q as qb,B as rb,H as sb,$e as tb,c as ub,R as vb,Pe as wb,He as xb};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{t as w,u as z,v as B} from"./chunk-6f78f2a54491595d.js";import{y as Q} from"./chunk-7ce930fe69575c87.js";import{qb as X} from"./chunk-8b40d6a498f8bf81.js";import{sb as $} from"./chunk-dac0e2ef13060d02.js";var q=Q(X(),1);var G=Q(X(),1),k="AWS_EC2_METADATA_DISABLED",Y=async(b)=>{const{ENV_CMDS_FULL_URI:j,ENV_CMDS_RELATIVE_URI:x,fromContainerMetadata:y,fromInstanceMetadata:J}=await import("./chunk-f404a785b581d029.js");if(process.env[x]||process.env[j]){b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");const{fromHttp:K}=await import("./chunk-d37757ffee07b05f.js");return G.chain(K(b),y(b))}if(process.env[k])return async()=>{throw new G.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:b.logger})};return b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),J(b)};var Z=!1,T=(b={})=>q.memoize(q.chain(async()=>{if(b.profile??process.env[$]){if(process.env[w]&&process.env[z]){if(!Z)(b.logger?.warn&&b.logger?.constructor?.name!=="NoOpLogger"?b.logger.warn:console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
|
|
2
|
+
Multiple credential sources detected:
|
|
3
|
+
Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
|
|
4
|
+
This SDK will proceed with the AWS_PROFILE value.
|
|
5
|
+
|
|
6
|
+
However, a future version may change this behavior to prefer the ENV static credentials.
|
|
7
|
+
Please ensure that your environment only sets either the AWS_PROFILE or the
|
|
8
|
+
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
|
|
9
|
+
`),Z=!0}throw new q.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:b.logger,tryNextLink:!0})}return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),B(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");const{ssoStartUrl:j,ssoAccountId:x,ssoRegion:y,ssoRoleName:J,ssoSession:K}=b;if(!j&&!x&&!y&&!J&&!K)throw new q.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:b.logger});const{fromSSO:H}=await import("./chunk-eea1d6f60a6875d5.js");return H(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");const{fromIni:j}=await import("./chunk-7898dd7609f163e8.js");return j(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");const{fromProcess:j}=await import("./chunk-b3e27ec4b56a20ac.js");return j(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");const{fromTokenFile:j}=await import("./chunk-136896e8038083a1.js");return j(b)()},async()=>{return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await Y(b))()},async()=>{throw new q.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:!1,logger:b.logger})}),O,v),v=(b)=>b?.expiration!==void 0,O=(b)=>b?.expiration!==void 0&&b.expiration.getTime()-Date.now()<300000;export{T as rb};
|