@commercelayer/cli-plugin-triggers 4.17.0 → 4.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/lib/base.d.ts +1 -1
  2. package/lib/base.js +1 -1
  3. package/lib/commands/address/index.js +2 -2
  4. package/lib/commands/adyen_gateway/index.js +2 -2
  5. package/lib/commands/adyen_payment/index.js +2 -2
  6. package/lib/commands/authorization/index.js +2 -2
  7. package/lib/commands/axerve_gateway/index.js +2 -2
  8. package/lib/commands/axerve_payment/index.js +2 -2
  9. package/lib/commands/braintree_gateway/index.js +2 -2
  10. package/lib/commands/bundle/index.js +2 -2
  11. package/lib/commands/buy_x_pay_y_promotion/index.js +2 -2
  12. package/lib/commands/capture/index.js +2 -2
  13. package/lib/commands/checkout_com_gateway/index.js +2 -2
  14. package/lib/commands/checkout_com_payment/index.js +2 -2
  15. package/lib/commands/cleanup/index.js +2 -2
  16. package/lib/commands/coupon/index.js +2 -2
  17. package/lib/commands/customer/index.js +2 -2
  18. package/lib/commands/customer_password_reset/index.js +2 -2
  19. package/lib/commands/easypost_pickup/index.js +2 -2
  20. package/lib/commands/event/index.js +2 -2
  21. package/lib/commands/export/index.js +2 -2
  22. package/lib/commands/external_gateway/index.js +2 -2
  23. package/lib/commands/external_promotion/index.js +2 -2
  24. package/lib/commands/external_tax_calculator/index.js +2 -2
  25. package/lib/commands/fixed_amount_promotion/index.js +2 -2
  26. package/lib/commands/fixed_price_promotion/index.js +2 -2
  27. package/lib/commands/flex_promotion/index.js +2 -2
  28. package/lib/commands/free_gift_promotion/index.js +2 -2
  29. package/lib/commands/free_shipping_promotion/index.js +2 -2
  30. package/lib/commands/gift_card/index.js +2 -2
  31. package/lib/commands/import/index.js +2 -2
  32. package/lib/commands/in_stock_subscription/index.js +2 -2
  33. package/lib/commands/klarna_gateway/index.js +2 -2
  34. package/lib/commands/klarna_payment/index.js +2 -2
  35. package/lib/commands/line_item/index.js +2 -2
  36. package/lib/commands/line_item_option/index.js +2 -2
  37. package/lib/commands/link/index.js +2 -2
  38. package/lib/commands/manual_gateway/index.js +2 -2
  39. package/lib/commands/market/index.js +2 -2
  40. package/lib/commands/order/index.js +2 -2
  41. package/lib/commands/order_subscription/index.js +2 -2
  42. package/lib/commands/payment_method/index.js +2 -2
  43. package/lib/commands/paypal_gateway/index.js +2 -2
  44. package/lib/commands/percentage_discount_promotion/index.js +2 -2
  45. package/lib/commands/price_list_scheduler/index.js +2 -2
  46. package/lib/commands/refund/index.js +2 -2
  47. package/lib/commands/return/index.js +2 -2
  48. package/lib/commands/return_line_item/index.js +2 -2
  49. package/lib/commands/satispay_gateway/index.js +2 -2
  50. package/lib/commands/satispay_payment/index.js +2 -2
  51. package/lib/commands/shipment/index.js +2 -2
  52. package/lib/commands/shipping_method/index.js +2 -2
  53. package/lib/commands/sku/index.js +2 -2
  54. package/lib/commands/sku_option/index.js +2 -2
  55. package/lib/commands/stock_item/index.js +2 -2
  56. package/lib/commands/stock_line_item/index.js +2 -2
  57. package/lib/commands/stock_reservation/index.js +2 -2
  58. package/lib/commands/stock_transfer/index.js +2 -2
  59. package/lib/commands/stripe_gateway/index.js +2 -2
  60. package/lib/commands/stripe_payment/index.js +2 -2
  61. package/lib/commands/vertex_account/index.js +2 -2
  62. package/lib/commands/void/index.js +2 -2
  63. package/lib/commands/webhook/index.js +2 -2
  64. package/lib/exec.d.ts +1 -1
  65. package/lib/index.js +1 -0
  66. package/oclif.manifest.json +620 -620
  67. package/package.json +16 -17
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercelayer/cli-plugin-triggers",
3
3
  "description": "Commerce Layer CLI Triggers plugin",
