mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
This commit introduces a new feature for managing worktree initialization scripts, allowing users to configure and execute scripts upon worktree creation. Key changes include: 1. **New API Endpoints**: Added endpoints for getting, setting, and deleting init scripts. 2. **Worktree Routes**: Updated worktree routes to include init script handling. 3. **Init Script Service**: Created a service to execute the init scripts asynchronously, with support for cross-platform compatibility. 4. **UI Components**: Added UI components for displaying and editing init scripts, including a dedicated section in the settings view. 5. **Event Handling**: Implemented event handling for init script execution status, providing real-time feedback in the UI. This enhancement improves the user experience by allowing automated setup processes for new worktrees, streamlining project workflows.
221 lines
6.7 KiB
JSON
221 lines
6.7 KiB
JSON
{
|
|
"name": "@automaker/ui",
|
|
"version": "0.9.0",
|
|
"description": "An autonomous AI development studio that helps you build software faster using AI-powered agents",
|
|
"homepage": "https://github.com/AutoMaker-Org/automaker",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/AutoMaker-Org/automaker.git"
|
|
},
|
|
"author": "AutoMaker Team",
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=22.0.0 <23.0.0"
|
|
},
|
|
"main": "dist-electron/main.js",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:web": "cross-env VITE_SKIP_ELECTRON=true vite",
|
|
"dev:electron": "vite",
|
|
"dev:electron:debug": "cross-env OPEN_DEVTOOLS=true vite",
|
|
"build": "vite build",
|
|
"build:electron": "node scripts/prepare-server.mjs && vite build && electron-builder",
|
|
"build:electron:dir": "node scripts/prepare-server.mjs && vite build && electron-builder --dir",
|
|
"build:electron:win": "node scripts/prepare-server.mjs && vite build && electron-builder --win",
|
|
"build:electron:win:dir": "node scripts/prepare-server.mjs && vite build && electron-builder --win --dir",
|
|
"build:electron:mac": "node scripts/prepare-server.mjs && vite build && electron-builder --mac",
|
|
"build:electron:mac:dir": "node scripts/prepare-server.mjs && vite build && electron-builder --mac --dir",
|
|
"build:electron:linux": "node scripts/prepare-server.mjs && vite build && electron-builder --linux",
|
|
"build:electron:linux:dir": "node scripts/prepare-server.mjs && vite build && electron-builder --linux --dir",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"preview": "vite preview",
|
|
"lint": "npx eslint",
|
|
"typecheck": "tsc --noEmit",
|
|
"pretest": "node scripts/kill-test-servers.mjs && node scripts/setup-e2e-fixtures.mjs",
|
|
"test": "playwright test",
|
|
"test:headed": "playwright test --headed",
|
|
"dev:electron:wsl": "cross-env vite",
|
|
"dev:electron:wsl:gpu": "cross-env MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA vite"
|
|
},
|
|
"dependencies": {
|
|
"@automaker/dependency-resolver": "1.0.0",
|
|
"@automaker/types": "1.0.0",
|
|
"@codemirror/lang-xml": "6.1.0",
|
|
"@codemirror/language": "^6.12.1",
|
|
"@codemirror/legacy-modes": "^6.5.2",
|
|
"@codemirror/theme-one-dark": "6.1.3",
|
|
"@dnd-kit/core": "6.3.1",
|
|
"@dnd-kit/sortable": "10.0.0",
|
|
"@dnd-kit/utilities": "3.2.2",
|
|
"@lezer/highlight": "1.2.3",
|
|
"@radix-ui/react-checkbox": "1.3.3",
|
|
"@radix-ui/react-collapsible": "1.1.12",
|
|
"@radix-ui/react-dialog": "1.1.15",
|
|
"@radix-ui/react-dropdown-menu": "2.1.16",
|
|
"@radix-ui/react-label": "2.1.8",
|
|
"@radix-ui/react-popover": "1.1.15",
|
|
"@radix-ui/react-radio-group": "1.3.8",
|
|
"@radix-ui/react-select": "2.2.6",
|
|
"@radix-ui/react-slider": "1.3.6",
|
|
"@radix-ui/react-slot": "1.2.4",
|
|
"@radix-ui/react-switch": "1.2.6",
|
|
"@radix-ui/react-tabs": "1.1.13",
|
|
"@radix-ui/react-tooltip": "1.2.8",
|
|
"@tanstack/react-query": "5.90.12",
|
|
"@tanstack/react-router": "1.141.6",
|
|
"@uiw/react-codemirror": "4.25.4",
|
|
"@xterm/addon-fit": "0.10.0",
|
|
"@xterm/addon-search": "0.15.0",
|
|
"@xterm/addon-web-links": "0.11.0",
|
|
"@xterm/addon-webgl": "0.18.0",
|
|
"@xterm/xterm": "5.5.0",
|
|
"@xyflow/react": "12.10.0",
|
|
"class-variance-authority": "0.7.1",
|
|
"clsx": "2.1.1",
|
|
"cmdk": "1.1.1",
|
|
"dagre": "0.8.5",
|
|
"dotenv": "17.2.3",
|
|
"geist": "1.5.1",
|
|
"lucide-react": "0.562.0",
|
|
"react": "19.2.3",
|
|
"react-dom": "19.2.3",
|
|
"react-markdown": "10.1.0",
|
|
"react-resizable-panels": "3.0.6",
|
|
"rehype-raw": "7.0.0",
|
|
"sonner": "2.0.7",
|
|
"tailwind-merge": "3.4.0",
|
|
"usehooks-ts": "3.1.1",
|
|
"zustand": "5.0.9"
|
|
},
|
|
"optionalDependencies": {
|
|
"lightningcss-darwin-arm64": "1.29.2",
|
|
"lightningcss-darwin-x64": "1.29.2",
|
|
"lightningcss-linux-arm-gnueabihf": "1.29.2",
|
|
"lightningcss-linux-arm64-gnu": "1.29.2",
|
|
"lightningcss-linux-arm64-musl": "1.29.2",
|
|
"lightningcss-linux-x64-gnu": "1.29.2",
|
|
"lightningcss-linux-x64-musl": "1.29.2",
|
|
"lightningcss-win32-arm64-msvc": "1.29.2",
|
|
"lightningcss-win32-x64-msvc": "1.29.2"
|
|
},
|
|
"devDependencies": {
|
|
"@electron/rebuild": "4.0.2",
|
|
"@eslint/js": "9.0.0",
|
|
"@playwright/test": "1.57.0",
|
|
"@tailwindcss/vite": "4.1.18",
|
|
"@tanstack/router-plugin": "1.141.7",
|
|
"@types/dagre": "0.7.53",
|
|
"@types/node": "22.19.3",
|
|
"@types/react": "19.2.7",
|
|
"@types/react-dom": "19.2.3",
|
|
"@typescript-eslint/eslint-plugin": "8.50.0",
|
|
"@typescript-eslint/parser": "8.50.0",
|
|
"@vitejs/plugin-react": "5.1.2",
|
|
"cross-env": "10.1.0",
|
|
"electron": "39.2.7",
|
|
"electron-builder": "26.0.12",
|
|
"eslint": "9.39.2",
|
|
"tailwindcss": "4.1.18",
|
|
"tw-animate-css": "1.4.0",
|
|
"typescript": "5.9.3",
|
|
"vite": "7.3.0",
|
|
"vite-plugin-electron": "0.29.0",
|
|
"vite-plugin-electron-renderer": "0.14.6"
|
|
},
|
|
"build": {
|
|
"appId": "com.automaker.app",
|
|
"productName": "Automaker",
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}",
|
|
"npmRebuild": false,
|
|
"afterPack": "./scripts/rebuild-server-natives.cjs",
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"dist-electron/**/*",
|
|
"public/**/*",
|
|
"!node_modules/**/*"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "server-bundle/dist",
|
|
"to": "server"
|
|
},
|
|
{
|
|
"from": "server-bundle/node_modules",
|
|
"to": "server/node_modules"
|
|
},
|
|
{
|
|
"from": "server-bundle/package.json",
|
|
"to": "server/package.json"
|
|
},
|
|
{
|
|
"from": "../../.env",
|
|
"to": ".env",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
}
|
|
],
|
|
"mac": {
|
|
"category": "public.app-category.developer-tools",
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"target": "zip",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "public/logo_larger.png"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "public/icon.ico"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
},
|
|
{
|
|
"target": "deb",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
],
|
|
"category": "Development",
|
|
"icon": "public/logo_larger.png",
|
|
"maintainer": "webdevcody@gmail.com",
|
|
"executableName": "automaker"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true
|
|
}
|
|
}
|
|
}
|