Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Sep 7, 2024
1 parent 0511289 commit ee1445f
Show file tree
Hide file tree
Showing 24 changed files with 76 additions and 33 deletions.
13 changes: 1 addition & 12 deletions apps/app/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
import "./src/env.mjs";
import { withSentryConfig } from "@sentry/nextjs";

/** @type {import('next').NextConfig} */
const nextConfig = {
transpilePackages: ["@v1/supabase"],
experimental: {
instrumentationHook: process.env.NODE_ENV === "production",
},
};

export default withSentryConfig(nextConfig, {
silent: !process.env.CI,
telemetry: false,
widenClientFileUpload: true,
hideSourceMaps: true,
disableLogger: true,
tunnelRoute: "/monitoring",
});
export default nextConfig;
9 changes: 0 additions & 9 deletions apps/app/src/instrumentation.ts

This file was deleted.

3 changes: 0 additions & 3 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import "@v1/ui/globals.css";
import { Footer } from "@/components/footer";
import { Header } from "@/components/header";
import { Provider as AnalyticsProvider } from "@v1/analytics/client";
import { cn } from "@v1/ui/cn";
import { GeistMono } from "geist/font/mono";
import { GeistSans } from "geist/font/sans";
Expand Down Expand Up @@ -36,8 +35,6 @@ export default function RootLayout({
<Header />
{children}
<Footer />

<AnalyticsProvider />
</body>
</html>
);
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "v1",
"private": true,
"workspaces": ["packages/*", "apps/*", "tooling/*"],
"workspaces": ["packages/*", "apps/*", "tooling/*", "services/*", "cli/*"],
"scripts": {
"build": "turbo build",
"clean": "git clean -xdf node_modules",
Expand Down
6 changes: 6 additions & 0 deletions services/cal/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "cal",
"generate": {
"src/example/index.tsx": "apps/web/src/app/talk-to-us/page.tsx"
}
}
16 changes: 16 additions & 0 deletions services/cal/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "@v1/cal",
"version": "1.0.0",
"main": "src/index.ts",
"private": true,
"sideEffects": false,
"scripts": {
"clean": "rm -rf .turbo node_modules",
"lint": "biome check .",
"format": "biome --write .",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@calcom/embed-react": "^1.5.0"
}
}
Empty file.
12 changes: 12 additions & 0 deletions services/cal/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "@v1/typescript/react-library.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"@v1/ui/*": ["../ui/src/*"]
}
},
"include": ["."],
"exclude": ["node_modules"]
}
7 changes: 6 additions & 1 deletion services/dub/config.json
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{}
{
"name": "dub",
"generate": {
"src/index.ts": "apps/app/src/libs/dub.ts"
}
}
File renamed without changes.
1 change: 0 additions & 1 deletion services/langbase/config.json

This file was deleted.

4 changes: 3 additions & 1 deletion services/openpanel/config.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{}
{
"name": "openpanel"
}
4 changes: 3 additions & 1 deletion services/resend/config.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{}
{
"name": "resend"
}
15 changes: 15 additions & 0 deletions services/resend/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "@v1/resend",
"version": "1.0.0",
"private": true,
"main": "src/index.ts",
"scripts": {
"clean": "rm -rf .turbo node_modules",
"lint": "biome check .",
"format": "biome format --write .",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"resend": "^4.0.0"
}
}
Empty file added services/resend/src/index.ts
Empty file.
File renamed without changes.
4 changes: 3 additions & 1 deletion services/trigger/config.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{}
{
"name": "trigger"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@v1/jobs",
"name": "@v1/trigger",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use server";

import { tasks } from "@trigger.dev/sdk/v3";
import type { helloWorldTask } from "@v1/jobs/trigger/example";
import type { helloWorldTask } from "@v1/trigger/src/example";

export async function myTask() {
try {
Expand Down
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions services/trigger/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "@v1/typescript/base.json",
"include": ["."],
"exclude": ["node_modules"]
}
4 changes: 3 additions & 1 deletion services/upstash/config.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{}
{
"name": "upstash"
}

0 comments on commit ee1445f

Please sign in to comment.