-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
234 lines (234 loc) · 6.48 KB
/
package.json
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
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
154
155
156
157
158
159
160
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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
{
"name": "dxmate",
"displayName": "DX-Mate",
"description": "Support tools for SFDX development",
"publisher": "Accenture",
"icon": "lightning.png",
"version": "2.0.10",
"repository": {
"type": "git",
"url": "https://github.com/Accenture/DX-Mate.git"
},
"dependencies": {
"sfdx-cli": "7.171.0",
"salesforce-cli": "1.84.9",
"sfpowerkit": "4.2.13",
"sfpowerscripts": "22.5.5"
},
"extensionDependencies": [
"salesforce.salesforcedx-vscode-core"
],
"engines": {
"vscode": "^1.64.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "dxmate.importDummyData",
"title": "DX Mate: Import dummy data"
},
{
"command": "dxmate.createProject",
"title": "DX Mate: create project"
},
{
"command": "runningTasks.refreshEntry",
"title": "DX Mate: Refresh running tasks"
},
{
"command": "runningTasks.cancel",
"title": "Cancel running jobs",
"icon": "$(stop)"
},
{
"command": "runningTasks.clear",
"title": "Clear jobs",
"icon": "$(clear-all)"
},
{
"command": "dxmate.generateFieldMarkdown",
"title": "DX Mate: Generate field table"
},
{
"command": "dxmate.sfdmuExport",
"title": "DX Mate: SFDMU export from default org"
},
{
"command": "dxmate.sfdmuImport",
"title": "DX Mate: SFDMU import to default org"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "dxmate-explorer",
"title": "DX Mate",
"icon": "lightning.png"
}
]
},
"views": {
"dxmate-explorer": [
{
"id": "orgCommands",
"name": "DX Mate org actions",
"contextualTitle": "DX Mate Explorer",
"when": "hasSfdxProject && extensionActivated"
},
{
"id": "packageCommands",
"name": "DX Mate package actions",
"contextualTitle": "DX Mate Explorer",
"when": "hasSfdxProject && extensionActivated"
},
{
"id": "sourceCommands",
"name": "DX Mate source actions",
"contextualTitle": "DX Mate Explorer",
"when": "hasSfdxProject && extensionActivated"
},
{
"id": "dataCommands",
"name": "DX Mate data actions",
"contextualTitle": "DX Mate Explorer",
"when": "hasSfdxProject && extensionActivated"
},
{
"id": "noSfdxProjectPresent",
"name": "",
"when": "!hasSfdxProject && extensionActivated"
},
{
"id": "runningTasks",
"name": "Running Tasks",
"when": "extensionActivated"
}
]
},
"viewsWelcome": [
{
"view": "noSfdxProjectPresent",
"contents": "No SFDX project detected.\n[SFDX Create Project](command:dxmate.createProject)"
},
{
"view": "orgCommands",
"contents": "Scratch org pooling is activated\n[Get Scratch From Pool](command:dxmate.getScratchFromPool)",
"when": "poolingActivated"
},
{
"view": "orgCommands",
"contents": "[Create Scratch Org](command:dxmate.createScratch)\n[Open default scratch org](command:dxmate.openScratch)\n[Generate login link](command:dxmate.scratchLoginLink)"
},
{
"view": "packageCommands",
"contents": "[Update/Add dependency key](command:dxmate.updateDependencyKey)\n[Re-install dependent packages](command:dxmate.dependencyInstall)\n[Add package dependency](command:dxmate.addDependency)"
},
{
"view": "sourceCommands",
"contents": "[Pull source](command:dxmate.pullSource)\n[Push source](command:dxmate.pushSource)\n"
},
{
"view": "dataCommands",
"contents": "[Import dummy data](command:dxmate.importDummyData)\n[Create user](command:dxmate.createUser)\n[Export data](command:dxmate.exportData)\n[Assign default permission sets](command:dxmate.assignPermissionsets)"
}
],
"menus": {
"view/title": [
{
"command": "runningTasks.cancel",
"when": "view == runningTasks",
"group": "navigation"
},
{
"command": "runningTasks.clear",
"when": "view == runningTasks",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "dxmate.generateFieldMarkdown",
"when": "explorerResourceIsFolder == true && resourceFilename == 'fields'"
},
{
"command": "dxmate.sfdmuExport",
"when": "resourceFilename == 'export.json'"
},
{
"command": "dxmate.sfdmuImport",
"when": "resourceFilename == 'export.json'"
}
]
},
"configuration": {
"type": "object",
"title": "DX-Mate",
"properties": {
"dummy.data.location": {
"type": "string",
"default": "dummy-data",
"description": "Relative folder location to where dummy data should be imported using the sfdx import command"
},
"dummy.data.sfdmu": {
"type": "boolean",
"default": false,
"description": "Enables dummy data import using sfdmu. This requires dummy data folder to be on required format for sfdmu csvFile import"
},
"dummy.users.location": {
"type": "string",
"default": "config/users",
"description": "Relative folder location to where json files for dummy users are stored"
},
"unpackagable.location": {
"type": "string",
"default": "unpackagable",
"description": "Relative folder location to where unpackagable metadata is stored. This is automatically deployed aftert scratch creation and dependency install"
},
"dependency.keys": {
"type": "object",
"scope": "application",
"additionalProperties": {
"type": "string"
},
"description": "Defining the package installation keys of the known dependencies. Define package names as keys and installation key as values. Note that you should store this solely in user settings outside the workspace"
},
"scratch.default.permissionsets": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "List of permission set to assign to your default scratch user (Used for single package directory projects)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@types/vscode": "^1.64.0",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@vscode/test-electron": "^2.1.2",
"eslint": "^8.9.0",
"glob": "^7.2.0",
"mocha": "^9.2.1",
"typescript": "^4.5.5"
}
}