@salesforce/plugin-sobject 0.2.14 → 0.2.16

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 (34) hide show
  1. package/README.md +4 -4
  2. package/lib/commands/schema/generate/field.d.ts +2 -2
  3. package/lib/commands/schema/generate/field.js +47 -51
  4. package/lib/commands/schema/generate/field.js.map +1 -1
  5. package/lib/commands/schema/generate/platformevent.d.ts +2 -2
  6. package/lib/commands/schema/generate/platformevent.js +30 -33
  7. package/lib/commands/schema/generate/platformevent.js.map +1 -1
  8. package/lib/commands/schema/generate/sobject.d.ts +3 -3
  9. package/lib/commands/schema/generate/sobject.js +39 -43
  10. package/lib/commands/schema/generate/sobject.js.map +1 -1
  11. package/lib/commands/schema/generate/tab.d.ts +3 -3
  12. package/lib/commands/schema/generate/tab.js +41 -45
  13. package/lib/commands/schema/generate/tab.js.map +1 -1
  14. package/lib/index.d.ts +1 -1
  15. package/lib/index.js +1 -2
  16. package/lib/index.js.map +1 -1
  17. package/lib/shared/convert.d.ts +1 -1
  18. package/lib/shared/convert.js +4 -8
  19. package/lib/shared/convert.js.map +1 -1
  20. package/lib/shared/flags.js +13 -18
  21. package/lib/shared/flags.js.map +1 -1
  22. package/lib/shared/fs.d.ts +1 -1
  23. package/lib/shared/fs.js +10 -17
  24. package/lib/shared/fs.js.map +1 -1
  25. package/lib/shared/prompts/prompts.d.ts +6 -6
  26. package/lib/shared/prompts/prompts.js +27 -29
  27. package/lib/shared/prompts/prompts.js.map +1 -1
  28. package/lib/shared/prompts/relationshipField.js +14 -16
  29. package/lib/shared/prompts/relationshipField.js.map +1 -1
  30. package/lib/shared/types.js +1 -2
  31. package/lib/shared/types.js.map +1 -1
  32. package/oclif.lock +7986 -0
  33. package/oclif.manifest.json +188 -78
  34. package/package.json +29 -53
