From 601ebde4a92f6992417b4b12acb9dce2d90946aa Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 14 Nov 2025 16:44:50 -0500 Subject: [PATCH] Formatting Fix --- .github/workflows/npm-publish-cli.yml | 36 +++++++++++++-------------- Development.md | 4 ++- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/.github/workflows/npm-publish-cli.yml b/.github/workflows/npm-publish-cli.yml index 4a1256cd..78313952 100644 --- a/.github/workflows/npm-publish-cli.yml +++ b/.github/workflows/npm-publish-cli.yml @@ -4,9 +4,9 @@ on: workflow_dispatch: inputs: version: - description: 'Version to publish (default: from package.json)' + description: "Version to publish (default: from package.json)" required: false - default: '' + default: "" jobs: build-and-publish: @@ -14,30 +14,30 @@ jobs: id-token: write contents: write packages: write - + strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] include: - os: ubuntu-latest target: bun-linux-x64 - ext: '' + ext: "" binary_name: cua-linux-x64 - os: macos-latest target: bun-darwin-x64 - ext: '' + ext: "" binary_name: cua-darwin-x64 - os: macos-latest target: bun-darwin-arm64 - ext: '' + ext: "" binary_name: cua-darwin-arm64 - os: windows-latest target: bun-windows-x64 - ext: '.exe' + ext: ".exe" binary_name: cua-windows-x64.exe - + runs-on: ${{ matrix.os }} - + steps: - name: Checkout code uses: actions/checkout@v4 @@ -47,9 +47,9 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' - cache: 'bun' - cache-dependency-path: 'libs/typescript/cua-cli/bun.lockb' + node-version: "20" + cache: "bun" + cache-dependency-path: "libs/typescript/cua-cli/bun.lockb" - name: Setup Bun uses: oven-sh/setup-bun@v2 @@ -96,10 +96,10 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' - registry-url: 'https://registry.npmjs.org' - cache: 'bun' - cache-dependency-path: 'libs/typescript/cua-cli/bun.lockb' + node-version: "20" + registry-url: "https://registry.npmjs.org" + cache: "bun" + cache-dependency-path: "libs/typescript/cua-cli/bun.lockb" - name: Setup Bun uses: oven-sh/setup-bun@v2 @@ -144,7 +144,7 @@ jobs: ```bash # For Linux/macOS curl -fsSL https://cua.ai/install.sh | sh - + # For Windows (PowerShell) irm https://cua.ai/install.ps1 | iex ``` @@ -153,7 +153,7 @@ jobs: ```bash # Using bun bun add -g @trycua/cli - + # Or using npm npm install -g @trycua/cli ``` diff --git a/Development.md b/Development.md index 4ae2dcd3..3b99c565 100644 --- a/Development.md +++ b/Development.md @@ -395,6 +395,7 @@ To release a new version of the CUA CLI, follow these steps: 5. Click "Run workflow" The workflow will: + - Build single-file executables for all supported platforms - Publish the package to npm - Create a GitHub release with the version tag (format: `cua-vX.Y.Z`) @@ -409,7 +410,7 @@ The workflow will: ```bash # Test Linux/macOS installation curl -fsSL https://cua.ai/install.sh | sh - + # Test Windows installation (PowerShell) irm https://cua.ai/install.ps1 | iex ``` @@ -417,6 +418,7 @@ The workflow will: ### 4. Update Documentation Update any relevant documentation with the new version number, including: + - Example code in documentation - Any version-specific instructions - Compatibility matrices