@salesforce/plugin-deploy-retrieve 1.8.5-beta.5 → 1.8.6
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/lib/commands/{project/deploy → deploy/metadata}/cancel.d.ts +0 -2
- package/lib/commands/{project/deploy → deploy/metadata}/cancel.js +6 -17
- package/lib/commands/deploy/metadata/cancel.js.map +1 -0
- package/lib/commands/{project/deploy → deploy/metadata}/preview.d.ts +0 -2
- package/lib/commands/{project/deploy → deploy/metadata}/preview.js +1 -3
- package/lib/commands/deploy/metadata/preview.js.map +1 -0
- package/lib/commands/{project/deploy → deploy/metadata}/quick.d.ts +0 -3
- package/lib/commands/{project/deploy → deploy/metadata}/quick.js +6 -14
- package/lib/commands/deploy/metadata/quick.js.map +1 -0
- package/lib/commands/deploy/metadata/report.d.ts +14 -0
- package/lib/commands/{project/deploy → deploy/metadata}/report.js +5 -26
- package/lib/commands/deploy/metadata/report.js.map +1 -0
- package/lib/commands/{project/deploy → deploy/metadata}/resume.d.ts +0 -5
- package/lib/commands/{project/deploy → deploy/metadata}/resume.js +3 -19
- package/lib/commands/deploy/metadata/resume.js.map +1 -0
- package/lib/commands/{project/deploy → deploy/metadata}/validate.d.ts +0 -2
- package/lib/commands/{project/deploy → deploy/metadata}/validate.js +6 -8
- package/lib/commands/deploy/metadata/validate.js.map +1 -0
- package/lib/commands/{project/deploy/start.d.ts → deploy/metadata.d.ts} +2 -10
- package/lib/commands/{project/deploy/start.js → deploy/metadata.js} +13 -44
- package/lib/commands/deploy/metadata.js.map +1 -0
- package/lib/commands/deploy.d.ts +0 -5
- package/lib/commands/deploy.js +0 -5
- package/lib/commands/deploy.js.map +1 -1
- package/lib/commands/{project/retrieve → retrieve/metadata}/preview.d.ts +0 -2
- package/lib/commands/{project/retrieve → retrieve/metadata}/preview.js +0 -2
- package/lib/commands/retrieve/metadata/preview.js.map +1 -0
- package/lib/commands/{project/retrieve/start.d.ts → retrieve/metadata.d.ts} +1 -3
- package/lib/commands/{project/retrieve/start.js → retrieve/metadata.js} +8 -11
- package/lib/commands/retrieve/metadata.js.map +1 -0
- package/lib/utils/conflicts.js +1 -1
- package/lib/utils/conflicts.js.map +1 -1
- package/lib/utils/deploy.d.ts +5 -9
- package/lib/utils/deploy.js +24 -21
- package/lib/utils/deploy.js.map +1 -1
- package/lib/utils/deployCache.d.ts +2 -8
- package/lib/utils/deployCache.js +2 -11
- package/lib/utils/deployCache.js.map +1 -1
- package/lib/utils/errorCodes.d.ts +1 -3
- package/lib/utils/errorCodes.js +4 -4
- package/lib/utils/errorCodes.js.map +1 -1
- package/lib/utils/flags.js +8 -3
- package/lib/utils/flags.js.map +1 -1
- package/lib/utils/metadataDeployer.js +2 -3
- package/lib/utils/metadataDeployer.js.map +1 -1
- package/lib/utils/output.d.ts +83 -6
- package/lib/utils/output.js +385 -3
- package/lib/utils/output.js.map +1 -1
- package/lib/utils/previewOutput.d.ts +0 -1
- package/lib/utils/previewOutput.js +14 -4
- package/lib/utils/previewOutput.js.map +1 -1
- package/lib/utils/types.d.ts +0 -39
- package/lib/utils/types.js +1 -3
- package/lib/utils/types.js.map +1 -1
- package/messages/deploy.async.md +3 -3
- package/messages/deploy.md +1 -5
- package/messages/deploy.metadata.cancel.md +6 -10
- package/messages/deploy.metadata.md +5 -33
- package/messages/deploy.metadata.preview.md +3 -7
- package/messages/deploy.metadata.quick.md +3 -11
- package/messages/deploy.metadata.report.md +4 -24
- package/messages/deploy.metadata.resume.md +5 -17
- package/messages/deploy.metadata.validate.md +5 -9
- package/messages/retrieve.metadata.md +1 -1
- package/messages/retrieve.metadata.preview.md +3 -3
- package/oclif.manifest.json +446 -1486
- package/package.json +39 -54
- package/lib/commands/project/convert/mdapi.d.ts +0 -32
- package/lib/commands/project/convert/mdapi.js +0 -170
- package/lib/commands/project/convert/mdapi.js.map +0 -1
- package/lib/commands/project/convert/source.d.ts +0 -29
- package/lib/commands/project/convert/source.js +0 -141
- package/lib/commands/project/convert/source.js.map +0 -1
- package/lib/commands/project/delete/source.d.ts +0 -69
- package/lib/commands/project/delete/source.js +0 -424
- package/lib/commands/project/delete/source.js.map +0 -1
- package/lib/commands/project/delete/tracking.d.ts +0 -19
- package/lib/commands/project/delete/tracking.js +0 -49
- package/lib/commands/project/delete/tracking.js.map +0 -1
- package/lib/commands/project/deploy/cancel.js.map +0 -1
- package/lib/commands/project/deploy/preview.js.map +0 -1
- package/lib/commands/project/deploy/quick.js.map +0 -1
- package/lib/commands/project/deploy/report.d.ts +0 -22
- package/lib/commands/project/deploy/report.js.map +0 -1
- package/lib/commands/project/deploy/resume.js.map +0 -1
- package/lib/commands/project/deploy/start.js.map +0 -1
- package/lib/commands/project/deploy/validate.js.map +0 -1
- package/lib/commands/project/list/ignored.d.ts +0 -24
- package/lib/commands/project/list/ignored.js +0 -85
- package/lib/commands/project/list/ignored.js.map +0 -1
- package/lib/commands/project/manifest/create.d.ts +0 -26
- package/lib/commands/project/manifest/create.js +0 -133
- package/lib/commands/project/manifest/create.js.map +0 -1
- package/lib/commands/project/reset/tracking.d.ts +0 -21
- package/lib/commands/project/reset/tracking.js +0 -64
- package/lib/commands/project/reset/tracking.js.map +0 -1
- package/lib/commands/project/retrieve/preview.js.map +0 -1
- package/lib/commands/project/retrieve/start.js.map +0 -1
- package/lib/formatters/asyncDeployCancelResultFormatter.d.ts +0 -9
- package/lib/formatters/asyncDeployCancelResultFormatter.js +0 -28
- package/lib/formatters/asyncDeployCancelResultFormatter.js.map +0 -1
- package/lib/formatters/asyncDeployResultFormatter.d.ts +0 -9
- package/lib/formatters/asyncDeployResultFormatter.js +0 -30
- package/lib/formatters/asyncDeployResultFormatter.js.map +0 -1
- package/lib/formatters/deleteResultFormatter.d.ts +0 -13
- package/lib/formatters/deleteResultFormatter.js +0 -72
- package/lib/formatters/deleteResultFormatter.js.map +0 -1
- package/lib/formatters/deployCancelResultFormatter.d.ts +0 -8
- package/lib/formatters/deployCancelResultFormatter.js +0 -29
- package/lib/formatters/deployCancelResultFormatter.js.map +0 -1
- package/lib/formatters/deployReportResultFormatter.d.ts +0 -4
- package/lib/formatters/deployReportResultFormatter.js +0 -52
- package/lib/formatters/deployReportResultFormatter.js.map +0 -1
- package/lib/formatters/deployResultFormatter.d.ts +0 -46
- package/lib/formatters/deployResultFormatter.js +0 -296
- package/lib/formatters/deployResultFormatter.js.map +0 -1
- package/lib/formatters/metadataConvertResultFormatter.d.ts +0 -9
- package/lib/formatters/metadataConvertResultFormatter.js +0 -59
- package/lib/formatters/metadataConvertResultFormatter.js.map +0 -1
- package/lib/formatters/metadataRetrieveResultFormatter.d.ts +0 -17
- package/lib/formatters/metadataRetrieveResultFormatter.js +0 -38
- package/lib/formatters/metadataRetrieveResultFormatter.js.map +0 -1
- package/lib/formatters/retrieveResultFormatter.d.ts +0 -13
- package/lib/formatters/retrieveResultFormatter.js +0 -66
- package/lib/formatters/retrieveResultFormatter.js.map +0 -1
- package/lib/formatters/sourceConvertResultFormatter.d.ts +0 -10
- package/lib/formatters/sourceConvertResultFormatter.js +0 -37
- package/lib/formatters/sourceConvertResultFormatter.js.map +0 -1
- package/lib/utils/coverage.d.ts +0 -9
- package/lib/utils/coverage.js +0 -109
- package/lib/utils/coverage.js.map +0 -1
- package/lib/utils/manifestCache.d.ts +0 -5
- package/lib/utils/manifestCache.js +0 -38
- package/lib/utils/manifestCache.js.map +0 -1
- package/messages/convert.mdapi.md +0 -66
- package/messages/convert.source.md +0 -63
- package/messages/delete.source.md +0 -134
- package/messages/delete.tracking.md +0 -39
- package/messages/list.ignored.md +0 -17
- package/messages/manifest.create.md +0 -72
- package/schemas/project-convert-mdapi.json +0 -29
- package/schemas/project-delete-source.json +0 -609
- package/schemas/project-delete-tracking.json +0 -19
- package/schemas/project-list-ignored.json +0 -19
- package/schemas/project-manifest-create.json +0 -19
- package/schemas/project-reset-tracking.json +0 -19
- /package/schemas/{project-deploy-cancel.json → deploy-metadata-cancel.json} +0 -0
- /package/schemas/{project-deploy-preview.json → deploy-metadata-preview.json} +0 -0
- /package/schemas/{project-deploy-quick.json → deploy-metadata-quick.json} +0 -0
- /package/schemas/{project-deploy-report.json → deploy-metadata-report.json} +0 -0
- /package/schemas/{project-deploy-resume.json → deploy-metadata-resume.json} +0 -0
- /package/schemas/{project-deploy-start.json → deploy-metadata-validate.json} +0 -0
- /package/schemas/{project-deploy-validate.json → deploy-metadata.json} +0 -0
- /package/schemas/{project-retrieve-preview.json → retrieve-metadata-preview.json} +0 -0
- /package/schemas/{project-retrieve-start.json → retrieve-metadata.json} +0 -0
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# resetSummary
|
|
2
|
-
|
|
3
|
-
Reset local and remote source tracking.
|
|
4
|
-
|
|
5
|
-
# resetDescription
|
|
6
|
-
|
|
7
|
-
WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.
|
|
8
|
-
|
|
9
|
-
Resets local and remote source tracking so that Salesforce CLI no longer registers differences between your local files and those in the org. When you next run 'project deploy preview', Salesforce CLI returns no results, even though conflicts might actually exist. Salesforce CLI then resumes tracking new source changes as usual.
|
|
10
|
-
|
|
11
|
-
Use the --revision parameter to reset source tracking to a specific revision number of an org source member. To get the revision number, query the SourceMember Tooling API object with the 'data soql' command. For example:
|
|
12
|
-
|
|
13
|
-
<%= config.bin %> data query --query "SELECT MemberName, MemberType, RevisionCounter FROM SourceMember" --use-tooling-api
|
|
14
|
-
|
|
15
|
-
# deleteSummary
|
|
16
|
-
|
|
17
|
-
Delete all local source tracking information.
|
|
18
|
-
|
|
19
|
-
# deleteDescription
|
|
20
|
-
|
|
21
|
-
WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.
|
|
22
|
-
|
|
23
|
-
Deletes all local source tracking information. When you next run 'project deploy preview', Salesforce CLI displays all local and remote files as changed, and any files with the same name are listed as conflicts.
|
|
24
|
-
|
|
25
|
-
# flags.no-prompt.summary
|
|
26
|
-
|
|
27
|
-
Don't prompt for source tracking override confirmation.
|
|
28
|
-
|
|
29
|
-
# flags.revision.summary
|
|
30
|
-
|
|
31
|
-
SourceMember revision counter number to reset to.
|
|
32
|
-
|
|
33
|
-
# promptMessage
|
|
34
|
-
|
|
35
|
-
WARNING: This operation will modify all your local source tracking files. The operation can have unintended consequences on all the force:source commands. Are you sure you want to proceed?
|
|
36
|
-
|
|
37
|
-
# conflictMsg
|
|
38
|
-
|
|
39
|
-
We couldn't complete the operation due to conflicts. Verify that you want to keep the existing versions, then run the command again with the --forceoverwrite (-f) option.
|
package/messages/list.ignored.md
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# description
|
|
2
|
-
|
|
3
|
-
check your local project package directories for forceignored files
|
|
4
|
-
|
|
5
|
-
# examples
|
|
6
|
-
|
|
7
|
-
- $ <%= config.bin %> <%= command.id %>
|
|
8
|
-
|
|
9
|
-
- $ <%= config.bin %> <%= command.id %> --source-dir force-app
|
|
10
|
-
|
|
11
|
-
# flags.source-dir
|
|
12
|
-
|
|
13
|
-
file or directory of files that the command checks for foreceignored files
|
|
14
|
-
|
|
15
|
-
# invalidSourceDir
|
|
16
|
-
|
|
17
|
-
File or directory '%s' doesn't exist in your project. Specify one that exists and rerun the command.
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# summary
|
|
2
|
-
|
|
3
|
-
Create a project manifest that lists the metadata components you want to deploy or retrieve.
|
|
4
|
-
|
|
5
|
-
# description
|
|
6
|
-
|
|
7
|
-
Create a manifest from a list of metadata components (--metadata) or from one or more local directories that contain source files (--source-dir). You can specify either of these parameters, not both.
|
|
8
|
-
|
|
9
|
-
Use --manifest-type to specify the type of manifest you want to create. The resulting manifest files have specific names, such as the standard package.xml or destructiveChanges.xml to delete metadata. Valid values for this parameter, and their respective file names, are:
|
|
10
|
-
|
|
11
|
-
* package : package.xml (default)
|
|
12
|
-
* pre : destructiveChangesPre.xml
|
|
13
|
-
* post : destructiveChangesPost.xml
|
|
14
|
-
* destroy : destructiveChanges.xml
|
|
15
|
-
|
|
16
|
-
See https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_deleting_files.htm for information about these destructive manifest files.
|
|
17
|
-
|
|
18
|
-
Use --manifest-name to specify a custom name for the generated manifest if the pre-defined ones don’t suit your needs. You can specify either --manifest-type or --manifest-name, but not both.
|
|
19
|
-
|
|
20
|
-
# examples
|
|
21
|
-
|
|
22
|
-
- Create a manifest for deploying or retrieving all Apex classes:
|
|
23
|
-
|
|
24
|
-
$ <%= config.bin %> <%= command.id %> --metadata ApexClass
|
|
25
|
-
|
|
26
|
-
- Create a manifest for deleting the specified Apex class:
|
|
27
|
-
|
|
28
|
-
$ <%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass --manifest-type destroy
|
|
29
|
-
|
|
30
|
-
- Create a manifest for deploying or retrieving all the metadata components in the specified local directory; name the file myNewManifest.xml:
|
|
31
|
-
|
|
32
|
-
$ <%= config.bin %> <%= command.id %> --source-dir force-app --manifest-name myNewManifest
|
|
33
|
-
|
|
34
|
-
- Create a manifest from the metadata components in the specified org and include metadata in any unlocked packages:
|
|
35
|
-
|
|
36
|
-
$ <%= config.bin %> <%= command.id %> --from-org test@myorg.com --include-packages unlocked
|
|
37
|
-
|
|
38
|
-
# flags.include-packages.summary
|
|
39
|
-
|
|
40
|
-
Comma-separated list of package types (managed, unlocked) whose metadata is included in the manifest; by default, metadata in packages is ignored.
|
|
41
|
-
|
|
42
|
-
# flags.from-org.summary
|
|
43
|
-
|
|
44
|
-
Username or alias of the org that contains the metadata components from which to build a manifest.
|
|
45
|
-
|
|
46
|
-
# flags.manifest-type.summary
|
|
47
|
-
|
|
48
|
-
Type of manifest to create; the type determines the name of the created file.
|
|
49
|
-
|
|
50
|
-
# flags.manifest-name.summary
|
|
51
|
-
|
|
52
|
-
Name of a custom manifest file to create.
|
|
53
|
-
|
|
54
|
-
# flags.output-dir.summary
|
|
55
|
-
|
|
56
|
-
Directory to save the created manifest.
|
|
57
|
-
|
|
58
|
-
# flags.source-dir.summary
|
|
59
|
-
|
|
60
|
-
Comma-separated list of paths to the local source files to include in the manifest.
|
|
61
|
-
|
|
62
|
-
# flags.metadata.summary
|
|
63
|
-
|
|
64
|
-
Comma-separated list of names of metadata components to include in the manifest.
|
|
65
|
-
|
|
66
|
-
# success
|
|
67
|
-
|
|
68
|
-
successfully wrote %s
|
|
69
|
-
|
|
70
|
-
# successOutputDir
|
|
71
|
-
|
|
72
|
-
successfully wrote %s to %s
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$ref": "#/definitions/ConvertMdapiJson",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"ConvertMdapiJson": {
|
|
6
|
-
"type": "array",
|
|
7
|
-
"items": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"properties": {
|
|
10
|
-
"fullName": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"type": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"filePath": {
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
19
|
-
"state": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"const": "Add"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"required": ["fullName", "type", "filePath", "state"],
|
|
25
|
-
"additionalProperties": false
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|