Skip to content

Commit

Permalink
perf: upgrade to oclif v3
Browse files Browse the repository at this point in the history
BREAKING CHANGE: the framework oclif and its plugins have been migrated to next major version
  • Loading branch information
pviti committed Feb 13, 2024
1 parent 74d83a8 commit 57bb58b
Show file tree
Hide file tree
Showing 5 changed files with 1,068 additions and 863 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
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"lib/**/*"
],
"engines": {
"node": "^16.13.0 || >=18.0.0"
"node": ">=20.0.0"
},
"devDependencies": {
"@babel/preset-env": "^7.23.9",
Expand All @@ -39,23 +39,23 @@
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@size-limit/preset-small-lib": "^6.0.4",
"@types/jest": "^29.5.11",
"@types/jest": "^29.5.12",
"@types/jsonwebtoken": "^9.0.5",
"@types/node": "^20.11.13",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"dotenv": "^16.4.1",
"@types/node": "^20.11.17",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"dotenv": "^16.4.3",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"minimize-js": "^1.4.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/js-auth": "^4.2.0",
"@oclif/core": "^2.15.0",
"axios": "1.6.5",
"@commercelayer/js-auth": "^4.2.1",
"@oclif/core": "^3.19.1",
"axios": "^1.6.7",
"chalk": "^4.1.2",
"jsonwebtoken": "^9.0.2",
"update-notifier-cjs": "^5.1.6"
Expand Down
Loading

0 comments on commit 57bb58b

Please sign in to comment.