mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 00:05:36 +02:00
Merge branch 'main' into feat/play
This commit is contained in:
@@ -35,10 +35,10 @@
|
||||
"@builder.io/qwik": "^1.8.0",
|
||||
"@builder.io/qwik-city": "^1.8.0",
|
||||
"@builder.io/qwik-react": "0.5.0",
|
||||
"@fontsource/bricolage-grotesque": "^5.0.7",
|
||||
"@fontsource-variable/bricolage-grotesque": "^5.0.1",
|
||||
"@fontsource/geist-mono": "^5.1.0",
|
||||
"@fontsource/geist-sans": "^5.1.0",
|
||||
"@fontsource/mona-sans": "^5.0.1",
|
||||
"@fontsource-variable/mona-sans": "^5.0.1",
|
||||
"@modular-forms/qwik": "^0.29.0",
|
||||
"@nestri/input": "*",
|
||||
"@nestri/libmoq": "*",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { bus } from "./bus";
|
||||
import { database } from "./database";
|
||||
import { domain } from "./dns";
|
||||
import { email } from "./email";
|
||||
import { secret } from "./secret";
|
||||
import { database } from "./database";
|
||||
|
||||
sst.Linkable.wrap(random.RandomString, (resource) => ({
|
||||
properties: {
|
||||
|
||||
23
infra/bus.ts
23
infra/bus.ts
@@ -5,13 +5,16 @@ import { allSecrets } from "./secret";
|
||||
export const bus = new sst.aws.Bus("Bus");
|
||||
|
||||
bus.subscribe("Event", {
|
||||
handler: "./packages/functions/src/event/event.handler",
|
||||
link: [database, email, ...allSecrets],
|
||||
timeout: "5 minutes",
|
||||
permissions: [
|
||||
{
|
||||
actions: ["ses:SendEmail"],
|
||||
resources: ["*"],
|
||||
},
|
||||
],
|
||||
});
|
||||
handler: "./packages/functions/src/event/event.handler",
|
||||
link: [
|
||||
database,
|
||||
email,
|
||||
...allSecrets],
|
||||
timeout: "5 minutes",
|
||||
permissions: [
|
||||
{
|
||||
actions: ["ses:SendEmail"],
|
||||
resources: ["*"],
|
||||
},
|
||||
],
|
||||
});
|
||||
@@ -1,29 +0,0 @@
|
||||
/// <reference path="./.sst/platform/config.d.ts" />
|
||||
import { readdirSync } from "fs";
|
||||
export default $config({
|
||||
app(input) {
|
||||
return {
|
||||
name: "nestri",
|
||||
removal: input?.stage === "production" ? "retain" : "remove",
|
||||
home: "cloudflare",
|
||||
providers: {
|
||||
cloudflare: "5.37.1",
|
||||
docker: "4.5.5",
|
||||
"@pulumi/command": "1.0.1",
|
||||
random: "4.16.8",
|
||||
aws: "6.67.0",
|
||||
tls: "5.1.0",
|
||||
command: "0.0.1-testwindows.signing",
|
||||
awsx: "2.21.0",
|
||||
},
|
||||
};
|
||||
},
|
||||
async run() {
|
||||
const outputs = {};
|
||||
for (const value of readdirSync("./infra/")) {
|
||||
const result = await import("./infra/" + value);
|
||||
if (result.outputs) Object.assign(outputs, result.outputs);
|
||||
}
|
||||
return outputs;
|
||||
},
|
||||
});
|
||||
@@ -25,10 +25,10 @@
|
||||
"@builder.io/qwik-city": "^1.8.0",
|
||||
"@builder.io/qwik-react": "0.5.0",
|
||||
"@fluejs/noscroll": "^1.0.0",
|
||||
"@fontsource/bricolage-grotesque": "^5.0.7",
|
||||
"@fontsource-variable/bricolage-grotesque": "^5.0.1",
|
||||
"@fontsource/geist-mono": "^5.1.0",
|
||||
"@fontsource/geist-sans": "^5.1.0",
|
||||
"@fontsource/mona-sans": "^5.0.1",
|
||||
"@fontsource-variable/mona-sans": "^5.0.1",
|
||||
"@modular-forms/qwik": "^0.29.0",
|
||||
"@nestri/core": "*",
|
||||
"@qwik-ui/headless": "^0.6.4",
|
||||
|
||||
Reference in New Issue
Block a user