Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore: wire recorder-core into workspace config

Richie McIlroy64ff1ee90777
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index b30c4d6c3..6263778e4 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -30,6 +30,7 @@ const nextConfig = {
"@cap/web-domain",
"@cap/env",
"@cap/database",
+ "@cap/recorder-core",
"next-mdx-remote",
],
typescript: {
diff --git a/apps/web/package.json b/apps/web/package.json
index 0d21caf3b..aca598cf8 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -23,6 +23,7 @@
"@aws-sdk/s3-request-presigner": "^3.485.0",
"@cap/database": "workspace:*",
"@cap/env": "workspace:*",
+ "@cap/recorder-core": "workspace:*",
"@cap/ui": "workspace:*",
"@cap/utils": "workspace:*",
"@cap/web-api-contract": "workspace:*",
diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json
index fc1366de7..8abbdc203 100644
--- a/apps/web/tsconfig.json
+++ b/apps/web/tsconfig.json
@@ -42,6 +42,7 @@
"references": [
{ "path": "../../packages/database" },
{ "path": "../../packages/env" },
+ { "path": "../../packages/recorder-core" },
{ "path": "../../packages/ui" },
{ "path": "../../packages/utils" },
{ "path": "../../packages/web-backend" },
diff --git a/tsconfig.json b/tsconfig.json
index c916f0684..6d5edd0de 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -2,9 +2,11 @@
"files": [],
"references": [
{ "path": "./packages/ui" },
+ { "path": "./packages/recorder-core" },
{ "path": "./packages/ui-solid" },
{ "path": "./packages/utils" },
{ "path": "./apps/desktop" },
+ { "path": "./apps/chrome-extension" },
{ "path": "./apps/web" }
],
"compilerOptions": {
diff --git a/turbo.json b/turbo.json
index deeb96a33..b684a3801 100644
--- a/turbo.json
+++ b/turbo.json
@@ -8,6 +8,25 @@
"dependsOn": ["^build"],
"outputs": [".next/**", "!.next/cache/**", "dist/**"]
},
+ "@cap/chrome-extension#build": {
+ "inputs": [
+ "**/*.ts",
+ "**/*.tsx",
+ "**/*.css",
+ "*.html",
+ "public/**",
+ "vite.config.ts",
+ "vite.content.config.ts",
+ "vite.content-overlay.config.ts",
+ "tailwind.config.cjs",
+ "postcss.config.cjs",
+ "!node_modules/**",
+ "!dist/**",
+ "!test-results/**"
+ ],
+ "dependsOn": ["^build"],
+ "outputs": ["dist/**"]
+ },
"build:web:docker": {
"inputs": ["**/*.ts", "**/*.tsx", "!src-tauri/**", "!node_modules/**"],
"dependsOn": ["^build"],