journal/sdtconfig-journal.json
2026-03-04 16:42:04 -06:00

559 lines
13 KiB
JSON

{
"name": "journal",
"version": "0.1.0",
"targets": [],
"workflows": [
{
"id": "sidecar",
"label": "Publish Sidecar",
"description": "Publish sidecar service",
"group": "Build",
"dependsOn": [],
"requireFiles": [
"Journal.DevTool\\scripts\\publish-sidecar.py"
],
"steps": [
{
"id": "sidecar:run",
"label": "python Journal.DevTool\\scripts\\publish-sidecar.py",
"command": "python",
"args": [
"Journal.DevTool\\scripts\\publish-sidecar.py"
],
"workingDir": ".",
"action": null,
"actionArgs": [],
"requires": [
{
"tool": "python",
"installPolicy": "Prompt"
}
]
}
]
},
{
"id": "web",
"label": "Build Web UI",
"description": "Build frontend assets",
"group": "Build",
"dependsOn": [],
"requireFiles": [
"Journal.DevTool\\scripts\\publish-app.py"
],
"steps": [
{
"id": "web:run",
"label": "python Journal.DevTool\\scripts\\publish-app.py --target web",
"command": "python",
"args": [
"Journal.DevTool\\scripts\\publish-app.py",
"--target",
"web"
],
"workingDir": ".",
"action": null,
"actionArgs": [],
"requires": [
{
"tool": "python",
"installPolicy": "Prompt"
}
]
}
]
},
{
"id": "tauri",
"label": "Build Tauri Desktop App",
"description": "Build desktop binary",
"group": "Build",
"dependsOn": [
"sidecar"
],
"requireFiles": [
"Journal.DevTool\\scripts\\publish-app.py",
"Journal.App/src-tauri/tauri.conf.json"
],
"steps": [
{
"id": "tauri:run",
"label": "python Journal.DevTool\\scripts\\publish-app.py --target tauri --tauri-bundles none",
"command": "python",
"args": [
"Journal.DevTool\\scripts\\publish-app.py",
"--target",
"tauri",
"--tauri-bundles",
"none"
],
"workingDir": ".",
"action": null,
"actionArgs": [],
"requires": [
{
"tool": "python",
"installPolicy": "Prompt"
}
]
}
]
},
{
"id": "webgateway",
"label": "Publish WebGateway",
"description": "Publish ASP.NET gateway",
"group": "Build",
"dependsOn": [
"web"
],
"requireFiles": [
"Journal.DevTool\\scripts\\publish-webgateway.py"
],
"steps": [
{
"id": "webgateway:run",
"label": "python Journal.DevTool\\scripts\\publish-webgateway.py",
"command": "python",
"args": [
"Journal.DevTool\\scripts\\publish-webgateway.py"
],
"workingDir": ".",
"action": null,
"actionArgs": [],
"requires": [
{
"tool": "python",
"installPolicy": "Prompt"
}
]
}
]
},
{
"id": "sync-output",
"label": "Sync Output",
"description": "Sync newest artifacts to output",
"group": "Build",
"dependsOn": [],
"requireFiles": [
"Journal.DevTool\\scripts\\sync-output.py"
],
"steps": [
{
"id": "sync-output:run",
"label": "python Journal.DevTool\\scripts\\sync-output.py",
"command": "python",
"args": [
"Journal.DevTool\\scripts\\sync-output.py"
],
"workingDir": ".",
"action": null,
"actionArgs": [],
"requires": [
{
"tool": "python",
"installPolicy": "Prompt"
}
]
}
]
},
{
"id": "stage-output",
"label": "Stage Output Bundle",
"description": "Publish and stage distributable output",
"group": "Build",
"dependsOn": [],
"requireFiles": [
"Journal.DevTool\\scripts\\publish-output.py"
],
"steps": [
{
"id": "stage-output:run",
"label": "python Journal.DevTool\\scripts\\publish-output.py",
"command": "python",
"args": [
"Journal.DevTool\\scripts\\publish-output.py"
],
"workingDir": ".",
"action": null,
"actionArgs": [],
"requires": [
{
"tool": "python",
"installPolicy": "Prompt"
}
]
}
]
},
{
"id": "run-gateway-dev",
"label": "Run WebGateway Server (Dev)",
"description": "Run gateway in development mode",
"group": "Dev",
"dependsOn": [],
"requireFiles": [
"Journal.DevTool\\scripts\\run-webgateway.py"
],
"steps": [
{
"id": "run-gateway-dev:run",
"label": "python Journal.DevTool\\scripts\\run-webgateway.py --mode Dev",
"command": "python",
"args": [
"Journal.DevTool\\scripts\\run-webgateway.py",
"--mode",
"Dev"
],
"workingDir": ".",
"action": null,
"actionArgs": [],
"requires": [
{
"tool": "python",
"installPolicy": "Prompt"
}
]
}
]
},
{
"id": "build",
"label": "Build",
"description": "Build detected project stacks",
"group": "Build",
"dependsOn": [],
"requireFiles": [],
"steps": [
{
"id": "dotnet-build",
"label": "dotnet build",
"command": null,
"args": [],
"workingDir": ".",
"action": "dotnet-build",
"actionArgs": [],
"requires": []
},
{
"id": "npm-build",
"label": "npm run build",
"command": null,
"args": [],
"workingDir": "Journal.App",
"action": "npm-build",
"actionArgs": [],
"requires": []
},
{
"id": "cargo-build",
"label": "cargo build",
"command": null,
"args": [],
"workingDir": ".",
"action": "cargo-build",
"actionArgs": [],
"requires": []
},
{
"id": "tauri-build",
"label": "tauri build",
"command": null,
"args": [],
"workingDir": "Journal.App",
"action": "tauri-build",
"actionArgs": [],
"requires": []
}
]
},
{
"id": "deps-refresh",
"label": "Refresh Dependencies",
"description": "Restore/install dependency stacks",
"group": "Deps",
"dependsOn": [],
"requireFiles": [],
"steps": [
{
"id": "dotnet-restore",
"label": "dotnet restore",
"command": null,
"args": [],
"workingDir": ".",
"action": "dotnet-restore",
"actionArgs": [],
"requires": []
},
{
"id": "npm-ci",
"label": "npm ci",
"command": null,
"args": [],
"workingDir": "Journal.App",
"action": "npm-ci",
"actionArgs": [],
"requires": []
}
]
},
{
"id": "test",
"label": "Run Tests",
"description": "Run detected test stacks",
"group": "Test",
"dependsOn": [],
"requireFiles": [],
"steps": [
{
"id": "dotnet-test",
"label": "dotnet test",
"command": null,
"args": [],
"workingDir": ".",
"action": "dotnet-test",
"actionArgs": [],
"requires": []
},
{
"id": "npm-test",
"label": "npm test",
"command": null,
"args": [],
"workingDir": "Journal.App",
"action": "npm-test",
"actionArgs": [],
"requires": []
},
{
"id": "cargo-test",
"label": "cargo test",
"command": null,
"args": [],
"workingDir": ".",
"action": "cargo-test",
"actionArgs": [],
"requires": []
}
]
},
{
"id": "repo-health",
"label": "Repo Health",
"description": "Check repo status and fetch remotes",
"group": "Repo",
"dependsOn": [],
"requireFiles": [],
"steps": [
{
"id": "git-status",
"label": "git status",
"command": null,
"args": [],
"workingDir": ".",
"action": "git-status",
"actionArgs": [],
"requires": []
},
{
"id": "git-fetch",
"label": "git fetch",
"command": null,
"args": [],
"workingDir": ".",
"action": "git-fetch",
"actionArgs": [],
"requires": []
}
]
}
],
"env": [
{
"key": "SDT_LOG_LEVEL",
"description": "CLI log verbosity",
"default": "information",
"options": [
"trace",
"debug",
"information",
"warning",
"error",
"critical"
]
}
],
"envProfiles": {
"active": "dev",
"profiles": [
{
"id": "dev",
"description": "Local development defaults",
"inherits": [],
"values": {
"SDT_ENV_PROFILE": "dev",
"SDT_LOG_LEVEL": "information"
}
},
{
"id": "ci",
"description": "Continuous integration defaults",
"inherits": [
"dev"
],
"values": {
"SDT_ENV_PROFILE": "ci",
"CI": "true",
"SDT_LOG_LEVEL": "warning"
}
},
{
"id": "release",
"description": "Release build defaults",
"inherits": [
"dev"
],
"values": {
"SDT_ENV_PROFILE": "release",
"SDT_LOG_LEVEL": "warning"
}
}
]
},
"toolchains": {
"python": null,
"node": {
"packageManager": "npm",
"workingDir": "Journal.App"
}
},
"tooling": {
"defaultInstallPolicy": "Prompt",
"tools": [
{
"tool": "cargo",
"preferredInstallCommands": [],
"executables": []
},
{
"tool": "dotnet",
"preferredInstallCommands": [],
"executables": []
},
{
"tool": "git",
"preferredInstallCommands": [],
"executables": []
},
{
"tool": "node",
"preferredInstallCommands": [],
"executables": []
},
{
"tool": "npm",
"preferredInstallCommands": [],
"executables": []
},
{
"tool": "tauri",
"preferredInstallCommands": [],
"executables": []
}
]
},
"project": {
"type": "tauri",
"rootHints": [
"*.sln",
".git",
"Cargo.toml",
"package.json",
"tauri.conf.json"
],
"artifacts": [
"bin",
"obj",
".sdt/debug"
]
},
"debug": {
"profiles": [
{
"id": "dotnet-run",
"label": "Run .NET app",
"type": "dotnet",
"command": "dotnet",
"args": [
"run"
],
"workingDir": ".",
"env": {},
"requires": [
{
"tool": "dotnet",
"installPolicy": "Prompt"
}
],
"attach": {
"kind": "manual",
"port": null,
"processName": null,
"note": "Attach your IDE debugger to the running dotnet process."
}
},
{
"id": "npm-dev",
"label": "Run npm dev server",
"type": "node",
"command": "npm",
"args": [
"run",
"dev"
],
"workingDir": "Journal.App",
"env": {},
"requires": [
{
"tool": "node",
"installPolicy": "Prompt"
},
{
"tool": "npm",
"installPolicy": "Prompt"
}
],
"attach": null
}
],
"diagnostics": {
"enabled": true,
"outputDir": ".sdt/debug",
"includeAllEnv": false,
"captureEnvKeys": [
"SDT_LOG_LEVEL",
"DOTNET_CLI_HOME",
"NUGET_PACKAGES",
"PIP_CACHE_DIR",
"NVM_HOME",
"NVM_SYMLINK"
],
"redactSensitive": true,
"sensitiveKeyPatterns": [
"TOKEN",
"SECRET",
"PASSWORD",
"PWD",
"CREDENTIAL",
"API_KEY",
"ACCESS_KEY",
"PRIVATE_KEY"
],
"redactionAllowKeys": [],
"bundleOnFailure": true
}
}
}