fix: translate extract command (#1394)

Change how the translate extract command is run on build
This commit is contained in:
David Nguyen
2024-10-28 11:21:49 +09:00
committed by GitHub
parent b8310237e4
commit 5fcd8610c9
3 changed files with 2 additions and 5 deletions

View File

@ -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",

View File

@ -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",

View File

@ -34,9 +34,6 @@
"dependsOn": ["^build"],
"cache": false
},
"translate:extract": {
"cache": false
},
"translate:compile": {
"cache": false
}