sfdx-browserforce-plugin 2.10.0 → 2.11.1

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 (102) hide show
  1. package/README.md +3 -0
  2. package/lib/commands/browserforce/apply.d.ts +1 -1
  3. package/lib/commands/browserforce/apply.js +4 -3
  4. package/lib/commands/browserforce/apply.js.map +1 -1
  5. package/lib/commands/browserforce/plan.d.ts +1 -1
  6. package/lib/commands/browserforce/plan.js +4 -3
  7. package/lib/commands/browserforce/plan.js.map +1 -1
  8. package/lib/config-parser.d.ts +3 -3
  9. package/lib/plugin.d.ts +3 -2
  10. package/lib/plugin.js +15 -2
  11. package/lib/plugin.js.map +1 -1
  12. package/lib/plugins/activity-settings/index.d.ts +1 -1
  13. package/lib/plugins/activity-settings/index.js +2 -0
  14. package/lib/plugins/activity-settings/index.js.map +1 -1
  15. package/lib/plugins/communities/index.d.ts +1 -1
  16. package/lib/plugins/communities/index.js +2 -0
  17. package/lib/plugins/communities/index.js.map +1 -1
  18. package/lib/plugins/company-information/index.d.ts +9 -0
  19. package/lib/plugins/company-information/index.js +62 -0
  20. package/lib/plugins/company-information/index.js.map +1 -0
  21. package/lib/plugins/customer-portal/available-custom-objects/index.d.ts +2 -2
  22. package/lib/plugins/customer-portal/available-custom-objects/index.js +4 -0
  23. package/lib/plugins/customer-portal/available-custom-objects/index.js.map +1 -1
  24. package/lib/plugins/customer-portal/enabled/index.d.ts +1 -1
  25. package/lib/plugins/customer-portal/enabled/index.js +1 -0
  26. package/lib/plugins/customer-portal/enabled/index.js.map +1 -1
  27. package/lib/plugins/customer-portal/index.d.ts +1 -1
  28. package/lib/plugins/customer-portal/index.js +11 -10
  29. package/lib/plugins/customer-portal/index.js.map +1 -1
  30. package/lib/plugins/customer-portal/portals/index.d.ts +3 -3
  31. package/lib/plugins/customer-portal/portals/index.js +8 -2
  32. package/lib/plugins/customer-portal/portals/index.js.map +1 -1
  33. package/lib/plugins/defer-sharing-calculation/index.d.ts +1 -1
  34. package/lib/plugins/defer-sharing-calculation/index.js +3 -1
  35. package/lib/plugins/defer-sharing-calculation/index.js.map +1 -1
  36. package/lib/plugins/density-settings/index.d.ts +2 -2
  37. package/lib/plugins/density-settings/index.js +3 -1
  38. package/lib/plugins/density-settings/index.js.map +1 -1
  39. package/lib/plugins/email-deliverability/index.d.ts +1 -1
  40. package/lib/plugins/email-deliverability/index.js +5 -3
  41. package/lib/plugins/email-deliverability/index.js.map +1 -1
  42. package/lib/plugins/high-velocity-sales-settings/index.d.ts +1 -1
  43. package/lib/plugins/high-velocity-sales-settings/page.js +1 -0
  44. package/lib/plugins/high-velocity-sales-settings/page.js.map +1 -1
  45. package/lib/plugins/home-page-layouts/index.d.ts +2 -2
  46. package/lib/plugins/home-page-layouts/index.js +2 -0
  47. package/lib/plugins/home-page-layouts/index.js.map +1 -1
  48. package/lib/plugins/index.d.ts +2 -1
  49. package/lib/plugins/index.js +3 -1
  50. package/lib/plugins/index.js.map +1 -1
  51. package/lib/plugins/lightning-experience-settings/index.d.ts +2 -2
  52. package/lib/plugins/lightning-experience-settings/index.js +2 -0
  53. package/lib/plugins/lightning-experience-settings/index.js.map +1 -1
  54. package/lib/plugins/opportunity-splits/index.d.ts +1 -1
  55. package/lib/plugins/opportunity-splits/index.js +5 -2
  56. package/lib/plugins/opportunity-splits/index.js.map +1 -1
  57. package/lib/plugins/picklists/field-dependencies/index.d.ts +2 -2
  58. package/lib/plugins/picklists/field-dependencies/pages.js +2 -1
  59. package/lib/plugins/picklists/field-dependencies/pages.js.map +1 -1
  60. package/lib/plugins/picklists/index.d.ts +2 -2
  61. package/lib/plugins/picklists/index.js +5 -3
  62. package/lib/plugins/picklists/index.js.map +1 -1
  63. package/lib/plugins/picklists/pages.d.ts +1 -1
  64. package/lib/plugins/picklists/pages.js +6 -15
  65. package/lib/plugins/picklists/pages.js.map +1 -1
  66. package/lib/plugins/record-types/index.d.ts +2 -2
  67. package/lib/plugins/record-types/index.js +3 -1
  68. package/lib/plugins/record-types/index.js.map +1 -1
  69. package/lib/plugins/record-types/pages.js +2 -5
  70. package/lib/plugins/record-types/pages.js.map +1 -1
  71. package/lib/plugins/relate-contact-to-multiple-accounts/index.d.ts +1 -1
  72. package/lib/plugins/relate-contact-to-multiple-accounts/index.js +8 -0
  73. package/lib/plugins/relate-contact-to-multiple-accounts/index.js.map +1 -1
  74. package/lib/plugins/reports-and-dashboards/folder-sharing/index.d.ts +1 -1
  75. package/lib/plugins/reports-and-dashboards/folder-sharing/index.js +4 -1
  76. package/lib/plugins/reports-and-dashboards/folder-sharing/index.js.map +1 -1
  77. package/lib/plugins/reports-and-dashboards/index.d.ts +1 -1
  78. package/lib/plugins/reports-and-dashboards/index.js +3 -3
  79. package/lib/plugins/reports-and-dashboards/index.js.map +1 -1
  80. package/lib/plugins/salesforce-to-salesforce/index.d.ts +1 -1
  81. package/lib/plugins/salesforce-to-salesforce/index.js +2 -0
  82. package/lib/plugins/salesforce-to-salesforce/index.js.map +1 -1
  83. package/lib/plugins/security/certificate-and-key-management/index.d.ts +3 -3
  84. package/lib/plugins/security/certificate-and-key-management/index.js +3 -0
  85. package/lib/plugins/security/certificate-and-key-management/index.js.map +1 -1
  86. package/lib/plugins/security/identity-provider/index.d.ts +1 -1
  87. package/lib/plugins/security/identity-provider/index.js +3 -0
  88. package/lib/plugins/security/identity-provider/index.js.map +1 -1
  89. package/lib/plugins/security/index.d.ts +1 -1
  90. package/lib/plugins/security/index.js +12 -12
  91. package/lib/plugins/security/index.js.map +1 -1
  92. package/lib/plugins/security/login-access-policies/index.d.ts +1 -1
  93. package/lib/plugins/security/login-access-policies/index.js +2 -0
  94. package/lib/plugins/security/login-access-policies/index.js.map +1 -1
  95. package/lib/plugins/security/sharing/index.d.ts +1 -1
  96. package/lib/plugins/security/sharing/index.js +2 -0
  97. package/lib/plugins/security/sharing/index.js.map +1 -1
  98. package/lib/plugins/utils.d.ts +1 -0
  99. package/lib/plugins/utils.js +6 -1
  100. package/lib/plugins/utils.js.map +1 -1
  101. package/oclif.manifest.json +163 -1
  102. package/package.json +7 -7
