@commercelayer/cli-plugin-provisioning 2.0.10 → 2.1.1

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 (46) hide show
  1. package/bin/run.js +3 -3
  2. package/lib/base.d.ts +8 -8
  3. package/lib/base.js +224 -165
  4. package/lib/commands/provisioning/create.d.ts +2 -2
  5. package/lib/commands/provisioning/create.js +46 -34
  6. package/lib/commands/provisioning/delete.d.ts +2 -2
  7. package/lib/commands/provisioning/delete.js +25 -14
  8. package/lib/commands/provisioning/exec.d.ts +1 -1
  9. package/lib/commands/provisioning/exec.js +22 -13
  10. package/lib/commands/provisioning/fetch.d.ts +3 -3
  11. package/lib/commands/provisioning/fetch.js +25 -17
  12. package/lib/commands/provisioning/get.d.ts +3 -3
  13. package/lib/commands/provisioning/get.js +8 -8
  14. package/lib/commands/provisioning/list.d.ts +3 -3
  15. package/lib/commands/provisioning/list.js +42 -38
  16. package/lib/commands/provisioning/noc.d.ts +1 -1
  17. package/lib/commands/provisioning/noc.js +1 -1
  18. package/lib/commands/provisioning/relationship.d.ts +3 -3
  19. package/lib/commands/provisioning/relationship.js +39 -23
  20. package/lib/commands/provisioning/resources.d.ts +1 -1
  21. package/lib/commands/provisioning/resources.js +22 -12
  22. package/lib/commands/provisioning/retrieve.d.ts +2 -2
  23. package/lib/commands/provisioning/retrieve.js +36 -30
  24. package/lib/commands/provisioning/update.d.ts +3 -3
  25. package/lib/commands/provisioning/update.js +60 -41
  26. package/lib/csv.d.ts +1 -1
  27. package/lib/csv.js +30 -27
  28. package/lib/lang/curl.d.ts +2 -2
  29. package/lib/lang/curl.js +4 -2
  30. package/lib/lang/index.d.ts +5 -5
  31. package/lib/lang/index.js +26 -18
  32. package/lib/lang/node.d.ts +2 -2
  33. package/lib/lang/node.js +7 -7
  34. package/lib/lang/request.d.ts +3 -3
  35. package/lib/lang/request.js +37 -30
  36. package/lib/lang/ruby.d.ts +2 -2
  37. package/lib/lang/ruby.js +1 -1
  38. package/lib/output.d.ts +1 -1
  39. package/lib/output.js +3 -3
  40. package/lib/util/resources/available.js +33 -8
  41. package/lib/util/resources/build.js +35 -19
  42. package/lib/util/resources/index.d.ts +3 -3
  43. package/lib/util/resources/index.js +3 -3
  44. package/lib/util/timezones.js +127 -115
  45. package/oclif.manifest.json +1 -1
  46. package/package.json +85 -87
@@ -1961,5 +1961,5 @@
1961
1961
  ]
1962
1962
  }
1963
1963
  },
1964
- "version": "2.0.10"
1964
+ "version": "2.1.1"
1965
1965
  }
