@salesforce/plugin-schema 2.3.1 → 2.3.3
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.
|
@@ -7,8 +7,8 @@ export declare class SObjectDescribe extends SfCommand<DescribeSObjectResult> {
|
|
|
7
7
|
static readonly aliases: string[];
|
|
8
8
|
static readonly flags: {
|
|
9
9
|
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
10
|
-
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
11
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
10
|
+
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
11
|
+
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
12
12
|
sobject: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
13
13
|
'use-tooling-api': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
14
14
|
};
|
|
@@ -12,8 +12,8 @@ export declare class SObjectList extends SfCommand<SObjectListResult> {
|
|
|
12
12
|
static readonly aliases: string[];
|
|
13
13
|
static readonly flags: {
|
|
14
14
|
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
15
|
-
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
16
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
15
|
+
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
16
|
+
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
17
17
|
sobject: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
18
18
|
};
|
|
19
19
|
run(): Promise<SObjectListResult>;
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-schema",
|
|
3
3
|
"description": "Commands to interact with salesforce sobject schemas",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.3",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@oclif/core": "^2.0
|
|
10
|
-
"@salesforce/core": "^3.33.
|
|
11
|
-
"@salesforce/sf-plugins-core": "^2.
|
|
9
|
+
"@oclif/core": "^2.4.0",
|
|
10
|
+
"@salesforce/core": "^3.33.6",
|
|
11
|
+
"@salesforce/sf-plugins-core": "^2.2.4",
|
|
12
12
|
"tslib": "^2"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^3.3.
|
|
16
|
-
"@oclif/plugin-help": "^5.
|
|
15
|
+
"@oclif/plugin-command-snapshot": "^3.3.6",
|
|
16
|
+
"@oclif/plugin-help": "^5.2.5",
|
|
17
17
|
"@salesforce/cli-plugins-testkit": "^3.2.18",
|
|
18
18
|
"@salesforce/dev-config": "^3.0.1",
|
|
19
|
-
"@salesforce/dev-scripts": "^
|
|
20
|
-
"@salesforce/plugin-command-reference": "^2.
|
|
19
|
+
"@salesforce/dev-scripts": "^4.1.2",
|
|
20
|
+
"@salesforce/plugin-command-reference": "^2.4.1",
|
|
21
21
|
"@salesforce/prettier-config": "^0.0.2",
|
|
22
|
-
"@salesforce/ts-sinon": "1.4.
|
|
23
|
-
"@swc/core": "^1.3.
|
|
24
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
25
|
-
"@typescript-eslint/parser": "^5.
|
|
22
|
+
"@salesforce/ts-sinon": "1.4.6",
|
|
23
|
+
"@swc/core": "^1.3.32",
|
|
24
|
+
"@typescript-eslint/eslint-plugin": "^5.53.0",
|
|
25
|
+
"@typescript-eslint/parser": "^5.54.0",
|
|
26
26
|
"chai": "^4.3.7",
|
|
27
|
-
"eslint": "^8.
|
|
27
|
+
"eslint": "^8.35.0",
|
|
28
28
|
"eslint-config-prettier": "^8.6.0",
|
|
29
29
|
"eslint-config-salesforce": "^1.1.0",
|
|
30
30
|
"eslint-config-salesforce-license": "^0.2.0",
|
|
31
31
|
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
32
32
|
"eslint-plugin-header": "^3.0.0",
|
|
33
|
-
"eslint-plugin-import": "2.
|
|
34
|
-
"eslint-plugin-jsdoc": "^39.
|
|
35
|
-
"eslint-plugin-sf-plugin": "^1.
|
|
33
|
+
"eslint-plugin-import": "2.27.5",
|
|
34
|
+
"eslint-plugin-jsdoc": "^39.9.1",
|
|
35
|
+
"eslint-plugin-sf-plugin": "^1.9.2",
|
|
36
36
|
"husky": "^7.0.4",
|
|
37
37
|
"mocha": "^9.1.3",
|
|
38
38
|
"nyc": "^15.1.0",
|
|
39
|
-
"oclif": "^3.6.
|
|
39
|
+
"oclif": "^3.6.2",
|
|
40
40
|
"prettier": "^2.8.3",
|
|
41
41
|
"pretty-quick": "^3.1.0",
|
|
42
42
|
"shx": "0.3.4",
|
|
43
43
|
"sinon": "10.0.0",
|
|
44
44
|
"ts-node": "^10.0.0",
|
|
45
|
-
"typescript": "^4.9.
|
|
45
|
+
"typescript": "^4.9.5",
|
|
46
|
+
"wireit": "^0.9.5"
|
|
46
47
|
},
|
|
47
48
|
"config": {},
|
|
48
49
|
"engines": {
|
|
@@ -87,31 +88,133 @@
|
|
|
87
88
|
},
|
|
88
89
|
"repository": "salesforcecli/plugin-schema",
|
|
89
90
|
"scripts": {
|
|
90
|
-
"build": "
|
|
91
|
+
"build": "wireit",
|
|
91
92
|
"clean": "sf-clean",
|
|
92
93
|
"clean-all": "sf-clean all",
|
|
93
94
|
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
|
|
94
|
-
"compile": "
|
|
95
|
+
"compile": "wireit",
|
|
95
96
|
"docs": "sf-docs",
|
|
96
|
-
"format": "
|
|
97
|
-
"lint": "
|
|
97
|
+
"format": "wireit",
|
|
98
|
+
"lint": "wireit",
|
|
98
99
|
"postpack": "shx rm -f oclif.manifest.json",
|
|
99
|
-
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:json-schema && yarn test:command-reference",
|
|
100
100
|
"prepack": "sf-prepack",
|
|
101
101
|
"prepare": "sf-install",
|
|
102
|
-
"
|
|
103
|
-
"test": "sf-test",
|
|
104
|
-
"test:command-reference": "./bin/dev commandreference:generate --erroronwarnings",
|
|
105
|
-
"test:deprecation-policy": "./bin/dev snapshot:compare",
|
|
106
|
-
"test:json-schema": "./bin/dev schema:compare",
|
|
102
|
+
"test": "wireit",
|
|
107
103
|
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
|
|
104
|
+
"test:only": "wireit",
|
|
108
105
|
"version": "oclif readme"
|
|
109
106
|
},
|
|
110
107
|
"publishConfig": {
|
|
111
108
|
"access": "public"
|
|
112
109
|
},
|
|
110
|
+
"wireit": {
|
|
111
|
+
"build": {
|
|
112
|
+
"dependencies": [
|
|
113
|
+
"compile",
|
|
114
|
+
"lint"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"compile": {
|
|
118
|
+
"command": "tsc -p . --pretty --incremental",
|
|
119
|
+
"files": [
|
|
120
|
+
"src/**/*.ts",
|
|
121
|
+
"tsconfig.json",
|
|
122
|
+
"messages/**"
|
|
123
|
+
],
|
|
124
|
+
"output": [
|
|
125
|
+
"lib/**",
|
|
126
|
+
"*.tsbuildinfo"
|
|
127
|
+
],
|
|
128
|
+
"clean": "if-file-deleted"
|
|
129
|
+
},
|
|
130
|
+
"format": {
|
|
131
|
+
"command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
|
|
132
|
+
"files": [
|
|
133
|
+
"src/**/*.ts",
|
|
134
|
+
"test/**/*.ts",
|
|
135
|
+
"schemas/**/*.json",
|
|
136
|
+
"command-snapshot.json",
|
|
137
|
+
".prettier*"
|
|
138
|
+
],
|
|
139
|
+
"output": []
|
|
140
|
+
},
|
|
141
|
+
"lint": {
|
|
142
|
+
"command": "eslint src test --color --cache --cache-location .eslintcache",
|
|
143
|
+
"files": [
|
|
144
|
+
"src/**/*.ts",
|
|
145
|
+
"test/**/*.ts",
|
|
146
|
+
"messages/**",
|
|
147
|
+
".eslint*"
|
|
148
|
+
],
|
|
149
|
+
"output": []
|
|
150
|
+
},
|
|
151
|
+
"test:compile": {
|
|
152
|
+
"command": "tsc -p \"./test\" --pretty",
|
|
153
|
+
"files": [
|
|
154
|
+
"test/**/*.ts",
|
|
155
|
+
"tsconfig.json",
|
|
156
|
+
"test/tsconfig.json"
|
|
157
|
+
],
|
|
158
|
+
"output": []
|
|
159
|
+
},
|
|
160
|
+
"test": {
|
|
161
|
+
"dependencies": [
|
|
162
|
+
"test:compile",
|
|
163
|
+
"test:only",
|
|
164
|
+
"test:command-reference",
|
|
165
|
+
"test:deprecation-policy",
|
|
166
|
+
"lint",
|
|
167
|
+
"test:json-schema"
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
"test:only": {
|
|
171
|
+
"command": "nyc mocha \"test/**/*.test.ts\"",
|
|
172
|
+
"env": {
|
|
173
|
+
"FORCE_COLOR": "2"
|
|
174
|
+
},
|
|
175
|
+
"files": [
|
|
176
|
+
"test/**/*.ts",
|
|
177
|
+
"src/**/*.ts",
|
|
178
|
+
"tsconfig.json",
|
|
179
|
+
".mocha*",
|
|
180
|
+
"test/tsconfig.json",
|
|
181
|
+
"!*.nut.ts",
|
|
182
|
+
".nycrc"
|
|
183
|
+
],
|
|
184
|
+
"output": []
|
|
185
|
+
},
|
|
186
|
+
"test:command-reference": {
|
|
187
|
+
"command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
|
|
188
|
+
"files": [
|
|
189
|
+
"src/**/*.ts",
|
|
190
|
+
"messages/**",
|
|
191
|
+
"package.json"
|
|
192
|
+
],
|
|
193
|
+
"output": [
|
|
194
|
+
"tmp/root"
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
"test:deprecation-policy": {
|
|
198
|
+
"command": "\"./bin/dev\" snapshot:compare",
|
|
199
|
+
"files": [
|
|
200
|
+
"src/**/*.ts"
|
|
201
|
+
],
|
|
202
|
+
"output": [],
|
|
203
|
+
"dependencies": [
|
|
204
|
+
"compile"
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
"test:json-schema": {
|
|
208
|
+
"command": "\"./bin/dev\" schema:compare",
|
|
209
|
+
"files": [
|
|
210
|
+
"src/**/*.ts",
|
|
211
|
+
"schemas"
|
|
212
|
+
],
|
|
213
|
+
"output": []
|
|
214
|
+
}
|
|
215
|
+
},
|
|
113
216
|
"sfdx": {
|
|
114
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/2.3.
|
|
115
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/2.3.
|
|
217
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/2.3.3.crt",
|
|
218
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/2.3.3.sig"
|
|
116
219
|
}
|
|
117
220
|
}
|