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 @@ -28,11 +28,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 @@ -43,7 +43,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 @@ -57,4 +57,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: |
{
"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": "oclif", "prerelease": true }
],
"plugins": [
"@semantic-release/commit-analyzer",
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ USAGE

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

FLAGS
-H, --headers show response headers
Expand Down Expand Up @@ -138,8 +138,8 @@ USAGE

ARGUMENTS
RESOURCE the resource type
ID id of the resource on which to execute the action
ACTION action to execute on resource
[ID] id of the resource on which to execute the action
[ACTION] action to execute on resource

FLAGS
-a, --attribute=<value>... define a resource attribute
Expand Down Expand Up @@ -173,7 +173,7 @@ USAGE
ARGUMENTS
RESOURCE... the resource type
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 @@ -228,7 +228,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 @@ -360,7 +360,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 @@ -411,7 +411,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
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"repository": "commercelayer/commercelayer-cli-plugin-provisioning",
"bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-provisioning/issues",
"engines": {
"node": ">=20"
"node": ">=22"
},
"files": [
"/bin/run.*",
Expand Down Expand Up @@ -55,13 +55,14 @@
"release": "pnpm upgrade && pnpm prepack && pnpm postpack && pnpm test"
},
"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 @@ -71,12 +72,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.1",
"@commercelayer/cli-core": "oclif4",
"@commercelayer/cli-ux": "oclif4",
"@commercelayer/provisioning-sdk": "^2.10.2",
"@oclif/core": "^3.27.0",
"@oclif/core": "^4.11.0",
"inquirer": "^8.2.7",
"json-2-csv": "^5.5.10",
"tslib": "^2.8.1"
Expand Down
Loading
Loading