package/package.json CHANGED
@@ -1,89 +1,87 @@
1
1
  {
2
- "name": "@commercelayer/cli-plugin-provisioning",
3
- "description": "Commerce Layer CLI Provisioning plugin",
4
- "version": "2.0.10",
5
- "author": "Pierluigi Viti <pierluigi@commercelayer.io>",
6
- "homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-provisioning",
7
- "repository": "commercelayer/commercelayer-cli-plugin-provisioning",
8
- "bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-provisioning/issues",
9
- "engines": {
10
- "node": ">=20"
11
- },
12
- "files": [
13
- "/bin/run.*",
14
- "/lib",
15
- "/npm-shrinkwrap.json",
16
- "/oclif.manifest.json"
17
- ],
18
- "keywords": [
19
- "ecommerce",
20
- "cli",
21
- "commercelayer"
22
- ],
23
- "license": "MIT",
24
- "main": "lib/index.js",
25
- "oclif": {
26
- "commands": "./lib/commands",
27
- "bin": "cl-provisioning",
28
- "devPlugins": [
29
- "@oclif/plugin-help"
30
- ],
31
- "plugins": [],
32
- "topics": {
33
- "cleanups": {
34
- "description": "Execute provisioning operations in Commerce Layer",
35
- "hidden": false
36
- }
37
- },
38
- "repositoryPrefix": "<%- repo %>/blob/main/<%- commandPath %>",
39
- "additionalHelpFlags": [
40
- "-h"
41
- ],
42
- "topicSeparator": ":",
43
- "hooks": {}
44
- },
45
- "scripts": {
46
- "build": "rm -rf lib && tsc -b",
47
- "prepack": "pnpm build && oclif manifest && pnpm readme",
48
- "postpack": "rm -f oclif.manifest.json",
49
- "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
50
- "posttest": "eslint . --ext .ts --config .eslintrc",
51
- "readme": "cl-cli-dev readme --plugin --bin=commercelayer && git add README.md",
52
- "resources": "pnpm update @commercelayer/provisioning-sdk && tsx src/util/resources/build.ts",
53
- "lint": "eslint src --ext .ts --config .eslintrc",
54
- "lint:fix": "eslint src --fix",
55
- "release": "pnpm upgrade && pnpm prepack && pnpm postpack"
56
- },
57
- "types": "lib/index.d.ts",
58
- "devDependencies": {
59
- "@commercelayer/cli-dev": "^3.0.13",
60
- "@commercelayer/eslint-config-ts": "^1.4.5",
61
- "@oclif/plugin-help": "^6.2.37",
62
- "@oclif/test": "^3.2.15",
63
- "@semantic-release/changelog": "^6.0.3",
64
- "@semantic-release/git": "^10.0.1",
65
- "@types/chai": "^4.3.20",
66
- "@types/inquirer": "^8.2.12",
67
- "@types/mocha": "^10.0.10",
68
- "@types/node": "^20.19.37",
69
- "chai": "^4.5.0",
70
- "eslint": "^8.57.1",
71
- "mocha": "^10.8.2",
72
- "nyc": "^15.1.0",
73
- "oclif": "^4.22.87",
74
- "semantic-release": "^23.1.1",
75
- "tsx": "^4.21.0",
76
- "typescript": "^5.9.3"
77
- },
78
- "dependencies": {
79
- "@commercelayer/cli-core": "^5.10.7",
80
- "@commercelayer/provisioning-sdk": "^2.9.1",
81
- "@oclif/core": "^3.27.0",
82
- "inquirer": "^8.2.7",
83
- "json-2-csv": "^5.5.10",
84
- "tslib": "^2.8.1"
85
- },
86
- "publishConfig": {
87
- "access": "public"
88
- }
2
+ "name": "@commercelayer/cli-plugin-provisioning",
3
+ "description": "Commerce Layer CLI Provisioning plugin",
4
+ "version": "2.1.1",
5
+ "author": "Pierluigi Viti <pierluigi@commercelayer.io>",
6
+ "homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-provisioning",
7
+ "repository": "commercelayer/commercelayer-cli-plugin-provisioning",
8
+ "bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-provisioning/issues",
9
+ "engines": {
10
+ "node": ">=20"
11
+ },
12
+ "files": [
13
+ "/bin/run.*",
14
+ "/lib",
15
+ "/npm-shrinkwrap.json",
16
+ "/oclif.manifest.json"
17
+ ],
18
+ "keywords": [
19
+ "ecommerce",
20
+ "cli",
21
+ "commercelayer"
22
+ ],
23
+ "license": "MIT",
24
+ "main": "lib/index.js",
25
+ "types": "lib/index.d.ts",
26
+ "oclif": {
27
+ "commands": "./lib/commands",
28
+ "bin": "cl-provisioning",
29
+ "devPlugins": [
30
+ "@oclif/plugin-help"
31
+ ],
32
+ "plugins": [],
33
+ "topics": {
34
+ "cleanups": {
35
+ "description": "Execute provisioning operations in Commerce Layer",
36
+ "hidden": false
37
+ }
38
+ },
39
+ "repositoryPrefix": "<%- repo %>/blob/main/<%- commandPath %>",
40
+ "additionalHelpFlags": [
41
+ "-h"
42
+ ],
43
+ "topicSeparator": ":",
44
+ "hooks": {}
45
+ },
46
+ "scripts": {
47
+ "build": "rm -rf lib && tsc -b",
48
+ "prepack": "pnpm build && oclif manifest && pnpm readme",
49
+ "postpack": "rm -f oclif.manifest.json",
50
+ "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
51
+ "posttest": "pnpm lint",
52
+ "readme": "cl-cli-dev readme --plugin --bin=commercelayer && git add README.md",
53
+ "lint": "biome check --enforce-assist=true",
54
+ "check": "biome check --enforce-assist=true --write",
55
+ "release": "pnpm upgrade && pnpm lint && pnpm prepack && pnpm postpack"
56
+ },
57
+ "devDependencies": {
58
+ "@biomejs/biome": "2.4.8",
59
+ "@commercelayer/cli-dev": "^3.0.13",
60
+ "@oclif/plugin-help": "^6.2.40",
61
+ "@oclif/test": "^3.2.15",
62
+ "@semantic-release/changelog": "^6.0.3",
63
+ "@semantic-release/git": "^10.0.1",
64
+ "@types/chai": "^5.2.3",
65
+ "@types/inquirer": "^8.2.12",
66
+ "@types/mocha": "^10.0.10",
67
+ "@types/node": "^25.5.0",
68
+ "chai": "^6.2.2",
69
+ "mocha": "^11.7.5",
70
+ "nyc": "^18.0.0",
71
+ "oclif": "^4.22.96",
72
+ "semantic-release": "^25.0.3",
73
+ "tsx": "^4.21.0",
74
+ "typescript": "^6.0.2"
75
+ },
76
+ "dependencies": {
77
+ "@commercelayer/cli-core": "^5.10.8",
78
+ "@commercelayer/provisioning-sdk": "^2.10.1",
79
+ "@oclif/core": "^3.27.0",
80
+ "inquirer": "^8.2.7",
81
+ "json-2-csv": "^5.5.10",
82
+ "tslib": "^2.8.1"
83
+ },
84
+ "publishConfig": {
85
+ "access": "public"
86
+ }
89
87
  }