@@ -1,170 +1,280 @@
1
1
  {
2
- "version": "0.2.14",
3
2
  "commands": {
4
3
  "schema:generate:field": {
5
- "id": "schema:generate:field",
6
- "summary": "Generate metadata source files for a new custom field on a specified object.",
7
- "description": "This command is interactive and must be run in a Salesforce DX project directory. You're required to specify the field's label with the \"--label\" flag. The command uses this label to provide intelligent suggestions for other field properties, such as its API name.\n\nYou can generate a custom field on either a standard object, such as Account, or a custom object. In both cases, the source files for the object must already exist in your local project before you run this command. If you create a relationship field, the source files for the parent object must also exist in your local directory. Use the command \"sf metadata retrieve -m CustomObject:<object>\" to retrieve source files for both standard and custom objects from your org. To create a custom object, run the \"sf generate metadata sobject\" command or use the Object Manager UI in your Salesforce org.",
8
- "strict": true,
9
- "pluginName": "@salesforce/plugin-sobject",
10
- "pluginAlias": "@salesforce/plugin-sobject",
11
- "pluginType": "core",
12
4
  "aliases": [
13
5
  "generate:metadata:field"
14
6
  ],
7
+ "args": {},
8
+ "deprecateAliases": true,
9
+ "description": "This command is interactive and must be run in a Salesforce DX project directory. You're required to specify the field's label with the \"--label\" flag. The command uses this label to provide intelligent suggestions for other field properties, such as its API name.\n\nYou can generate a custom field on either a standard object, such as Account, or a custom object. In both cases, the source files for the object must already exist in your local project before you run this command. If you create a relationship field, the source files for the parent object must also exist in your local directory. Use the command \"sf metadata retrieve -m CustomObject:<object>\" to retrieve source files for both standard and custom objects from your org. To create a custom object, run the \"sf generate metadata sobject\" command or use the Object Manager UI in your Salesforce org.",
15
10
  "examples": [
16
11
  "Create a field with the specified label; the command prompts you for the object:\n<%= config.bin %> <%= command.id %> --label \"My Field\"",
17
12
  "Specify the local path to the object's folder:\n<%= config.bin %> <%= command.id %> --label \"My Field\" --object force-app/main/default/objects/MyObject__c"
18
13
  ],
19
- "deprecateAliases": true,
20
14
  "flags": {
21
15
  "label": {
22
- "name": "label",
23
- "type": "option",
24
16
  "char": "l",
25
- "summary": "The field's label.",
17
+ "name": "label",
26
18
  "required": true,
19
+ "summary": "The field's label.",
20
+ "hasDynamicHelp": false,
27
21
  "multiple": false,
28
- "deprecateAliases": true
22
+ "type": "option"
29
23
  },
30
24
  "object": {
31
- "name": "object",
32
- "type": "option",
33
25
  "char": "o",
34
- "summary": "The directory that contains the object's source files.",
35
26
  "description": "The object source files in your local project are grouped in a directoy with the same name as the object. Custom object names always end in \"__c\". An example of the object directory for the Account standard object is \"force-app/main/default/objects/Account\" An example custom object directory is \"force-app/main/default/objects/MyObject__c\"\n\nIf you don't specify this flag, the command prompts you to choose from your local objects.",
27
+ "name": "object",
28
+ "summary": "The directory that contains the object's source files.",
29
+ "hasDynamicHelp": false,
36
30
  "multiple": false,
37
- "deprecateAliases": true
31
+ "type": "option"
38
32
  }
39
33
  },
40
- "args": {},
41
- "requiresProject": true
42
- },
43
- "schema:generate:platformevent": {
44
- "id": "schema:generate:platformevent",
45
- "summary": "Generate metadata source files for a new platform event.",
46
- "description": "This command is interactive and must be run in a Salesforce DX project directory. You're required to specify the event's label with the \"--label\" flag. The command uses this label to provide intelligent suggestions for other event properties, such as its API name.",
47
- "strict": true,
48
- "pluginName": "@salesforce/plugin-sobject",
34
+ "hasDynamicHelp": false,
35
+ "hiddenAliases": [],
36
+ "id": "schema:generate:field",
49
37
  "pluginAlias": "@salesforce/plugin-sobject",
38
+ "pluginName": "@salesforce/plugin-sobject",
50
39
  "pluginType": "core",
40
+ "strict": true,
41
+ "summary": "Generate metadata source files for a new custom field on a specified object.",
42
+ "enableJsonFlag": false,
43
+ "SF_ENV": "SF_ENV",
44
+ "requiresProject": true,
45
+ "isESM": true,
46
+ "relativePath": [
47
+ "lib",
48
+ "commands",
49
+ "schema",
50
+ "generate",
51
+ "field.js"
52
+ ],
53
+ "aliasPermutations": [
54
+ "generate:metadata:field",
55
+ "metadata:generate:field",
56
+ "metadata:field:generate",
57
+ "generate:field:metadata",
58
+ "field:generate:metadata",
59
+ "field:metadata:generate"
60
+ ],
61
+ "permutations": [
62
+ "schema:generate:field",
63
+ "generate:schema:field",
64
+ "generate:field:schema",
65
+ "schema:field:generate",
66
+ "field:schema:generate",
67
+ "field:generate:schema"
68
+ ]
69
+ },
70
+ "schema:generate:platformevent": {
51
71
  "aliases": [
52
72
  "generate:metadata:platformevent"
53
73
  ],
74
+ "args": {},
75
+ "deprecateAliases": true,
76
+ "description": "This command is interactive and must be run in a Salesforce DX project directory. You're required to specify the event's label with the \"--label\" flag. The command uses this label to provide intelligent suggestions for other event properties, such as its API name.",
54
77
  "examples": [
55
78
  "Create a platform event with the specified label:\n<%= config.bin %> <%= command.id %> --label \"My Platform Event\""
56
79
  ],
57
- "deprecateAliases": true,
58
80
  "flags": {
59
81
  "label": {
60
- "name": "label",
61
- "type": "option",
62
82
  "char": "l",
63
- "summary": "The platform event's label.",
83
+ "name": "label",
64
84
  "required": true,
85
+ "summary": "The platform event's label.",
86
+ "hasDynamicHelp": false,
65
87
  "multiple": false,
66
- "deprecateAliases": true
88
+ "type": "option"
67
89
  }
68
90
  },
69
- "args": {},
70
- "requiresProject": true
71
- },
72
- "schema:generate:sobject": {
73
- "id": "schema:generate:sobject",
74
- "summary": "Generate metadata source files for a new custom object.",
75
- "description": "This command is interactive and must be run in a Salesforce DX project directory. You're required to specify the object's label with the \"--label\" flag. The command uses this label to provide intelligent suggestions for other object properties, such as its API name and plural label.\n\nAll Salesforce objects are required to have a Name field, so this command also prompts you for the label and type of the Name field. Run the \"sf metadata generate field\" command to create additional fields for the object.\n\nTo reduce the number of prompts, use the \"--use-default-features\" flag to automatically enable some features, such as reporting and search on the object.",
76
- "strict": true,
77
- "pluginName": "@salesforce/plugin-sobject",
91
+ "hasDynamicHelp": false,
92
+ "hiddenAliases": [],
93
+ "id": "schema:generate:platformevent",
78
94
  "pluginAlias": "@salesforce/plugin-sobject",
95
+ "pluginName": "@salesforce/plugin-sobject",
79
96
  "pluginType": "core",
97
+ "strict": true,
98
+ "summary": "Generate metadata source files for a new platform event.",
99
+ "enableJsonFlag": false,
100
+ "SF_ENV": "SF_ENV",
101
+ "requiresProject": true,
102
+ "isESM": true,
103
+ "relativePath": [
104
+ "lib",
105
+ "commands",
106
+ "schema",
107
+ "generate",
108
+ "platformevent.js"
109
+ ],
110
+ "aliasPermutations": [
111
+ "generate:metadata:platformevent",
112
+ "metadata:generate:platformevent",
113
+ "metadata:platformevent:generate",
114
+ "generate:platformevent:metadata",
115
+ "platformevent:generate:metadata",
116
+ "platformevent:metadata:generate"
117
+ ],
118
+ "permutations": [
119
+ "schema:generate:platformevent",
120
+ "generate:schema:platformevent",
121
+ "generate:platformevent:schema",
122
+ "schema:platformevent:generate",
123
+ "platformevent:schema:generate",
124
+ "platformevent:generate:schema"
125
+ ]
126
+ },
127
+ "schema:generate:sobject": {
80
128
  "aliases": [
81
129
  "generate:metadata:sobject"
82
130
  ],
131
+ "args": {},
132
+ "deprecateAliases": true,
133
+ "description": "This command is interactive and must be run in a Salesforce DX project directory. You're required to specify the object's label with the \"--label\" flag. The command uses this label to provide intelligent suggestions for other object properties, such as its API name and plural label.\n\nAll Salesforce objects are required to have a Name field, so this command also prompts you for the label and type of the Name field. Run the \"sf metadata generate field\" command to create additional fields for the object.\n\nTo reduce the number of prompts, use the \"--use-default-features\" flag to automatically enable some features, such as reporting and search on the object.",
83
134
  "examples": [
84
135
  "Create a custom object with the specified label and be prompted for additional information:\n<%= config.bin %> <%= command.id %> --label \"My Object\"",
85
136
  "Create a custom object and enable optional features without prompting:\n<%= config.bin %> <%= command.id %> --label \"My Object\" --use-default-features"
86
137
  ],
87
- "deprecateAliases": true,
88
138
  "flags": {
89
139
  "label": {
90
- "name": "label",
91
- "type": "option",
92
140
  "char": "l",
93
- "summary": "The custom object's label.",
141
+ "name": "label",
94
142
  "required": true,
143
+ "summary": "The custom object's label.",
144
+ "hasDynamicHelp": false,
95
145
  "multiple": false,
96
- "deprecateAliases": true
146
+ "type": "option"
97
147
  },
98
148
  "use-default-features": {
99
- "name": "use-default-features",
100
- "type": "boolean",
101
149
  "char": "f",
102
- "summary": "Enable all optional features without prompting.",
103
150
  "description": "Enables these features:\n\n* Search: Allows users to find the custom object's records when they search, including SOSL.\n* Feeds: Enables feed tracking.\n* Reports: Allows reporting of the data in the custom object records.\n* History: Enables object history tracking.\n* Activities: Allows users to associate tasks and scheduled calendar events related to the custom object records.\n* Bulk API: With Sharing and Streaming API, classifies the custom object as an Enterprise Application object.\n* Sharing: With Bulk API and Streaming API, classifies the custom object as an Enterprise Application object.\n* Streaming API: With Bulk API and Sharing, classifies the custom object as an Enterprise Application object.",
151
+ "name": "use-default-features",
152
+ "summary": "Enable all optional features without prompting.",
104
153
  "allowNo": false,
105
- "deprecateAliases": true
154
+ "type": "boolean"
106
155
  }
107
156
  },
108
- "args": {},
109
- "requiresProject": true
110
- },
111
- "schema:generate:tab": {
112
- "id": "schema:generate:tab",
113
- "summary": "Generate the metadata source files for a new custom tab on a custom object.",
114
- "description": "Custom tabs let you display custom object data or other web content in Salesforce. Custom tabs appear in Salesforce as an item in the app’s navigation bar and in the App Launcher.\n\nThis command must be run in a Salesforce DX project directory. You must pass all required information to it with the required flags. The source files for the custom object for which you're generating a tab don't need to exist in your local project.",
115
- "strict": true,
116
- "pluginName": "@salesforce/plugin-sobject",
157
+ "hasDynamicHelp": false,
158
+ "hiddenAliases": [],
159
+ "id": "schema:generate:sobject",
117
160
  "pluginAlias": "@salesforce/plugin-sobject",
161
+ "pluginName": "@salesforce/plugin-sobject",
118
162
  "pluginType": "core",
163
+ "strict": true,
164
+ "summary": "Generate metadata source files for a new custom object.",
165
+ "enableJsonFlag": false,
166
+ "SF_ENV": "SF_ENV",
167
+ "requiresProject": true,
168
+ "isESM": true,
169
+ "relativePath": [
170
+ "lib",
171
+ "commands",
172
+ "schema",
173
+ "generate",
174
+ "sobject.js"
175
+ ],
176
+ "aliasPermutations": [
177
+ "generate:metadata:sobject",
178
+ "metadata:generate:sobject",
179
+ "metadata:sobject:generate",
180
+ "generate:sobject:metadata",
181
+ "sobject:generate:metadata",
182
+ "sobject:metadata:generate"
183
+ ],
184
+ "permutations": [
185
+ "schema:generate:sobject",
186
+ "generate:schema:sobject",
187
+ "generate:sobject:schema",
188
+ "schema:sobject:generate",
189
+ "sobject:schema:generate",
190
+ "sobject:generate:schema"
191
+ ]
192
+ },
193
+ "schema:generate:tab": {
119
194
  "aliases": [
120
195
  "generate:metadata:tab"
121
196
  ],
197
+ "args": {},
198
+ "deprecateAliases": true,
199
+ "description": "Custom tabs let you display custom object data or other web content in Salesforce. Custom tabs appear in Salesforce as an item in the app’s navigation bar and in the App Launcher.\n\nThis command must be run in a Salesforce DX project directory. You must pass all required information to it with the required flags. The source files for the custom object for which you're generating a tab don't need to exist in your local project.",
122
200
  "examples": [
123
201
  "Create a tab on the MyObject__c custom object:\n<%= config.bin %> <%= command.id %> --object MyObject__c --icon 54 --directory force-app/main/default/tabs"
124
202
  ],
125
- "deprecateAliases": true,
126
203
  "flags": {
127
204
  "json": {
128
- "name": "json",
129
- "type": "boolean",
130
205
  "description": "Format output as json.",
131
206
  "helpGroup": "GLOBAL",
207
+ "name": "json",
132
208
  "allowNo": false,
133
- "deprecateAliases": true
209
+ "type": "boolean"
134
210
  },
135
211
  "object": {
136
- "name": "object",
137
- "type": "option",
138
212
  "char": "o",
139
- "summary": "API name of the custom object you're generating a tab for.",
140
213
  "description": "The API name for a custom object always ends in \"__c\", such as \"MyObject__c\".",
214
+ "name": "object",
141
215
  "required": true,
216
+ "summary": "API name of the custom object you're generating a tab for.",
217
+ "hasDynamicHelp": false,
142
218
  "multiple": false,
143
- "deprecateAliases": true
219
+ "type": "option"
144
220
  },
145
221
  "directory": {
146
- "name": "directory",
147
- "type": "option",
148
222
  "char": "d",
149
- "summary": "Path to a \"tabs\" directory that will contain the source files for your new tab.",
223
+ "name": "directory",
150
224
  "required": true,
225
+ "summary": "Path to a \"tabs\" directory that will contain the source files for your new tab.",
226
+ "hasDynamicHelp": false,
151
227
  "multiple": false,
152
- "deprecateAliases": true
228
+ "type": "option"
153
229
  },
154
230
  "icon": {
155
- "name": "icon",
156
- "type": "option",
157
231
  "char": "i",
158
- "summary": "Number from 1 to 100 that specifies the color scheme and icon for the custom tab.",
159
232
  "description": "See https://lightningdesignsystem.com/icons/\\#custom for the available icons.",
233
+ "name": "icon",
160
234
  "required": true,
161
- "multiple": false,
235
+ "summary": "Number from 1 to 100 that specifies the color scheme and icon for the custom tab.",
162
236
  "default": 1,
163
- "deprecateAliases": true
237
+ "hasDynamicHelp": false,
238
+ "multiple": false,
239
+ "type": "option"
164
240
  }
165
241
  },
166
- "args": {},
167
- "requiresProject": true
242
+ "hasDynamicHelp": false,
243
+ "hiddenAliases": [],
244
+ "id": "schema:generate:tab",
245
+ "pluginAlias": "@salesforce/plugin-sobject",
246
+ "pluginName": "@salesforce/plugin-sobject",
247
+ "pluginType": "core",
248
+ "strict": true,
249
+ "summary": "Generate the metadata source files for a new custom tab on a custom object.",
250
+ "enableJsonFlag": true,
251
+ "SF_ENV": "SF_ENV",
252
+ "requiresProject": true,
253
+ "isESM": true,
254
+ "relativePath": [
255
+ "lib",
256
+ "commands",
257
+ "schema",
258
+ "generate",
259
+ "tab.js"
260
+ ],
261
+ "aliasPermutations": [
262
+ "generate:metadata:tab",
263
+ "metadata:generate:tab",
264
+ "metadata:tab:generate",
265
+ "generate:tab:metadata",
266
+ "tab:generate:metadata",
267
+ "tab:metadata:generate"
268
+ ],
269
+ "permutations": [
270
+ "schema:generate:tab",
271
+ "generate:schema:tab",
272
+ "generate:tab:schema",
273
+ "schema:tab:generate",
274
+ "tab:schema:generate",
275
+ "tab:generate:schema"
276
+ ]
168
277
  }
169
- }
278
+ },
279
+ "version": "0.2.16"
170
280
  }
