Skip to content

Commit b563ccd

Browse files
committed
chore: update version numbers
1 parent 8b1aafa commit b563ccd

File tree

6 files changed

+13717
-9776
lines changed

6 files changed

+13717
-9776
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ jobs:
77
Lint:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
13-
- uses: actions/setup-node@v1
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: '12.x'
15+
node-version: '18.x'
1616
- name: Install NPM dependencies
1717
run: npm ci
1818
- name: Type Check
@@ -28,10 +28,10 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
os: [ ubuntu-latest, macos-latest, windows-latest ]
31-
nodeVersion: [ '12.x', '14.x', '16.x' ]
31+
nodeVersion: [ '18.x', '22.x' ]
3232
steps:
33-
- uses: actions/checkout@v2
34-
- uses: actions/setup-node@v1
33+
- uses: actions/checkout@v4
34+
- uses: actions/setup-node@v4
3535
with:
3636
node-version: ${{ matrix.nodeVersion }}
3737
- name: Install NPM dependencies

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111

1212
steps:
1313
- name: Checkout repository
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Setup node
19-
uses: actions/setup-node@v2
19+
uses: actions/setup-node@v4
2020
with:
21-
node-version: '16'
21+
node-version: '18'
2222
registry-url: 'https://registry.npmjs.org'
2323

2424
- name: Install dependencies

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import { completion } from 'titanium-editor-commons';
2121
const alloyVersion = await completion.generateAlloyCompletions(true, completion.CompletionsFormat.v3);
2222
console.log(alloyVersion) // The Alloy version the completions were generated for
2323

24-
// Generate a v3 completions file for SDK 10.0.2.GA, do not create one if it already exists
25-
const sdkVersion = await completion.generateSDKCompletions(false, '10.0.2.GA', '/Users/user/Library/Application Support/Titanium/mobilesdk/osx/10.0.2.GA', completion.CompletionsFormat.v3);
24+
// Generate a v3 completions file for SDK 12.7.0, do not create one if it already exists
25+
const sdkVersion = await completion.generateSDKCompletions(false, '12.7.0', '/Users/user/Library/Application Support/Titanium/mobilesdk/osx/12.7.0', completion.CompletionsFormat.v3);
2626
console.log(sdkVersion) // The SDK version the completions were generated for
2727
```
2828

@@ -32,7 +32,7 @@ console.log(sdkVersion) // The SDK version the completions were generated for
3232
import { completion } from 'titanium-editor-commons';
3333

3434
// Load a v3 completions file
35-
const completions = await completion.loadCompletions('10.0.2.GA', completion.CompletionsFormat.v3)
35+
const completions = await completion.loadCompletions('12.7.0', completion.CompletionsFormat.v3)
3636
console.log(completions) // An object with `alloy` and `titanium` keys with their respective completions data. View the `CompletionsData` type for full information
3737
```
3838

@@ -43,8 +43,8 @@ This validates that an environment has the required tooling to perform Titanium
4343
```js
4444
import { environment } from 'titanium-editor-commons';
4545

46-
// Validate the environment has the required Appc tooling. If Node.js is missing, require a version that matches the 12.x || 14.x range
47-
const details = await environment.validateEnvironment({ nodeJS: '12.x || 14.x'}, true);
46+
// Validate the environment has the required Appc tooling. If Node.js is missing, require a version that matches the 18.x || 22.x range
47+
const details = await environment.validateEnvironment({ nodeJS: '18.x || 22.x'}, true);
4848
console.log(details); // An object with `installed` and `missing` keys
4949
```
5050

@@ -56,8 +56,8 @@ You can either check for all updates or import the individual products and check
5656
```js
5757
import { updates } from 'titanium-editor-commons';
5858

59-
// Check for updates in the OSS tooling, and check if there is an Node.js update that matches the 12.x || 14.x range
60-
const newUpdates = await updates.checkAllUpdates({ nodeJS: '12.x || 14.x'}, false);
59+
// Check for updates in the OSS tooling, and check if there is an Node.js update that matches the 18.x || 22.x range
60+
const newUpdates = await updates.checkAllUpdates({ nodeJS: '18.x || 22.x'}, false);
6161
console.log(newUpdates); // An array of products that require updates, sorted in order of the priority they should be instaleld
6262

6363
const alloyUpdate = await updates.alloy.checkForUpdate();

0 commit comments

Comments
 (0)