Skip to content

Commit 39ad6f3

Browse files
committed
feat: update to oclif core v4 and node v22
BREAKING CHANGE: update to oclif core v4 and node v22
1 parent f56fd56 commit 39ad6f3

24 files changed

Lines changed: 304 additions & 676 deletions

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v3
45+
uses: github/codeql-action/init@v4
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
5353
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5454
# If this step fails, then you should remove it and run the build manually (see below)
5555
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v3
56+
uses: github/codeql-action/autobuild@v4
5757

5858
# ℹ️ Command-line programs to run using the OS shell.
5959
# 📚 https://git.io/JvXDl
@@ -67,4 +67,4 @@ jobs:
6767
# make release
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v3
70+
uses: github/codeql-action/analyze@v4

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ jobs:
99
steps:
1010
- name: Post to a Slack channel
1111
id: slack
12-
uses: slackapi/slack-github-action@v1
12+
uses: slackapi/slack-github-action@v3
1313
with:
14+
webhook-type: incoming-webhook
1415
payload: |
1516
{
1617
"text": "New release ${{github.ref_name}} for ${{github.event.repository.name}}.",

.github/workflows/semantic-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Release
22
on:
33
push:
4-
branches: [ main, beta, prerelease ]
4+
branches: [ main, beta, prerelease, oclif4 ]
55
pull_request:
66
branches: [ main ]
77
jobs:
@@ -12,16 +12,16 @@ jobs:
1212
id-token: write
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 0
1818
persist-credentials: false
1919
- name: Install pnpm
20-
uses: pnpm/action-setup@v4
20+
uses: pnpm/action-setup@v5
2121
with:
2222
version: latest
2323
- name: Setup Node.js
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@v6
2525
with:
2626
node-version: 'lts/*'
2727
cache: 'pnpm'

.releaserc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
{ "name": "main", "channel": "latest" },
66
"+([0-9])?(.{+([0-9]),x}).x",
77
{ "name": "beta", "prerelease": true },
8-
{ "name": "prerelease", "prerelease": "rc" }
8+
{ "name": "prerelease", "prerelease": "rc" },
9+
{ "name": "oclif4", "prerelease": true }
910
],
1011
"plugins": [
1112
"@semantic-release/commit-analyzer",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ USAGE
4646
ax_categories|transactions|voids] [-s in_progress|pending|completed|interrupted]
4747

4848
ARGUMENTS
49-
ID unique id of the export to be retrieved
49+
[ID] unique id of the export to be retrieved
5050

5151
FLAGS
5252
-A, --all

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.9/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"repository": "commercelayer/commercelayer-cli-plugin-exports",
88
"bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-exports/issues",
99
"engines": {
10-
"node": ">=20"
10+
"node": ">=22"
1111
},
1212
"files": [
1313
"/bin/run.*",
@@ -54,13 +54,14 @@
5454
},
5555
"types": "lib/index.d.ts",
5656
"devDependencies": {
57-
"@biomejs/biome": "2.4.8",
58-
"@commercelayer/cli-dev": "^3.0.13",
57+
"@biomejs/biome": "^2.4.9",
58+
"@commercelayer/cli-dev": "oclif4",
5959
"@oclif/plugin-help": "^6.2.40",
60-
"@oclif/test": "^3.2.15",
60+
"@oclif/test": "^4.1.17",
6161
"@semantic-release/changelog": "^6.0.3",
6262
"@semantic-release/git": "^10.0.1",
6363
"@types/chai": "^5.2.3",
64+
"@types/cli-progress": "^3.11.6",
6465
"@types/mocha": "^10.0.10",
6566
"@types/node": "^25.5.0",
6667
"@types/node-notifier": "^8.0.5",
@@ -73,10 +74,10 @@
7374
"typescript": "^6.0.2"
7475
},
7576
"dependencies": {
76-
"@commercelayer/cli-core": "^5.10.8",
77-
"@commercelayer/cli-ux": "^1.1.0",
77+
"@commercelayer/cli-core": "oclif4",
78+
"@commercelayer/cli-ux": "oclif4",
7879
"@commercelayer/sdk": "^6.55.0",
79-
"@oclif/core": "^3.27.0",
80+
"@oclif/core": "^4.10.3",
8081
"axios": "^1.13.6",
8182
"cli-table3": "^0.6.5",
8283
"node-notifier": "^10.0.1",

0 commit comments

Comments
 (0)