@@ -1 +1,163 @@
1
- {"version":"2.10.0","commands":{"browserforce:apply":{"id":"browserforce:apply","description":"apply a plan from a definition file","strict":true,"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]","pluginName":"sfdx-browserforce-plugin","pluginAlias":"sfdx-browserforce-plugin","pluginType":"core","aliases":[],"examples":["$ 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 "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"definitionfile":{"name":"definitionfile","type":"option","char":"f","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.","multiple":false},"planfile":{"name":"planfile","type":"option","char":"p","description":"path to a browserforce plan file","multiple":false},"statefile":{"name":"statefile","type":"option","char":"s","description":"path to a browserforce state file","multiple":false}},"args":[]},"browserforce:plan":{"id":"browserforce:plan","description":"retrieve state and generate plan file","strict":true,"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]","pluginName":"sfdx-browserforce-plugin","pluginAlias":"sfdx-browserforce-plugin","pluginType":"core","aliases":[],"examples":["$ 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 "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"definitionfile":{"name":"definitionfile","type":"option","char":"f","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.","multiple":false},"planfile":{"name":"planfile","type":"option","char":"p","description":"path to a browserforce plan file","multiple":false},"statefile":{"name":"statefile","type":"option","char":"s","description":"path to a browserforce state file","multiple":false}},"args":[]}}}
1
+ {
2
+ "version": "2.11.1",
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 <%= command.id %> -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 <%= command.id %> -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.10.0",
3
+ "version": "2.11.1",
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.0",
19
- "@types/node": "16.18.3",
20
- "mocha": "10.1.0",
18
+ "@types/mocha": "10.0.2",
19
+ "@types/node": "18.18.1",
20
+ "mocha": "10.2.0",
21
21
  "nyc": "15.1.0",
22
- "oclif": "3.2.24",
22
+ "oclif": "3.17.2",
23
23
  "ts-node": "10.9.1",
24
- "typescript": "4.8.4"
24
+ "typescript": "5.2.2"
25
25
  },
26
26
  "engines": {
27
27
  "node": ">=14.0.0"
@@ -59,6 +59,6 @@
59
59
  "prepack": "yarn build",
60
60
  "prepare": "yarn build",
61
61
  "test": "nyc --reporter=lcov --reporter=text mocha --require ts-node/register \"test/**/*.test.ts\" \"src/**/*.test.ts\"",
62
- "test:e2e": "mocha --require ts-node/register \"test/**/*.e2e-spec.ts\" \"src/**/*.e2e-spec.ts\""
62
+ "test:e2e": "mocha --require ts-node/register --slow 30s --timeout 2m --file test/e2e-setup.ts \"test/**/*.e2e-spec.ts\" \"src/**/*.e2e-spec.ts\""
63
63
  }
64
64
  }