chore: fix build issues (#1274)

This commit is contained in:
Ralph Khreish
2025-10-04 19:24:31 +02:00
committed by GitHub
parent f7646f41b5
commit 10bd2b3384
4 changed files with 9 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
---
"task-master-ai": patch
---
Do a quick fix on build

View File

@@ -240,7 +240,7 @@
"check-types": "tsc --noEmit" "check-types": "tsc --noEmit"
}, },
"dependencies": { "dependencies": {
"task-master-ai": "0.28.0-rc.0" "task-master-ai": "*"
}, },
"devDependencies": { "devDependencies": {
"@dnd-kit/core": "^6.3.1", "@dnd-kit/core": "^6.3.1",

View File

@@ -19,10 +19,10 @@ const getBuildTimeEnvs = () => {
for (const [key, value] of Object.entries(process.env)) { for (const [key, value] of Object.entries(process.env)) {
if (key.startsWith('TM_PUBLIC_')) { if (key.startsWith('TM_PUBLIC_')) {
// Return the actual value, not JSON.stringify'd
envs[key] = value || ''; envs[key] = value || '';
} }
} }
return envs; return envs;
}; };

View File

@@ -5,7 +5,8 @@
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"outputLogs": "new-only" "outputLogs": "new-only",
"env": ["NODE_ENV", "TM_PUBLIC_*"]
}, },
"dev": { "dev": {
"cache": false, "cache": false,