mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-14 10:34:06 +02:00
## Add Taskfile for unified dev workflow ### Summary - Introduces [Taskfile](https://taskfile.dev/) as the single CLI entry point for all development workflows across backend, frontend, engine, Docker, and desktop - ~80 tasks organized into 6 namespaces: `backend:`, `frontend:`, `engine:`, `docker:`, `desktop:`, plus root-level composites - All CI workflows migrated to use Task - Deletes `engine/Makefile` and `scripts/build-tauri-jlink.{sh,bat}` — replaced by Task equivalents - Removes redundant npm scripts (`dev`, `build`, `prep`, `lint`, `test`, `typecheck:all`) from `package.json` - Smart dependency caching: `sources`/`status`/`generates` fingerprinting, CI-aware `npm ci` vs `npm install`, `run: once` for parallel dep deduplication ### What this does NOT do - Does not replace Gradle, npm, or Docker — Taskfile is a thin orchestration wrapper - Does not change application code or behavior ### Install ``` npm install -g @go-task/cli # or: brew install go-task, winget install Task.Task ``` ### Quick start ``` task --list # discover all tasks task install # install all deps task dev # start backend + frontend task dev:all # also start AI engine task test # run all tests task check # quick quality gate (local dev) task check:all # full CI quality gate ``` ### Test plan - [ ] Install `task` CLI and run `task --list` — verify all tasks display - [ ] Run `task install` — verify frontend + engine deps install - [ ] Run `task dev` — verify backend + frontend start, Ctrl+C exits cleanly - [ ] Run `task frontend:check` — verify typecheck + lint + test pass - [ ] Run `task desktop:dev` — verify jlink builds are cached on second run - [ ] Verify CI passes on all workflows --------- Co-authored-by: James Brunton <[email protected]>
83 lines
1.9 KiB
JSON
83 lines
1.9 KiB
JSON
{
|
|
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
|
"productName": "Stirling-PDF",
|
|
"version": "2.9.2",
|
|
"identifier": "stirling.pdf.dev",
|
|
"build": {
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://localhost:5173",
|
|
"beforeDevCommand": "npx vite --mode desktop",
|
|
"beforeBuildCommand": "npx vite build --mode desktop"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "Stirling-PDF",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"additionalBrowserArgs": "--enable-features=CertVerifierBuiltinFeature"
|
|
}
|
|
]
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"publisher": "Stirling PDF Inc.",
|
|
"targets": ["deb", "rpm", "dmg", "msi"],
|
|
"icon": [
|
|
"icons/icon.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico",
|
|
"icons/16x16.png",
|
|
"icons/32x32.png",
|
|
"icons/64x64.png",
|
|
"icons/128x128.png",
|
|
"icons/192x192.png"
|
|
],
|
|
"resources": ["libs/*.jar", "runtime/jre/**/*"],
|
|
"fileAssociations": [
|
|
{
|
|
"ext": ["pdf"],
|
|
"name": "PDF Document",
|
|
"role": "Editor",
|
|
"mimeType": "application/pdf"
|
|
}
|
|
],
|
|
"linux": {
|
|
"deb": {
|
|
"desktopTemplate": "stirling-pdf.desktop"
|
|
}
|
|
},
|
|
"windows": {
|
|
"certificateThumbprint": null,
|
|
"digestAlgorithm": "sha256",
|
|
"timestampUrl": "http://timestamp.digicert.com",
|
|
"wix": {
|
|
"fragmentPaths": ["windows/wix/provisioning.wxs"],
|
|
"componentGroupRefs": ["ProvisioningComponentGroup"]
|
|
}
|
|
},
|
|
"macOS": {
|
|
"minimumSystemVersion": "10.15",
|
|
"signingIdentity": null,
|
|
"entitlements": null,
|
|
"providerShortName": null,
|
|
"infoPlist": "Info.plist"
|
|
}
|
|
},
|
|
"plugins": {
|
|
"shell": {
|
|
"open": true
|
|
},
|
|
"fs": {
|
|
"requireLiteralLeadingDot": false
|
|
},
|
|
"deep-link": {
|
|
"desktop": {
|
|
"schemes": ["stirlingpdf"]
|
|
}
|
|
}
|
|
}
|
|
}
|