package/package.json CHANGED
@@ -1,80 +1,53 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-sobject",
3
3
  "description": "Create objects, fields, tabs, etc",
4
- "version": "0.2.14",
4
+ "version": "0.2.16",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
- "@oclif/core": "^2.15.0",
9
- "@salesforce/core": "^5.3.9",
8
+ "@oclif/core": "^3.9.2",
9
+ "@salesforce/core": "^5.3.17",
10
10
  "@salesforce/kit": "^3.0.15",
11
- "@salesforce/sf-plugins-core": "^3.1.22",
11
+ "@salesforce/sf-plugins-core": "^4.0.0",
12
12
  "change-case": "^4.1.2",
13
- "fast-glob": "^3.3.1",
13
+ "fast-glob": "^3.3.2",
14
14
  "fast-xml-parser": "^4.3.2",
15
- "inquirer": "^8.2.6",
16
- "js2xmlparser": "^4.0.2",
17
- "tslib": "^2"
15
+ "js2xmlparser": "^4.0.2"
18
16
  },
19
17
  "devDependencies": {
20
- "@oclif/plugin-command-snapshot": "^4.0.14",
21
- "@oclif/test": "^2.5.6",
22
- "@salesforce/cli-plugins-testkit": "^4.4.3",
23
- "@salesforce/dev-config": "^4.0.1",
24
- "@salesforce/dev-scripts": "^5.11.0",
25
- "@salesforce/plugin-command-reference": "^3.0.43",
26
- "@salesforce/prettier-config": "^0.0.3",
27
- "@salesforce/ts-sinon": "1.4.18",
28
- "@swc/core": "^1.3.37",
18
+ "@oclif/plugin-command-snapshot": "^5.0.1",
19
+ "@salesforce/cli-plugins-testkit": "^5.0.0",
20
+ "@salesforce/dev-scripts": "^6.0.3",
21
+ "@salesforce/plugin-command-reference": "^3.0.46",
29
22
  "@types/inquirer": "^8.2.0",
30
- "@types/shelljs": "^0.8.13",
31
- "@typescript-eslint/eslint-plugin": "^5.62.0",
32
- "@typescript-eslint/parser": "^5.61.0",
33
- "chai": "^4.3.10",
34
- "eslint": "^8.51.0",
35
- "eslint-config-prettier": "^8.10.0",
36
- "eslint-config-salesforce": "^2.0.2",
37
- "eslint-config-salesforce-license": "^0.2.0",
38
- "eslint-config-salesforce-typescript": "^1.1.2",
39
- "eslint-plugin-header": "^3.1.1",
40
- "eslint-plugin-import": "2.28.1",
41
- "eslint-plugin-jsdoc": "^43.0.5",
42
- "eslint-plugin-sf-plugin": "^1.16.9",
43
- "husky": "^7.0.4",
44
- "mocha": "^9.2.2",
45
- "nyc": "^15.1.0",
46
- "oclif": "^3.17.1",
47
- "prettier": "^2.8.8",
48
- "pretty-quick": "^3.1.3",
49
- "shelljs": "^0.8.4",
23
+ "eslint-plugin-sf-plugin": "^1.16.14",
24
+ "oclif": "^4.0.3",
50
25
  "shx": "0.3.4",
51
- "sinon": "10.0.0",
52
26
  "ts-node": "^10.9.1",
53
- "typescript": "^4.9.5",
54
- "wireit": "^0.14.0"
27
+ "typescript": "^5.2.2"
55
28
  },
