Skip to content
Open
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
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
id: slack
uses: slackapi/slack-github-action@v3
with:
webhook-type: incoming-webhook
payload: |
Comment on lines +12 to 15

Copilot AI Mar 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In slackapi/slack-github-action v3, webhook-type: incoming-webhook is the right way to configure incoming webhooks. With this in place, the SLACK_WEBHOOK_TYPE env var (set later in this job) is not used by v3 and can be removed to avoid confusion.

Copilot uses AI. Check for mistakes.
{
"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
47 changes: 46 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [4.4.1](https://github.com/commercelayer/commercelayer-cli-plugin-imports/compare/v4.4.0...v4.4.1) (2026-04-15)
# [5.0.0-oclif4.6](https://github.com/commercelayer/commercelayer-cli-plugin-imports/compare/v5.0.0-oclif4.5...v5.0.0-oclif4.6) (2026-04-27)


### Bug Fixes
Expand All @@ -7,13 +7,58 @@
* run tests in updates workflow ([547ce89](https://github.com/commercelayer/commercelayer-cli-plugin-imports/commit/547ce89bd7cde7a610c18039b3f701930c537df2))
* update dependencies and add updates workflow ([59e61f1](https://github.com/commercelayer/commercelayer-cli-plugin-imports/commit/59e61f18956a946d65f245096d111f3e126538f7))

# [5.0.0-oclif4.5](https://github.com/commercelayer/commercelayer-cli-plugin-imports/compare/v5.0.0-oclif4.4...v5.0.0-oclif4.5) (2026-03-27)


### Bug Fixes

* update dependencies ([636fdfc](https://github.com/commercelayer/commercelayer-cli-plugin-imports/commit/636fdfc84ca193f867ab90935ea5ac456825dc18))

# [5.0.0-oclif4.4](https://github.com/commercelayer/commercelayer-cli-plugin-imports/compare/v5.0.0-oclif4.3...v5.0.0-oclif4.4) (2026-03-26)


### Features

* add import size flag ([4fa5433](https://github.com/commercelayer/commercelayer-cli-plugin-imports/commit/4fa54337c699c0d959b9093eb2e1c9f293b5a53f))

# [5.0.0-oclif4.3](https://github.com/commercelayer/commercelayer-cli-plugin-imports/compare/v5.0.0-oclif4.2...v5.0.0-oclif4.3) (2026-03-26)


### Bug Fixes

* fix tests ([0b06774](https://github.com/commercelayer/commercelayer-cli-plugin-imports/commit/0b067744b2d5de5265dad95f8dfa7fe53a14082e))

# [4.4.0](https://github.com/commercelayer/commercelayer-cli-plugin-imports/compare/v4.3.1...v4.4.0) (2026-03-26)


### Features

* add import size flag ([4fa5433](https://github.com/commercelayer/commercelayer-cli-plugin-imports/commit/4fa54337c699c0d959b9093eb2e1c9f293b5a53f))

# [5.0.0-oclif4.2](https://github.com/commercelayer/commercelayer-cli-plugin-imports/compare/v5.0.0-oclif4.1...v5.0.0-oclif4.2) (2026-03-26)


### Features

* require node to v22 ([cc1599d](https://github.com/commercelayer/commercelayer-cli-plugin-imports/commit/cc1599d2f20543b270db28cc45dc1107f4c92c8e))


### BREAKING CHANGES

* require node to v22

# [5.0.0-oclif4.1](https://github.com/commercelayer/commercelayer-cli-plugin-imports/compare/v4.3.1...v5.0.0-oclif4.1) (2026-03-26)


### Features

* upgrade to oclif core v4 and add biome ([c430b37](https://github.com/commercelayer/commercelayer-cli-plugin-imports/commit/c430b370c9ae5c62f104a4daaa2bfc71a7c58aa0))


### BREAKING CHANGES

* upgrade to oclif core v4 and add biome

## [4.3.1](https://github.com/commercelayer/commercelayer-cli-plugin-imports/compare/v4.3.0...v4.3.1) (2026-03-24)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ USAGE
[-w]

ARGUMENTS
ID unique id of the import to be retrieved
[ID] unique id of the import to be retrieved

FLAGS
-A, --all show all imports instead of first 25 only
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@commercelayer/cli-plugin-imports",
"description": "Commerce Layer CLI Imports plugin",
"version": "4.4.1",
"version": "5.0.0-oclif4.6",
"author": "Pierluigi Viti <pierluigi@commercelayer.io>",
"homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-imports",
"repository": "commercelayer/commercelayer-cli-plugin-imports",
"bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-imports/issues",
"engines": {
"node": ">=20"
"node": ">=22"
},
"files": [
"/bin/run.*",
Expand Down Expand Up @@ -50,14 +50,14 @@
"readme": "cl-cli-dev readme --plugin --bin=commercelayer && git add README.md",
"lint": "biome check --enforce-assist=true",
"check": "biome check --enforce-assist=true --write",
"release": "pnpm upgrade && pnpm lint && pnpm prepack && pnpm postpack"
"release": "pnpm upgrade && pnpm prepack && pnpm postpack && pnpm test"
},
"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.13",
"@commercelayer/cli-dev": "oclif4",
"@oclif/plugin-help": "^6.2.45",
"@oclif/test": "^4.1.18",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/chai": "^5.2.3",
Expand All @@ -70,15 +70,15 @@
"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.1",
"@commercelayer/cli-ux": "^1.2.1",
"@commercelayer/sdk": "^6.56.0",
"@commercelayer/cli-core": "oclif4",
"@commercelayer/cli-ux": "oclif4",
"@commercelayer/sdk": "^6.57.0",
"@fast-csv/parse": "^4.3.6",
"@oclif/core": "^3.27.0",
"axios": "^1.15.0",
"@oclif/core": "^4.10.6",
"axios": "^1.15.2",
"cli-progress": "^3.12.0",
"cli-table3": "^0.6.5",
"open": "^8.4.2",
Expand Down
Loading