@salesforce/core-bundle 6.5.5

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.
@@ -0,0 +1,67 @@
1
+ # notADevHub
2
+
3
+ The provided dev hub username %s is not a valid dev hub.
4
+
5
+ # noUsernameFound
6
+
7
+ No username found.
8
+
9
+ # noDevHubFound
10
+
11
+ Unable to associate this scratch org with a DevHub.
12
+
13
+ # deleteOrgHubError
14
+
15
+ The Dev Hub org cannot be deleted.
16
+
17
+ # insufficientAccessToDelete
18
+
19
+ You do not have the appropriate permissions to delete a scratch org. Please contact your Salesforce admin.
20
+
21
+ # scratchOrgNotFound
22
+
23
+ Attempting to delete an expired or deleted org
24
+
25
+ # sandboxDeleteFailed
26
+
27
+ The sandbox org deletion failed with a result of %s.
28
+
29
+ # sandboxNotFound
30
+
31
+ We can't find a SandboxProcess for the sandbox %s.
32
+
33
+ # sandboxInfoCreateFailed
34
+
35
+ The sandbox org creation failed with a result of %s.
36
+
37
+ # missingAuthUsername
38
+
39
+ The sandbox %s does not have an authorized username.
40
+
41
+ # orgPollingTimeout
42
+
43
+ Sandbox status is %s; timed out waiting for completion.
44
+
45
+ # NotFoundOnDevHub
46
+
47
+ The scratch org does not belong to the dev hub username %s.
48
+
49
+ # AuthInfoOrgIdUndefined
50
+
51
+ AuthInfo orgId is undefined.
52
+
53
+ # sandboxCreateNotComplete
54
+
55
+ The sandbox creation has not completed.
56
+
57
+ # SandboxProcessNotFoundBySandboxName
58
+
59
+ We can't find a SandboxProcess with the SandboxName %s.
60
+
61
+ # MultiSandboxProcessNotFoundBySandboxName
62
+
63
+ We found more than one SandboxProcess with the SandboxName %s.
64
+
65
+ # sandboxNotResumable
66
+
67
+ The sandbox %s cannot resume with status of %s.
@@ -0,0 +1,31 @@
1
+ # orgRequired
2
+
3
+ An Org instance is required.
4
+
5
+ # userIdRequired
6
+
7
+ A Salesforce id for the user is required.
8
+
9
+ # permSetRequired
10
+
11
+ The name of a permission set is required.
12
+
13
+ # unexpectedType
14
+
15
+ An unexpected response was returned from the permission set assignment.
16
+
17
+ # assignCommandPermissionSetNotFoundError
18
+
19
+ Permission set "%s" not found in target org. Do you need to push source?
20
+
21
+ # assignCommandPermissionSetNotFoundForNSError
22
+
23
+ Permission set "%s" for namespace "%s" not found in target org. Do you need to push source or install the package?
24
+
25
+ # errorsEncounteredCreatingAssignment
26
+
27
+ Error(s) were reported.
28
+
29
+ # notSuccessfulButNoErrorsReported
30
+
31
+ The permission set assignment failed but no errors were reported.
@@ -0,0 +1,23 @@
1
+ # UnsupportedSnapshotOrgCreateOptionsError
2
+
3
+ Org snapshots don’t support one or more options you specified: %s.
4
+
5
+ # DurationDaysValidationMinError
6
+
7
+ Expected 'durationDays' greater than or equal to %s but received %s.
8
+
9
+ # DurationDaysValidationMaxError
10
+
11
+ Expected 'durationDays' less than or equal to %s but received %s.
12
+
13
+ # DurationDaysNotIntError
14
+
15
+ Expected 'durationDays' to be an integer number.
16
+
17
+ # RetryNotIntError
18
+
19
+ Expected 'retry' to be an integer number.
20
+
21
+ # CacheMissError
22
+
23
+ The ScratchOrgInfoId %s was not found in the cache.
@@ -0,0 +1,115 @@
1
+ # SignupFailedError
2
+
3
+ The request to create a scratch org failed with error code: %s.
4
+
5
+ # SignupFailedUnknownError
6
+
7
+ An unknown server error occurred. Please try again. If you still see this error, contact Salesforce support for assistance. Include the information from 'sfdx force:data:record:get -s ScratchOrgInfo -i %s -u %s'.
8
+
9
+ # SignupFailedActionError
10
+
11
+ See https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_error_codes.htm for information on error code %s.
12
+
13
+ # SignupUnexpectedError
14
+
15
+ The request to create a scratch org returned an unexpected status
16
+
17
+ # StillInProgressError
18
+
19
+ The scratch org is not ready yet (Status = %s).
20
+
21
+ # action.StillInProgress
22
+
23
+ Wait for a few minutes, and then try the command again
24
+
25
+ # NoScratchOrgInfoError
26
+
27
+ No ScratchOrgInfo object found in the Dev Hub you specified. Check that the ID and the Dev Hub are correct.
28
+
29
+ # ScratchOrgDeletedError
30
+
31
+ That scratch org has been deleted, so you can't connect to it anymore.
32
+
33
+ # INVALID_ID_FIELD
34
+
35
+ Provide a valid template ID, in the format 0TTxxxxxxxxxxxx.
36
+
37
+ # T-0002
38
+
39
+ We couldn’t find a template or snapshot with the ID or name specified in the scratch org definition. If you’re sure the ID is correct, contact Salesforce Support.
40
+
41
+ # T-0003
42
+
43
+ The template specified in the scratch org definition is unapproved. Contact Salesforce Support to request template approval.
44
+
45
+ # T-0004
46
+
47
+ The Trialforce Source Organization (TSO) for the template doesn’t exist or has expired.
48
+
49
+ # S-1006
50
+
51
+ Provide a valid email address in your scratch org definition or your %s file.
52
+
53
+ # S-2006
54
+
55
+ Provide a valid country code in your scratch org definition or your %s file.
56
+
57
+ # S-1017
58
+
59
+ Specify a namespace that’s used by a release org associated with your Dev Hub org.
60
+
61
+ # S-1018
62
+
63
+ Provide a valid My Domain value. This value can’t include double hyphens, end in a hyphen, include restricted words, or be more than 40 characters long.
64
+
65
+ # S-1019
66
+
67
+ The My Domain value you chose is already in use.
68
+
69
+ # S-1026
70
+
71
+ Provide a valid namespace value. This value must begin with a letter. It can’t include consecutive underscores, end in an underscore, be more than 15 characters long, or be a restricted or reserved namespace. Only alphanumeric characters and underscores are allowed.
72
+
73
+ # S-9999
74
+
75
+ A fatal signup error occurred. Please try again. If you still see this error, contact Salesforce Support for assistance.
76
+
77
+ # SH-0001
78
+
79
+ Can’t create scratch org. Contact the source org admin to add your Dev Hub org ID to Setup > Org Shape. Then try again.
80
+
81
+ # SH-0002
82
+
83
+ Can’t create scratch org. No org shape exists for the specified sourceOrg. Create an org shape and try again.
84
+
85
+ # SH-0003
86
+
87
+ Can’t create scratch org from org shape. The org shape version is outdated. Recreate the org shape and try again.
88
+
89
+ # C-1007
90
+
91
+ The username provided to the org:create command is already in use. Run 'force:org:list --clean' to remove stale org authentications or create the org with a different username.
92
+
93
+ # C-1015
94
+
95
+ We encountered a problem while registering your My Domain value with the DNS provider. Please try again.
96
+
97
+ # C-1016
98
+
99
+ We encountered a problem while attempting to configure and approve the Connected App for your org. Verify the Connected App configuration with your Salesforce admin.
100
+
101
+ # C-1017
102
+
103
+ Provide a valid namespace prefix. This value must begin with a letter. It can’t include consecutive underscores, end in an underscore, be more than 15 characters long, or be a restricted or reserved namespace. Only alphanumeric characters and underscores are allowed.
104
+
105
+ # C-1020
106
+
107
+ We couldn't find a template with the ID specified in the scratch org definition. If you’re sure the ID is correct, contact Salesforce Support.
108
+
109
+ # C-1027
110
+
111
+ The template specified in the Scratch Definition isn’t supported. Specify a generic edition (such as Developer or Enterprise), or specify a template ID.
112
+
113
+ # C-9999
114
+
115
+ A fatal signup error occurred. Please try again. If you still see this error, contact Salesforce Support for assistance
@@ -0,0 +1,11 @@
1
+ # quantifiedFeatureWithoutQuantityWarning
2
+
3
+ The feature %s will be deprecated in a future release. It's been replaced by %s:<value>, which requires you to specify a quantity.
4
+
5
+ # mappedFeatureWarning
6
+
7
+ The feature %s has been deprecated. It has been replaced with %s in this scratch org create request.
8
+
9
+ # deprecatedFeatureWarning
10
+
11
+ The feature %s has been deprecated. It has been removed from the list of requested features.
@@ -0,0 +1,20 @@
1
+ # SignupFieldsMissingError
2
+
3
+ Required fields are missing for org creation: [%s]
4
+
5
+ # SignupDuplicateSettingsSpecifiedError
6
+
7
+ You cannot use 'settings' and `'orgPreferences' in your scratch definition file, please specify one or the other.
8
+
9
+ # DeprecatedPrefFormat
10
+
11
+ We've deprecated OrgPreferences. Update the scratch org definition file to replace OrgPreferences with their corresponding settings.
12
+
13
+ # SourceStatusResetFailureError
14
+
15
+ Successfully created org with ID: %s and name: %s. Unfortunately, source tracking isn’t working as expected. If you run force:source:status, the results may be incorrect. Try again by creating another scratch org.
16
+
17
+ # hubOrgIsNotDevHub
18
+
19
+ Make sure that the org with username %s and ID %s is enabled as a Dev Hub. To enable it, open the org in your browser, navigate to the Dev Hub page in Setup, and click Enable.
20
+ If you still see this error after enabling the Dev Hub feature, then re-authenticate to the org.
@@ -0,0 +1,27 @@
1
+ # Package2AncestorsIdsKeyNotSupportedError
2
+
3
+ The package2AncestorIds key is no longer supported in a scratch org definition. Ancestors defined in sfdx-project.json will be included in the scratch org.",
4
+
5
+ # InvalidAncestorVersionFormatError
6
+
7
+ The ancestor versionNumber must be in the format major.minor.patch but the value found is %s",
8
+
9
+ # NoMatchingAncestorError
10
+
11
+ The ancestor for ancestorVersion %s can't be found. Package ID %s.",
12
+
13
+ # NoMatchingAncestorIdError
14
+
15
+ The ancestor for ancestorId [%s] can't be found. Package ID %s."
16
+
17
+ # AncestorNotReleasedError
18
+
19
+ The ancestor package version [%s] specified in the sfdx-project.json file may exist hasn’t been promoted and released. Release the ancestor package version before specifying it as the ancestor in a new package or patch version.",
20
+
21
+ # AncestorIdVersionMismatchError
22
+
23
+ The ancestorVersion in sfdx-project.json is not the version expected for the ancestorId you supplied. ancestorVersion %s. ancestorID %s."
24
+
25
+ # unsupportedSnapshotOrgCreateOptions
26
+
27
+ Org snapshots don’t support one or more options you specified: %s
@@ -0,0 +1,4 @@
1
+ # noCapitalizeRecordTypeConfigVar
2
+
3
+ Record types defined in the scratch org definition file will stop being capitalized by default in a future release.
4
+ Set the `org-capitalize-record-types` config var to `true` to enforce capitalization.
@@ -0,0 +1,23 @@
1
+ # genericTimeout
2
+
3
+ Socket timeout occurred while listening for results.
4
+
5
+ # genericHandshakeTimeout
6
+
7
+ The streaming request failed to handshake at %s.
8
+
9
+ # handshakeApiVersionError
10
+
11
+ Invalid API version specified for streaming connection handshake: %s
12
+
13
+ # handshakeApiVersionError.actions
14
+
15
+ - Set the API version to match the org as an environment variable (e.g., SFDX_API_VERSION=XX.0).
16
+
17
+ # waitParamValidValueError
18
+
19
+ Invalid value was specified for wait. Please provide a wait value greater than %s minutes.
20
+
21
+ # invalidApiVersion
22
+
23
+ Invalid api version is being reported by config (apiVersion=%s).
@@ -0,0 +1,35 @@
1
+ # orgRequired
2
+
3
+ An org instance is required.
4
+
5
+ # userQueryFailed
6
+
7
+ Failed to query for the user %s.
8
+
9
+ # invalidHttpResponseCreatingUser
10
+
11
+ An invalid http response code (%s) was received while trying to create a user.
12
+
13
+ # missingFields
14
+
15
+ The fields parameters is undefined.
16
+
17
+ # missingId
18
+
19
+ The Salesforce id for the user is required.
20
+
21
+ # permsetNamesAreRequired
22
+
23
+ The permission set names are missing but required.
24
+
25
+ # complexityOutOfBound
26
+
27
+ Invalid complexity value. Specify a value between 0 and 5, inclusive.
28
+
29
+ # lengthOutOfBound
30
+
31
+ Invalid length value. Specify a value between 8 and 1000, inclusive.
32
+
33
+ # problemsDescribingTheUserObject
34
+
35
+ Problems occurred while attempting to describe the user object.
package/package.json ADDED
@@ -0,0 +1,155 @@
1
+ {
2
+ "name": "@salesforce/core-bundle",
3
+ "version": "6.5.5",
4
+ "description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
5
+ "main": "lib/exported",
6
+ "types": "lib/exported.d.ts",
7
+ "license": "BSD-3-Clause",
8
+ "engines": {
9
+ "node": ">=18.0.0"
10
+ },
11
+ "scripts": {
12
+ "build": "wireit",
13
+ "clean": "sf-clean",
14
+ "clean-all": "sf-clean all",
15
+ "compile": "wireit",
16
+ "docs": "sf-docs",
17
+ "format": "wireit",
18
+ "lint": "wireit",
19
+ "lint-fix": "yarn sf-lint --fix",
20
+ "postcompile": "tsc -p typedocExamples",
21
+ "test": "wireit",
22
+ "test:only": "wireit",
23
+ "test:perf": "ts-node test/perf/logger/main.test.ts"
24
+ },
25
+ "keywords": [
26
+ "force",
27
+ "salesforce",
28
+ "sfdx",
29
+ "salesforcedx"
30
+ ],
31
+ "files": [
32
+ "docs",
33
+ "lib",
34
+ "messages",
35
+ "!lib/**/*.map",
36
+ "messageTransformer/messageTransformer.ts"
37
+ ],
38
+ "dependencies": {
39
+ "@salesforce/kit": "^3.0.15",
40
+ "@salesforce/schemas": "^1.6.1",
41
+ "@salesforce/ts-types": "^2.0.9",
42
+ "@types/semver": "^7.5.7",
43
+ "ajv": "^8.12.0",
44
+ "change-case": "^4.1.2",
45
+ "faye": "^1.4.0",
46
+ "form-data": "^4.0.0",
47
+ "js2xmlparser": "^4.0.1",
48
+ "jsforce": "^2.0.0-beta.29",
49
+ "jsonwebtoken": "9.0.2",
50
+ "jszip": "3.10.1",
51
+ "pino": "^8.19.0",
52
+ "pino-abstract-transport": "^1.1.0",
53
+ "pino-pretty": "^10.3.1",
54
+ "proper-lockfile": "^4.1.2",
55
+ "semver": "^7.6.0",
56
+ "ts-retry-promise": "^0.7.1"
57
+ },
58
+ "devDependencies": {
59
+ "@salesforce/dev-scripts": "^7.1.1",
60
+ "@salesforce/ts-sinon": "^1.4.19",
61
+ "@types/benchmark": "^2.1.5",
62
+ "@types/chai-string": "^1.4.5",
63
+ "@types/jsonwebtoken": "9.0.5",
64
+ "@types/proper-lockfile": "^4.1.4",
65
+ "benchmark": "^2.1.4",
66
+ "chai-string": "^1.5.0",
67
+ "esbuild": "^0.19.5",
68
+ "esbuild-plugin-pino": "^2.1.0",
69
+ "esbuild-plugin-tsc": "^0.4.0",
70
+ "npm-dts": "^1.3.12",
71
+ "ts-node": "^10.9.2",
72
+ "ts-patch": "^3.1.1",
73
+ "typescript": "^5.3.3"
74
+ },
75
+ "repository": {
76
+ "type": "git",
77
+ "url": "https://github.com/forcedotcom/sfdx-core.git"
78
+ },
79
+ "publishConfig": {
80
+ "access": "public"
81
+ },
82
+ "wireit": {
83
+ "build": {
84
+ "dependencies": [
85
+ "compile",
86
+ "lint"
87
+ ]
88
+ },
89
+ "compile": {
90
+ "command": "tspc -p . --pretty --incremental",
91
+ "files": [
92
+ "src/**/*.ts",
93
+ "tsconfig.json",
94
+ "messages",
95
+ "messageTransformer"
96
+ ],
97
+ "output": [
98
+ "lib/**",
99
+ "*.tsbuildinfo"
100
+ ],
101
+ "clean": "if-file-deleted"
102
+ },
103
+ "format": {
104
+ "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
105
+ "files": [
106
+ "src/**/*.ts",
107
+ "test/**/*.ts",
108
+ "schemas/**/*.json",
109
+ "command-snapshot.json",
110
+ ".prettier*"
111
+ ],
112
+ "output": []
113
+ },
114
+ "lint": {
115
+ "command": "eslint src test --color --cache --cache-location .eslintcache",
116
+ "files": [
117
+ "src/**/*.ts",
118
+ "test/**/*.ts",
119
+ "messages/**",
120
+ "**/.eslint*",
121
+ "**/tsconfig.json"
122
+ ],
123
+ "output": []
124
+ },
125
+ "test:compile": {
126
+ "command": "tsc -p \"./test\" --pretty",
127
+ "files": [
128
+ "test/**/*.ts",
129
+ "**/tsconfig.json"
130
+ ],
131
+ "output": []
132
+ },
133
+ "test:only": {
134
+ "command": "nyc mocha \"test/**/*Test.ts\"",
135
+ "env": {
136
+ "FORCE_COLOR": "2"
137
+ },
138
+ "files": [
139
+ "test/**/*.ts",
140
+ "src/**/*.ts",
141
+ "**/tsconfig.json",
142
+ ".mocha*",
143
+ "!*.nut.ts",
144
+ ".nycrc"
145
+ ],
146
+ "output": []
147
+ },
148
+ "test": {
149
+ "dependencies": [
150
+ "test:only",
151
+ "test:compile"
152
+ ]
153
+ }
154
+ }
155
+ }