Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "titanium",
"version": "8.1.2",
"version": "8.1.3",
"author": "TiDev, Inc. <[email protected]>",
"description": "Command line interface for building Titanium SDK apps",
"type": "module",
"keywords": [
"titanium",
"titanium-sdk",
"tidev",
"mobile",
"ios",
Expand Down
3 changes: 2 additions & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down
Loading