Skip to content
Draft
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/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

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

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ jobs:
steps:
- name: Post to a Slack channel
id: slack
uses: slackapi/slack-github-action@v1
uses: slackapi/slack-github-action@v3
with:
webhook-type: incoming-webhook
payload: |
{
"text": "New release ${{github.ref_name}} for ${{github.event.repository.name}}.",
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release
on:
push:
branches: [ main, beta, prerelease ]
branches: [ main, beta, prerelease, oclif4 ]
pull_request:
branches: [ main ]
jobs:
Expand All @@ -12,16 +12,16 @@ jobs:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
- name: Install pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@v5
with:
version: latest
- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 'lts/*'
cache: 'pnpm'
Expand Down
3 changes: 2 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
{ "name": "main", "channel": "latest" },
"+([0-9])?(.{+([0-9]),x}).x",
{ "name": "beta", "prerelease": true },
{ "name": "prerelease", "prerelease": "rc" }
{ "name": "prerelease", "prerelease": "rc" },
{ "name": "oclif4", "prerelease": true }
],
"plugins": [
"@semantic-release/commit-analyzer",
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# [7.0.0-oclif4.1](https://github.com/commercelayer/commercelayer-cli-plugin-resources/compare/v6.17.2...v7.0.0-oclif4.1) (2026-05-05)


### Bug Fixes

* fix cliux ([00aaf18](https://github.com/commercelayer/commercelayer-cli-plugin-resources/commit/00aaf18e7e967461f25b597a532eb2fd3a6ab170))
* fix release scripts ([831cea4](https://github.com/commercelayer/commercelayer-cli-plugin-resources/commit/831cea4c2c0f8d4abfaace83b08dd37db052f79d))


### Features

* migrate to oclif/core vd and oclif/test v4 ([1b67f6b](https://github.com/commercelayer/commercelayer-cli-plugin-resources/commit/1b67f6b6e0ced37be016df9d009fbf59d018a1c8))
* upgrade to oclif 4 and add biome ([8f0a8d6](https://github.com/commercelayer/commercelayer-cli-plugin-resources/commit/8f0a8d64a954fe727af9a5b39f322f3a94a5018b))


### BREAKING CHANGES

* upgrade to oclif 4 and add biome

## [6.17.2](https://github.com/commercelayer/commercelayer-cli-plugin-resources/compare/v6.17.1...v6.17.2) (2026-04-13)


Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ USAGE

ARGUMENTS
RESOURCE the resource type
ID id of the resources to delete (max 20)
[ID] id of the resources to delete (max 20)

FLAGS
-H, --headers show response headers
Expand Down Expand Up @@ -330,7 +330,7 @@ USAGE

ARGUMENTS
PATH... path (or URL) of the resource(s) to fetch
ID... resource id
[ID...] resource id

FLAGS
-H, --headers show response headers
Expand Down Expand Up @@ -413,7 +413,7 @@ USAGE

ARGUMENTS
RESOURCE... the resource type
ID... id of the resource to retrieve
[ID...] id of the resource to retrieve

FLAGS
-H, --headers show response headers
Expand Down Expand Up @@ -470,7 +470,7 @@ USAGE

ARGUMENTS
RESOURCE the resource type
ID id of the resource to retrieve
[ID] id of the resource to retrieve

DESCRIPTION
show history of a resource
Expand Down Expand Up @@ -589,7 +589,7 @@ USAGE

ARGUMENTS
RESOURCE the resource type
ID id of the resource to retrieve
[ID] id of the resource to retrieve

FLAGS
-H, --headers show response headers
Expand Down Expand Up @@ -668,7 +668,7 @@ USAGE

ARGUMENTS
RESOURCE the resource type
ID id of the resource to update
[ID] id of the resource to update

FLAGS
-D, --data=<value> the data file to use as request body
Expand Down
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@commercelayer/cli-plugin-resources",
"description": "Commerce Layer CLI Resources plugin",
"version": "6.17.2",
"version": "7.0.0-oclif4.1",
"author": "Pierluigi Viti <pierluigi@commercelayer.io>",
"homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-resources",
"repository": "commercelayer/commercelayer-cli-plugin-resources",
"bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-resources/issues",
"engines": {
"node": ">=20.18.1"
"node": ">=22"
},
"files": [
"/bin/run.*",
Expand Down Expand Up @@ -59,13 +59,14 @@
},
"types": "lib/index.d.ts",
"devDependencies": {
"@biomejs/biome": "^2.4.11",
"@commercelayer/cli-dev": "^3.1.1",
"@oclif/plugin-help": "^6.2.44",
"@oclif/test": "^3.2.15",
"@biomejs/biome": "^2.4.14",
"@commercelayer/cli-dev": "oclif4",
"@oclif/plugin-help": "^6.2.46",
"@oclif/test": "^4.1.18",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/chai": "^5.2.3",
"@types/cli-progress": "^3.11.6",
"@types/inquirer": "^8.2.12",
"@types/mocha": "^10.0.10",
"@types/node": "^25.6.0",
Expand All @@ -76,13 +77,13 @@
"oclif": "^4.23.0",
"semantic-release": "^25.0.3",
"tsx": "^4.21.0",
"typescript": "^6.0.2"
"typescript": "^6.0.3"
},
"dependencies": {
"@commercelayer/cli-core": "^5.11.0",
"@commercelayer/cli-ux": "^1.2.0",
"@commercelayer/sdk": "^6.56.0",
"@oclif/core": "^3.27.0",
"@commercelayer/cli-core": "oclif4",
"@commercelayer/cli-ux": "oclif4",
"@commercelayer/sdk": "^6.57.0",
"@oclif/core": "^4.11.0",
"inquirer": "^8.2.7",
"json-2-csv": "^3.20.0",
"node-notifier": "^10.0.1",
Expand Down
Loading