4
- "version": "4.17.0",
4
+ "version": "4.18.0",
5
5
  "author": "Pierluigi Viti <pierluigi@commercelayer.io>",
6
6
  "homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-triggers",
7
7
  "repository": "commercelayer/commercelayer-cli-plugin-triggers",
@@ -42,22 +42,22 @@
42
42
  "topicSeparator": ":"
43
43
  },
44
44
  "scripts": {
45
- "postpack": "rm -f oclif.manifest.json",
46
- "posttest": "eslint . --ext .ts --config .eslintrc",
47
45
  "build": "rm -rf lib && tsc -b",
48
- "prepack": "pnpm generate && pnpm build && oclif manifest && pnpm readme",
46
+ "prepack": "pnpm build && oclif manifest && pnpm readme",
47
+ "postpack": "rm -f oclif.manifest.json",
49
48
  "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
49
+ "posttest": "pnpm lint",
50
50
  "readme": "cl-cli-dev readme --plugin --bin=commercelayer && git add README.md",
51
51
  "generate": "tsx gen/generator.ts",
52
- "lint": "eslint src --ext .ts --config .eslintrc",
53
- "lint:fix": "eslint src --fix",
54
- "release": "pnpm upgrade && pnpm generate && pnpm prepack && pnpm postpack"
52
+ "lint": "biome check --enforce-assist=true",
53
+ "check": "biome check --enforce-assist=true --write",
54
+ "release": "pnpm upgrade && pnpm generate && pnpm lint && pnpm prepack && pnpm postpack"
55
55
  },
56
56
  "types": "lib/index.d.ts",
57
57
  "devDependencies": {
58
- "@commercelayer/cli-dev": "^3.0.12",
59
- "@commercelayer/eslint-config-ts": "^1.4.5",
60
- "@oclif/plugin-help": "^6.2.37",
58
+ "@biomejs/biome": "2.4.8",
59
+ "@commercelayer/cli-dev": "^3.0.13",
60
+ "@oclif/plugin-help": "^6.2.40",
61
61
  "@oclif/test": "^3.2.15",
62
62
  "@semantic-release/changelog": "^6.0.3",
63
63
  "@semantic-release/git": "^10.0.1",
@@ -65,20 +65,19 @@
65
65
  "@types/inquirer": "^8.2.12",
66
66
  "@types/lodash.snakecase": "^4.1.9",
67
67
  "@types/mocha": "^10.0.10",
68
- "@types/node": "^22.19.15",
68
+ "@types/node": "^25.5.0",
69
69
  "chai": "^4.5.0",
70
- "eslint": "^8.57.1",
71
70
  "inflector-js": "^1.0.1",
72
71
  "lodash.snakecase": "^4.1.1",
73
- "mocha": "^10.8.2",
72
+ "mocha": "^11.7.5",
74
73
  "nyc": "^15.1.0",
75
- "oclif": "^4.22.87",
76
- "semantic-release": "^24.2.9",
74
+ "oclif": "^4.22.96",
75
+ "semantic-release": "^25.0.3",
77
76
  "tsx": "^4.21.0",
78
- "typescript": "5.5.4"
77
+ "typescript": "^6.0.2"
79
78
  },
80
79
  "dependencies": {
81
- "@commercelayer/cli-core": "beta",
80
+ "@commercelayer/cli-core": "^5.10.8",
82
81
  "@commercelayer/sdk": "^6.55.0",
83
82
  "@oclif/core": "^3.27.0",
84
83
  "inquirer": "^8.2.7",