sfdx-browserforce-plugin 2.10.0 → 2.11.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/README.md +3 -0
- package/lib/browserforce-command.js +1 -1
- package/lib/browserforce-command.js.map +1 -1
- package/lib/commands/browserforce/apply.js +1 -1
- package/lib/commands/browserforce/apply.js.map +1 -1
- package/lib/commands/browserforce/plan.js +1 -1
- package/lib/commands/browserforce/plan.js.map +1 -1
- package/lib/config-parser.d.ts +3 -3
- package/lib/plugins/activity-settings/index.d.ts +1 -1
- package/lib/plugins/communities/index.d.ts +1 -1
- package/lib/plugins/company-information/index.d.ts +9 -0
- package/lib/plugins/company-information/index.js +60 -0
- package/lib/plugins/company-information/index.js.map +1 -0
- package/lib/plugins/customer-portal/available-custom-objects/index.d.ts +2 -2
- package/lib/plugins/customer-portal/enabled/index.d.ts +1 -1
- package/lib/plugins/customer-portal/index.d.ts +1 -1
- package/lib/plugins/customer-portal/portals/index.d.ts +3 -3
- package/lib/plugins/defer-sharing-calculation/index.d.ts +1 -1
- package/lib/plugins/density-settings/index.d.ts +2 -2
- package/lib/plugins/email-deliverability/index.d.ts +1 -1
- package/lib/plugins/high-velocity-sales-settings/index.d.ts +1 -1
- package/lib/plugins/home-page-layouts/index.d.ts +2 -2
- package/lib/plugins/index.d.ts +2 -1
- package/lib/plugins/index.js +3 -1
- package/lib/plugins/index.js.map +1 -1
- package/lib/plugins/lightning-experience-settings/index.d.ts +2 -2
- package/lib/plugins/opportunity-splits/index.d.ts +1 -1
- package/lib/plugins/opportunity-splits/pages/layout-selection.js +1 -1
- package/lib/plugins/opportunity-splits/pages/layout-selection.js.map +1 -1
- package/lib/plugins/opportunity-splits/pages/overview.js +1 -1
- package/lib/plugins/opportunity-splits/pages/overview.js.map +1 -1
- package/lib/plugins/opportunity-splits/pages/setup.js +1 -1
- package/lib/plugins/opportunity-splits/pages/setup.js.map +1 -1
- package/lib/plugins/picklists/field-dependencies/index.d.ts +2 -2
- package/lib/plugins/picklists/index.d.ts +2 -2
- package/lib/plugins/picklists/pages.d.ts +1 -1
- package/lib/plugins/record-types/index.d.ts +2 -2
- package/lib/plugins/relate-contact-to-multiple-accounts/index.d.ts +1 -1
- package/lib/plugins/reports-and-dashboards/folder-sharing/index.d.ts +1 -1
- package/lib/plugins/reports-and-dashboards/index.d.ts +1 -1
- package/lib/plugins/salesforce-to-salesforce/index.d.ts +1 -1
- package/lib/plugins/security/certificate-and-key-management/index.d.ts +3 -3
- package/lib/plugins/security/identity-provider/index.d.ts +1 -1
- package/lib/plugins/security/index.d.ts +1 -1
- package/lib/plugins/security/login-access-policies/index.d.ts +1 -1
- package/lib/plugins/security/sharing/index.d.ts +1 -1
- package/oclif.manifest.json +163 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -147,6 +147,9 @@ Here is a full blown example showing most of the supported settings in action:
|
|
|
147
147
|
"security": {
|
|
148
148
|
"loginAccessPolicies": { "administratorsCanLogInAsAnyUser": true },
|
|
149
149
|
"sharing": { "enableExternalSharingModel": true }
|
|
150
|
+
},
|
|
151
|
+
"companyInformation": {
|
|
152
|
+
"defaultCurrencyIsoCode": "English (Ireland) - EUR"
|
|
150
153
|
}
|
|
151
154
|
}
|
|
152
155
|
}
|
|
@@ -63,7 +63,6 @@ class BrowserforceCommand extends command_1.SfdxCommand {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
exports.BrowserforceCommand = BrowserforceCommand;
|
|
67
66
|
BrowserforceCommand.requiresUsername = true;
|
|
68
67
|
BrowserforceCommand.flagsConfig = {
|
|
69
68
|
definitionfile: command_1.flags.string({
|
|
@@ -81,4 +80,5 @@ BrowserforceCommand.flagsConfig = {
|
|
|
81
80
|
description: messages.getMessage('stateFileDescription')
|
|
82
81
|
})
|
|
83
82
|
};
|
|
83
|
+
exports.BrowserforceCommand = BrowserforceCommand;
|
|
84
84
|
//# sourceMappingURL=browserforce-command.js.map
|
|
@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rowserforceCommand {
|
|
|
44
44
|
return { success: true };
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
exports.default = BrowserforceApply;
|
|
48
47
|
BrowserforceApply.description = messages.getMessage('applyCommandDescription');
|
|
49
48
|
BrowserforceApply.examples = [
|
|
50
49
|
`$ sfdx browserforce:apply -f ./config/setup-admin-login-as-any.json --targetusername myOrg@example.com
|
|
@@ -55,4 +54,5 @@ BrowserforceApply.examples = [
|
|
|
55
54
|
logging out... done
|
|
56
55
|
`
|
|
57
56
|
];
|
|
57
|
+
exports.default = BrowserforceApply;
|
|
58
58
|
//# sourceMappingURL=apply.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apply.js","sourceRoot":"","sources":["../../../src/commands/browserforce/apply.ts"],"names":[],"mappings":";;AAAA,2CAA4C;AAC5C,qEAAiE;AAEjE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CACpC,0BAA0B,EAC1B,cAAc,CACf,CAAC;AAEF,MAAqB,iBAAkB,SAAQ,0CAAmB;IAazD,KAAK,CAAC,GAAG;QACd,IAAI,CAAC,EAAE,CAAC,GAAG,CACT,4BACE,IAAI,CAAC,KAAK,CAAC,cACb,WAAW,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,CACpC,CAAC;QACF,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,QAAQ,EAAE;YACnC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;YAC9B,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;YAC/C,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,MAAM,CAAC,IAAI,oBAAoB,CAAC,CAAC;YAC1D,IAAI,KAAK,CAAC;YACV,IAAI;gBACF,KAAK,GAAG,MAAM,QAAQ,CAAC,QAAQ,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AI,KAAK,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;qBACpC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;oBACX,OAAO,aAAa,GAAG,SAAS,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC;gBACjE,CAAC,CAAC;qBACD,IAAI,CAAC,IAAI,CAAC,EAAE,CAChB,CAAC;gBACF,IAAI;oBACF,MAAM,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;iBAC9B;gBAAC,OAAO,GAAG,EAAE;oBACZ,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;oBAC9B,MAAM,GAAG,CAAC;iBACX;gBACD,IAAI,CAAC,EAAE,CAAC,WAAW,EAAE,CAAC;aACvB;iBAAM;gBACL,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,IAAI,uBAAuB,CAAC,CAAC;aACrD;SACF;QACD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC3B,CAAC;;AApDa,6BAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAC;AAE7D,0BAAQ,GAAG;IACvB;;;;;;GAMD;CACA,CAAC;kBAXiB,iBAAiB"}
|
|
@@ -70,7 +70,6 @@ class BrowserforcePlanCommand extends browserforce_command_1.BrowserforceCommand
|
|
|
70
70
|
return { success: true, plan };
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
exports.default = BrowserforcePlanCommand;
|
|
74
73
|
BrowserforcePlanCommand.description = messages.getMessage('planCommandDescription');
|
|
75
74
|
BrowserforcePlanCommand.examples = [
|
|
76
75
|
`$ sfdx browserforce:plan -f ./config/setup-admin-login-as-any.json --targetusername myOrg@example.com
|
|
@@ -81,4 +80,5 @@ BrowserforcePlanCommand.examples = [
|
|
|
81
80
|
logging out... done
|
|
82
81
|
`
|
|
83
82
|
];
|
|
83
|
+
exports.default = Browserfor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ugin } from './plugin';
|
|
2
|
-
|
|
2
|
+
type Drivers = {
|
|
3
3
|
[key: string]: unknown;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
type Data = {
|
|
6
6
|
settings?: unknown;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type Config = {
|
|
9
9
|
Driver: typeof BrowserforcePlugin;
|
|
10
10
|
key: string;
|
|
11
11
|
value: unknown;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BrowserforcePlugin } from '../../plugin';
|
|
2
|
+
type Config = {
|
|
3
|
+
defaultCurrencyIsoCode?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare class CompanyInformation extends BrowserforcePlugin {
|
|
6
|
+
retrieve(): Promise<Config>;
|
|
7
|
+
apply(config: Config): Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyInformation = void 0;
|
|
4
|
+
const plugin_1 = require("../../plugin");
|
|
5
|
+
const PATHS = (orgId) => ({
|
|
6
|
+
BASE: `/${orgId}/e`
|
|
7
|
+
});
|
|
8
|
+
const SELECTORS = {
|
|
9
|
+
BASE: 'div.pbBody',
|
|
10
|
+
CURRENCY_DROPDOWN: '#DefaultCurrencyIsoCode',
|
|
11
|
+
SAVE_BUTTON: 'input[class="btn"][type="submit"][name="save"]'
|
|
12
|
+
};
|
|
13
|
+
class CompanyInformation extends plugin_1.BrowserforcePlugin {
|
|
14
|
+
async retrieve() {
|
|
15
|
+
const path = PATHS(this.org.getOrgId());
|
|
16
|
+
const page = await this.browserforce.openPage(path.BASE);
|
|
17
|
+
await page.waitForSelector(SELECTORS.CURRENCY_DROPDOWN);
|
|
18
|
+
const response = {
|
|
19
|
+
defaultCurrencyIsoCode: ''
|
|
20
|
+
};
|
|
21
|
+
const selectedOptions = await page.$$eval(`${SELECTORS.CURRENCY_DROPDOWN} > option[selected]`, options => options.map(option => option.textContent));
|
|
22
|
+
if (!selectedOptions) {
|
|
23
|
+
throw new Error('No available existing value');
|
|
24
|
+
}
|
|
25
|
+
response.defaultCurrencyIsoCode = selectedOptions[0];
|
|
26
|
+
return response;
|
|
27
|
+
}
|
|
28
|
+
async apply(config) {
|
|
29
|
+
if (config.defaultCurrencyIsoCode?.length > 0) {
|
|
30
|
+
const path = PATHS(this.org.getOrgId());
|
|
31
|
+
const page = await this.browserforce.openPage(path.BASE);
|
|
32
|
+
// wait for selectors
|
|
33
|
+
await page.waitForSelector(SELECTORS.CURRENCY_DROPDOWN);
|
|
34
|
+
const selectElem = await page.$(SELECTORS.CURRENCY_DROPDOWN);
|
|
35
|
+
await page.waitForSelector(SELECTORS.SAVE_BUTTON);
|
|
36
|
+
// apply changes
|
|
37
|
+
// await page.click(SELECTORS.CURRENCY_DROPDOWN);
|
|
38
|
+
const optionList = await page.$$eval(`${SELECTORS.CURRENCY_DROPDOWN} > option`, options => options.map(option => ({
|
|
39
|
+
value: option.value,
|
|
40
|
+
textContent: option.textContent
|
|
41
|
+
})));
|
|
42
|
+
const toBeSelectedOption = optionList.find(option => option.textContent == config.defaultCurrencyIsoCode);
|
|
43
|
+
if (!toBeSelectedOption) {
|
|
44
|
+
throw new Error(`Invalid currency provided. '${config.defaultCurrencyIsoCode}' is not a valid option available for currencies. Please use the exact name as it appears in the list.`);
|
|
45
|
+
}
|
|
46
|
+
await selectElem.select(toBeSelectedOption.value);
|
|
47
|
+
// auto accept the dialog when it appears
|
|
48
|
+
page.on("dialog", (dialog) => {
|
|
49
|
+
dialog.accept();
|
|
50
|
+
});
|
|
51
|
+
// save
|
|
52
|
+
await Promise.all([
|
|
53
|
+
page.waitForNavigation(),
|
|
54
|
+
page.click(SELECTORS.SAVE_BUTTON)
|
|
55
|
+
]);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.CompanyInformation = CompanyInformation;
|
|
60
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/plugins/company-information/index.ts"],"names":[],"mappings":";;;AAAA,yCAAkD;AAElD,MAAM,KAAK,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC;IAChC,IAAI,EAAE,IAAI,KAAK,IAAI;CACpB,CAAC,CAAC;AACH,MAAM,SAAS,GAAG;IAChB,IAAI,EAAE,YAAY;IAClB,iBAAiB,EAAE,yBAAyB;IAC5C,WAAW,EAAE,gDAAgD;CAC9D,CAAC;AAMF,MAAa,kBAAmB,SAAQ,2BAAkB;IACjD,KAAK,CAAC,QAAQ;QACnB,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;QACxC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzD,MAAM,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;QAExD,MAAM,QAAQ,GAAG;YACf,sBAAsB,EAAE,EAAE;SAC3B,CAAC;QACF,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,MAAM,CACvC,GAAG,SAAS,CAAC,iBAAiB,qBAAqB,EACnD,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,CACrD,CAAC;QACF,IAAI,CAAC,eAAe,EAAE;YACpB,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;SAChD;QACD,QAAQ,CAAC,sBAAsB,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC;QACrD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAEM,KAAK,CAAC,KAAK,CAAC,MAAc;QAC/B,IAAI,MAAM,CAAC,sBAAsB,EAAE,MAAM,GAAG,CAAC,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GAAG,CAAC;gBAChB,IAAI,CAAC,iBAAiB,EAAE;gBACxB,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC;aAClC,CAAC,CAAC;SACJ;IACH,CAAC;CACF;AAzDD,gDAyDC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BrowserforcePlugin } from '../../../plugin';
|
|
2
|
-
export
|
|
3
|
-
|
|
2
|
+
export type Config = AvailableCustomObjectConfig[];
|
|
3
|
+
type AvailableCustomObjectConfig = {
|
|
4
4
|
name: string;
|
|
5
5
|
namespacePrefix?: string;
|
|
6
6
|
available: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BrowserforcePlugin } from '../../../plugin';
|
|
2
|
-
export
|
|
2
|
+
export type Config = boolean;
|
|
3
3
|
export declare class CustomerPortalEnable extends BrowserforcePlugin {
|
|
4
4
|
retrieve(definition?: Config): Promise<Config>;
|
|
5
5
|
diff(state: Config, definition: Config): Config;
|
|
@@ -2,7 +2,7 @@ import { BrowserforcePlugin } from '../../plugin';
|
|
|
2
2
|
import { Config as CustomerPortalAvailableCustomObjectsConfig } from './available-custom-objects';
|
|
3
3
|
import { Config as CustomerPortalEnableConfig } from './enabled';
|
|
4
4
|
import { Config as CustomerPortalSetupConfig } from './portals';
|
|
5
|
-
|
|
5
|
+
type Config = {
|
|
6
6
|
enabled?: CustomerPortalEnableConfig;
|
|
7
7
|
portals?: CustomerPortalSetupConfig;
|
|
8
8
|
availableCustomObjects?: CustomerPortalAvailableCustomObjectsConfig;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BrowserforcePlugin } from '../../../plugin';
|
|
2
|
-
export
|
|
3
|
-
|
|
2
|
+
export type Config = PortalConfig[];
|
|
3
|
+
type PortalConfig = {
|
|
4
4
|
adminUser?: string;
|
|
5
5
|
description?: string;
|
|
6
6
|
isSelfRegistrationActivated?: boolean;
|
|
@@ -12,7 +12,7 @@ declare type PortalConfig = {
|
|
|
12
12
|
portalProfileMemberships?: PortalProfileMembership[];
|
|
13
13
|
_id?: string;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
type PortalProfileMembership = {
|
|
16
16
|
name: string;
|
|
17
17
|
active: boolean;
|
|
18
18
|
_id?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ElementHandle, Page } from 'puppeteer';
|
|
2
2
|
import { BrowserforcePlugin } from '../../plugin';
|
|
3
|
-
|
|
3
|
+
type Config = {
|
|
4
4
|
density: string;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
type Density = {
|
|
7
7
|
value: string;
|
|
8
8
|
checked: boolean;
|
|
9
9
|
elementHandle: ElementHandle;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BrowserforcePlugin } from '../../plugin';
|
|
2
|
-
|
|
2
|
+
type Config = {
|
|
3
3
|
homePageLayoutAssignments: HomePageLayoutAssignment[];
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
type HomePageLayoutAssignment = {
|
|
6
6
|
profile: string;
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
package/lib/plugins/index.d.ts
CHANGED
|
@@ -14,4 +14,5 @@ import { RelateContactToMultipleAccounts as relateContactToMultipleAccounts } fr
|
|
|
14
14
|
import { ReportsAndDashboards as reportsAndDashboards } from './reports-and-dashboards';
|
|
15
15
|
import { SalesforceToSalesforce as salesforceToSalesforce } from './salesforce-to-salesforce';
|
|
16
16
|
import { Security as security } from './security';
|
|
17
|
-
|
|
17
|
+
import { CompanyInformation as companyInformation } from './company-information';
|
|
18
|
+
export { activitySettings, communities, customerPortal, deferSharingCalculation, densitySettings, emailDeliverability, highVelocitySalesSettings, homePageLayouts, lightningExperienceSettings, opportunitySplits, picklists, recordTypes, relateContactToMultipleAccounts, reportsAndDashboards, salesforceToSalesforce, security, companyInformation };
|
package/lib/plugins/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.security = exports.salesforceToSalesforce = exports.reportsAndDashboards = exports.relateContactToMultipleAccounts = exports.recordTypes = exports.picklists = exports.opportunitySplits = exports.lightningExperienceSettings = exports.homePageLayouts = exports.highVelocitySalesSettings = exports.emailDeliverability = exports.densitySettings = exports.deferSharingCalculation = exports.customerPortal = exports.communities = exports.activitySettings = void 0;
|
|
3
|
+
exports.companyInformation = exports.security = exports.salesforceToSalesforce = exports.reportsAndDashboards = exports.relateContactToMultipleAccounts = exports.recordTypes = exports.picklists = exports.opportunitySplits = exports.lightningExperienceSettings = exports.homePageLayouts = exports.highVelocitySalesSettings = exports.emailDeliverability = exports.densitySettings = exports.deferSharingCalculation = exports.customerPortal = exports.communities = exports.activitySettings = void 0;
|
|
4
4
|
const activity_settings_1 = require("./activity-settings");
|
|
5
5
|
Object.defineProperty(exports, "activitySettings", { enumerable: true, get: function () { return activity_settings_1.ActivitySettings; } });
|
|
6
6
|
const communities_1 = require("./communities");
|
|
@@ -33,4 +33,6 @@ const salesforce_to_salesforce_1 = require("./salesforce-to-salesforce");
|
|
|
33
33
|
Object.defineProperty(exports, "salesforceToSalesforce", { enumerable: true, get: function () { return salesforce_to_salesforce_1.SalesforceToSalesforce; } });
|
|
34
34
|
const security_1 = require("./security");
|
|
35
35
|
Object.defineProperty(exports, "security", { enumerable: true, get: function () { return security_1.Security; } });
|
|
36
|
+
const company_information_1 = require("./company-information");
|
|
37
|
+
Object.defineProperty(exports, "companyInformation", { enumerable: true, get: function () { return company_information_1.CompanyInformation; } });
|
|
36
38
|
//# sourceMappingURL=index.js.map
|
package/lib/plugins/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":";;;AAAA,2DAA2E;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":";;;AAAA,2DAA2E;AAmBzE,iGAnB2B,oCAAgB,OAmB3B;AAlBlB,+CAA2D;AAmBzD,4FAnBsB,yBAAW,OAmBtB;AAlBb,uDAAqE;AAmBnE,+FAnByB,gCAAc,OAmBzB;AAlBhB,2EAAiG;AAmB/F,wGAnBkC,mDAAuB,OAmBlC;AAlBzB,yDAAwE;AAmBtE,gGAnB0B,kCAAe,OAmB1B;AAlBjB,iEAAoF;AAmBlF,oGAnB8B,0CAAmB,OAmB9B;AAlBrB,iFAAwG;AAmBtG,0GAnBoC,wDAAyB,OAmBpC;AAlB3B,2DAAyE;AAmBvE,gGAnB0B,mCAAe,OAmB1B;AAlBjB,mFAA6G;AAmB3G,4GAnBsC,2DAA2B,OAmBtC;AAlB7B,6DAA8E;AAmB5E,kGAnB4B,sCAAiB,OAmB5B;AAlBnB,2CAAqD;AAmBnD,0FAnBoB,qBAAS,OAmBpB;AAlBX,iDAA4D;AAmB1D,4FAnBsB,0BAAW,OAmBtB;AAlBb,+FAA2H;AAmBzH,gHAnB0C,qEAA+B,OAmB1C;AAlBjC,qEAAwF;AAmBtF,qGAnB+B,6CAAoB,OAmB/B;AAlBtB,yEAA8F;AAmB5F,uGAnBiC,iDAAsB,OAmBjC;AAlBxB,yCAAkD;AAmBhD,yFAnBmB,mBAAQ,OAmBnB;AAlBV,+DAAiF;AAmB/E,mGAnB6B,wCAAkB,OAmB7B"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ElementHandle, Page } from 'puppeteer';
|
|
2
2
|
import { BrowserforcePlugin } from '../../plugin';
|
|
3
|
-
|
|
3
|
+
type Config = {
|
|
4
4
|
activeThemeName: string;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
type Theme = {
|
|
7
7
|
developerName: string;
|
|
8
8
|
isActive: boolean;
|
|
9
9
|
rowElementHandle: ElementHandle;
|
|
@@ -16,6 +16,6 @@ class LayoutSelectionPage {
|
|
|
16
16
|
return new overview_1.OverviewPage(this.page);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
exports.LayoutSelectionPage = LayoutSelectionPage;
|
|
20
19
|
LayoutSelectionPage.PATH = 'opp/opportunitySplitSetupLayout.apexp?setupid=OpportunitySplitSetup';
|
|
20
|
+
exports.LayoutSelectionPage = LayoutSelectionPage;
|
|
21
21
|
//# sourceMappingURL=layout-selection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-selection.js","sourceRoot":"","sources":["../../../../src/plugins/opportunity-splits/pages/layout-selection.ts"],"names":[],"mappings":";;;AACA,yCAA0C;AAE1C,MAAM,WAAW,GAAG,oBAAoB,CAAC;AAEzC,MAAa,mBAAmB;IAK9B,YAAY,IAAU;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAEM,KAAK,CAAC,MAAM;QACjB,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;QAC7C,MAAM,OAAO,CAAC,GAAG,CAAC;YAChB,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC7B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;SAC7B,CAAC,CAAC;QACH,OAAO,IAAI,uBAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;;
|
|
1
|
+
{"version":3,"file":"layout-selection.js","sourceRoot":"","sources":["../../../../src/plugins/opportunity-splits/pages/layout-selection.ts"],"names":[],"mappings":";;;AACA,yCAA0C;AAE1C,MAAM,WAAW,GAAG,oBAAoB,CAAC;AAEzC,MAAa,mBAAmB;IAK9B,YAAY,IAAU;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAEM,KAAK,CAAC,MAAM;QACjB,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;QAC7C,MAAM,OAAO,CAAC,GAAG,CAAC;YAChB,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC7B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;SAC7B,CAAC,CAAC;QACH,OAAO,IAAI,uBAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;;AAfM,wBAAI,GACT,qEAAqE,CAAC;AAF7D,kDAAmB"}
|
|
@@ -34,6 +34,6 @@ class OverviewPage {
|
|
|
34
34
|
await this.page.waitForSelector(COMPLETED);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
exports.OverviewPage = OverviewPage;
|
|
38
37
|
OverviewPage.PATH = 'opp/opportunitySplitSetupOverview.apexp?setupid=OpportunitySplitSetup';
|
|
38
|
+
exports.OverviewPage = OverviewPage;
|
|
39
39
|
//# sourceMappingURL=overview.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overview.js","sourceRoot":"","sources":["../../../../src/plugins/opportunity-splits/pages/overview.ts"],"names":[],"mappings":";;;AAEA,MAAM,YAAY,GAAG,qBAAqB,CAAC;AAC3C,MAAM,SAAS,GAAG,uBAAuB,CAAC;AAC1C,MAAM,YAAY,GAAG,6BAA6B,CAAC;AACnD,MAAM,wBAAwB,GAAG,mBAAmB,CAAC;AACrD,MAAM,sBAAsB,GAC1B,uDAAuD,CAAC;AAE1D,MAAa,YAAY;IAKvB,YAAY,IAAU;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAEM,KAAK,CAAC,SAAS;QACpB,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,KAAK,IAAI,CAAC;IACpD,CAAC;IAEM,KAAK,CAAC,gBAAgB;QAC3B,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;QAC9C,aAAa;QACb,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,CA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B;QAC3B,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;QAC9C,aAAa;QACb,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;IAEM,KAAK,CAAC,OAAO;QAClB,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;QAC9C,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QACpC,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,wBAAwB,CAAC,CAAC;QAC1D,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAChD,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC;QACxD,MAAM,OAAO,CAAC,GAAG,CAAC;YAChB,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC7B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC;SACxC,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,iBAAiB;QAC5B,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;IAC7C,CAAC;;AAjCM,iBAAI,GACT,uEAAuE,CAAC;AAF/D,oCAAY"}
|
|
@@ -19,6 +19,6 @@ class SetupPage {
|
|
|
19
19
|
return new layout_selection_1.LayoutSelectionPage(this.page);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
exports.SetupPage = SetupPage;
|
|
23
22
|
SetupPage.PATH = 'opp/opportunitySplitSetupEdit.apexp?setupid=OpportunitySplitSetup';
|
|
23
|
+
exports.SetupPage = SetupPage;
|
|
24
24
|
//# sourceMappingURL=setup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../../../src/plugins/opportunity-splits/pages/setup.ts"],"names":[],"mappings":";;;AACA,yDAAyD;AAEzD,MAAM,WAAW,GAAG,+BAA+B,CAAC;AACpD,MAAM,oBAAoB,GACxB,mEAAmE,CAAC;AAEtE,MAAa,SAAS;IAKpB,YAAY,IAAU;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAEM,KAAK,CAAC,MAAM;QACjB,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;QAC7C,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QACnC,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC;QACtD,MAAM,OAAO,CAAC,GAAG,CAAC;YAChB,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC7B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC;SACtC,CAAC,CAAC;QACH,OAAO,IAAI,sCAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;;
|
|
1
|
+
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../../../src/plugins/opportunity-splits/pages/setup.ts"],"names":[],"mappings":";;;AACA,yDAAyD;AAEzD,MAAM,WAAW,GAAG,+BAA+B,CAAC;AACpD,MAAM,oBAAoB,GACxB,mEAAmE,CAAC;AAEtE,MAAa,SAAS;IAKpB,YAAY,IAAU;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAEM,KAAK,CAAC,MAAM;QACjB,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;QAC7C,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QACnC,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC;QACtD,MAAM,OAAO,CAAC,GAAG,CAAC;YAChB,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC7B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC;SACtC,CAAC,CAAC;QACH,OAAO,IAAI,sCAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;;AAjBM,cAAI,GACT,mEAAmE,CAAC;AAF3D,8BAAS"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BrowserforcePlugin } from '../../../plugin';
|
|
2
|
-
export
|
|
2
|
+
export type FieldDependencyConfig = {
|
|
3
3
|
object: string;
|
|
4
4
|
dependentField: string;
|
|
5
5
|
controllingField: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type Config = FieldDependencyConfig[];
|
|
8
8
|
export declare class FieldDependencies extends BrowserforcePlugin {
|
|
9
9
|
retrieve(definition?: Config): Promise<Config>;
|
|
10
10
|
apply(plan: Config): Promise<void>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BrowserforcePlugin } from '../../plugin';
|
|
2
2
|
import { Config as FieldDependenciesConfig } from './field-dependencies';
|
|
3
|
-
|
|
3
|
+
type Config = {
|
|
4
4
|
picklistValues: PicklistValuesConfig[];
|
|
5
5
|
fieldDependencies: FieldDependenciesConfig;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
type PicklistValuesConfig = {
|
|
8
8
|
metadataType: string;
|
|
9
9
|
metadataFullName: string;
|
|
10
10
|
value?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BrowserforcePlugin } from '../../plugin';
|
|
2
2
|
import { Config as FolderSharingConfig } from './folder-sharing';
|
|
3
|
-
|
|
3
|
+
type Config = {
|
|
4
4
|
folderSharing?: FolderSharingConfig;
|
|
5
5
|
};
|
|
6
6
|
export declare class ReportsAndDashboards extends BrowserforcePlugin {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { BrowserforcePlugin } from '../../../plugin';
|
|
2
|
-
export
|
|
2
|
+
export type Config = {
|
|
3
3
|
certificates?: Certificate[];
|
|
4
4
|
importFromKeystore?: KeyStore[];
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
type Certificate = {
|
|
7
7
|
name: string;
|
|
8
8
|
label: string;
|
|
9
9
|
exportable?: boolean;
|
|
10
10
|
keySize?: number;
|
|
11
11
|
_id?: string;
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
type KeyStore = {
|
|
14
14
|
name: string;
|
|
15
15
|
filePath: string;
|
|
16
16
|
password?: string;
|
|
@@ -3,7 +3,7 @@ import { Config as CertificateAndKeyManagementConfig } from './certificate-and-k
|
|
|
3
3
|
import { Config as IdentityProviderConfig } from './identity-provider';
|
|
4
4
|
import { Config as LoginAccessPoliciesConfig } from './login-access-policies';
|
|
5
5
|
import { Config as SharingConfig } from './sharing';
|
|
6
|
-
|
|
6
|
+
type Config = {
|
|
7
7
|
certificateAndKeyManagement?: CertificateAndKeyManagementConfig;
|
|
8
8
|
identityProvider?: IdentityProviderConfig;
|
|
9
9
|
loginAccessPolicies?: LoginAccessPoliciesConfig;
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1,163 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": "2.11.0",
|
|
3
|
+
"commands": {
|
|
4
|
+
"browserforce:apply": {
|
|
5
|
+
"id": "browserforce:apply",
|
|
6
|
+
"description": "apply a plan from a definition file",
|
|
7
|
+
"strict": true,
|
|
8
|
+
"usage": "<%= command.id %> [-f <string>] [-p <string>] [-s <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
|
|
9
|
+
"pluginName": "sfdx-browserforce-plugin",
|
|
10
|
+
"pluginAlias": "sfdx-browserforce-plugin",
|
|
11
|
+
"pluginType": "core",
|
|
12
|
+
"aliases": [],
|
|
13
|
+
"examples": [
|
|
14
|
+
"$ sfdx browserforce:apply -f ./config/setup-admin-login-as-any.json --targetusername myOrg@example.com\n logging in... done\n Applying definition file ./config/setup-admin-login-as-any.json to org myOrg@example.com\n [Security] retrieving state... done\n [Security] changing 'loginAccessPolicies' to '{\"administratorsCanLogInAsAnyUser\":true}'... done\n logging out... done\n "
|
|
15
|
+
],
|
|
16
|
+
"flags": {
|
|
17
|
+
"json": {
|
|
18
|
+
"name": "json",
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"description": "format output as json",
|
|
21
|
+
"allowNo": false
|
|
22
|
+
},
|
|
23
|
+
"loglevel": {
|
|
24
|
+
"name": "loglevel",
|
|
25
|
+
"type": "option",
|
|
26
|
+
"description": "logging level for this command invocation",
|
|
27
|
+
"required": false,
|
|
28
|
+
"helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
|
|
29
|
+
"multiple": false,
|
|
30
|
+
"options": [
|
|
31
|
+
"trace",
|
|
32
|
+
"debug",
|
|
33
|
+
"info",
|
|
34
|
+
"warn",
|
|
35
|
+
"error",
|
|
36
|
+
"fatal",
|
|
37
|
+
"TRACE",
|
|
38
|
+
"DEBUG",
|
|
39
|
+
"INFO",
|
|
40
|
+
"WARN",
|
|
41
|
+
"ERROR",
|
|
42
|
+
"FATAL"
|
|
43
|
+
],
|
|
44
|
+
"default": "warn"
|
|
45
|
+
},
|
|
46
|
+
"targetusername": {
|
|
47
|
+
"name": "targetusername",
|
|
48
|
+
"type": "option",
|
|
49
|
+
"char": "u",
|
|
50
|
+
"description": "username or alias for the target org; overrides default target org",
|
|
51
|
+
"multiple": false
|
|
52
|
+
},
|
|
53
|
+
"apiversion": {
|
|
54
|
+
"name": "apiversion",
|
|
55
|
+
"type": "option",
|
|
56
|
+
"description": "override the api version used for api requests made by this command",
|
|
57
|
+
"multiple": false
|
|
58
|
+
},
|
|
59
|
+
"definitionfile": {
|
|
60
|
+
"name": "definitionfile",
|
|
61
|
+
"type": "option",
|
|
62
|
+
"char": "f",
|
|
63
|
+
"description": "path to a browserforce definition file\nThe schema is similar to the scratch org definition file.\nSee https://github.com/amtrack/sfdx-browserforce-plugin#supported-org-preferences for supported values.",
|
|
64
|
+
"multiple": false
|
|
65
|
+
},
|
|
66
|
+
"planfile": {
|
|
67
|
+
"name": "planfile",
|
|
68
|
+
"type": "option",
|
|
69
|
+
"char": "p",
|
|
70
|
+
"description": "path to a browserforce plan file",
|
|
71
|
+
"multiple": false
|
|
72
|
+
},
|
|
73
|
+
"statefile": {
|
|
74
|
+
"name": "statefile",
|
|
75
|
+
"type": "option",
|
|
76
|
+
"char": "s",
|
|
77
|
+
"description": "path to a browserforce state file",
|
|
78
|
+
"multiple": false
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"args": {}
|
|
82
|
+
},
|
|
83
|
+
"browserforce:plan": {
|
|
84
|
+
"id": "browserforce:plan",
|
|
85
|
+
"description": "retrieve state and generate plan file",
|
|
86
|
+
"strict": true,
|
|
87
|
+
"usage": "<%= command.id %> [-f <string>] [-p <string>] [-s <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
|
|
88
|
+
"pluginName": "sfdx-browserforce-plugin",
|
|
89
|
+
"pluginAlias": "sfdx-browserforce-plugin",
|
|
90
|
+
"pluginType": "core",
|
|
91
|
+
"aliases": [],
|
|
92
|
+
"examples": [
|
|
93
|
+
"$ sfdx browserforce:plan -f ./config/setup-admin-login-as-any.json --targetusername myOrg@example.com\n logging in... done\n Generating plan with definition file ./config/setup-admin-login-as-any.json from org myOrg@example.com\n [Security] retrieving state... done\n [Security] generating plan... done\n logging out... done\n "
|
|
94
|
+
],
|
|
95
|
+
"flags": {
|
|
96
|
+
"json": {
|
|
97
|
+
"name": "json",
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"description": "format output as json",
|
|
100
|
+
"allowNo": false
|
|
101
|
+
},
|
|
102
|
+
"loglevel": {
|
|
103
|
+
"name": "loglevel",
|
|
104
|
+
"type": "option",
|
|
105
|
+
"description": "logging level for this command invocation",
|
|
106
|
+
"required": false,
|
|
107
|
+
"helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
|
|
108
|
+
"multiple": false,
|
|
109
|
+
"options": [
|
|
110
|
+
"trace",
|
|
111
|
+
"debug",
|
|
112
|
+
"info",
|
|
113
|
+
"warn",
|
|
114
|
+
"error",
|
|
115
|
+
"fatal",
|
|
116
|
+
"TRACE",
|
|
117
|
+
"DEBUG",
|
|
118
|
+
"INFO",
|
|
119
|
+
"WARN",
|
|
120
|
+
"ERROR",
|
|
121
|
+
"FATAL"
|
|
122
|
+
],
|
|
123
|
+
"default": "warn"
|
|
124
|
+
},
|
|
125
|
+
"targetusername": {
|
|
126
|
+
"name": "targetusername",
|
|
127
|
+
"type": "option",
|
|
128
|
+
"char": "u",
|
|
129
|
+
"description": "username or alias for the target org; overrides default target org",
|
|
130
|
+
"multiple": false
|
|
131
|
+
},
|
|
132
|
+
"apiversion": {
|
|
133
|
+
"name": "apiversion",
|
|
134
|
+
"type": "option",
|
|
135
|
+
"description": "override the api version used for api requests made by this command",
|
|
136
|
+
"multiple": false
|
|
137
|
+
},
|
|
138
|
+
"definitionfile": {
|
|
139
|
+
"name": "definitionfile",
|
|
140
|
+
"type": "option",
|
|
141
|
+
"char": "f",
|
|
142
|
+
"description": "path to a browserforce definition file\nThe schema is similar to the scratch org definition file.\nSee https://github.com/amtrack/sfdx-browserforce-plugin#supported-org-preferences for supported values.",
|
|
143
|
+
"multiple": false
|
|
144
|
+
},
|
|
145
|
+
"planfile": {
|
|
146
|
+
"name": "planfile",
|
|
147
|
+
"type": "option",
|
|
148
|
+
"char": "p",
|
|
149
|
+
"description": "path to a browserforce plan file",
|
|
150
|
+
"multiple": false
|
|
151
|
+
},
|
|
152
|
+
"statefile": {
|
|
153
|
+
"name": "statefile",
|
|
154
|
+
"type": "option",
|
|
155
|
+
"char": "s",
|
|
156
|
+
"description": "path to a browserforce state file",
|
|
157
|
+
"multiple": false
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"args": {}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sfdx-browserforce-plugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "sfdx plugin for browser automation",
|
|
5
5
|
"author": "Matthias Rolke <mr.amtrack@gmail.com>",
|
|
6
6
|
"bin": {
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"tslib": "2.4.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@types/mocha": "10.0.
|
|
19
|
-
"@types/node": "16.
|
|
20
|
-
"mocha": "10.
|
|
18
|
+
"@types/mocha": "10.0.1",
|
|
19
|
+
"@types/node": "18.16.7",
|
|
20
|
+
"mocha": "10.2.0",
|
|
21
21
|
"nyc": "15.1.0",
|
|
22
|
-
"oclif": "3.
|
|
22
|
+
"oclif": "3.9.0",
|
|
23
23
|
"ts-node": "10.9.1",
|
|
24
|
-
"typescript": "
|
|
24
|
+
"typescript": "5.0.4"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">=14.0.0"
|