Skip to content

Commit

Permalink
perf: upgrade to oclif 3
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 8c93ee9 commit 7ebd124
Show file tree
Hide file tree
Showing 5 changed files with 818 additions and 733 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
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@
"description": "Commerce Layer CLI Orders plugin",
"version": "4.9.3",
"author": "Pierluigi Viti <[email protected]>",
"homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-orders",
"repository": "commercelayer/commercelayer-cli-plugin-orders",
"bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-orders/issues",
"engines": {
"node": "^16.13.0 || >=18.0.0"
"node": ">=20.0.0"
},
"files": [
"/bin/run.*",
"/lib",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-orders",
"keywords": [
"ecommerce",
"cli",
Expand All @@ -40,7 +41,6 @@
],
"topicSeparator": ":"
},
"repository": "commercelayer/commercelayer-cli-plugin-orders",
"scripts": {
"postpack": "rm -f oclif.manifest.json",
"posttest": "eslint . --ext .ts --config .eslintrc",
Expand All @@ -54,32 +54,32 @@
},
"types": "lib/index.d.ts",
"devDependencies": {
"@commercelayer/cli-dev": "^2.1.3",
"@commercelayer/cli-dev": "beta",
"@commercelayer/eslint-config-ts": "^1.3.0",
"@oclif/plugin-help": "^5.2.20",
"@oclif/test": "^2.5.6",
"@oclif/plugin-help": "^6.0.12",
"@oclif/test": "^3.1.16",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/chai": "^4.3.11",
"@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",
"chai": "^4.4.1",
"eslint": "^8.56.0",
"inflector-js": "^1.0.1",
"lodash": "^4.17.21",
"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/sdk": "^5.31.0",
"@oclif/core": "^2.15.0",
"@commercelayer/cli-core": "beta",
"@commercelayer/sdk": "^5.31.1",
"@oclif/core": "^3.19.1",
"inquirer": "^8.2.6",
"tslib": "^2.6.2"
},
Expand Down
Loading

0 comments on commit 7ebd124

Please sign in to comment.