Skip to content

Commit 77f8e89

Browse files
authored
Merge pull request #897 from tidev/fix-colors
2 parents 6569a5c + 578c61b commit 77f8e89

File tree

5 files changed

+17
-12
lines changed

5 files changed

+17
-12
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ jobs:
1515

1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919

2020
- name: Setup node
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@v6
2222
with:
23-
node-version: 22
23+
node-version: 24
2424
registry-url: 'https://registry.npmjs.org/'
2525

2626
- name: Update npm
2727
run: npm install -g npm@latest
2828

2929
- name: Install pnpm
30-
uses: pnpm/action-setup@v2
30+
uses: pnpm/action-setup@v4
3131
with:
3232
version: latest
3333

.github/workflows/test.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,31 @@ name: Tests
22

33
on:
44
pull_request:
5-
types: [opened, synchronize, reopened]
65
push:
76
branches:
87
- main
98

109
jobs:
1110
test:
12-
name: Test on node ${{ matrix.node }} and ${{ matrix.os }}
11+
name: Test on Node.js ${{ matrix.node }} and ${{ matrix.os }}
1312
runs-on: ${{ matrix.os }}
1413
strategy:
1514
fail-fast: false
1615
matrix:
17-
node: ['20', '22', '>=24.5.0']
16+
node: ['20', '22', '24']
1817
os: [ubuntu-latest, windows-latest, macOS-latest]
1918

2019
steps:
2120
- name: Checkout repository
22-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2322

2423
- name: Use Node.js ${{ matrix.node }}
25-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@v6
2625
with:
2726
node-version: ${{ matrix.node }}
2827

2928
- name: Install pnpm
30-
uses: pnpm/action-setup@v2
29+
uses: pnpm/action-setup@v4
3130
with:
3231
version: latest
3332

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
8.1.3 (1/17/2026)
2+
-------------------
3+
* fix: Define `colors` shim for `info` command
4+
15
8.1.2 (10/28/2025)
26
-------------------
37
* fix: Add support for SDK `main` branch builds

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "titanium",
3-
"version": "8.1.2",
3+
"version": "8.1.3",
44
"author": "TiDev, Inc. <npm@tidev.io>",
55
"description": "Command line interface for building Titanium SDK apps",
66
"type": "module",
77
"keywords": [
88
"titanium",
9+
"titanium-sdk",
910
"tidev",
1011
"mobile",
1112
"ios",

src/cli.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,8 @@ export class CLI {
432432
this.command.skipRun = false;
433433
this.logger.banner();
434434

435-
if (sdkCommands[this.command.name()]) {
435+
const commandName = this.command.name();
436+
if (sdkCommands[commandName] || commandName === 'info') {
436437
// the SDK still uses the `colors` package, so we need to add the
437438
// colors to the string prototype
438439
const assignColors = proto => Object.defineProperties(proto, {

0 commit comments

Comments
 (0)