Skip to content

Commit

Permalink
perf: upgrade to oclif 3
Browse files Browse the repository at this point in the history
BREAKING CHANGES: the framework oclif and its plugins have been migrated to next major version
  • Loading branch information
pviti committed Feb 13, 2024
1 parent 1b53699 commit 02ca50e
Show file tree
Hide file tree
Showing 8 changed files with 837 additions and 762 deletions.
2 changes: 1 addition & 1 deletion .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 ]
branches: [ main, oclif3 ]
pull_request:
branches: [ main ]
jobs:
Expand Down
3 changes: 2 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"branches": [
{ "name": "main", "channel": "latest" },
"+([0-9])?(.{+([0-9]),x}).x",
{ "name": "beta", "prerelease": true }
{ "name": "beta", "prerelease": true },
{ "name": "oclif3", "prerelease": true, "channel": "beta" }
],
"plugins": [
"@semantic-release/commit-analyzer",
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"bugs": "https://github.com/commercelayer/commercelayer-cli/issues",
"engines": {
"node": "^16.13.0 || >=18.0.0"
"node": ">=20.0.0"
},
"files": [
"/bin/run.*",
Expand Down Expand Up @@ -94,37 +94,37 @@
},
"types": "lib/index.d.ts",
"devDependencies": {
"@commercelayer/cli-dev": "^2.1.3",
"@commercelayer/cli-dev": "beta",
"@commercelayer/eslint-config-ts": "^1.3.0",
"@oclif/test": "^2.5.6",
"@oclif/test": "^3.1.16",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/chai": "^4.3.11",
"@types/configstore": "^4.0.0",
"@types/inquirer": "^8.2.10",
"@types/lodash": "^4.14.202",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.13",
"@types/node": "^20.11.17",
"@types/update-notifier": "^5.1.0",
"chai": "^4.4.1",
"dotenv": "^16.4.1",
"dotenv": "^16.4.3",
"eslint": "^8.56.0",
"mocha": "^10.2.0",
"mocha": "^10.3.0",
"nyc": "^15.1.0",
"oclif": "^4.4.2",
"semantic-release": "^22.0.12",
"oclif": "^4.4.11",
"semantic-release": "^23.0.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"dependencies": {
"@commercelayer/cli-core": "^4.11.4",
"@commercelayer/cli-core": "beta",
"@commercelayer/provisioning-sdk": "^1.0.0",
"@commercelayer/sdk": "^5.31.0",
"@oclif/core": "^2.15.0",
"@oclif/plugin-autocomplete": "^2.3.10",
"@oclif/plugin-help": "5.2.14",
"@oclif/plugin-not-found": "^2.4.3",
"@oclif/plugin-plugins": "^3.9.4",
"@commercelayer/sdk": "^5.31.1",
"@oclif/core": "^3.19.1",
"@oclif/plugin-autocomplete": "^3.0.8",
"@oclif/plugin-help": "6.0.12",
"@oclif/plugin-not-found": "^3.0.10",
"@oclif/plugin-plugins": "^4.2.2",
"configstore": "^5.0.1",
"inquirer": "^8.2.6",
"lodash": "^4.17.21",
Expand Down
Loading

0 comments on commit 02ca50e

Please sign in to comment.