56
29
  "config": {},
57
30
  "engines": {
58
- "node": ">=16.0.0"
31
+ "node": ">=18.0.0"
59
32
  },
60
33
  "files": [
61
34
  "/lib",
62
35
  "/messages",
63
36
  "/oclif.manifest.json",
64
- "/schemas"
37
+ "/schemas",
38
+ "/oclif.lock"
65
39
  ],
66
40
  "homepage": "https://github.com/salesforcecli/plugin-sobject",
67
41
  "keywords": [
68
42
  "force",
69
43
  "salesforce",
70
- "sfdx",
71
44
  "salesforcedx",
72
- "sfdx-plugin",
45
+ "sf",
73
46
  "sf-plugin",
74
- "sf"
47
+ "sfdx",
48
+ "sfdx-plugin"
75
49
  ],
76
50
  "license": "BSD-3-Clause",
77
- "main": "lib/index.js",
78
51
  "oclif": {
79
52
  "commands": "./lib/commands",
80
53
  "bin": "sf",
@@ -94,14 +67,15 @@
94
67
  }
95
68
  }
96
69
  }
97
- }
70
+ },
71
+ "flexibleTaxonomy": true
98
72
  },
99
73
  "repository": "salesforcecli/plugin-sobject",
100
74
  "scripts": {
101
75
  "build": "wireit",
102
76
  "clean": "sf-clean",
103
77
  "clean-all": "sf-clean all",
104
- "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
78
+ "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json oclif.lock",
105
79
  "compile": "wireit",
106
80
  "docs": "sf-docs",
107
81
  "format": "wireit",
@@ -193,7 +167,7 @@
193
167
  "output": []
194
168
  },
