Skip to content

The Open Source DocuSign Alternative.

fix: translate extract command (#1394)

David Nguyen5fcd8610c95f
diff --git a/apps/marketing/package.json b/apps/marketing/package.json
index de0b41c88..907f74698 100644
--- a/apps/marketing/package.json
+++ b/apps/marketing/package.json
@@ -5,7 +5,7 @@
"license": "AGPL-3.0",
"scripts": {
"dev": "next dev -p 3001",
- "build": "turbo run translate:extract && turbo run translate:compile && next build",
+ "build": "npm run translate:extract --prefix ../../ && turbo run translate:compile && next build",
"start": "next start -p 3001",
"lint": "next lint",
"lint:fix": "next lint --fix",
diff --git a/apps/web/package.json b/apps/web/package.json
index f8c996cfb..314f39723 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -5,7 +5,7 @@
"license": "AGPL-3.0",
"scripts": {
"dev": "next dev -p 3000",
- "build": "turbo run translate:extract && turbo run translate:compile && next build",
+ "build": "npm run translate:extract --prefix ../../ && turbo run translate:compile && next build",
"start": "next start",
"lint": "next lint",
"e2e:prepare": "next build && next start",
diff --git a/turbo.json b/turbo.json
index 0004b30d1..753c11911 100644
--- a/turbo.json
+++ b/turbo.json
@@ -34,9 +34,6 @@
"dependsOn": ["^build"],
"cache": false
},
- "translate:extract": {
- "cache": false
- },
"translate:compile": {
"cache": false
}