@pdfbutler/migration-cli 0.0.26 → 0.0.28
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/README.md +193 -30
- package/lib/commands/butler/pb/admincredentials.d.ts +0 -5
- package/lib/commands/butler/pb/admincredentials.js +46 -115
- package/lib/commands/butler/pb/admincredentials.js.map +1 -1
- package/lib/commands/butler/pb/adminsettings.d.ts +1 -7
- package/lib/commands/butler/pb/adminsettings.js +41 -110
- package/lib/commands/butler/pb/adminsettings.js.map +1 -1
- package/lib/commands/butler/pb/export.d.ts +10 -8
- package/lib/commands/butler/pb/export.js +302 -312
- package/lib/commands/butler/pb/export.js.map +1 -1
- package/lib/commands/butler/pb/exportdatasource.d.ts +27 -0
- package/lib/commands/butler/pb/exportdatasource.js +161 -0
- package/lib/commands/butler/pb/exportdatasource.js.map +1 -0
- package/lib/commands/butler/pb/exportpack.d.ts +0 -5
- package/lib/commands/butler/pb/exportpack.js +60 -142
- package/lib/commands/butler/pb/exportpack.js.map +1 -1
- package/lib/commands/butler/pb/import.d.ts +16 -9
- package/lib/commands/butler/pb/import.js +400 -267
- package/lib/commands/butler/pb/import.js.map +1 -1
- package/lib/commands/butler/pb/importdatasource.d.ts +30 -0
- package/lib/commands/butler/pb/importdatasource.js +250 -0
- package/lib/commands/butler/pb/importdatasource.js.map +1 -0
- package/lib/commands/butler/pb/importpack.d.ts +0 -5
- package/lib/commands/butler/pb/importpack.js +57 -138
- package/lib/commands/butler/pb/importpack.js.map +1 -1
- package/lib/commands/butler/sb/export/signtemplate.d.ts +23 -0
- package/lib/commands/butler/sb/export/signtemplate.js +111 -0
- package/lib/commands/butler/sb/export/signtemplate.js.map +1 -0
- package/lib/commands/butler/sb/import/signtemplate.d.ts +23 -0
- package/lib/commands/butler/sb/import/signtemplate.js +108 -0
- package/lib/commands/butler/sb/import/signtemplate.js.map +1 -0
- package/lib/utils/authentication.d.ts +4 -0
- package/lib/utils/authentication.js +69 -0
- package/lib/utils/authentication.js.map +1 -0
- package/lib/utils/constants.d.ts +137 -0
- package/lib/utils/constants.js +141 -0
- package/lib/utils/constants.js.map +1 -0
- package/lib/utils/extract-templates.d.ts +1 -0
- package/lib/utils/extract-templates.js +89 -0
- package/lib/utils/extract-templates.js.map +1 -0
- package/lib/utils/logger.d.ts +9 -0
- package/lib/utils/logger.js +51 -0
- package/lib/utils/logger.js.map +1 -0
- package/messages/butler.pb.export.md +4 -0
- package/messages/butler.pb.exportdatasource.md +51 -0
- package/messages/butler.pb.import.md +4 -0
- package/messages/butler.pb.importdatasource.md +51 -0
- package/messages/butler.sb.export.signtemplate.md +35 -0
- package/messages/butler.sb.import.signtemplate.md +35 -0
- package/oclif.manifest.json +321 -48
- package/package.json +223 -215
package/package.json
CHANGED
|
@@ -1,215 +1,223 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@pdfbutler/migration-cli",
|
|
3
|
-
"description": "[](https://www.npmjs.com/package/pdfbutler-migration-cli) [](https://npmjs.org/package/pdfbutler-migration-cli) [](https://raw.githubusercontent.com/salesforcecli/pdfbutler-migration-cli/main/LICENSE.txt)",
|
|
4
|
-
"version": "0.0.
|
|
5
|
-
"script": {
|
|
6
|
-
"postinstall": "sf plugins link @pdfbutler/migration-cli"
|
|
7
|
-
},
|
|
8
|
-
"dependencies": {
|
|
9
|
-
"@oclif/core": "^2.11.8",
|
|
10
|
-
"@salesforce/core": "^5.2.0",
|
|
11
|
-
"@salesforce/kit": "^3.0.8",
|
|
12
|
-
"@salesforce/sf-plugins-core": "^3.1.28",
|
|
13
|
-
"adm-zip": "^0.5.10",
|
|
14
|
-
"got": "^11.8.6",
|
|
15
|
-
"graceful-fs": "^4.2.4",
|
|
16
|
-
"tslib": "^2"
|
|
17
|
-
},
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"@salesforce/
|
|
23
|
-
"@salesforce/
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"eslint-
|
|
33
|
-
"eslint
|
|
34
|
-
"
|
|
35
|
-
"eslint
|
|
36
|
-
"eslint-
|
|
37
|
-
"eslint-
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"node": "
|
|
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
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
]
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
"
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
"
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
"
|
|
153
|
-
"**/tsconfig.json"
|
|
154
|
-
],
|
|
155
|
-
"output": []
|
|
156
|
-
},
|
|
157
|
-
"test": {
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
"test
|
|
161
|
-
"
|
|
162
|
-
]
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
"
|
|
176
|
-
|
|
177
|
-
"
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
|
|
185
|
-
]
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@pdfbutler/migration-cli",
|
|
3
|
+
"description": "[](https://www.npmjs.com/package/pdfbutler-migration-cli) [](https://npmjs.org/package/pdfbutler-migration-cli) [](https://raw.githubusercontent.com/salesforcecli/pdfbutler-migration-cli/main/LICENSE.txt)",
|
|
4
|
+
"version": "0.0.28",
|
|
5
|
+
"script": {
|
|
6
|
+
"postinstall": "sf plugins link @pdfbutler/migration-cli"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"@oclif/core": "^2.11.8",
|
|
10
|
+
"@salesforce/core": "^5.2.0",
|
|
11
|
+
"@salesforce/kit": "^3.0.8",
|
|
12
|
+
"@salesforce/sf-plugins-core": "^3.1.28",
|
|
13
|
+
"adm-zip": "^0.5.10",
|
|
14
|
+
"got": "^11.8.6",
|
|
15
|
+
"graceful-fs": "^4.2.4",
|
|
16
|
+
"tslib": "^2"
|
|
17
|
+
},
|
|
18
|
+
"overrides": {
|
|
19
|
+
"form-data": "^4.0.4"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@salesforce/cli-plugins-testkit": "^4.3.0",
|
|
23
|
+
"@salesforce/dev-config": "^4.0.1",
|
|
24
|
+
"@salesforce/dev-scripts": "^5.7.0",
|
|
25
|
+
"@salesforce/prettier-config": "^0.0.3",
|
|
26
|
+
"@salesforce/ts-sinon": "^1.4.14",
|
|
27
|
+
"@swc/core": "^1.3.19",
|
|
28
|
+
"@types/adm-zip": "^0.5.1",
|
|
29
|
+
"@types/graceful-fs": "^4.1.6",
|
|
30
|
+
"@types/inquirer": "^8.2.6",
|
|
31
|
+
"tsc-alias": "^1.8.8",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
33
|
+
"@typescript-eslint/parser": "^5.62.0",
|
|
34
|
+
"chai": "^4.3.6",
|
|
35
|
+
"eslint": "^8.47.0",
|
|
36
|
+
"eslint-config-prettier": "^8.5.0",
|
|
37
|
+
"eslint-config-salesforce": "^2.0.1",
|
|
38
|
+
"eslint-config-salesforce-typescript": "^1.1.2",
|
|
39
|
+
"eslint-plugin-import": "2.27.5",
|
|
40
|
+
"eslint-plugin-jsdoc": "^46.4.6",
|
|
41
|
+
"eslint-plugin-sf-plugin": "^1.16.2",
|
|
42
|
+
"husky": "^7.0.4",
|
|
43
|
+
"mocha": "^9.2.2",
|
|
44
|
+
"nyc": "^15.1.0",
|
|
45
|
+
"oclif": "^3.9.1",
|
|
46
|
+
"prettier": "^2.8.8",
|
|
47
|
+
"pretty-quick": "^3.1.3",
|
|
48
|
+
"shx": "0.3.4",
|
|
49
|
+
"sinon": "10.0.0",
|
|
50
|
+
"tsconfig-paths": "^4.2.0",
|
|
51
|
+
"ts-node": "^10.9.1",
|
|
52
|
+
"typescript": "^5.1.6",
|
|
53
|
+
"wireit": "^0.10.0"
|
|
54
|
+
},
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=16.0.0"
|
|
57
|
+
},
|
|
58
|
+
"files": [
|
|
59
|
+
"/lib",
|
|
60
|
+
"/messages",
|
|
61
|
+
"/oclif.manifest.json"
|
|
62
|
+
],
|
|
63
|
+
"keywords": [
|
|
64
|
+
"force",
|
|
65
|
+
"salesforce",
|
|
66
|
+
"sfdx",
|
|
67
|
+
"salesforcedx",
|
|
68
|
+
"sfdx-plugin",
|
|
69
|
+
"sf-plugin",
|
|
70
|
+
"sf",
|
|
71
|
+
"pdfbutler"
|
|
72
|
+
],
|
|
73
|
+
"license": "BSD-3-Clause",
|
|
74
|
+
"main": "lib/index.js",
|
|
75
|
+
"oclif": {
|
|
76
|
+
"commands": "./lib/commands",
|
|
77
|
+
"bin": "sf",
|
|
78
|
+
"topicSeparator": " ",
|
|
79
|
+
"devPlugins": [
|
|
80
|
+
"@oclif/plugin-help"
|
|
81
|
+
],
|
|
82
|
+
"topics": {
|
|
83
|
+
"butler": {
|
|
84
|
+
"description": "description for butler",
|
|
85
|
+
"subtopics": {
|
|
86
|
+
"pb": {
|
|
87
|
+
"description": "description for butler.pb"
|
|
88
|
+
},
|
|
89
|
+
"sb": {
|
|
90
|
+
"description": "description for butler.sb"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"scripts": {
|
|
97
|
+
"build": "wireit",
|
|
98
|
+
"clean": "sf-clean",
|
|
99
|
+
"clean-all": "sf-clean all",
|
|
100
|
+
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
|
|
101
|
+
"compile": "wireit",
|
|
102
|
+
"docs": "sf-docs",
|
|
103
|
+
"format": "wireit",
|
|
104
|
+
"lint": "wireit",
|
|
105
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
|
106
|
+
"prepack": "sf-prepack",
|
|
107
|
+
"test": "wireit",
|
|
108
|
+
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
|
|
109
|
+
"test:only": "wireit",
|
|
110
|
+
"version": "oclif readme"
|
|
111
|
+
},
|
|
112
|
+
"publishConfig": {
|
|
113
|
+
"access": "public"
|
|
114
|
+
},
|
|
115
|
+
"wireit": {
|
|
116
|
+
"build": {
|
|
117
|
+
"dependencies": [
|
|
118
|
+
"compile",
|
|
119
|
+
"lint"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"compile": {
|
|
123
|
+
"command": "tsc -p tsconfig.json --pretty --incremental && tsc-alias -p tsconfig.json",
|
|
124
|
+
"files": [
|
|
125
|
+
"src/**/*.ts",
|
|
126
|
+
"**/tsconfig.json",
|
|
127
|
+
"messages/**"
|
|
128
|
+
],
|
|
129
|
+
"output": [
|
|
130
|
+
"lib/**",
|
|
131
|
+
"*.tsbuildinfo"
|
|
132
|
+
],
|
|
133
|
+
"clean": "if-file-deleted"
|
|
134
|
+
},
|
|
135
|
+
"format": {
|
|
136
|
+
"command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
|
|
137
|
+
"files": [
|
|
138
|
+
"src/**/*.ts",
|
|
139
|
+
"test/**/*.ts",
|
|
140
|
+
"schemas/**/*.json",
|
|
141
|
+
"command-snapshot.json",
|
|
142
|
+
".prettier*"
|
|
143
|
+
],
|
|
144
|
+
"output": []
|
|
145
|
+
},
|
|
146
|
+
"lint": {
|
|
147
|
+
"command": "eslint src test --color --cache --cache-location .eslintcache",
|
|
148
|
+
"files": [
|
|
149
|
+
"src/**/*.ts",
|
|
150
|
+
"test/**/*.ts",
|
|
151
|
+
"messages/**",
|
|
152
|
+
"**/.eslint*",
|
|
153
|
+
"**/tsconfig.json"
|
|
154
|
+
],
|
|
155
|
+
"output": []
|
|
156
|
+
},
|
|
157
|
+
"test:compile": {
|
|
158
|
+
"command": "tsc -p \"./test\" --pretty",
|
|
159
|
+
"files": [
|
|
160
|
+
"test/**/*.ts",
|
|
161
|
+
"**/tsconfig.json"
|
|
162
|
+
],
|
|
163
|
+
"output": []
|
|
164
|
+
},
|
|
165
|
+
"test": {
|
|
166
|
+
"dependencies": [
|
|
167
|
+
"test:compile",
|
|
168
|
+
"test:only",
|
|
169
|
+
"lint"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
"test:only": {
|
|
173
|
+
"command": "nyc mocha \"test/**/*.test.ts\"",
|
|
174
|
+
"env": {
|
|
175
|
+
"FORCE_COLOR": "2"
|
|
176
|
+
},
|
|
177
|
+
"files": [
|
|
178
|
+
"test/**/*.ts",
|
|
179
|
+
"src/**/*.ts",
|
|
180
|
+
"**/tsconfig.json",
|
|
181
|
+
".mocha*",
|
|
182
|
+
"!*.nut.ts",
|
|
183
|
+
".nycrc"
|
|
184
|
+
],
|
|
185
|
+
"output": []
|
|
186
|
+
},
|
|
187
|
+
"test:command-reference": {
|
|
188
|
+
"command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
|
|
189
|
+
"files": [
|
|
190
|
+
"src/**/*.ts",
|
|
191
|
+
"messages/**",
|
|
192
|
+
"package.json"
|
|
193
|
+
],
|
|
194
|
+
"output": [
|
|
195
|
+
"tmp/root"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
"test:deprecation-policy": {
|
|
199
|
+
"command": "\"./bin/dev\" snapshot:compare",
|
|
200
|
+
"files": [
|
|
201
|
+
"src/**/*.ts"
|
|
202
|
+
],
|
|
203
|
+
"output": [],
|
|
204
|
+
"dependencies": [
|
|
205
|
+
"compile"
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
"test:json-schema": {
|
|
209
|
+
"command": "\"./bin/dev\" schema:compare",
|
|
210
|
+
"files": [
|
|
211
|
+
"src/**/*.ts",
|
|
212
|
+
"schemas"
|
|
213
|
+
],
|
|
214
|
+
"output": []
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"author": "pdfbutler",
|
|
218
|
+
"types": "./lib/index.d.ts",
|
|
219
|
+
"directories": {
|
|
220
|
+
"lib": "lib",
|
|
221
|
+
"test": "test"
|
|
222
|
+
}
|
|
223
|
+
}
|