@commercelayer/cli-plugin-provisioning 2.0.9 → 2.1.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.
- package/bin/run.js +3 -3
- package/lib/base.d.ts +8 -8
- package/lib/base.js +224 -165
- package/lib/commands/provisioning/create.d.ts +2 -2
- package/lib/commands/provisioning/create.js +46 -34
- package/lib/commands/provisioning/delete.d.ts +2 -2
- package/lib/commands/provisioning/delete.js +25 -14
- package/lib/commands/provisioning/exec.d.ts +1 -1
- package/lib/commands/provisioning/exec.js +22 -13
- package/lib/commands/provisioning/fetch.d.ts +3 -3
- package/lib/commands/provisioning/fetch.js +25 -17
- package/lib/commands/provisioning/get.d.ts +3 -3
- package/lib/commands/provisioning/get.js +8 -8
- package/lib/commands/provisioning/list.d.ts +3 -3
- package/lib/commands/provisioning/list.js +42 -38
- package/lib/commands/provisioning/noc.d.ts +1 -1
- package/lib/commands/provisioning/noc.js +1 -1
- package/lib/commands/provisioning/relationship.d.ts +3 -3
- package/lib/commands/provisioning/relationship.js +39 -23
- package/lib/commands/provisioning/resources.d.ts +1 -1
- package/lib/commands/provisioning/resources.js +22 -12
- package/lib/commands/provisioning/retrieve.d.ts +2 -2
- package/lib/commands/provisioning/retrieve.js +36 -30
- package/lib/commands/provisioning/update.d.ts +3 -3
- package/lib/commands/provisioning/update.js +60 -41
- package/lib/csv.d.ts +1 -1
- package/lib/csv.js +30 -27
- package/lib/lang/curl.d.ts +2 -2
- package/lib/lang/curl.js +4 -2
- package/lib/lang/index.d.ts +5 -5
- package/lib/lang/index.js +26 -18
- package/lib/lang/node.d.ts +2 -2
- package/lib/lang/node.js +7 -7
- package/lib/lang/request.d.ts +3 -3
- package/lib/lang/request.js +37 -30
- package/lib/lang/ruby.d.ts +2 -2
- package/lib/lang/ruby.js +1 -1
- package/lib/output.d.ts +1 -1
- package/lib/output.js +3 -3
- package/lib/util/resources/available.js +33 -8
- package/lib/util/resources/build.js +35 -19
- package/lib/util/resources/index.d.ts +3 -3
- package/lib/util/resources/index.js +3 -3
- package/lib/util/timezones.js +127 -115
- package/oclif.manifest.json +1 -1
- package/package.json +85 -87
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,89 +1,87 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"access": "public"
|
|
88
|
-
}
|
|
2
|
+
"name": "@commercelayer/cli-plugin-provisioning",
|
|
3
|
+
"description": "Commerce Layer CLI Provisioning plugin",
|
|
4
|
+
"version": "2.1.0",
|
|
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": "^4.3.20",
|
|
65
|
+
"@types/inquirer": "^8.2.12",
|
|
66
|
+
"@types/mocha": "^10.0.10",
|
|
67
|
+
"@types/node": "^25.5.0",
|
|
68
|
+
"chai": "^4.5.0",
|
|
69
|
+
"mocha": "^11.7.5",
|
|
70
|
+
"nyc": "^15.1.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
|
}
|