diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1547e17f..201706e5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,19 +15,19 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 registry-url: 'https://registry.npmjs.org/' - name: Update npm run: npm install -g npm@latest - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: version: latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5501ebd5..2485e50a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,32 +2,31 @@ name: Tests on: pull_request: - types: [opened, synchronize, reopened] push: branches: - main jobs: test: - name: Test on node ${{ matrix.node }} and ${{ matrix.os }} + name: Test on Node.js ${{ matrix.node }} and ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - node: ['20', '22', '>=24.5.0'] + node: ['20', '22', '24'] os: [ubuntu-latest, windows-latest, macOS-latest] steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: version: latest diff --git a/CHANGELOG.md b/CHANGELOG.md index d744b7d0..2a666f57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +8.1.3 (1/17/2026) +------------------- + * fix: Define `colors` shim for `info` command + 8.1.2 (10/28/2025) ------------------- * fix: Add support for SDK `main` branch builds diff --git a/package.json b/package.json index 2d3967aa..69789e86 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { "name": "titanium", - "version": "8.1.2", + "version": "8.1.3", "author": "TiDev, Inc. ", "description": "Command line interface for building Titanium SDK apps", "type": "module", "keywords": [ "titanium", + "titanium-sdk", "tidev", "mobile", "ios", diff --git a/src/cli.js b/src/cli.js index 8130e325..54a4c9cf 100644 --- a/src/cli.js +++ b/src/cli.js @@ -432,7 +432,8 @@ export class CLI { this.command.skipRun = false; this.logger.banner(); - if (sdkCommands[this.command.name()]) { + const commandName = this.command.name(); + if (sdkCommands[commandName] || commandName === 'info') { // the SDK still uses the `colors` package, so we need to add the // colors to the string prototype const assignColors = proto => Object.defineProperties(proto, {