chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:32:57 +08:00
commit cd420f9332
4811 changed files with 884702 additions and 0 deletions
@@ -0,0 +1 @@
nodeLinker: node-modules
@@ -0,0 +1,12 @@
{
"name": "monorepo-react-email",
"private": true,
"packageManager": "pnpm@8.15.5+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589",
"engines": {
"pnpm": "8.15.5",
"yarn": "4.2.2"
},
"workspaces": [
"packages/*"
]
}
@@ -0,0 +1,13 @@
{
"name": "@repo/email",
"private": true,
"dependencies": {
"@react-email/components": "0.0.24",
"@react-email/render": "1.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-email": "^3.0.1"
},
"main": "./src/index.ts",
"types": "./src/index.ts"
}
@@ -0,0 +1,19 @@
import { Button, Html } from "@react-email/components";
import { render } from "@react-email/render";
function ExampleEmail(props: {}) {
return (
<Html>
<Button
href="https://example.com"
style={{ background: "#000", color: "#fff", padding: "12px 20px" }}
>
Click me
</Button>
</Html>
);
}
export function renderExampleEmail() {
return render(<ExampleEmail />);
}
@@ -0,0 +1 @@
export * from "./emails";
@@ -0,0 +1,32 @@
{
"include": ["src/**/*.ts", "src/**/*.tsx"],
"compilerOptions": {
"target": "es2022",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"moduleDetection": "force",
"verbatimModuleSyntax": false,
"jsx": "react-jsx",
"strict": true,
"alwaysStrict": true,
"strictPropertyInitialization": false,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noFallthroughCasesInSwitch": true,
"resolveJsonModule": true,
"removeComments": false,
"esModuleInterop": true,
"emitDecoratorMetadata": false,
"experimentalDecorators": false,
"downlevelIteration": true,
"isolatedModules": true,
"noUncheckedIndexedAccess": true,
"pretty": true
}
}
@@ -0,0 +1,11 @@
{
"name": "@repo/trigger",
"private": true,
"dependencies": {
"@repo/email": "workspace:*",
"@trigger.dev/sdk": "0.0.0-prerelease-20250321122618"
},
"devDependencies": {
"typescript": "5.5.4"
}
}
@@ -0,0 +1,9 @@
import { task } from "@trigger.dev/sdk/v3";
import { renderExampleEmail } from "@repo/email";
export const reactEmail = task({
id: "react-email",
run: async () => {
return await renderExampleEmail();
},
});
@@ -0,0 +1,7 @@
import { defineConfig } from "@trigger.dev/sdk/v3";
export default defineConfig({
project: "<fixture project>",
dirs: ["./src"],
maxDuration: 3600,
});
@@ -0,0 +1,32 @@
{
"include": ["src/**/*.ts", "trigger.config.ts"],
"compilerOptions": {
"target": "es2022",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"moduleDetection": "force",
"verbatimModuleSyntax": false,
"jsx": "react-jsx",
"strict": true,
"alwaysStrict": true,
"strictPropertyInitialization": false,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noFallthroughCasesInSwitch": true,
"resolveJsonModule": true,
"removeComments": false,
"esModuleInterop": true,
"emitDecoratorMetadata": false,
"experimentalDecorators": false,
"downlevelIteration": true,
"isolatedModules": true,
"noUncheckedIndexedAccess": true,
"pretty": true
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,3 @@
# https://github.com/pnpm/pnpm/issues/2412
packages:
- "packages/*"
File diff suppressed because it is too large Load Diff