195
169
  "test:command-reference": {
196
- "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
170
+ "command": "ts-node \"./bin/dev.js\" commandreference:generate --erroronwarnings",
197
171
  "files": [
198
172
  "src/**/*.ts",
199
173
  "messages/**",
@@ -204,7 +178,7 @@
204
178
  ]
205
179
  },
206
180
  "test:deprecation-policy": {
207
- "command": "\"./bin/dev\" snapshot:compare",
181
+ "command": "ts-node \"./bin/dev.js\" snapshot:compare",
208
182
  "files": [
209
183
  "src/**/*.ts"
210
184
  ],
@@ -214,7 +188,7 @@
214
188
  ]
215
189
  },
216
190
  "test:json-schema": {
217
- "command": "\"./bin/dev\" schema:compare",
191
+ "command": "ts-node \"./bin/dev.js\" schema:compare",
218
192
  "files": [
219
193
  "src/**/*.ts",
220
194
  "schemas"
@@ -222,8 +196,10 @@
222
196
  "output": []
223
197
  }
224
198
  },
199
+ "exports": "./lib/index.js",
200
+ "type": "module",
225
201
  "sfdx": {
226
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-sobject/0.2.14.crt",
227
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-sobject/0.2.14.sig"
202
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-sobject/0.2.16.crt",
203
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-sobject/0.2.16.sig"
228
204
  }
229
205
  }